	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function issue_deferred_bios
_issue_deferred_bios:                   ## @issue_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	%rsi, %r15
	movq	%rdi, %r14
	movq	_BIO_EMPTY_LIST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	movl	%eax, -48(%rbp)
	movq	%rsi, %rdi
	callq	_bio_list_empty
	testq	%rax, %rax
	jne	LBB0_5
## %bb.1:
	movq	%r15, %rdi
	callq	_bio_list_pop
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	%rax, %rbx
	leaq	-48(%rbp), %r12
	leaq	-56(%rbp), %r13
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_bio_triggers_commit
	testq	%rax, %rax
	movq	%r13, %rdi
	cmoveq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_bio_list_add
	movq	%r15, %rdi
	callq	_bio_list_pop
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_3
LBB0_4:
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	leaq	8(%r14), %rdi
	leaq	-48(%rbp), %rsi
	callq	_bio_list_merge
	leaq	4(%r14), %rdi
	leaq	-56(%rbp), %rsi
	callq	_bio_list_merge
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	movq	%r14, %rdi
	callq	_wake_worker
LBB0_5:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BIO_EMPTY_LIST,4,2             ## @BIO_EMPTY_LIST
	.no_dead_strip	_issue_deferred_bios
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function issue_deferred_bios
_issue_deferred_bios:                   ; @issue_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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _BIO_EMPTY_LIST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BIO_EMPTY_LIST@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #8]
	str	w8, [sp]
	mov	x0, x1
	bl	_bio_list_empty
	cbnz	x0, LBB0_5
; %bb.1:
	mov	x0, x20
	bl	_bio_list_pop
	cbz	x0, LBB0_4
; %bb.2:
	mov	x21, x0
	add	x22, sp, #8
	mov	x23, sp
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_bio_triggers_commit
	cmp	x0, #0
	csel	x0, x23, x22, eq
	mov	x1, x21
	bl	_bio_list_add
	mov	x0, x20
	bl	_bio_list_pop
	mov	x21, x0
	cbnz	x0, LBB0_3
LBB0_4:
	mov	x0, x19
	bl	_spin_lock_irqsave
	add	x0, x19, #8
	mov	x1, sp
	bl	_bio_list_merge
	add	x0, x19, #4
	add	x1, sp, #8
	bl	_bio_list_merge
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	mov	x0, x19
	bl	_wake_worker
LBB0_5:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BIO_EMPTY_LIST,4,2             ; @BIO_EMPTY_LIST
	.no_dead_strip	_issue_deferred_bios
.subsections_via_symbols
