.section	".rodata"
.align	8
.section	".text"
f_12:
	set	123, %i2
	retl
	nop
g_14:
	set	456, %i2
	retl
	nop
h_16:
	set	789, %i2
	retl
	nop
.global	min_caml_start
min_caml_start:
	save	%sp, -112, %sp
	st	%o7, [%i0 + 4]
	call	f_12
	add	%i0, 8, %i0	! delay slot
	sub	%i0, 8, %i0
	ld	[%i0 + 4], %o7
	st	%i2, [%i0 + 0]
	st	%o7, [%i0 + 4]
	call	g_14
	add	%i0, 8, %i0	! delay slot
	sub	%i0, 8, %i0
	ld	[%i0 + 4], %o7
	st	%i2, [%i0 + 4]
	st	%o7, [%i0 + 12]
	call	h_16
	add	%i0, 16, %i0	! delay slot
	sub	%i0, 16, %i0
	ld	[%i0 + 12], %o7
	cmp	%i2, 0
	bne	be_else_38
	nop
	ld	[%i0 + 4], %i2
	ld	[%i0 + 0], %i3
	sub	%i3, %i2, %i2
	b	be_cont_39
	nop
be_else_38:
	ld	[%i0 + 0], %i2
	ld	[%i0 + 4], %i3
	sub	%i3, %i2, %i2
be_cont_39:
	ld	[%i0 + 0], %i3
	add	%i2, %i3, %i2
	ld	[%i0 + 4], %i3
	add	%i2, %i3, %i2
	st	%o7, [%i0 + 12]
	call	min_caml_print_int
	add	%i0, 16, %i0	! delay slot
	sub	%i0, 16, %i0
	ld	[%i0 + 12], %o7
	ret
	restore
