	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cap_file_mmap                  ## -- Begin function cap_file_mmap
	.p2align	4, 0x90
_cap_file_mmap:                         ## @cap_file_mmap
	.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
	movq	_dac_mmap_min_addr@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpq	%r8, (%rcx)
	jbe	LBB0_3
## %bb.1:
	movq	_current@GOTPCREL(%rip), %r14
	movq	(%r14), %rbx
	xorl	%eax, %eax
	callq	_current_cred
	movq	_CAP_SYS_RAWIO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_SECURITY_CAP_AUDIT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_cap_capable
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movq	_PF_SUPERPRIV@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%r14), %rcx
	orl	%eax, (%rcx)
	xorl	%eax, %eax
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dac_mmap_min_addr,8,3          ## @dac_mmap_min_addr
	.comm	_current,8,3                    ## @current
	.comm	_CAP_SYS_RAWIO,4,2              ## @CAP_SYS_RAWIO
	.comm	_SECURITY_CAP_AUDIT,4,2         ## @SECURITY_CAP_AUDIT
	.comm	_PF_SUPERPRIV,4,2               ## @PF_SUPERPRIV
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cap_file_mmap                  ; -- Begin function cap_file_mmap
	.p2align	2
_cap_file_mmap:                         ; @cap_file_mmap
	.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	x8, _dac_mmap_min_addr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _dac_mmap_min_addr@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x4
	b.ls	LBB0_3
; %bb.1:
Lloh3:
	adrp	x20, _current@GOTPAGE
Lloh4:
	ldr	x20, [x20, _current@GOTPAGEOFF]
	ldr	x19, [x20]
	bl	_current_cred
	mov	x1, x0
Lloh5:
	adrp	x8, _CAP_SYS_RAWIO@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CAP_SYS_RAWIO@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
Lloh8:
	adrp	x8, _SECURITY_CAP_AUDIT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SECURITY_CAP_AUDIT@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_cap_capable
	cbnz	w0, LBB0_4
; %bb.2:
Lloh11:
	adrp	x8, _PF_SUPERPRIV@GOTPAGE
Lloh12:
	ldr	x8, [x8, _PF_SUPERPRIV@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	ldr	x9, [x20]
	ldr	w10, [x9]
	orr	w8, w10, w8
	str	w8, [x9]
	b	LBB0_4
LBB0_3:
	mov	w0, #0
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_dac_mmap_min_addr,8,3          ; @dac_mmap_min_addr
	.comm	_current,8,3                    ; @current
	.comm	_CAP_SYS_RAWIO,4,2              ; @CAP_SYS_RAWIO
	.comm	_SECURITY_CAP_AUDIT,4,2         ; @SECURITY_CAP_AUDIT
	.comm	_PF_SUPERPRIV,4,2               ; @PF_SUPERPRIV
.subsections_via_symbols
