	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qp_get_queue_headers
_qp_get_queue_headers:                  ## @qp_get_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	(%rdi), %rsi
	movq	8(%rdi), %rdi
	callq	_qp_map_queue_headers
	movq	_VMCI_SUCCESS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	8(%rbx), %rdx
	cmpl	%ecx, %eax
	jne	LBB0_2
## %bb.1:
	movq	8(%rdx), %rcx
	movq	%rcx, (%r15)
	movq	(%rbx), %rdx
	addq	$8, %rdx
	jmp	LBB0_5
LBB0_2:
	movq	(%rdx), %rdx
	testq	%rdx, %rdx
	je	LBB0_6
## %bb.3:
	movq	(%rbx), %rsi
	cmpq	$0, (%rsi)
	je	LBB0_6
## %bb.4:
	movq	%rdx, (%r15)
	movq	(%rbx), %rdx
	movl	%ecx, %eax
LBB0_5:
	movq	(%rdx), %rcx
	movq	%rcx, (%r14)
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VMCI_SUCCESS,4,2               ## @VMCI_SUCCESS
	.no_dead_strip	_qp_get_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_get_queue_headers
_qp_get_queue_headers:                  ; @qp_get_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, x2
	mov	x21, x1
	mov	x20, x0
	ldr	x0, [x0, #8]
	ldr	x1, [x20]
	bl	_qp_map_queue_headers
Lloh0:
	adrp	x8, _VMCI_SUCCESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VMCI_SUCCESS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	x9, [x20, #8]
	cmp	w0, w8
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [x9, #8]
	str	x8, [x21]
	ldr	x8, [x20]
	add	x9, x8, #8
	b	LBB0_5
LBB0_2:
	ldr	x9, [x9]
	cbz	x9, LBB0_6
; %bb.3:
	ldr	x10, [x20]
	ldr	x10, [x10]
	cbz	x10, LBB0_6
; %bb.4:
	str	x9, [x21]
	ldr	x9, [x20]
	mov	x0, x8
LBB0_5:
	ldr	x8, [x9]
	str	x8, [x19]
LBB0_6:
	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	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_VMCI_SUCCESS,4,2               ; @VMCI_SUCCESS
	.no_dead_strip	_qp_get_queue_headers
.subsections_via_symbols
