	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stripe_merge_possible
_stripe_merge_possible:                 ## @stripe_merge_possible
	.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
	movl	%esi, -60(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r12
	movl	4(%rdi), %edi
	callq	_RS
	movq	%rax, %r13
	movl	$0, -48(%rbp)
	movl	8(%rax), %r14d
	testl	%r14d, %r14d
	je	LBB0_1
## %bb.2:
	leal	-1(%r14), %ebx
	xorl	%r15d, %r15d
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdi
	callq	_SetChunkIo
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	decq	%rbx
	decl	%r14d
	je	LBB0_16
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r13), %rdi
	addq	%rbx, %rdi
	callq	_DevFailed
	movq	%r12, %rdi
	movl	%ebx, %esi
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	callq	_CHUNK
	movq	%rax, %r13
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdi
	callq	_ClearChunkIo
	incl	%r15d
	movl	4(%r12), %edi
	callq	_RS
	movq	_S_PROHIBITCHUNKIO@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	addq	(%rax), %rdi
	callq	_atomic_inc
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	leaq	-48(%rbp), %rdx
	callq	_stripe_chunk_check
	cmpl	$0, -60(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_15
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %r13
	testq	%rax, %rax
	je	LBB0_15
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	(%r12), %ebx
	je	LBB0_14
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_BL_CHUNK
	movl	%eax, %edi
	callq	_bio_list_empty
	testq	%rax, %rax
	je	LBB0_14
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_WRITE_MERGED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_BL_CHUNK
	movl	%eax, %edi
	callq	_bio_list_empty
	testq	%rax, %rax
	je	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_WRITE_QUEUED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_BL_CHUNK
	movl	%eax, %edi
	callq	_bio_list_empty
	testq	%rax, %rax
	jne	LBB0_5
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_RSCheckOverwrite
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_stripe_check_chunk_overwrite
	cmpq	$1, %rax
	sbbl	$-1, -44(%rbp)                  ## 4-byte Folded Spill
	jmp	LBB0_14
LBB0_1:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	xorl	%r15d, %r15d
LBB0_16:
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	cmpl	12(%r13), %ebx
	jne	LBB0_21
## %bb.17:
	movq	_S_OVERWRITE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%r13), %rdi
	callq	_atomic_inc
	movl	-48(%rbp), %eax
	movl	8(%r13), %ecx
	jmp	LBB0_18
LBB0_21:
	movl	-48(%rbp), %eax
	addl	%eax, %r15d
	movl	8(%r13), %ecx
	cmpl	%ecx, %r15d
	jae	LBB0_18
## %bb.22:
	movq	_S_CANT_MERGE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%r13), %rdi
	callq	_atomic_inc
	movq	_EPERM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_25
LBB0_18:
	cmpl	%ecx, %eax
	je	LBB0_20
## %bb.19:
	cmpl	12(%r13), %ebx
	jne	LBB0_23
LBB0_20:
	movl	(%r12), %esi
	movq	%r12, %rdi
	callq	_stripe_zero_chunk
	movq	%r12, %rdi
	callq	_StripeReconstruct
	movl	%eax, %edi
	callq	_BUG_ON
	movq	%r12, %rdi
	callq	_SetStripeReconstruct
	jmp	LBB0_24
LBB0_23:
	movq	%r12, %rdi
	callq	_parity_xor
LBB0_24:
	movq	_S_CAN_MERGE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%r13), %rdi
	callq	_atomic_inc
	xorl	%eax, %eax
