	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stripe_find
_stripe_find:                           ## @stripe_find
	.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	%rsi, %r12
	movq	%rdi, %r14
	leaq	12(%rdi), %r15
	movl	4(%rsi), %esi
	movq	%r15, %rdi
	callq	_stripe_lookup
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_stripe_get
	testl	%eax, %eax
	jne	LBB0_7
## %bb.2:
	movq	_S_HITS_1ST@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_4:
	movq	%r15, %rdi
	callq	_stripe_lru_pop
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_stripe_ref
	movl	%eax, %edi
	callq	_BUG_ON
	movq	%rbx, %rdi
	callq	_stripe_io_ref
	movl	%eax, %edi
	callq	_BUG_ON
	movq	%rbx, %rdi
	callq	_stripe_hash_del
	movq	%rbx, %rdi
	callq	_stripe_invalidate
	movl	4(%r12), %esi
	movl	%esi, 8(%rbx)
	movl	8(%r14), %edi
	callq	_dm_rh_sector_to_region
	movl	%eax, 4(%rbx)
	movl	(%r12), %eax
	movl	%eax, (%rbx)
	movq	%rbx, %rdi
	callq	_stripe_get
	testl	%eax, %eax
	je	LBB0_6
LBB0_7:
	movq	%rbx, %rdi
	callq	_stripe_put
LBB0_8:
	xorl	%ebx, %ebx
	jmp	LBB0_9
LBB0_6:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_stripe_insert
	movq	_S_INSCACHE@GOTPCREL(%rip), %rax
LBB0_3:
	movq	(%rax), %rdi
	addq	(%r14), %rdi
	callq	_atomic_inc
LBB0_9:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_S_HITS_1ST,8,3                 ## @S_HITS_1ST
	.comm	_S_INSCACHE,8,3                 ## @S_INSCACHE
	.no_dead_strip	_stripe_find
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stripe_find
_stripe_find:                           ; @stripe_find
	.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	x22, x1
	mov	x20, x0
	add	x21, x0, #12
	ldr	w1, [x1, #4]
	mov	x0, x21
	bl	_stripe_lookup
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
	bl	_stripe_get
	cbnz	w0, LBB0_5
; %bb.2:
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _S_HITS_1ST@GOTPAGE
Lloh1:
	ldr	x9, [x9, _S_HITS_1ST@GOTPAGEOFF]
	b	LBB0_7
LBB0_3:
	mov	x0, x21
	bl	_stripe_lru_pop
	mov	x19, x0
	cbz	x0, LBB0_8
; %bb.4:
	mov	x0, x19
	bl	_stripe_ref
	bl	_BUG_ON
	mov	x0, x19
	bl	_stripe_io_ref
	bl	_BUG_ON
	mov	x0, x19
	bl	_stripe_hash_del
	mov	x0, x19
	bl	_stripe_invalidate
	ldr	w1, [x22, #4]
	str	w1, [x19, #8]
	ldr	w0, [x20, #8]
	bl	_dm_rh_sector_to_region
	ldr	w8, [x22]
	stp	w8, w0, [x19]
	mov	x0, x19
	bl	_stripe_get
	cbz	w0, LBB0_6
LBB0_5:
	mov	x0, x19
	bl	_stripe_put
	mov	x19, #0
	b	LBB0_8
LBB0_6:
	mov	x0, x21
	mov	x1, x19
	bl	_stripe_insert
	ldr	x8, [x20]
Lloh2:
	adrp	x9, _S_INSCACHE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _S_INSCACHE@GOTPAGEOFF]
LBB0_7:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_atomic_inc
LBB0_8:
	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
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_S_HITS_1ST,8,3                 ; @S_HITS_1ST
	.comm	_S_INSCACHE,8,3                 ; @S_INSCACHE
	.no_dead_strip	_stripe_find
.subsections_via_symbols
