	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function process_deferred_bios
_process_deferred_bios:                 ## @process_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, %r14
	leaq	-56(%rbp), %r15
	movq	%r15, %rdi
	callq	_bio_list_init
	leaq	-48(%rbp), %rdi
	callq	_bio_list_init
	leaq	8(%r14), %r12
	movq	%r12, %rdi
	callq	_spin_lock
	leaq	12(%r14), %rbx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_bio_list_merge
	movq	%rbx, %rdi
	callq	_bio_list_init
	movq	%r12, %rdi
	callq	_spin_unlock
	movq	%r15, %rdi
	callq	_bio_list_pop
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %r13
	xorl	%r12d, %r12d
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r14d, -60(%rbp)                ## 4-byte Spill
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	(%rdi), %rbx
	movl	(%rbx), %r15d
	addq	$4, %rbx
	movq	%r13, %rsi
	callq	_get_block
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_writeset_test_and_set
	testl	%eax, %eax
	movl	$1, %eax
	cmovel	%eax, %r14d
	cmovsl	-60(%rbp), %r14d                ## 4-byte Folded Reload
	cmovsl	%eax, %r12d
	leaq	-48(%rbp), %rdi
	movq	%r13, %rsi
	callq	_bio_list_add
	leaq	-56(%rbp), %rdi
	callq	_bio_list_pop
	movq	%rax, %r13
	testq	%rax, %rax
	jne	LBB0_2
## %bb.3:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	testl	%r14d, %r14d
	je	LBB0_8
## %bb.4:
	movq	(%rax), %rdi
	callq	_metadata_commit
	orl	%r12d, %eax
	jne	LBB0_9
LBB0_5:
	leaq	-48(%rbp), %rdi
	callq	_bio_list_pop
	testq	%rax, %rax
	je	LBB0_12
## %bb.6:
	leaq	-48(%rbp), %rbx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rdi
	callq	_generic_make_request
	movq	%rbx, %rdi
	callq	_bio_list_pop
	testq	%rax, %rax
	jne	LBB0_7
	jmp	LBB0_12
LBB0_8:
	testl	%r12d, %r12d
	je	LBB0_5
LBB0_9:
	leaq	-48(%rbp), %rdi
	callq	_bio_list_pop
	testq	%rax, %rax
	je	LBB0_12
## %bb.10:
	leaq	-48(%rbp), %rbx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rdi
	callq	_bio_io_error
	movq	%rbx, %rdi
	callq	_bio_list_pop
	testq	%rax, %rax
	jne	LBB0_11
LBB0_12:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_process_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_deferred_bios
_process_deferred_bios:                 ; @process_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
	add	x0, sp, #8
	bl	_bio_list_init
	mov	x0, sp
	bl	_bio_list_init
	add	x20, x19, #8
	mov	x0, x20
	bl	_spin_lock
	add	x21, x19, #12
	add	x0, sp, #8
	mov	x1, x21
	bl	_bio_list_merge
	mov	x0, x21
	bl	_bio_list_init
	mov	x0, x20
	bl	_spin_unlock
	add	x0, sp, #8
	bl	_bio_list_pop
	cbz	x0, LBB0_7
; %bb.1:
	mov	x20, x0
	mov	w23, #0
	mov	w24, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x21, [x19]
	ldr	w22, [x21], #4
	mov	x0, x19
	mov	x1, x20
	bl	_get_block
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_writeset_test_and_set
	cmp	w0, #0
	csinc	w8, w24, wzr, ne
	csel	w24, w24, w8, lt
	csinc	w23, w23, wzr, ge
	mov	x0, sp
	mov	x1, x20
	bl	_bio_list_add
	add	x0, sp, #8
	bl	_bio_list_pop
	mov	x20, x0
	cbnz	x0, LBB0_2
; %bb.3:
	cbz	w24, LBB0_5
; %bb.4:
	ldr	x0, [x19]
	bl	_metadata_commit
	orr	w8, w0, w23
	cbnz	w8, LBB0_9
	b	LBB0_7
LBB0_5:
	cbnz	w23, LBB0_9
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	bl	_generic_make_request
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, sp
	bl	_bio_list_pop
	cbnz	x0, LBB0_6
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	bl	_bio_io_error
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, sp
	bl	_bio_list_pop
	cbnz	x0, LBB0_8
LBB0_10:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_process_deferred_bios
.subsections_via_symbols
