	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function linux_gt_pch_get_address
_linux_gt_pch_get_address:              ## @linux_gt_pch_get_address
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_TRY_EMPTY_VM_SPACE@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	movq	_PROT_READ@GOTPCREL(%rip), %rax
	movq	_PROT_WRITE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_MAP_PRIVATE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rsi
	movl	%r15d, %r8d
	xorl	%r9d, %r9d
	callq	_mmap
	movq	%rax, %rbx
	movq	_MAP_FAILED@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	je	LBB0_13
## %bb.1:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_munmap
	movq	(%r12), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	cmpq	%rax, %rbx
	je	LBB0_14
LBB0_3:
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_fopen
	movq	%rax, %r12
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	leaq	L_.str.2(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_fopen
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_14
LBB0_5:
	leaq	-160(%rbp), %rdi
	movl	$1, %esi
	movl	$99, %edx
	movq	%r12, %rcx
	callq	_fread
	testq	%rax, %rax
	je	LBB0_12
## %bb.6:
	movb	$0, -160(%rbp,%rax)
	leaq	-160(%rbp), %rdi
	callq	_atoi
	movq	%rax, %r13
	movq	%r12, %rdi
	callq	_fclose
	testq	%r13, %r13
	jle	LBB0_14
## %bb.7:
	movq	_PROT_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_MAP_ANON@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_MAP_PRIVATE@GOTPCREL(%rip), %rbx
	orl	(%rbx), %ecx
	movl	$33554432, %esi                 ## imm = 0x2000000
	xorl	%edi, %edi
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	_mmap
	movq	%rax, %r12
	movq	_PROT_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_PROT_READ@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movl	(%rbx), %ecx
	xorl	%edi, %edi
	movq	%r14, %rsi
	movl	%r15d, %r8d
	xorl	%r9d, %r9d
	callq	_mmap
	movq	%rax, %rbx
	movq	_MAP_FAILED@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	cmpq	%rax, %r12
	je	LBB0_9
## %bb.8:
	movl	$33554432, %esi                 ## imm = 0x2000000
	movq	%r12, %rdi
	callq	_munmap
	movq	(%r15), %rax
LBB0_9:
	cmpq	%rax, %rbx
	je	LBB0_13
## %bb.10:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_munmap
	jmp	LBB0_14
LBB0_13:
	xorl	%ebx, %ebx
LBB0_14:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_16
## %bb.15:
	movq	%rbx, %rax
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	%r12, %rdi
	callq	_fclose
	jmp	LBB0_14
LBB0_16:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_TRY_EMPTY_VM_SPACE,8,3         ## @TRY_EMPTY_VM_SPACE
	.comm	_PROT_READ,4,2                  ## @PROT_READ
	.comm	_PROT_WRITE,4,2                 ## @PROT_WRITE
	.comm	_MAP_PRIVATE,4,2                ## @MAP_PRIVATE
	.comm	_MAP_FAILED,8,3                 ## @MAP_FAILED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"/proc/sys/kernel/randomize_va_space"

L_.str.1:                               ## @.str.1
	.asciz	"r"

L_.str.2:                               ## @.str.2
	.asciz	"/proc/sys/kernel/exec-shield-randomize"

	.comm	_PROT_NONE,4,2                  ## @PROT_NONE
	.comm	_MAP_ANON,4,2                   ## @MAP_ANON
	.no_dead_strip	_linux_gt_pch_get_address
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function linux_gt_pch_get_address
_linux_gt_pch_get_address:              ; @linux_gt_pch_get_address
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x28, x27, [sp, #112]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #128]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x22, _TRY_EMPTY_VM_SPACE@GOTPAGE
Lloh4:
	ldr	x22, [x22, _TRY_EMPTY_VM_SPACE@GOTPAGEOFF]
	stur	x8, [x29, #-88]
	ldr	x0, [x22]
Lloh5:
	adrp	x25, _PROT_READ@GOTPAGE
Lloh6:
	ldr	x25, [x25, _PROT_READ@GOTPAGEOFF]
Lloh7:
	adrp	x26, _PROT_WRITE@GOTPAGE
Lloh8:
	ldr	x26, [x26, _PROT_WRITE@GOTPAGEOFF]
	ldr	w8, [x25]
	ldr	w9, [x26]
	orr	w2, w9, w8
Lloh9:
	adrp	x27, _MAP_PRIVATE@GOTPAGE
Lloh10:
	ldr	x27, [x27, _MAP_PRIVATE@GOTPAGEOFF]
	ldr	w3, [x27]
	mov	x1, x19
	mov	x4, x21
	mov	w5, #0
	bl	_mmap
Lloh11:
	adrp	x24, _MAP_FAILED@GOTPAGE
Lloh12:
	ldr	x24, [x24, _MAP_FAILED@GOTPAGEOFF]
	ldr	x8, [x24]
	cmp	x0, x8
	b.eq	LBB0_10
; %bb.1:
	mov	x20, x0
	mov	x1, x19
	bl	_munmap
	ldr	x8, [x22]
	cmp	x8, #0
	ccmp	x20, x8, #0, ne
	b.eq	LBB0_11
; %bb.2:
Lloh13:
	adrp	x0, l_.str@PAGE
Lloh14:
	add	x0, x0, l_.str@PAGEOFF
Lloh15:
	adrp	x1, l_.str.1@PAGE
Lloh16:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fopen
	mov	x22, x0
	cbnz	x0, LBB0_4
; %bb.3:
Lloh17:
	adrp	x0, l_.str.2@PAGE
Lloh18:
	add	x0, x0, l_.str.2@PAGEOFF
Lloh19:
	adrp	x1, l_.str.1@PAGE
Lloh20:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fopen
	mov	x22, x0
	cbz	x0, LBB0_11
LBB0_4:
	add	x23, sp, #4
	add	x0, sp, #4
	mov	w1, #1
	mov	w2, #99
	mov	x3, x22
	bl	_fread
	cbz	x0, LBB0_13
; %bb.5:
	strb	wzr, [x23, x0]
	add	x0, sp, #4
	bl	_atoi
	mov	x23, x0
	mov	x0, x22
	bl	_fclose
	cmp	x23, #1
	b.lt	LBB0_11
; %bb.6:
Lloh21:
	adrp	x8, _PROT_NONE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _PROT_NONE@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
	ldr	w8, [x27]
Lloh24:
	adrp	x9, _MAP_ANON@GOTPAGE
Lloh25:
	ldr	x9, [x9, _MAP_ANON@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	orr	w3, w9, w8
	mov	x0, #0
	mov	w1, #33554432
	mov	w4, #-1
	mov	w5, #0
	bl	_mmap
	mov	x22, x0
	ldr	w8, [x25]
	ldr	w9, [x26]
	orr	w2, w9, w8
	ldr	w3, [x27]
	mov	x0, #0
	mov	x1, x19
	mov	x4, x21
	mov	w5, #0
	bl	_mmap
	mov	x20, x0
	ldr	x8, [x24]
	cmp	x22, x8
	b.eq	LBB0_8
; %bb.7:
	mov	x0, x22
	mov	w1, #33554432
	bl	_munmap
	ldr	x8, [x24]
LBB0_8:
	cmp	x20, x8
	b.eq	LBB0_10
; %bb.9:
	mov	x0, x20
	mov	x1, x19
	bl	_munmap
	b	LBB0_11
LBB0_10:
	mov	x20, #0
LBB0_11:
	ldur	x8, [x29, #-88]
Lloh27:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh28:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.12:
	mov	x0, x20
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #128]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
LBB0_13:
	mov	x0, x22
	bl	_fclose
	b	LBB0_11
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_TRY_EMPTY_VM_SPACE,8,3         ; @TRY_EMPTY_VM_SPACE
	.comm	_PROT_READ,4,2                  ; @PROT_READ
	.comm	_PROT_WRITE,4,2                 ; @PROT_WRITE
	.comm	_MAP_PRIVATE,4,2                ; @MAP_PRIVATE
	.comm	_MAP_FAILED,8,3                 ; @MAP_FAILED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"/proc/sys/kernel/randomize_va_space"

l_.str.1:                               ; @.str.1
	.asciz	"r"

l_.str.2:                               ; @.str.2
	.asciz	"/proc/sys/kernel/exec-shield-randomize"

	.comm	_PROT_NONE,4,2                  ; @PROT_NONE
	.comm	_MAP_ANON,4,2                   ; @MAP_ANON
	.no_dead_strip	_linux_gt_pch_get_address
.subsections_via_symbols
