	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function safexcel_aead_send
_safexcel_aead_send:                    ## @safexcel_aead_send
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r13
	callq	_aead_request_cast
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_crypto_aead_reqtfm
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	20(%r14), %edi
	callq	_crypto_tfm_ctx
	movq	%rax, %r12
	movq	%r14, %rdi
	callq	_aead_request_ctx
	movq	%rax, %rbx
	movq	(%r12), %rax
	movq	_EIP197_TRC_CACHE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	xorl	%edi, %edi
	testl	%ecx, (%rax)
	jne	LBB0_2
## %bb.1:
	xorl	%edi, %edi
	cmpq	$0, 8(%rbx)
	setne	%dil
LBB0_2:
	callq	_BUG_ON
	cmpq	$0, 8(%rbx)
	je	LBB0_4
## %bb.3:
	movq	%r13, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	%r15, %rcx
	callq	_safexcel_cipher_send_inv
	jmp	LBB0_5
LBB0_4:
	movl	16(%r14), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	12(%r14), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	4(%r14), %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	8(%r14), %r12d
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_crypto_aead_authsize
                                        ## kill: def $eax killed $eax def $rax
	movl	(%r14), %r10d
	subq	$8, %rsp
	movq	%r13, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movq	%rbx, %rdx
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	movl	%r12d, %r9d
	pushq	%r15
	pushq	-64(%rbp)                       ## 8-byte Folded Reload
	pushq	%r10
	pushq	%rax
	pushq	-72(%rbp)                       ## 8-byte Folded Reload
	callq	_safexcel_send_req
	addq	$48, %rsp
LBB0_5:
	movl	(%r15), %ecx
	movl	%ecx, (%rbx)
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EIP197_TRC_CACHE,4,2           ## @EIP197_TRC_CACHE
	.no_dead_strip	_safexcel_aead_send
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function safexcel_aead_send
_safexcel_aead_send:                    ; @safexcel_aead_send
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x3
	mov	x22, x2
	mov	x21, x1
	mov	x23, x0
	bl	_aead_request_cast
	mov	x24, x0
	bl	_crypto_aead_reqtfm
	mov	x25, x0
	ldr	w0, [x24, #20]
	bl	_crypto_tfm_ctx
	mov	x26, x0
	mov	x0, x24
	bl	_aead_request_ctx
	mov	x20, x0
	ldr	x8, [x26]
	ldr	w8, [x8]
Lloh0:
	adrp	x9, _EIP197_TRC_CACHE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _EIP197_TRC_CACHE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_3
LBB0_2:
	ldr	x8, [x20, #8]
	cmp	x8, #0
	cset	w0, ne
LBB0_3:
	bl	_BUG_ON
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_5
; %bb.4:
	mov	x0, x23
	mov	x1, x21
	mov	x2, x22
	mov	x3, x19
	bl	_safexcel_cipher_send_inv
	b	LBB0_6
LBB0_5:
	ldp	w27, w26, [x24, #12]
	ldp	w8, w28, [x24, #4]
	str	w8, [sp, #28]                   ; 4-byte Folded Spill
	mov	x0, x25
	bl	_crypto_aead_authsize
	mov	x7, x0
	ldr	w8, [x24]
	stp	x22, x19, [sp, #8]
	str	w8, [sp]
	mov	x0, x23
	mov	x1, x21
	mov	x2, x20
	mov	x3, x26
	mov	x4, x27
	mov	x5, x28
	ldr	w6, [sp, #28]                   ; 4-byte Folded Reload
	bl	_safexcel_send_req
LBB0_6:
	ldr	w8, [x19]
	str	w8, [x20]
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EIP197_TRC_CACHE,4,2           ; @EIP197_TRC_CACHE
	.no_dead_strip	_safexcel_aead_send
.subsections_via_symbols
