	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_stack_direction
_find_stack_direction:                  ## @find_stack_direction
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpq	$0, _find_stack_direction.addr(%rip)
	jne	LBB0_2
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%edi, %edi
	callq	_ADDRESS_FUNCTION
	movq	%rax, _find_stack_direction.addr(%rip)
	testq	%rax, %rax
	je	LBB0_1
LBB0_2:
	xorl	%edi, %edi
	callq	_ADDRESS_FUNCTION
	xorl	%ecx, %ecx
	cmpq	_find_stack_direction.addr(%rip), %rax
	seta	%cl
	leal	(%rcx,%rcx), %eax
	decl	%eax
	movq	_stack_dir@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_find_stack_direction.addr,8,3 ## @find_stack_direction.addr
	.comm	_stack_dir,4,2                  ## @stack_dir
	.no_dead_strip	_find_stack_direction
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_stack_direction
_find_stack_direction:                  ; @find_stack_direction
	.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
	adrp	x19, _find_stack_direction.addr@PAGE
	ldr	x8, [x19, _find_stack_direction.addr@PAGEOFF]
	cbnz	x8, LBB0_2
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	w0, #0
	bl	_ADDRESS_FUNCTION
	str	x0, [x19, _find_stack_direction.addr@PAGEOFF]
	cbz	x0, LBB0_1
LBB0_2:
	mov	w0, #0
	bl	_ADDRESS_FUNCTION
	ldr	x8, [x19, _find_stack_direction.addr@PAGEOFF]
	cmp	x0, x8
	mov	w8, #1
	cneg	w8, w8, ls
Lloh0:
	adrp	x9, _stack_dir@GOTPAGE
Lloh1:
	ldr	x9, [x9, _stack_dir@GOTPAGEOFF]
Lloh2:
	str	w8, [x9]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_find_stack_direction.addr,8,3 ; @find_stack_direction.addr
	.comm	_stack_dir,4,2                  ; @stack_dir
	.no_dead_strip	_find_stack_direction
.subsections_via_symbols
