	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function req_done
_req_done:                              ## @req_done
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rax
	movq	(%rax), %r13
	movq	_P9_DEBUG_TRANS@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_P9_DPRINTK
	movl	4(%r13), %edi
	leaq	-44(%rbp), %rsi
	callq	_virtqueue_get_buf
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %rbx
	movq	_REQ_STATUS_RCVD@GOTPCREL(%rip), %r15
	leaq	-44(%rbp), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_P9_DPRINTK
	movl	(%r14), %edi
	movq	(%rbx), %rdx
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_P9_DPRINTK
	movl	(%r13), %edi
	movq	(%rbx), %rsi
	callq	_p9_tag_lookup
	movl	(%r15), %ecx
	movl	%ecx, (%rax)
	movl	(%r13), %edi
	movq	%rax, %rsi
	callq	_p9_client_cb
	movl	4(%r13), %edi
	movq	%r12, %rsi
	callq	_virtqueue_get_buf
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_2
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_P9_DEBUG_TRANS,4,2             ## @P9_DEBUG_TRANS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	": request done\n"

L_.str.1:                               ## @.str.1
	.asciz	": rc %p\n"

L_.str.2:                               ## @.str.2
	.asciz	": lookup tag %d\n"

	.comm	_REQ_STATUS_RCVD,4,2            ## @REQ_STATUS_RCVD
	.no_dead_strip	_req_done
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function req_done
_req_done:                              ; @req_done
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	ldr	x8, [x0]
	ldr	x22, [x8]
Lloh0:
	adrp	x23, _P9_DEBUG_TRANS@GOTPAGE
Lloh1:
	ldr	x23, [x23, _P9_DEBUG_TRANS@GOTPAGEOFF]
	ldr	w0, [x23]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_P9_DPRINTK
	ldr	w0, [x22, #4]
	add	x1, sp, #12
	bl	_virtqueue_get_buf
	cbz	x0, LBB0_3
; %bb.1:
	mov	x21, x0
Lloh4:
	adrp	x19, l_.str.1@PAGE
Lloh5:
	add	x19, x19, l_.str.1@PAGEOFF
Lloh6:
	adrp	x24, _REQ_STATUS_RCVD@GOTPAGE
Lloh7:
	ldr	x24, [x24, _REQ_STATUS_RCVD@GOTPAGEOFF]
Lloh8:
	adrp	x20, l_.str.2@PAGE
Lloh9:
	add	x20, x20, l_.str.2@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x23]
	str	x21, [sp]
	mov	x1, x19
	bl	_P9_DPRINTK
	ldr	w0, [x23]
	ldr	x8, [x21]
	str	x8, [sp]
	mov	x1, x20
	bl	_P9_DPRINTK
	ldr	w0, [x22]
	ldr	x1, [x21]
	bl	_p9_tag_lookup
	mov	x1, x0
	ldr	w8, [x24]
	str	w8, [x0]
	ldr	w0, [x22]
	bl	_p9_client_cb
	ldr	w0, [x22, #4]
	add	x1, sp, #12
	bl	_virtqueue_get_buf
	mov	x21, x0
	cbnz	x0, LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_P9_DEBUG_TRANS,4,2             ; @P9_DEBUG_TRANS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	": request done\n"

l_.str.1:                               ; @.str.1
	.asciz	": rc %p\n"

l_.str.2:                               ; @.str.2
	.asciz	": lookup tag %d\n"

	.comm	_REQ_STATUS_RCVD,4,2            ; @REQ_STATUS_RCVD
	.no_dead_strip	_req_done
.subsections_via_symbols
