	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cq_mmap_entries_setup
_cq_mmap_entries_setup:                 ## @cq_mmap_entries_setup
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movl	(%rsi), %eax
	movl	%eax, 8(%rdx)
	movl	4(%rsi), %edi
	movl	8(%rsi), %r12d
	callq	_virt_to_phys
	movl	(%rbx), %r8d
	movq	_EFA_MMAP_DMA_PAGE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	movq	%r15, %rdi
	movl	%r12d, %esi
	movq	%rbx, %rdx
	movl	%eax, %ecx
	callq	_mmap_entry_insert
	movq	%rax, (%r14)
	movq	_EFA_MMAP_INVALID@GOTPCREL(%rip), %rdx
	movq	_ENOMEM@GOTPCREL(%rip), %rsi
	xorl	%edi, %edi
	xorl	%ecx, %ecx
	subl	(%rsi), %ecx
	cmpq	(%rdx), %rax
	cmovnel	%edi, %ecx
	movl	%ecx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EFA_MMAP_DMA_PAGE,4,2          ## @EFA_MMAP_DMA_PAGE
	.comm	_EFA_MMAP_INVALID,8,3           ## @EFA_MMAP_INVALID
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_cq_mmap_entries_setup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cq_mmap_entries_setup
_cq_mmap_entries_setup:                 ; @cq_mmap_entries_setup
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldp	w8, w0, [x1]
	str	w8, [x2, #8]
	ldr	w22, [x1, #8]
	bl	_virt_to_phys
	mov	x3, x0
	ldr	w4, [x20]
Lloh0:
	adrp	x8, _EFA_MMAP_DMA_PAGE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EFA_MMAP_DMA_PAGE@GOTPAGEOFF]
Lloh2:
	ldr	w5, [x8]
	mov	x0, x21
	mov	x1, x22
	mov	x2, x20
	bl	_mmap_entry_insert
	str	x0, [x19]
Lloh3:
	adrp	x8, _EFA_MMAP_INVALID@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EFA_MMAP_INVALID@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _ENOMEM@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ENOMEM@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	x0, x8
	csneg	w0, wzr, w9, ne
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EFA_MMAP_DMA_PAGE,4,2          ; @EFA_MMAP_DMA_PAGE
	.comm	_EFA_MMAP_INVALID,8,3           ; @EFA_MMAP_INVALID
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_cq_mmap_entries_setup
.subsections_via_symbols
