	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rk_crypto_queue_task_cb
_rk_crypto_queue_task_cb:               ## @rk_crypto_queue_task_cb
	.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	%rdi, %r13
	movl	$0, 40(%rdi)
	leaq	32(%rdi), %r12
	movq	%r12, %rdi
	callq	_spin_lock_irqsave
	leaq	36(%r13), %rbx
	movq	%rbx, %rdi
	callq	_crypto_get_backlog
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_crypto_dequeue_request
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %r15
	movq	%r12, %rdi
	callq	_spin_unlock_irqrestore
	testq	%r14, %r14
	je	LBB0_3
## %bb.2:
	movq	_EINPROGRESS@GOTPCREL(%rip), %rax
	xorl	%esi, %esi
	subl	(%rax), %esi
	movq	%r14, %rdi
	callq	*(%r14)
LBB0_3:
	movq	%r15, 16(%r13)
	movq	%r13, %rdi
	callq	*8(%r13)
	testl	%eax, %eax
	je	LBB0_4
## %bb.6:
	movq	16(%r13), %rdi
	movq	24(%r13), %rcx
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rcx                           ## TAILCALL
LBB0_5:
	movl	$0, (%r13)
	movq	%r12, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINPROGRESS,4,2                ## @EINPROGRESS
	.no_dead_strip	_rk_crypto_queue_task_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rk_crypto_queue_task_cb
_rk_crypto_queue_task_cb:               ; @rk_crypto_queue_task_cb
	.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	x19, x0
	str	wzr, [x0, #40]
	add	x20, x0, #32
	mov	x0, x20
	bl	_spin_lock_irqsave
	add	x22, x19, #36
	mov	x0, x22
	bl	_crypto_get_backlog
	mov	x21, x0
	mov	x0, x22
	bl	_crypto_dequeue_request
	cbz	x0, LBB0_5
; %bb.1:
	mov	x22, x0
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	cbz	x21, LBB0_3
; %bb.2:
	ldr	x8, [x21]
Lloh0:
	adrp	x9, _EINPROGRESS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _EINPROGRESS@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	neg	w1, w9
	mov	x0, x21
	blr	x8
LBB0_3:
	str	x22, [x19, #16]
	ldr	x8, [x19, #8]
	mov	x0, x19
	blr	x8
	cbz	w0, LBB0_6
; %bb.4:
	mov	x1, x0
	ldp	x0, x2, [x19, #16]
	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
	br	x2
LBB0_5:
	str	wzr, [x19]
	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	_spin_unlock_irqrestore
LBB0_6:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINPROGRESS,4,2                ; @EINPROGRESS
	.no_dead_strip	_rk_crypto_queue_task_cb
.subsections_via_symbols
