	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dmcrypt_write
_dmcrypt_write:                         ## @dmcrypt_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	%rdi, %r12
	leaq	4(%rdi), %r14
	leaq	-56(%rbp), %rbx
	leaq	-48(%rbp), %r13
	movq	_TASK_RUNNING@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	movq	%r12, %rdi
	callq	_spin_lock_irq
	movq	%r14, %rdi
	callq	_RB_EMPTY_ROOT
	testl	%eax, %eax
	je	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_TASK_INTERRUPTIBLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_set_current_state
	movq	%r12, %rdi
	callq	_spin_unlock_irq
	xorl	%eax, %eax
	callq	_kthread_should_stop
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_schedule
	movl	(%r15), %edi
	callq	_set_current_state
	jmp	LBB0_1
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	4(%r12), %eax
	movl	%eax, -48(%rbp)
	movq	_RB_ROOT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r12)
	movq	%r12, %rdi
	callq	_spin_unlock_irq
	movl	-48(%rbp), %edi
	callq	_rb_parent
	movl	%eax, %edi
	callq	_BUG_ON
	movq	%rbx, %rdi
	callq	_blk_start_plug
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r13, %rdi
	callq	_rb_first
	movl	%eax, %edi
	callq	_crypt_io_from_node
	movq	%rax, %rbx
	movq	%rax, %rdi
	movq	%r13, %rsi
	callq	_rb_erase
	movq	%rbx, %rdi
	callq	_kcryptd_io_write
	movq	%r13, %rdi
	callq	_RB_EMPTY_ROOT
	testl	%eax, %eax
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	leaq	-56(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_blk_finish_plug
	jmp	LBB0_1
LBB0_7:
	movl	(%r15), %edi
	callq	_set_current_state
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TASK_INTERRUPTIBLE,4,2         ## @TASK_INTERRUPTIBLE
	.comm	_TASK_RUNNING,4,2               ## @TASK_RUNNING
	.comm	_RB_ROOT,4,2                    ## @RB_ROOT
	.no_dead_strip	_dmcrypt_write
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dmcrypt_write
_dmcrypt_write:                         ; @dmcrypt_write
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x19, x0
	add	x20, x0, #4
Lloh0:
	adrp	x22, _RB_ROOT@GOTPAGE
Lloh1:
	ldr	x22, [x22, _RB_ROOT@GOTPAGEOFF]
Lloh2:
	adrp	x24, _TASK_INTERRUPTIBLE@GOTPAGE
Lloh3:
	ldr	x24, [x24, _TASK_INTERRUPTIBLE@GOTPAGEOFF]
Lloh4:
	adrp	x23, _TASK_RUNNING@GOTPAGE
Lloh5:
	ldr	x23, [x23, _TASK_RUNNING@GOTPAGEOFF]
LBB0_1:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	mov	x0, x19
	bl	_spin_lock_irq
	mov	x0, x20
	bl	_RB_EMPTY_ROOT
	cbz	w0, LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w0, [x24]
	bl	_set_current_state
	mov	x0, x19
	bl	_spin_unlock_irq
	bl	_kthread_should_stop
	bl	_unlikely
	cbnz	x0, LBB0_7
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	bl	_schedule
	ldr	w0, [x23]
	bl	_set_current_state
	b	LBB0_1
LBB0_4:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [x19, #4]
	str	w8, [sp, #8]
	ldr	w8, [x22]
	str	w8, [x19, #4]
	mov	x0, x19
	bl	_spin_unlock_irq
	ldr	w0, [sp, #8]
	bl	_rb_parent
	bl	_BUG_ON
	mov	x0, sp
	bl	_blk_start_plug
LBB0_5:                                 ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x0, sp, #8
	bl	_rb_first
	bl	_crypt_io_from_node
	mov	x21, x0
	add	x1, sp, #8
	bl	_rb_erase
	mov	x0, x21
	bl	_kcryptd_io_write
	add	x0, sp, #8
	bl	_RB_EMPTY_ROOT
	cbz	w0, LBB0_5
; %bb.6:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, sp
	bl	_blk_finish_plug
	b	LBB0_1
LBB0_7:
	ldr	w0, [x23]
	bl	_set_current_state
	mov	w0, #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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_TASK_INTERRUPTIBLE,4,2         ; @TASK_INTERRUPTIBLE
	.comm	_TASK_RUNNING,4,2               ; @TASK_RUNNING
	.comm	_RB_ROOT,4,2                    ; @RB_ROOT
	.no_dead_strip	_dmcrypt_write
.subsections_via_symbols
