	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function crypt_dec_pending
_crypt_dec_pending:                     ## @crypt_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	%rdi, %r15
	movq	24(%rdi), %rax
	movq	(%rax), %r13
	movq	16(%rdi), %r14
	movq	8(%rdi), %r12
	movl	(%rdi), %ebx
	addq	$4, %rdi
	callq	_atomic_dec_and_test
	testl	%eax, %eax
	je	LBB0_9
## %bb.1:
	movl	(%r13), %esi
	movq	%r15, %rdi
	callq	_mempool_free
	xorl	%edi, %edi
	testq	%r12, %r12
	sete	%dil
	callq	_likely
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movl	%ebx, %r15d
LBB0_3:
	movq	%r14, %rdi
	movl	%r15d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bio_endio                      ## TAILCALL
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	(%rbx), %esi
	movq	%r12, %rdi
	callq	_mempool_free
	xorl	%edi, %edi
	testq	%r13, %r13
	sete	%dil
	callq	_likely
	movq	%r13, %r12
	movl	%r15d, %ebx
	testq	%rax, %rax
	jne	LBB0_3
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %r15d
	testl	%ebx, %ebx
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	testl	%r15d, %r15d
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%ebx, (%r12)
	movl	%ebx, %r15d
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	24(%r12), %rax
	movq	(%rax), %rbx
	movq	8(%r12), %r13
	movq	16(%r12), %r14
	leaq	4(%r12), %rdi
	callq	_atomic_dec_and_test
	testl	%eax, %eax
	jne	LBB0_4
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_crypt_dec_pending
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function crypt_dec_pending
_crypt_dec_pending:                     ; @crypt_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, x0
	ldp	x20, x8, [x0, #16]
	ldr	x23, [x8]
	ldr	x19, [x0, #8]
	ldr	w22, [x0], #4
	bl	_atomic_dec_and_test
	cbz	w0, LBB0_9
; %bb.1:
	ldr	w1, [x23]
	mov	x0, x21
	bl	_mempool_free
	cmp	x19, #0
	cset	w0, eq
	bl	_likely
	cbz	x0, LBB0_5
; %bb.2:
	mov	x21, x22
LBB0_3:
	mov	x0, x20
	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	_bio_endio
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w1, [x23]
	mov	x0, x19
	bl	_mempool_free
	cmp	x22, #0
	cset	w0, eq
	bl	_likely
	mov	x19, x22
	mov	x22, x21
	cbnz	x0, LBB0_3
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w21, [x19]
	cbz	w22, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	cbnz	w21, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	str	w22, [x19]
	mov	x21, x22
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldp	x20, x8, [x19, #16]
	ldr	x23, [x8]
	ldr	x22, [x19, #8]
	add	x0, x19, #4
	bl	_atomic_dec_and_test
	cbnz	w0, LBB0_4
LBB0_9:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_crypt_dec_pending
.subsections_via_symbols
