	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sf_init                        ## -- Begin function sf_init
	.p2align	4, 0x90
_sf_init:                               ## @sf_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	__sf_stk@GOTPCREL(%rip), %rbx
	xorl	%edi, %edi
	cmpq	$0, (%rbx)
	sete	%dil
	callq	_assert
	movq	__sf_max@GOTPCREL(%rip), %rax
	movl	$32, (%rax)
	movl	$256, %edi                      ## imm = 0x100
	callq	_flex_alloc
	movq	%rax, (%rbx)
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	$8, %esi
	movl	%eax, %edi
	callq	_lerrsf_fatal
	movq	(%rbx), %rax
LBB0_2:
	movq	__sf_top_ix@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	$0, (%rax,%rcx,8)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__sf_stk,8,3                    ## @_sf_stk
	.comm	__sf_max,4,2                    ## @_sf_max
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unable to allocate %ld of stack"

	.comm	__sf_top_ix,8,3                 ## @_sf_top_ix
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sf_init                        ; -- Begin function sf_init
	.p2align	2
_sf_init:                               ; @sf_init
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x19, __sf_stk@GOTPAGE
Lloh1:
	ldr	x19, [x19, __sf_stk@GOTPAGEOFF]
	ldr	x8, [x19]
	cmp	x8, #0
	cset	w0, eq
	bl	_assert
Lloh2:
	adrp	x8, __sf_max@GOTPAGE
Lloh3:
	ldr	x8, [x8, __sf_max@GOTPAGEOFF]
	mov	w9, #32
Lloh4:
	str	w9, [x8]
	mov	w0, #256
	bl	_flex_alloc
	str	x0, [x19]
	cbnz	x0, LBB0_2
; %bb.1:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	w1, #8
	bl	_lerrsf_fatal
	ldr	x0, [x19]
LBB0_2:
Lloh7:
	adrp	x8, __sf_top_ix@GOTPAGE
Lloh8:
	ldr	x8, [x8, __sf_top_ix@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	str	xzr, [x0, x8, lsl #3]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	__sf_stk,8,3                    ; @_sf_stk
	.comm	__sf_max,4,2                    ; @_sf_max
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unable to allocate %ld of stack"

	.comm	__sf_top_ix,8,3                 ; @_sf_top_ix
.subsections_via_symbols
