	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stack_maxrandom_size
_stack_maxrandom_size:                  ## @stack_maxrandom_size
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_current@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_PF_RANDOMIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%eax, %eax
	testl	%edx, (%rcx)
	je	LBB0_3
## %bb.1:
	movq	_ADDR_NO_RANDOMIZE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, 4(%rcx)
	je	LBB0_2
LBB0_3:
	popq	%rbp
	retq
LBB0_2:
	movq	_STACK_RND_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_PAGE_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_current,8,3                    ## @current
	.comm	_PF_RANDOMIZE,4,2               ## @PF_RANDOMIZE
	.comm	_ADDR_NO_RANDOMIZE,4,2          ## @ADDR_NO_RANDOMIZE
	.comm	_STACK_RND_MASK,4,2             ## @STACK_RND_MASK
	.comm	_PAGE_SHIFT,4,2                 ## @PAGE_SHIFT
	.no_dead_strip	_stack_maxrandom_size
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stack_maxrandom_size
_stack_maxrandom_size:                  ; @stack_maxrandom_size
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _current@GOTPAGE
Lloh1:
	ldr	x8, [x8, _current@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w9, [x8]
Lloh3:
	adrp	x10, _PF_RANDOMIZE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _PF_RANDOMIZE@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_2
; %bb.1:
	ldr	w8, [x8, #4]
Lloh6:
	adrp	x9, _ADDR_NO_RANDOMIZE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ADDR_NO_RANDOMIZE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
LBB0_2:
	mov	w0, #0
	ret
LBB0_3:
Lloh9:
	adrp	x8, _STACK_RND_MASK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _STACK_RND_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _PAGE_SHIFT@GOTPAGE
Lloh13:
	ldr	x9, [x9, _PAGE_SHIFT@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	lsl	w0, w8, w9
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_current,8,3                    ; @current
	.comm	_PF_RANDOMIZE,4,2               ; @PF_RANDOMIZE
	.comm	_ADDR_NO_RANDOMIZE,4,2          ; @ADDR_NO_RANDOMIZE
	.comm	_STACK_RND_MASK,4,2             ; @STACK_RND_MASK
	.comm	_PAGE_SHIFT,4,2                 ; @PAGE_SHIFT
	.no_dead_strip	_stack_maxrandom_size
.subsections_via_symbols
