	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gen_rev_aes_key
_gen_rev_aes_key:                       ## @gen_rev_aes_key
	.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
	movq	%rdi, %r12
	callq	_crypto_tfm_ctx
	movq	%rax, %r15
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_get_crypt_desc_emerg
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	_CIPH_ENCR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_be32
	movq	24(%r15), %rcx
	orl	%eax, (%rcx)
	movq	%r12, 56(%rbx)
	movq	$0, 48(%rbx)
	movq	_AES_BLOCK128@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	movq	$0, 32(%rbx)
	movq	16(%r15), %rax
	movq	%rax, 24(%rbx)
	addq	$4, %rax
	movq	%rax, 16(%rbx)
	movq	_NPE_OP_ENC_GEN_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movl	8(%r15), %eax
	movl	%eax, 4(%rbx)
	movq	_CTL_FLAG_GEN_REVAES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
	movq	%r15, %rdi
	callq	_atomic_inc
	movq	_SEND_QID@GOTPCREL(%rip), %r12
	movl	(%r12), %r15d
	movq	%rbx, %rdi
	callq	_crypt_virt2phys
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_qmgr_put_entry
	movl	(%r12), %edi
	callq	_qmgr_stat_overflow
	movl	%eax, %edi
	callq	_BUG_ON
	jmp	LBB0_3
LBB0_1:
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_3:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.comm	_CIPH_ENCR,4,2                  ## @CIPH_ENCR
	.comm	_AES_BLOCK128,4,2               ## @AES_BLOCK128
	.comm	_NPE_OP_ENC_GEN_KEY,4,2         ## @NPE_OP_ENC_GEN_KEY
	.comm	_CTL_FLAG_GEN_REVAES,4,2        ## @CTL_FLAG_GEN_REVAES
	.comm	_SEND_QID,4,2                   ## @SEND_QID
	.no_dead_strip	_gen_rev_aes_key
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gen_rev_aes_key
_gen_rev_aes_key:                       ; @gen_rev_aes_key
	.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, x0
	bl	_crypto_tfm_ctx
	mov	x20, x0
	bl	_get_crypt_desc_emerg
	cbz	x0, LBB0_2
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x8, _CIPH_ENCR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CIPH_ENCR@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_cpu_to_be32
	ldp	x9, x8, [x20, #16]
	ldr	w10, [x8]
	orr	w10, w10, w0
	str	w10, [x8]
	stp	xzr, x21, [x19, #48]
Lloh3:
	adrp	x8, _AES_BLOCK128@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AES_BLOCK128@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x19, #40]
	stp	x9, xzr, [x19, #24]
	add	x8, x9, #4
	str	x8, [x19, #16]
Lloh6:
	adrp	x8, _NPE_OP_ENC_GEN_KEY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NPE_OP_ENC_GEN_KEY@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x19, #8]
Lloh9:
	adrp	x8, _CTL_FLAG_GEN_REVAES@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CTL_FLAG_GEN_REVAES@GOTPAGEOFF]
	ldr	w9, [x20, #8]
Lloh11:
	ldr	w8, [x8]
	ldr	w10, [x19]
	orr	w8, w10, w8
	stp	w8, w9, [x19]
	mov	x0, x20
	bl	_atomic_inc
Lloh12:
	adrp	x21, _SEND_QID@GOTPAGE
Lloh13:
	ldr	x21, [x21, _SEND_QID@GOTPAGEOFF]
	ldr	w20, [x21]
	mov	x0, x19
	bl	_crypt_virt2phys
	mov	x1, x0
	mov	x0, x20
	bl	_qmgr_put_entry
	ldr	w0, [x21]
	bl	_qmgr_stat_overflow
	bl	_BUG_ON
	mov	w0, #0
	b	LBB0_3
LBB0_2:
Lloh14:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	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 AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.comm	_CIPH_ENCR,4,2                  ; @CIPH_ENCR
	.comm	_AES_BLOCK128,4,2               ; @AES_BLOCK128
	.comm	_NPE_OP_ENC_GEN_KEY,4,2         ; @NPE_OP_ENC_GEN_KEY
	.comm	_CTL_FLAG_GEN_REVAES,4,2        ; @CTL_FLAG_GEN_REVAES
	.comm	_SEND_QID,4,2                   ; @SEND_QID
	.no_dead_strip	_gen_rev_aes_key
.subsections_via_symbols
