	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dec_pending
_dec_pending:                           ## @dec_pending
	.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
	pushq	%rax
	.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, %rbx
	movq	24(%rdi), %r14
	movq	%rsi, %rdi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	leaq	20(%rbx), %r12
	movq	%r12, %rdi
	callq	_spin_lock_irqsave
	movq	(%rbx), %rax
	movq	_BLK_STS_DM_REQUEUE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
	movq	%r14, %rdi
	callq	___noflush_suspending
	testq	%rax, %rax
	jne	LBB0_4
LBB0_3:
	movq	%r15, (%rbx)
LBB0_4:
	movq	%r12, %rdi
	callq	_spin_unlock_irqrestore
LBB0_5:
	leaq	16(%rbx), %rdi
	callq	_atomic_dec_and_test
	testq	%rax, %rax
	je	LBB0_17
## %bb.6:
	movq	(%rbx), %r13
	movq	_BLK_STS_DM_REQUEUE@GOTPCREL(%rip), %r12
	cmpq	(%r12), %r13
	jne	LBB0_11
## %bb.7:
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	%r14, %rdi
	callq	___noflush_suspending
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	leaq	4(%r14), %rdi
	movq	8(%rbx), %rsi
	callq	_bio_list_add_head
	jmp	LBB0_10
LBB0_9:
	movq	_BLK_STS_IOERR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
LBB0_10:
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	movq	(%rbx), %r13
LBB0_11:
	movq	8(%rbx), %r15
	movq	%rbx, %rdi
	callq	_end_io_acct
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_free_io
	cmpq	(%r12), %r13
	jne	LBB0_12
LBB0_17:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movl	(%r15), %eax
	movq	_REQ_PREFLUSH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	je	LBB0_14
## %bb.13:
	cmpq	$0, 16(%r15)
	je	LBB0_14
## %bb.18:
	notl	%ecx
	andl	%ecx, %eax
	movl	%eax, (%r15)
	movq	%r14, %rdi
	movq	%r15, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_queue_io                       ## TAILCALL
LBB0_14:
	testq	%r13, %r13
	je	LBB0_16
## %bb.15:
	movq	%r13, 8(%r15)
LBB0_16:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bio_endio                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BLK_STS_DM_REQUEUE,8,3         ## @BLK_STS_DM_REQUEUE
	.comm	_BLK_STS_IOERR,8,3              ## @BLK_STS_IOERR
	.comm	_REQ_PREFLUSH,4,2               ## @REQ_PREFLUSH
	.no_dead_strip	_dec_pending
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dec_pending
_dec_pending:                           ; @dec_pending
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x21, x1
	mov	x20, x0
	ldr	x19, [x0, #24]
	mov	x0, x1
	bl	_unlikely
Lloh0:
	adrp	x23, _BLK_STS_DM_REQUEUE@GOTPAGE
Lloh1:
	ldr	x23, [x23, _BLK_STS_DM_REQUEUE@GOTPAGEOFF]
	cbz	x0, LBB0_5
; %bb.1:
	add	x22, x20, #20
	mov	x0, x22
	bl	_spin_lock_irqsave
	ldr	x8, [x20]
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	mov	x0, x19
	bl	___noflush_suspending
	cbnz	x0, LBB0_4
LBB0_3:
	str	x21, [x20]
LBB0_4:
	mov	x0, x22
	bl	_spin_unlock_irqrestore
LBB0_5:
	add	x0, x20, #16
	bl	_atomic_dec_and_test
	cbz	x0, LBB0_12
; %bb.6:
	ldr	x22, [x20]
	ldr	x8, [x23]
	cmp	x22, x8
	b.ne	LBB0_11
; %bb.7:
	mov	x0, x19
	bl	_spin_lock_irqsave
	mov	x0, x19
	bl	___noflush_suspending
	cbz	x0, LBB0_9
; %bb.8:
	add	x0, x19, #4
	ldr	x1, [x20, #8]
	bl	_bio_list_add_head
	b	LBB0_10
LBB0_9:
Lloh2:
	adrp	x8, _BLK_STS_IOERR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _BLK_STS_IOERR@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	str	x8, [x20]
LBB0_10:
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	ldr	x22, [x20]
LBB0_11:
	ldr	x21, [x20, #8]
	mov	x0, x20
	bl	_end_io_acct
	mov	x0, x19
	mov	x1, x20
	bl	_free_io
	ldr	x8, [x23]
	cmp	x22, x8
	b.ne	LBB0_13
LBB0_12:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_13:
	ldr	w8, [x21]
Lloh5:
	adrp	x9, _REQ_PREFLUSH@GOTPAGE
Lloh6:
	ldr	x9, [x9, _REQ_PREFLUSH@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_16
; %bb.14:
	ldr	x10, [x21, #16]
	cbz	x10, LBB0_16
; %bb.15:
	bic	w8, w8, w9
	str	w8, [x21]
	mov	x0, x19
	mov	x1, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_queue_io
LBB0_16:
	cbz	x22, LBB0_18
; %bb.17:
	str	x22, [x21, #8]
LBB0_18:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_bio_endio
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_BLK_STS_DM_REQUEUE,8,3         ; @BLK_STS_DM_REQUEUE
	.comm	_BLK_STS_IOERR,8,3              ; @BLK_STS_IOERR
	.comm	_REQ_PREFLUSH,4,2               ; @REQ_PREFLUSH
	.no_dead_strip	_dec_pending
.subsections_via_symbols
