	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stm32_cryp_finish_req
_stm32_cryp_finish_req:                 ## @stm32_cryp_finish_req
	.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, %r14d
	movq	%rdi, %rbx
	testl	%esi, %esi
	jne	LBB0_7
## %bb.1:
	movq	%rbx, %rdi
	callq	_is_gcm
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_is_ccm
	testq	%rax, %rax
	je	LBB0_4
LBB0_3:
	movq	%rbx, %rdi
	callq	_stm32_cryp_read_auth_tag
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_7
LBB0_4:
	movq	%rbx, %rdi
	callq	_is_gcm
	xorl	%r14d, %r14d
	testq	%rax, %rax
	jne	LBB0_7
## %bb.5:
	movq	%rbx, %rdi
	callq	_is_ccm
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:
	movq	%rbx, %rdi
	callq	_stm32_cryp_get_iv
LBB0_7:
	cmpq	$0, 48(%rbx)
	je	LBB0_13
## %bb.8:
	leaq	44(%rbx), %rdi
	callq	_sg_virt
	movq	%rax, %r13
	leaq	40(%rbx), %rdi
	callq	_sg_virt
	movq	%rax, %r15
	movl	28(%rbx), %ecx
	movl	36(%rbx), %esi
	movl	$1, %r12d
	movq	%rax, %rdi
	xorl	%edx, %edx
	movl	$1, %r8d
	callq	_sg_copy_buf
	movl	24(%rbx), %esi
	movl	32(%rbx), %edi
	callq	_ALIGN
	movl	$1, %esi
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:
	movl	%eax, %edi
	callq	_get_order
	movl	%eax, %esi
LBB0_10:
	movq	%r13, %rdi
	callq	_free_pages
	movl	24(%rbx), %esi
	movl	28(%rbx), %edi
	callq	_ALIGN
	testl	%eax, %eax
	je	LBB0_12
## %bb.11:
	movl	%eax, %edi
	callq	_get_order
	movl	%eax, %r12d
LBB0_12:
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_free_pages
LBB0_13:
	movl	20(%rbx), %edi
	callq	_pm_runtime_mark_last_busy
	movl	20(%rbx), %edi
	callq	_pm_runtime_put_autosuspend
	movq	%rbx, %rdi
	callq	_is_gcm
	testq	%rax, %rax
	jne	LBB0_15
## %bb.14:
	movq	%rbx, %rdi
	callq	_is_ccm
	testq	%rax, %rax
	je	LBB0_16
LBB0_15:
	movl	12(%rbx), %edi
	movl	16(%rbx), %esi
	movl	%r14d, %edx
	callq	_crypto_finalize_aead_request
LBB0_17:
	movq	(%rbx), %rax
	movl	(%rax), %edx
	movl	4(%rax), %edi
	xorl	%esi, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_memset                         ## TAILCALL
LBB0_16:
	movl	8(%rbx), %esi
	movl	12(%rbx), %edi
	movl	%r14d, %edx
	callq	_crypto_finalize_ablkcipher_request
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_stm32_cryp_finish_req
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stm32_cryp_finish_req
_stm32_cryp_finish_req:                 ; @stm32_cryp_finish_req
	.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	x20, x1
	mov	x19, x0
	cbnz	w1, LBB0_8
; %bb.1:
	mov	x0, x19
	bl	_is_gcm
	cbnz	x0, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_is_ccm
	cbz	x0, LBB0_4
LBB0_3:
	mov	x0, x19
	bl	_stm32_cryp_read_auth_tag
	mov	x20, x0
	cbnz	w0, LBB0_8
LBB0_4:
	mov	x0, x19
	bl	_is_gcm
	cbnz	x0, LBB0_7
; %bb.5:
	mov	x0, x19
	bl	_is_ccm
	cbnz	x0, LBB0_7
; %bb.6:
	mov	x0, x19
	bl	_stm32_cryp_get_iv
LBB0_7:
	mov	w20, #0
LBB0_8:
	ldr	x8, [x19, #48]
	cbz	x8, LBB0_15
; %bb.9:
	add	x0, x19, #44
	bl	_sg_virt
	mov	x22, x0
	add	x0, x19, #40
	bl	_sg_virt
	mov	x21, x0
	ldr	w1, [x19, #36]
	ldr	w3, [x19, #28]
	mov	w23, #1
	mov	w2, #0
	mov	w4, #1
	bl	_sg_copy_buf
	ldr	w0, [x19, #32]
	ldr	w1, [x19, #24]
	bl	_ALIGN
	cbz	w0, LBB0_11
; %bb.10:
	bl	_get_order
	mov	x23, x0
LBB0_11:
	mov	x0, x22
	mov	x1, x23
	bl	_free_pages
	ldp	w1, w0, [x19, #24]
	bl	_ALIGN
	cbz	w0, LBB0_13
; %bb.12:
	bl	_get_order
	mov	x1, x0
	b	LBB0_14
LBB0_13:
	mov	w1, #1
LBB0_14:
	mov	x0, x21
	bl	_free_pages
LBB0_15:
	ldr	w0, [x19, #20]
	bl	_pm_runtime_mark_last_busy
	ldr	w0, [x19, #20]
	bl	_pm_runtime_put_autosuspend
	mov	x0, x19
	bl	_is_gcm
	cbnz	x0, LBB0_17
; %bb.16:
	mov	x0, x19
	bl	_is_ccm
	cbz	x0, LBB0_19
LBB0_17:
	ldp	w0, w1, [x19, #12]
	mov	x2, x20
	bl	_crypto_finalize_aead_request
LBB0_18:
	ldr	x8, [x19]
	ldp	w2, w0, [x8]
	mov	w1, #0
	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	_memset
LBB0_19:
	ldp	w1, w0, [x19, #8]
	mov	x2, x20
	bl	_crypto_finalize_ablkcipher_request
	b	LBB0_18
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_stm32_cryp_finish_req
.subsections_via_symbols
