	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sc_shrink
_sc_shrink:                             ## @sc_shrink
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	xorl	%r14d, %r14d
	testl	%esi, %esi
	je	LBB0_5
## %bb.1:
	movl	%esi, %r12d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_stripe_lru_pop
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_stripe_io_ref
	movl	%eax, %edi
	callq	_BUG_ON
	movq	%rbx, %rdi
	callq	_stripe_ref
	movl	%eax, %edi
	callq	_BUG_ON
	movq	%r15, %rdi
	callq	_atomic_dec
	movq	%rbx, %rdi
	callq	_stripe_hash_del
	movl	8(%r15), %esi
	movq	%rbx, %rdi
	callq	_stripe_free
	decl	%r12d
	jne	LBB0_2
	jmp	LBB0_5
LBB0_3:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_5:
	leaq	4(%r15), %r12
	movq	%r12, %rdi
	callq	_atomic_read
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_atomic_read
	cmpq	%rax, %rbx
	jle	LBB0_7
## %bb.6:
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_atomic_set
LBB0_7:
	testl	%r14d, %r14d
	je	LBB0_8
LBB0_10:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	%r15, %rdi
	callq	_atomic_read
	testq	%rax, %rax
	je	LBB0_9
## %bb.11:
	movq	%r15, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sc_hash_resize                 ## TAILCALL
LBB0_9:
	xorl	%r14d, %r14d
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOENT,4,2                     ## @ENOENT
	.no_dead_strip	_sc_shrink
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sc_shrink
_sc_shrink:                             ; @sc_shrink
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x19, x0
	cbz	w1, LBB0_4
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_stripe_lru_pop
	cbz	x0, LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x21, x0
	sub	w20, w20, #1
	bl	_stripe_io_ref
	bl	_BUG_ON
	mov	x0, x21
	bl	_stripe_ref
	bl	_BUG_ON
	mov	x0, x19
	bl	_atomic_dec
	mov	x0, x21
	bl	_stripe_hash_del
	ldr	w1, [x19, #8]
	mov	x0, x21
	bl	_stripe_free
	cbnz	w20, LBB0_1
	b	LBB0_4
LBB0_3:
Lloh0:
	adrp	x8, _ENOENT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_4:
	add	x21, x19, #4
	mov	x0, x21
	bl	_atomic_read
	mov	x22, x0
	mov	x0, x19
	bl	_atomic_read
	cmp	x22, x0
	b.le	LBB0_6
; %bb.5:
	mov	x0, x21
	mov	w1, #0
	bl	_atomic_set
LBB0_6:
	cbz	w20, LBB0_8
LBB0_7:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_8:
	mov	x0, x19
	bl	_atomic_read
	cbz	x0, LBB0_10
; %bb.9:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_sc_hash_resize
LBB0_10:
	mov	w20, #0
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOENT,4,2                     ; @ENOENT
	.no_dead_strip	_sc_shrink
.subsections_via_symbols
