	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qp_map_queue_headers
_qp_map_queue_headers:                  ## @qp_map_queue_headers
	.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	%rsi, %r14
	movq	%rdi, %rbx
	cmpq	$0, 8(%rdi)
	je	LBB0_3
## %bb.1:
	cmpq	$0, 8(%r14)
	je	LBB0_3
## %bb.2:
	movq	_VMCI_SUCCESS@GOTPCREL(%rip), %rcx
	jmp	LBB0_8
LBB0_3:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_qp_host_map_queues
	movq	_VMCI_SUCCESS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jge	LBB0_8
## %bb.4:
	cmpq	$0, (%rbx)
	je	LBB0_7
## %bb.5:
	cmpq	$0, (%r14)
	je	LBB0_7
## %bb.6:
	movq	_VMCI_ERROR_QUEUEPAIR_NOT_READY@GOTPCREL(%rip), %rcx
	jmp	LBB0_8
LBB0_7:
	movq	_VMCI_ERROR_QUEUEPAIR_NOTATTACHED@GOTPCREL(%rip), %rcx
LBB0_8:
	movl	(%rcx), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VMCI_SUCCESS,4,2               ## @VMCI_SUCCESS
	.comm	_VMCI_ERROR_QUEUEPAIR_NOT_READY,4,2 ## @VMCI_ERROR_QUEUEPAIR_NOT_READY
	.comm	_VMCI_ERROR_QUEUEPAIR_NOTATTACHED,4,2 ## @VMCI_ERROR_QUEUEPAIR_NOTATTACHED
	.no_dead_strip	_qp_map_queue_headers
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qp_map_queue_headers
_qp_map_queue_headers:                  ; @qp_map_queue_headers
	.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, x1
	mov	x20, x0
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_3
; %bb.2:
Lloh0:
	adrp	x21, _VMCI_SUCCESS@GOTPAGE
Lloh1:
	ldr	x21, [x21, _VMCI_SUCCESS@GOTPAGEOFF]
	b	LBB0_8
LBB0_3:
Lloh2:
	adrp	x21, _VMCI_SUCCESS@GOTPAGE
Lloh3:
	ldr	x21, [x21, _VMCI_SUCCESS@GOTPAGEOFF]
	mov	x0, x20
	mov	x1, x19
	bl	_qp_host_map_queues
	ldr	w8, [x21]
	cmp	w0, w8
	b.ge	LBB0_8
; %bb.4:
	ldr	x8, [x20]
	cbz	x8, LBB0_7
; %bb.5:
	ldr	x8, [x19]
	cbz	x8, LBB0_7
; %bb.6:
Lloh4:
	adrp	x21, _VMCI_ERROR_QUEUEPAIR_NOT_READY@GOTPAGE
Lloh5:
	ldr	x21, [x21, _VMCI_ERROR_QUEUEPAIR_NOT_READY@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh6:
	adrp	x21, _VMCI_ERROR_QUEUEPAIR_NOTATTACHED@GOTPAGE
Lloh7:
	ldr	x21, [x21, _VMCI_ERROR_QUEUEPAIR_NOTATTACHED@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x21]
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_VMCI_SUCCESS,4,2               ; @VMCI_SUCCESS
	.comm	_VMCI_ERROR_QUEUEPAIR_NOT_READY,4,2 ; @VMCI_ERROR_QUEUEPAIR_NOT_READY
	.comm	_VMCI_ERROR_QUEUEPAIR_NOTATTACHED,4,2 ; @VMCI_ERROR_QUEUEPAIR_NOTATTACHED
	.no_dead_strip	_qp_map_queue_headers
.subsections_via_symbols
