	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function process_return_queue
_process_return_queue:                  ## @process_return_queue
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movl	(%rsi), %edi
	callq	_Q_RP
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movl	(%r14), %edi
	callq	_Q_RP
	movq	_Q_INCWRAP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_write_fs
	movl	(%r14), %edi
	callq	_Q_RP
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_read_fs
	movq	%rax, %rbx
	movq	_Q_EMPTY@GOTPCREL(%rip), %rax
	testq	%rbx, (%rax)
	jne	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_FS_DEBUG_QUEUE@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_fs_dprintk
	movq	%rbx, %rdi
	callq	_bus_to_virt
	movq	%rax, %r13
	movl	(%r14), %ebx
	movslq	16(%rax), %r12
	movq	(%rax), %r14
	movl	12(%rax), %r15d
	movl	8(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r13, %rdi
	callq	_STATUS_CODE
	movl	%eax, (%rsp)
	movl	%ebx, %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdx
	movq	%r14, %rcx
	movl	%r15d, %r8d
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	xorl	%eax, %eax
	callq	_fs_dprintk
	movq	%r13, %rdi
	callq	_STATUS_CODE
	cmpl	$5, %eax
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r13), %rdi
	callq	_bus_to_virt
	movq	%rax, %rbx
	movq	_FS_DEBUG_ALLOC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_fs_dprintk
	movq	%rbx, %rdi
	callq	_kfree
	jmp	LBB0_4
LBB0_5:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Q_EMPTY,8,3                    ## @Q_EMPTY
	.comm	_FS_DEBUG_QUEUE,4,2             ## @FS_DEBUG_QUEUE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"reaping return queue entry at %lx\n"

L_.str.1:                               ## @.str.1
	.asciz	"queue entry: %08x %08x %08x %08x. (%d)\n"

	.comm	_FS_DEBUG_ALLOC,4,2             ## @FS_DEBUG_ALLOC
L_.str.2:                               ## @.str.2
	.asciz	"Free tc: %p\n"

	.comm	_Q_INCWRAP,4,2                  ## @Q_INCWRAP
	.no_dead_strip	_process_return_queue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function process_return_queue
_process_return_queue:                  ; @process_return_queue
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x20, x0
	ldr	w0, [x1]
	bl	_Q_RP
	mov	x1, x0
	mov	x0, x20
	bl	_read_fs
Lloh0:
	adrp	x27, _Q_EMPTY@GOTPAGE
Lloh1:
	ldr	x27, [x27, _Q_EMPTY@GOTPAGEOFF]
	ldr	x8, [x27]
	tst	x8, x0
	b.eq	LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_2:
	mov	x24, x0
Lloh2:
	adrp	x28, _FS_DEBUG_QUEUE@GOTPAGE
Lloh3:
	ldr	x28, [x28, _FS_DEBUG_QUEUE@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x19]
	bl	_Q_RP
	mov	x1, x0
Lloh4:
	adrp	x8, _Q_INCWRAP@GOTPAGE
Lloh5:
	ldr	x8, [x8, _Q_INCWRAP@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_write_fs
	ldr	w0, [x19]
	bl	_Q_RP
	mov	x1, x0
	mov	x0, x20
	bl	_read_fs
	mov	x24, x0
	ldr	x8, [x27]
	tst	x8, x0
	b.ne	LBB0_1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x28]
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x24
	bl	_fs_dprintk
	mov	x0, x24
	bl	_bus_to_virt
	mov	x24, x0
	ldr	w25, [x28]
	ldp	w22, w26, [x0, #12]
                                        ; kill: def $w26 killed $w26 def $x26
	sxtw	x26, w26
	ldr	x21, [x0]
	ldr	w23, [x0, #8]
	bl	_STATUS_CODE
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x23, x0, [sp, #16]
	stp	x21, x22, [sp]
	mov	x0, x25
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x26
	bl	_fs_dprintk
	mov	x0, x24
	bl	_STATUS_CODE
	cmp	w0, #5
	b.ne	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x24]
	bl	_bus_to_virt
	mov	x24, x0
Lloh11:
	adrp	x8, _FS_DEBUG_ALLOC@GOTPAGE
Lloh12:
	ldr	x8, [x8, _FS_DEBUG_ALLOC@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x1, l_.str.2@PAGE
Lloh15:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x24
	bl	_fs_dprintk
	mov	x0, x24
	bl	_kfree
	b	LBB0_3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_Q_EMPTY,8,3                    ; @Q_EMPTY
	.comm	_FS_DEBUG_QUEUE,4,2             ; @FS_DEBUG_QUEUE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"reaping return queue entry at %lx\n"

l_.str.1:                               ; @.str.1
	.asciz	"queue entry: %08x %08x %08x %08x. (%d)\n"

	.comm	_FS_DEBUG_ALLOC,4,2             ; @FS_DEBUG_ALLOC
l_.str.2:                               ; @.str.2
	.asciz	"Free tc: %p\n"

	.comm	_Q_INCWRAP,4,2                  ; @Q_INCWRAP
	.no_dead_strip	_process_return_queue
.subsections_via_symbols
