	.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	%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
	movl	%esi, %ebx
	movq	%rdi, %r13
	movq	24(%rdi), %r14
	movq	40(%rdi), %r12
	movl	32(%rdi), %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_1
## %bb.10:
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_crypt_free_buffer_pages
	movq	%r14, %rdi
	callq	_bio_put
	movq	%r13, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_crypt_dec_pending              ## TAILCALL
LBB0_1:
	movl	16(%r13), %edi
	callq	_BUG_ON
	movq	(%r13), %rax
	addq	(%r12), %rax
	movq	%rax, (%r14)
	xorl	%edi, %edi
	testl	%ebx, %ebx
	sete	%dil
	callq	_likely
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_DM_CRYPT_NO_OFFLOAD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	28(%r12), %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_3
## %bb.11:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_generic_make_request           ## TAILCALL
LBB0_3:
	leaq	8(%r12), %rbx
	movq	%rbx, %rdi
	callq	_spin_lock_irqsave
	leaq	16(%r12), %r15
	movq	%r15, %rdi
	callq	_RB_EMPTY_ROOT
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movl	24(%r12), %edi
	callq	_wake_up_process
LBB0_5:
	movq	(%r15), %rax
	testq	%rax, %rax
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_6
## %bb.7:
	movq	(%r13), %r14
	movq	%r15, %rbx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_crypt_io_from_node
	movq	(%rbx), %rcx
	leaq	8(%rcx), %rbx
	xorl	%edx, %edx
	cmpq	(%rax), %r14
	setl	%dl
	cmovgeq	%rcx, %rbx
	movq	(%rcx,%rdx,8), %rax
	testq	%rax, %rax
	jne	LBB0_8
	jmp	LBB0_9
LBB0_6:
	xorl	%r12d, %r12d
	movq	%r15, %rbx
LBB0_9:
	addq	$8, %r13
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_rb_link_node
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_rb_insert_color
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DM_CRYPT_NO_OFFLOAD,4,2        ## @DM_CRYPT_NO_OFFLOAD
	.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	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x1
	mov	x19, x0
	ldr	x20, [x0, #24]
	ldr	x22, [x0, #40]
	ldr	w0, [x0, #32]
	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
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_crypt_dec_pending
LBB0_2:
	ldr	w0, [x19, #16]
	bl	_BUG_ON
	ldr	x8, [x22]
	ldr	x9, [x19]
	add	x8, x9, x8
	str	x8, [x20]
	cmp	w21, #0
	cset	w0, eq
	bl	_likely
	cbz	x0, LBB0_5
; %bb.3:
Lloh0:
	adrp	x8, _DM_CRYPT_NO_OFFLOAD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DM_CRYPT_NO_OFFLOAD@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x22, #28
	bl	_test_bit
	cbz	x0, LBB0_5
; %bb.4:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_generic_make_request
LBB0_5:
	add	x20, x22, #8
	mov	x0, x20
	bl	_spin_lock_irqsave
	add	x21, x22, #16
	mov	x0, x21
	bl	_RB_EMPTY_ROOT
	cbz	x0, LBB0_7
; %bb.6:
	ldr	w0, [x22, #24]
	bl	_wake_up_process
LBB0_7:
	ldr	x8, [x21]
	cbz	x8, LBB0_10
; %bb.8:
	ldr	x24, [x19]
	mov	x23, x21
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	mov	x22, x8
	mov	x0, x8
	bl	_crypt_io_from_node
	ldr	x8, [x0]
	ldr	x9, [x23]
	add	x10, x9, #8
	cmp	x24, x8
	csel	x23, x10, x9, lt
	cset	w8, lt
	ldr	x8, [x9, w8, uxtw #3]
	cbnz	x8, LBB0_9
	b	LBB0_11
LBB0_10:
	mov	x22, #0
	mov	x23, x21
LBB0_11:
	add	x19, x19, #8
	mov	x0, x19
	mov	x1, x22
	mov	x2, x23
	bl	_rb_link_node
	mov	x0, x19
	mov	x1, x21
	bl	_rb_insert_color
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_spin_unlock_irqrestore
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DM_CRYPT_NO_OFFLOAD,4,2        ; @DM_CRYPT_NO_OFFLOAD
	.no_dead_strip	_kcryptd_crypt_write_io_submit
.subsections_via_symbols
