	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	(%rdi), %r12
	movq	_R10BIO_Uptodate@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$16, %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_handle_reshape_read_error
	testq	%rax, %rax
	js	LBB0_9
LBB0_2:
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_atomic_set
	cmpl	$0, (%r12)
	jle	LBB0_8
## %bb.3:
	xorl	%ebx, %ebx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	incl	%ebx
	movl	(%r12), %eax
	addl	%eax, %eax
	cmpl	%eax, %ebx
	jge	LBB0_8
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rax
	movl	%ebx, %ecx
	shrl	%ecx
	leaq	(%rcx,%rcx,2), %rcx
	movslq	(%rax,%rcx,8), %rdx
	movq	8(%r12), %rsi
	shlq	$4, %rdx
	leaq	(%rsi,%rdx), %rdi
	testb	$1, %bl
	leaq	8(%rsi,%rdx), %rdx
	leaq	16(%rax,%rcx,8), %rsi
	leaq	8(%rax,%rcx,8), %rax
	cmovneq	%rsi, %rax
	cmoveq	%rdi, %rdx
	movq	(%rdx), %r13
	testq	%r13, %r13
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rax), %r15
	movq	_Faulty@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	4(%r13), %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %rdi
	callq	_atomic_inc
	movl	8(%r15), %edi
	movl	4(%r14), %esi
	callq	_md_sync_acct
	movq	%r14, %rdi
	callq	_atomic_inc
	movq	$0, (%r15)
	movq	%r15, %rdi
	callq	_generic_make_request
	jmp	LBB0_7
LBB0_8:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_end_reshape_request            ## TAILCALL
LBB0_9:
	movl	4(%r14), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	addq	$8, %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_9
LBB0_2:
	mov	x0, x19
	mov	w1, #1
	bl	_atomic_set
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.3:
	mov	w23, #0
	mov	w24, #24
Lloh3:
	adrp	x25, _Faulty@GOTPAGE
Lloh4:
	ldr	x25, [x25, _Faulty@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w23, w23, #1
	ldr	w8, [x22]
	cmp	w23, w8, lsl #1
	b.ge	LBB0_8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	lsr	w9, w23, #1
	umaddl	x8, w9, w24, x8
	add	x9, x8, #16
	ldrsw	x10, [x8], #8
	ldr	x11, [x22, #8]
	add	x10, x11, x10, lsl #4
	add	x11, x10, #8
	tst	w23, #0x1
	csel	x8, x8, x9, eq
	csel	x9, x10, x11, eq
	ldr	x21, [x9]
	cbz	x21, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x20, [x8]
	ldr	w0, [x25]
	add	x1, x21, #4
	bl	_test_bit
	cbnz	x0, LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	bl	_atomic_inc
	ldr	w0, [x20, #8]
	ldr	w1, [x19, #4]
	bl	_md_sync_acct
	mov	x0, x19
	bl	_atomic_inc
	str	xzr, [x20]
	mov	x0, x20
	bl	_generic_make_request
	b	LBB0_4
LBB0_8:
	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_9:
	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
