	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function reshape_request_write
_reshape_request_write:                 ## @reshape_request_write
	.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
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	(%rdi), %rbx
	movq	_R10BIO_Uptodate@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$16, %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_handle_reshape_read_error
	testq	%rax, %rax
	js	LBB0_13
LBB0_2:
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_atomic_set
	cmpl	$0, (%rbx)
	jle	LBB0_12
## %bb.3:
	xorl	%r13d, %r13d
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	movq	-48(%rbp), %r12                 ## 8-byte Reload
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	incl	%r13d
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	(%rbx), %eax
	addl	%eax, %eax
	cmpl	%eax, %r13d
	jge	LBB0_12
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rax
	movl	%r13d, %ecx
	shrl	%ecx
	leaq	(%rcx,%rcx,2), %r14
	movslq	(%rax,%r14,8), %r15
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movq	8(%rbx), %rax
	testb	$1, %r13b
	jne	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	(%rax,%r15,8), %edi
	callq	_rcu_dereference
	movq	%r12, %rcx
	movq	%rax, %r12
	movq	8(%rcx), %rax
	leaq	(%rax,%r14,8), %rax
	addq	$8, %rax
	testq	%r12, %r12
	jne	LBB0_8
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	4(%rax,%r15,8), %edi
	callq	_rcu_dereference
	movq	%r12, %rcx
	movq	%rax, %r12
	movq	8(%rcx), %rax
	leaq	(%rax,%r14,8), %rax
	addq	$16, %rax
	testq	%r12, %r12
	je	LBB0_9
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rax), %r15
	movq	_Faulty@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	4(%r12), %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	callq	_atomic_inc
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movl	4(%r12), %esi
	movq	%r15, %rdi
	callq	_md_sync_acct_bio
	movq	%r12, %rdi
	callq	_atomic_inc
	movq	$0, (%r15)
	movq	%r15, %rdi
	callq	_generic_make_request
	jmp	LBB0_11
LBB0_12:
	movq	%r12, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_end_reshape_request            ## TAILCALL
LBB0_13:
	movl	4(%r12), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_md_done_sync                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_R10BIO_Uptodate,4,2            ## @R10BIO_Uptodate
	.comm	_Faulty,4,2                     ## @Faulty
	.no_dead_strip	_reshape_request_write
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function reshape_request_write
_reshape_request_write:                 ; @reshape_request_write
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	x22, [x0]
Lloh0:
	adrp	x8, _R10BIO_Uptodate@GOTPAGE
Lloh1:
	ldr	x8, [x8, _R10BIO_Uptodate@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x1, #16
	bl	_test_bit
	cbnz	x0, LBB0_2
; %bb.1:
	mov	x0, x20
	mov	x1, x19
	bl	_handle_reshape_read_error
	tbnz	x0, #63, LBB0_12
LBB0_2:
	mov	x0, x19
	mov	w1, #1
	bl	_atomic_set
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.3:
	mov	w23, #0
	mov	w24, #24
Lloh3:
	adrp	x25, _Faulty@GOTPAGE
Lloh4:
	ldr	x25, [x25, _Faulty@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	bl	_rcu_read_unlock
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	w23, w23, #1
	ldr	w8, [x22]
	cmp	w23, w8, lsl #1
	b.ge	LBB0_11
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	lsr	w21, w23, #1
	umull	x9, w21, w24
	ldrsw	x20, [x8, x9]
	bl	_rcu_read_lock
	ldr	x8, [x22, #8]
	tbnz	w23, #0, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	lsl	x9, x20, #3
	ldr	w0, [x8, x9]
	bl	_rcu_dereference
	mov	x20, x0
	ldr	x8, [x19, #8]
	madd	x8, x21, x24, x8
	add	x8, x8, #8
	cbnz	x20, LBB0_9
	b	LBB0_4
LBB0_8:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x8, x8, x20, lsl #3
	ldr	w0, [x8, #4]
	bl	_rcu_dereference
	mov	x20, x0
	ldr	x8, [x19, #8]
	madd	x8, x21, x24, x8
	add	x8, x8, #16
	cbz	x20, LBB0_4
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x21, [x8]
	ldr	w0, [x25]
	add	x1, x20, #4
	bl	_test_bit
	cbnz	x0, LBB0_4
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	bl	_atomic_inc
	bl	_rcu_read_unlock
	ldr	w1, [x19, #4]
	mov	x0, x21
	bl	_md_sync_acct_bio
	mov	x0, x19
	bl	_atomic_inc
	str	xzr, [x21]
	mov	x0, x21
	bl	_generic_make_request
	b	LBB0_5
LBB0_11:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_end_reshape_request
LBB0_12:
	ldr	w1, [x19, #4]
	mov	x0, x20
	mov	w2, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_md_done_sync
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_R10BIO_Uptodate,4,2            ; @R10BIO_Uptodate
	.comm	_Faulty,4,2                     ; @Faulty
	.no_dead_strip	_reshape_request_write
.subsections_via_symbols
