	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dcp_chan_thread_aes
_dcp_chan_thread_aes:                   ## @dcp_chan_thread_aes
	.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	_global_sdcp@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	_DCP_CHAN_CRYPTO@GOTPCREL(%rip), %rax
	movslq	(%rax), %r12
	xorl	%eax, %eax
	callq	_kthread_should_stop
	testl	%eax, %eax
	je	LBB0_1
LBB0_5:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_TASK_INTERRUPTIBLE@GOTPCREL(%rip), %r13
	shlq	$2, %r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_schedule
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_kthread_should_stop
	testl	%eax, %eax
	jne	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %edi
	callq	_set_current_state
	movq	(%r15), %rdi
	addq	%r12, %rdi
	callq	_spin_lock
	movq	8(%r15), %rdi
	addq	%r12, %rdi
	callq	_crypto_get_backlog
	movq	%rax, %rbx
	movq	8(%r15), %rdi
	addq	%r12, %rdi
	callq	_crypto_dequeue_request
	movq	%rax, %r14
	movq	(%r15), %rdi
	addq	%r12, %rdi
	callq	_spin_unlock
	movq	%rbx, %rax
	orq	%r14, %rax
	je	LBB0_3
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_TASK_RUNNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_set_current_state
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%esi, %esi
	movq	_EINPROGRESS@GOTPCREL(%rip), %rax
	subl	(%rax), %esi
	movq	%rbx, %rdi
	callq	*(%rbx)
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	testq	%r14, %r14
	je	LBB0_4
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	callq	_mxs_dcp_aes_block_crypt
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	*(%r14)
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_global_sdcp,8,3                ## @global_sdcp
	.comm	_DCP_CHAN_CRYPTO,4,2            ## @DCP_CHAN_CRYPTO
	.comm	_TASK_INTERRUPTIBLE,4,2         ## @TASK_INTERRUPTIBLE
	.comm	_TASK_RUNNING,4,2               ## @TASK_RUNNING
	.comm	_EINPROGRESS,4,2                ## @EINPROGRESS
	.no_dead_strip	_dcp_chan_thread_aes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dcp_chan_thread_aes
_dcp_chan_thread_aes:                   ; @dcp_chan_thread_aes
	.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
Lloh0:
	adrp	x8, _global_sdcp@GOTPAGE
Lloh1:
	ldr	x8, [x8, _global_sdcp@GOTPAGEOFF]
Lloh2:
	ldr	x21, [x8]
Lloh3:
	adrp	x8, _DCP_CHAN_CRYPTO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DCP_CHAN_CRYPTO@GOTPAGEOFF]
Lloh5:
	ldrsw	x19, [x8]
	bl	_kthread_should_stop
	cbz	w0, LBB0_2
LBB0_1:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh6:
	adrp	x22, _TASK_INTERRUPTIBLE@GOTPAGE
Lloh7:
	ldr	x22, [x22, _TASK_INTERRUPTIBLE@GOTPAGEOFF]
	lsl	x23, x19, #2
Lloh8:
	adrp	x24, _TASK_RUNNING@GOTPAGE
Lloh9:
	ldr	x24, [x24, _TASK_RUNNING@GOTPAGEOFF]
Lloh10:
	adrp	x25, _EINPROGRESS@GOTPAGE
Lloh11:
	ldr	x25, [x25, _EINPROGRESS@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	bl	_schedule
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	bl	_kthread_should_stop
	cbnz	w0, LBB0_1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x22]
	bl	_set_current_state
	ldr	x8, [x21]
	add	x0, x8, x23
	bl	_spin_lock
	ldr	x8, [x21, #8]
	add	x0, x8, x23
	bl	_crypto_get_backlog
	mov	x20, x0
	ldr	x8, [x21, #8]
	add	x0, x8, x23
	bl	_crypto_dequeue_request
	mov	x19, x0
	ldr	x8, [x21]
	add	x0, x8, x23
	bl	_spin_unlock
	orr	x8, x20, x19
	cbz	x8, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x24]
	bl	_set_current_state
	cbz	x20, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x20]
	ldr	w9, [x25]
	neg	w1, w9
	mov	x0, x20
	blr	x8
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	cbz	x19, LBB0_4
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	bl	_mxs_dcp_aes_block_crypt
	mov	x1, x0
	ldr	x8, [x19]
	mov	x0, x19
	blr	x8
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_global_sdcp,8,3                ; @global_sdcp
	.comm	_DCP_CHAN_CRYPTO,4,2            ; @DCP_CHAN_CRYPTO
	.comm	_TASK_INTERRUPTIBLE,4,2         ; @TASK_INTERRUPTIBLE
	.comm	_TASK_RUNNING,4,2               ; @TASK_RUNNING
	.comm	_EINPROGRESS,4,2                ; @EINPROGRESS
	.no_dead_strip	_dcp_chan_thread_aes
.subsections_via_symbols
