	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_omap_aes_gcm_dma_out_callback  ## -- Begin function omap_aes_gcm_dma_out_callback
	.p2align	4, 0x90
_omap_aes_gcm_dma_out_callback:         ## @omap_aes_gcm_dma_out_callback
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	_FLAGS_ENCRYPT@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	testl	%eax, (%rdi)
	jne	LBB0_2
## %bb.1:
	movq	8(%rbx), %rax
	movl	8(%rax), %esi
	movq	(%rax), %rdx
	addq	24(%rbx), %rdx
	movl	16(%rbx), %ecx
	leaq	-48(%rbp), %rdi
	xorl	%r8d, %r8d
	callq	_scatterwalk_map_and_copy
LBB0_2:
	movq	8(%rbx), %rdi
	callq	_aead_request_ctx
	movq	(%rax), %r15
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_AES_REG_TAG_N
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_omap_aes_read
	xorl	(%r15), %eax
	movl	%eax, (%r15)
	movl	(%r14), %ecx
	testl	%ecx, (%rbx)
	jne	LBB0_4
## %bb.3:
	xorl	-48(%rbp), %eax
	movl	%eax, (%r15)
LBB0_4:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_AES_REG_TAG_N
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_omap_aes_read
	xorl	4(%r15), %eax
	movl	%eax, 4(%r15)
	movl	(%r14), %ecx
	testl	%ecx, (%rbx)
	jne	LBB0_6
## %bb.5:
	xorl	-44(%rbp), %eax
	movl	%eax, 4(%r15)
LBB0_6:
	movq	%rbx, %rdi
	movl	$2, %esi
	callq	_AES_REG_TAG_N
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_omap_aes_read
	xorl	8(%r15), %eax
	movl	%eax, 8(%r15)
	movl	(%r14), %ecx
	testl	%ecx, (%rbx)
	jne	LBB0_8
## %bb.7:
	xorl	-40(%rbp), %eax
	movl	%eax, 8(%r15)
LBB0_8:
	movq	%rbx, %rdi
	movl	$3, %esi
	callq	_AES_REG_TAG_N
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_omap_aes_read
	xorl	12(%r15), %eax
	movl	%eax, 12(%r15)
	movl	(%r14), %ecx
	testl	%ecx, (%rbx)
	jne	LBB0_10
## %bb.9:
	xorl	-36(%rbp), %eax
	movl	%eax, 12(%r15)
LBB0_10:
	movq	%rbx, %rdi
	callq	_omap_aes_gcm_done_task
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_12
## %bb.11:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_FLAGS_ENCRYPT,4,2              ## @FLAGS_ENCRYPT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_omap_aes_gcm_dma_out_callback  ; -- Begin function omap_aes_gcm_dma_out_callback
	.p2align	2
_omap_aes_gcm_dma_out_callback:         ; @omap_aes_gcm_dma_out_callback
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	ldr	w8, [x0]
Lloh3:
	adrp	x20, _FLAGS_ENCRYPT@GOTPAGE
Lloh4:
	ldr	x20, [x20, _FLAGS_ENCRYPT@GOTPAGEOFF]
	ldr	w9, [x20]
	tst	w9, w8
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [x19, #8]
	ldr	w1, [x8, #8]
	ldr	x9, [x19, #24]
	ldr	x8, [x8]
	add	x2, x8, x9
	ldr	w3, [x19, #16]
	add	x0, sp, #8
	mov	w4, #0
	bl	_scatterwalk_map_and_copy
LBB0_2:
	ldr	x0, [x19, #8]
	bl	_aead_request_ctx
	ldr	x21, [x0]
	mov	x0, x19
	mov	w1, #0
	bl	_AES_REG_TAG_N
	mov	x1, x0
	mov	x0, x19
	bl	_omap_aes_read
	ldr	w8, [x21]
	eor	w8, w8, w0
	str	w8, [x21]
	ldr	w9, [x19]
	ldr	w10, [x20]
	tst	w10, w9
	b.ne	LBB0_4
; %bb.3:
	ldr	w9, [sp, #8]
	eor	w8, w9, w8
	str	w8, [x21]
LBB0_4:
	mov	x0, x19
	mov	w1, #1
	bl	_AES_REG_TAG_N
	mov	x1, x0
	mov	x0, x19
	bl	_omap_aes_read
	ldr	w8, [x21, #4]
	eor	w8, w8, w0
	str	w8, [x21, #4]
	ldr	w9, [x19]
	ldr	w10, [x20]
	tst	w10, w9
	b.ne	LBB0_6
; %bb.5:
	ldr	w9, [sp, #12]
	eor	w8, w9, w8
	str	w8, [x21, #4]
LBB0_6:
	mov	x0, x19
	mov	w1, #2
	bl	_AES_REG_TAG_N
	mov	x1, x0
	mov	x0, x19
	bl	_omap_aes_read
	ldr	w8, [x21, #8]
	eor	w8, w8, w0
	str	w8, [x21, #8]
	ldr	w9, [x19]
	ldr	w10, [x20]
	tst	w10, w9
	b.ne	LBB0_8
; %bb.7:
	ldr	w9, [sp, #16]
	eor	w8, w9, w8
	str	w8, [x21, #8]
LBB0_8:
	mov	x0, x19
	mov	w1, #3
	bl	_AES_REG_TAG_N
	mov	x1, x0
	mov	x0, x19
	bl	_omap_aes_read
	ldr	w8, [x21, #12]
	eor	w8, w8, w0
	str	w8, [x21, #12]
	ldr	w9, [x19]
	ldr	w10, [x20]
	tst	w10, w9
	b.ne	LBB0_10
; %bb.9:
	ldr	w9, [sp, #20]
	eor	w8, w9, w8
	str	w8, [x21, #12]
LBB0_10:
	mov	x0, x19
	bl	_omap_aes_gcm_done_task
	ldr	x8, [sp, #24]
Lloh5:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh6:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.11:
	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
	add	sp, sp, #80
	ret
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_FLAGS_ENCRYPT,4,2              ; @FLAGS_ENCRYPT
.subsections_via_symbols
