	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function alloc_stack_frame_space
_alloc_stack_frame_space:               ## @alloc_stack_frame_space
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ebx
	movq	_frame_offset@GOTPCREL(%rip), %r14
	movl	(%r14), %ecx
	movq	_FRAME_GROWS_DOWNWARD@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movq	_frame_phase@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	je	LBB0_2
## %bb.1:
	addl	%eax, %edi
	subl	%edi, %ecx
	negl	%ebx
	andl	%ecx, %ebx
	addl	%eax, %ebx
	movl	%ebx, %edi
	jmp	LBB0_3
LBB0_2:
	addl	%ebx, %ecx
	movl	%eax, %edx
	notl	%edx
	addl	%ecx, %edx
	negl	%ebx
	andl	%edx, %ebx
	addl	%eax, %ebx
	addl	%ebx, %edi
LBB0_3:
	movl	%edi, (%r14)
	movq	_cfun@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %esi
	callq	_frame_offset_overflow
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movl	$0, (%r14)
	xorl	%ebx, %ebx
LBB0_5:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_frame_offset,4,2               ## @frame_offset
	.comm	_FRAME_GROWS_DOWNWARD,8,3       ## @FRAME_GROWS_DOWNWARD
	.comm	_frame_phase,4,2                ## @frame_phase
	.comm	_cfun,8,3                       ## @cfun
	.no_dead_strip	_alloc_stack_frame_space
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function alloc_stack_frame_space
_alloc_stack_frame_space:               ; @alloc_stack_frame_space
	.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	x20, _frame_offset@GOTPAGE
Lloh1:
	ldr	x20, [x20, _frame_offset@GOTPAGEOFF]
	ldr	w8, [x20]
Lloh2:
	adrp	x9, _FRAME_GROWS_DOWNWARD@GOTPAGE
Lloh3:
	ldr	x9, [x9, _FRAME_GROWS_DOWNWARD@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
Lloh5:
	adrp	x10, _frame_phase@GOTPAGE
Lloh6:
	ldr	x10, [x10, _frame_phase@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	mvn	w11, w10
	add	w12, w1, w8
	add	w11, w11, w12
	neg	w12, w1
	and	w11, w11, w12
	add	w11, w11, w10
	add	w12, w11, w0
	add	w13, w10, w0
	sub	w8, w8, w13
	neg	w13, w1
	and	w8, w8, w13
	add	w8, w8, w10
	cmp	x9, #0
	csel	w19, w11, w8, eq
	csel	w0, w12, w8, eq
	str	w0, [x20]
Lloh8:
	adrp	x8, _cfun@GOTPAGE
Lloh9:
	ldr	x8, [x8, _cfun@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	ldr	w1, [x8]
	bl	_frame_offset_overflow
	cbz	x0, LBB0_2
; %bb.1:
	mov	w19, #0
	str	wzr, [x20]
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_frame_offset,4,2               ; @frame_offset
	.comm	_FRAME_GROWS_DOWNWARD,8,3       ; @FRAME_GROWS_DOWNWARD
	.comm	_frame_phase,4,2                ; @frame_phase
	.comm	_cfun,8,3                       ; @cfun
	.no_dead_strip	_alloc_stack_frame_space
.subsections_via_symbols