LBB0_25:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_READ,4,2                       ## @READ
	.comm	_WRITE_MERGED,4,2               ## @WRITE_MERGED
	.comm	_WRITE_QUEUED,4,2               ## @WRITE_QUEUED
	.comm	_S_PROHIBITCHUNKIO,8,3          ## @S_PROHIBITCHUNKIO
	.comm	_S_OVERWRITE,8,3                ## @S_OVERWRITE
	.comm	_S_CANT_MERGE,8,3               ## @S_CANT_MERGE
	.comm	_EPERM,4,2                      ## @EPERM
	.comm	_S_CAN_MERGE,8,3                ## @S_CAN_MERGE
	.no_dead_strip	_stripe_merge_possible
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stripe_merge_possible
_stripe_merge_possible:                 ; @stripe_merge_possible
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x1
	mov	x20, x0
	ldr	w0, [x0, #4]
	bl	_RS
	mov	x19, x0
	str	wzr, [sp, #12]
	ldr	w26, [x0, #8]
	cbz	w26, LBB0_15
; %bb.1:
	mov	w25, #0
	mov	w24, #0
	sub	w22, w26, #1
Lloh0:
	adrp	x27, _READ@GOTPAGE
Lloh1:
	ldr	x27, [x27, _READ@GOTPAGEOFF]
Lloh2:
	adrp	x28, _S_PROHIBITCHUNKIO@GOTPAGE
Lloh3:
	ldr	x28, [x28, _S_PROHIBITCHUNKIO@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x23
	bl	_SetChunkIo
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	sub	x22, x22, #1
	subs	w26, w26, #1
	b.eq	LBB0_16
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	add	x0, x22, x8
	bl	_DevFailed
	cbz	x0, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	mov	x1, x22
	bl	_CHUNK
	mov	x23, x0
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x23
	bl	_ClearChunkIo
	add	w25, w25, #1
	ldr	w0, [x20, #4]
	bl	_RS
	ldr	x8, [x0]
	ldr	x9, [x28]
	add	x0, x9, x8
	bl	_atomic_inc
	b	LBB0_3
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x2, sp, #12
	mov	x0, x20
	mov	x1, x22
	bl	_stripe_chunk_check
	cbnz	w21, LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x23, x0
	cbz	x0, LBB0_3
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x20]
	cmp	w22, w8
	b.eq	LBB0_2
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w1, [x27]
	mov	x0, x23
	bl	_BL_CHUNK
	bl	_bio_list_empty
	cbz	x0, LBB0_2
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh4:
	adrp	x8, _WRITE_MERGED@GOTPAGE
Lloh5:
	ldr	x8, [x8, _WRITE_MERGED@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_BL_CHUNK
	bl	_bio_list_empty
	cbz	x0, LBB0_2
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh7:
	adrp	x8, _WRITE_QUEUED@GOTPAGE
Lloh8:
	ldr	x8, [x8, _WRITE_QUEUED@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_BL_CHUNK
	bl	_bio_list_empty
	cbnz	x0, LBB0_6
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	bl	_RSCheckOverwrite
	cbz	x0, LBB0_2
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	mov	x1, x22
	bl	_stripe_check_chunk_overwrite
	cmp	x0, #0
	cinc	w24, w24, ne
	b	LBB0_2
LBB0_15:
	mov	w24, #0
	mov	w25, #0
LBB0_16:
	ldr	w8, [x19, #12]
	cmp	w24, w8
	b.ne	LBB0_18
; %bb.17:
	ldr	x8, [x19]
Lloh10:
	adrp	x9, _S_OVERWRITE@GOTPAGE
Lloh11:
	ldr	x9, [x9, _S_OVERWRITE@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_atomic_inc
	ldr	w8, [sp, #12]
	ldr	w9, [x19, #8]
	b	LBB0_20
LBB0_18:
	ldr	w8, [sp, #12]
	ldr	w9, [x19, #8]
	add	w10, w8, w25
	cmp	w10, w9
	b.hs	LBB0_20
; %bb.19:
	ldr	x8, [x19]
Lloh13:
	adrp	x9, _S_CANT_MERGE@GOTPAGE
Lloh14:
	ldr	x9, [x9, _S_CANT_MERGE@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_atomic_inc
Lloh16:
	adrp	x8, _EPERM@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EPERM@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_25
LBB0_20:
	cmp	w8, w9
	b.eq	LBB0_22
; %bb.21:
	ldr	w8, [x19, #12]
	cmp	w24, w8
	b.ne	LBB0_23
LBB0_22:
	ldr	w1, [x20]
	mov	x0, x20
	bl	_stripe_zero_chunk
	mov	x0, x20
	bl	_StripeReconstruct
	bl	_BUG_ON
	mov	x0, x20
	bl	_SetStripeReconstruct
	b	LBB0_24
LBB0_23:
	mov	x0, x20
	bl	_parity_xor
LBB0_24:
	ldr	x8, [x19]
Lloh19:
	adrp	x9, _S_CAN_MERGE@GOTPAGE
Lloh20:
	ldr	x9, [x9, _S_CAN_MERGE@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_atomic_inc
	mov	w0, #0
LBB0_25:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_READ,4,2                       ; @READ
	.comm	_WRITE_MERGED,4,2               ; @WRITE_MERGED
	.comm	_WRITE_QUEUED,4,2               ; @WRITE_QUEUED
	.comm	_S_PROHIBITCHUNKIO,8,3          ; @S_PROHIBITCHUNKIO
	.comm	_S_OVERWRITE,8,3                ; @S_OVERWRITE
	.comm	_S_CANT_MERGE,8,3               ; @S_CANT_MERGE
	.comm	_EPERM,4,2                      ; @EPERM
	.comm	_S_CAN_MERGE,8,3                ; @S_CAN_MERGE
	.no_dead_strip	_stripe_merge_possible
.subsections_via_symbols
