	.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	$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
	cmpq	$0, 8(%rdi)
	je	LBB0_1
## %bb.15:
	leaq	4(%rbx), %rsi
	movq	_BLK_STS_DM_REQUEUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_error_thin_bio_list            ## TAILCALL
LBB0_1:
	movq	16(%rbx), %r15
	leaq	-48(%rbp), %rdi
	callq	_bio_list_init
	movq	%rbx, %rdi
	callq	_spin_lock_irqsave
	leaq	4(%rbx), %r14
	movq	%r14, %rdi
	callq	_bio_list_empty
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
	jmp	LBB0_14
LBB0_3:
	movq	%rbx, %rdi
	callq	___sort_thin_deferred_bios
	leaq	-48(%rbp), %r12
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_bio_list_merge
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_bio_list_init
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
	leaq	-56(%rbp), %rdi
	callq	_blk_start_plug
	movq	%r12, %rdi
	callq	_bio_list_pop
	testq	%rax, %rax
	je	LBB0_13
## %bb.4:
	movq	%rax, %r12
	leaq	4(%r15), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	leaq	-48(%rbp), %r13
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%r13, %rdi
	callq	_bio_list_pop
	movq	%rax, %r12
	incl	%r14d
	testq	%rax, %rax
	je	LBB0_13
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
	movq	%r12, %rdi
	callq	_bio_op
	movq	_REQ_OP_DISCARD@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	*16(%r15)
	testb	$127, %r14b
	jne	LBB0_12
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	*8(%r15)
	testb	$127, %r14b
	jne	LBB0_12
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_throttle_work_update
	movl	(%r15), %edi
	callq	_dm_pool_issue_prefetches
	jmp	LBB0_12
LBB0_6:
	movq	%rbx, %rdi
	callq	_spin_lock_irqsave
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_bio_list_add
	leaq	-48(%rbp), %rsi
	movq	%r14, %rdi
	callq	_bio_list_merge
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
LBB0_13:
	leaq	-56(%rbp), %rdi
	callq	_blk_finish_plug
LBB0_14:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BLK_STS_DM_REQUEUE,4,2         ## @BLK_STS_DM_REQUEUE
	.comm	_REQ_OP_DISCARD,8,3             ## @REQ_OP_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, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x0
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_2
; %bb.1:
	add	x1, x19, #4
Lloh0:
	adrp	x8, _BLK_STS_DM_REQUEUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BLK_STS_DM_REQUEUE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_error_thin_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_4
; %bb.3:
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	b	LBB0_15
LBB0_4:
	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
	mov	x0, sp
	bl	_blk_start_plug
	add	x0, sp, #8
	bl	_bio_list_pop
	cbz	x0, LBB0_14
; %bb.5:
	mov	x23, x0
	mov	w24, #0
	add	x22, x21, #4
Lloh3:
	adrp	x25, _REQ_OP_DISCARD@GOTPAGE
Lloh4:
	ldr	x25, [x25, _REQ_OP_DISCARD@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x0, sp, #8
	bl	_bio_list_pop
	mov	x23, x0
	add	w24, w24, #1
	cbz	x0, LBB0_14
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_ensure_next_mapping
	cbnz	x0, LBB0_13
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x23
	bl	_bio_op
	ldr	x8, [x25]
	cmp	x0, x8
	b.ne	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x21, #16]
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x21, #8]
LBB0_11:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x19
	mov	x1, x23
	blr	x8
	tst	w24, #0x7f
	b.ne	LBB0_6
; %bb.12:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x22
	bl	_throttle_work_update
	ldr	w0, [x21]
	bl	_dm_pool_issue_prefetches
	b	LBB0_6
LBB0_13:
	mov	x0, x19
	bl	_spin_lock_irqsave
	mov	x0, x20
	mov	x1, x23
	bl	_bio_list_add
	add	x1, sp, #8
	mov	x0, x20
	bl	_bio_list_merge
	mov	x0, x19
	bl	_spin_unlock_irqrestore
LBB0_14:
	mov	x0, sp
	bl	_blk_finish_plug
LBB0_15:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_BLK_STS_DM_REQUEUE,4,2         ; @BLK_STS_DM_REQUEUE
	.comm	_REQ_OP_DISCARD,8,3             ; @REQ_OP_DISCARD
	.no_dead_strip	_process_thin_deferred_bios
.subsections_via_symbols
