	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function kcryptd_crypt_write_io_submit
_kcryptd_crypt_write_io_submit:         ## @kcryptd_crypt_write_io_submit
	.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
	movl	%edx, %r15d
	movq	%rdi, %rbx
	movq	16(%rdi), %r14
	movq	32(%rdi), %rax
	movq	(%rax), %r12
	shrl	$31, %esi
	movl	%esi, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_crypt_free_buffer_pages
	movq	%r14, %rdi
	callq	_bio_put
	movq	_EIO@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	subl	(%rax), %ecx
	movl	%ecx, 24(%rbx)
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_crypt_dec_pending              ## TAILCALL
LBB0_1:
	movq	8(%rbx), %rax
	xorl	%edi, %edi
	cmpq	(%r14), %rax
	setl	%dil
	callq	_BUG_ON
	movq	(%rbx), %rax
	addq	(%r12), %rax
	movq	%rax, 8(%r14)
	testl	%r15d, %r15d
	je	LBB0_2
## %bb.4:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kcryptd_queue_io               ## TAILCALL
LBB0_2:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_generic_make_request           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_kcryptd_crypt_write_io_submit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function kcryptd_crypt_write_io_submit
_kcryptd_crypt_write_io_submit:         ; @kcryptd_crypt_write_io_submit
	.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	x21, x2
	mov	x19, x0
	ldr	x20, [x0, #16]
	ldr	x8, [x0, #32]
	ldr	x22, [x8]
	lsr	w0, w1, #31
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x22
	mov	x1, x20
	bl	_crypt_free_buffer_pages
	mov	x0, x20
	bl	_bio_put
Lloh0:
	adrp	x8, _EIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w8, w8
	str	w8, [x19, #24]
	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	_crypt_dec_pending
LBB0_2:
	ldr	x8, [x19, #8]
	ldr	x9, [x20]
	cmp	x8, x9
	cset	w0, lt
	bl	_BUG_ON
	ldr	x8, [x22]
	ldr	x9, [x19]
	add	x8, x9, x8
	str	x8, [x20, #8]
	cbz	w21, LBB0_4
; %bb.3:
	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	_kcryptd_queue_io
LBB0_4:
	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
	b	_generic_make_request
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_kcryptd_crypt_write_io_submit
.subsections_via_symbols
