	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __translate_perms
___translate_perms:                     ## @__translate_perms
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_IS_RX@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	je	LBB0_5
## %bb.1:
	movq	_IS_DATA@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	jne	LBB0_2
## %bb.3:
	movq	_R_PERM_X@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_2:
	movq	_R_PERM_R@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
	testl	%eax, %eax
	je	LBB0_5
## %bb.6:
	popq	%rbp
	retq
LBB0_5:
	movq	_R_PERM_RWX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IS_RX,4,2                      ## @IS_RX
	.comm	_IS_DATA,4,2                    ## @IS_DATA
	.comm	_R_PERM_R,4,2                   ## @R_PERM_R
	.comm	_R_PERM_X,4,2                   ## @R_PERM_X
	.comm	_R_PERM_RWX,4,2                 ## @R_PERM_RWX
	.no_dead_strip	___translate_perms
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __translate_perms
___translate_perms:                     ; @__translate_perms
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _IS_RX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IS_RX@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _IS_DATA@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IS_DATA@GOTPAGEOFF]
Lloh5:
	adrp	x9, _R_PERM_R@GOTPAGE
Lloh6:
	ldr	x9, [x9, _R_PERM_R@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x10, _R_PERM_X@GOTPAGE
Lloh9:
	ldr	x10, [x10, _R_PERM_X@GOTPAGEOFF]
	tst	w8, w0
	csel	x8, x10, x9, eq
	ldr	w0, [x8]
	cbz	w0, LBB0_3
; %bb.2:
	ret
LBB0_3:
Lloh10:
	adrp	x8, _R_PERM_RWX@GOTPAGE
Lloh11:
	ldr	x8, [x8, _R_PERM_RWX@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_IS_RX,4,2                      ; @IS_RX
	.comm	_IS_DATA,4,2                    ; @IS_DATA
	.comm	_R_PERM_R,4,2                   ; @R_PERM_R
	.comm	_R_PERM_X,4,2                   ; @R_PERM_X
	.comm	_R_PERM_RWX,4,2                 ; @R_PERM_RWX
	.no_dead_strip	___translate_perms
.subsections_via_symbols
