	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function process_thin_deferred_bios
_process_thin_deferred_bios:            ## @process_thin_deferred_bios
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	cmpq	$0, 8(%rdi)
	je	LBB0_1
## %bb.12:
	leaq	4(%r12), %rsi
	movq	%r12, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_requeue_bio_list               ## TAILCALL
LBB0_1:
	movq	16(%r12), %r15
	leaq	-48(%rbp), %rdi
	callq	_bio_list_init
	movq	%r12, %rdi
	callq	_spin_lock_irqsave
	leaq	4(%r12), %rbx
	movq	%rbx, %rdi
	callq	_bio_list_empty
	testq	%rax, %rax
	je	LBB0_3
LBB0_2:
	movq	%r12, %rdi
	callq	_spin_unlock_irqrestore
LBB0_11:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	%r12, %rdi
	callq	___sort_thin_deferred_bios
	leaq	-48(%rbp), %r14
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_bio_list_merge
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_bio_list_init
	movq	%r12, %rdi
	callq	_spin_unlock_irqrestore
	movq	%r14, %rdi
	callq	_bio_list_pop
	testq	%rax, %rax
	je	LBB0_11
## %bb.4:
	movq	%rax, %rbx
	movq	_BIO_DISCARD@GOTPCREL(%rip), %r14
	leaq	-48(%rbp), %r13
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	*(%r15)
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%r13, %rdi
	callq	_bio_list_pop
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_11
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_ensure_next_mapping
	testq	%rax, %rax
	jne	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	(%r14), %eax
	testl	%eax, (%rbx)
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	*8(%r15)
	jmp	LBB0_10
LBB0_6:
	movq	%r12, %rdi
	callq	_spin_lock_irqsave
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_bio_list_add
	leaq	-48(%rbp), %rsi
	movq	%r14, %rdi
	callq	_bio_list_merge
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_BIO_DISCARD,4,2                ## @BIO_DISCARD
	.no_dead_strip	_process_thin_deferred_bios
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function process_thin_deferred_bios
_process_thin_deferred_bios:            ; @process_thin_deferred_bios
	.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
	mov	x19, x0
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_2
; %bb.1:
	add	x1, x19, #4
	mov	x0, x19
	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
	b	_requeue_bio_list
LBB0_2:
	ldr	x21, [x19, #16]
	add	x0, sp, #8
	bl	_bio_list_init
	mov	x0, x19
	bl	_spin_lock_irqsave
	add	x20, x19, #4
	mov	x0, x20
	bl	_bio_list_empty
	cbz	x0, LBB0_5
LBB0_3:
	mov	x0, x19
	bl	_spin_unlock_irqrestore
LBB0_4:
	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
LBB0_5:
	mov	x0, x19
	bl	___sort_thin_deferred_bios
	add	x0, sp, #8
	mov	x1, x20
	bl	_bio_list_merge
	mov	x0, x20
	bl	_bio_list_init
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	add	x0, sp, #8
	bl	_bio_list_pop
	cbz	x0, LBB0_4
; %bb.6:
	mov	x22, x0
Lloh0:
	adrp	x23, _BIO_DISCARD@GOTPAGE
Lloh1:
	ldr	x23, [x23, _BIO_DISCARD@GOTPAGEOFF]
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x21]
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x19
	mov	x1, x22
	blr	x8
	add	x0, sp, #8
	bl	_bio_list_pop
	mov	x22, x0
	cbz	x0, LBB0_4
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_ensure_next_mapping
	cbnz	x0, LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w8, [x22]
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x21, #8]
	b	LBB0_8
LBB0_12:
	mov	x0, x19
	bl	_spin_lock_irqsave
	mov	x0, x20
	mov	x1, x22
	bl	_bio_list_add
	add	x1, sp, #8
	mov	x0, x20
	bl	_bio_list_merge
	b	LBB0_3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_BIO_DISCARD,4,2                ; @BIO_DISCARD
	.no_dead_strip	_process_thin_deferred_bios
.subsections_via_symbols
