	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function safexcel_skcipher_send
_safexcel_skcipher_send:                ## @safexcel_skcipher_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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_skcipher_request_cast
	movq	%rax, %r15
	movl	16(%rax), %edi
	callq	_crypto_tfm_ctx
	movq	%rax, %r12
	movq	%r15, %rdi
	callq	_skcipher_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	-52(%rbp), %esi                 ## 4-byte Reload
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	%r14, %rcx
	callq	_safexcel_cipher_send_inv
	jmp	LBB0_5
LBB0_4:
	movq	%r15, %rdi
	callq	_crypto_skcipher_reqtfm
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%rsp, -80(%rbp)                 ## 8-byte Spill
	movq	_AES_BLOCK_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	movl	12(%r15), %r14d
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_crypto_skcipher_ivsize
	movq	%r12, %rdi
	movl	%r14d, %esi
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	movl	%eax, %edx
	callq	_memcpy
	movl	8(%r15), %ecx
	movl	(%r15), %r9d
	movl	4(%r15), %r8d
	subq	$8, %rsp
	movq	%r13, %rdi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movq	%rbx, %rdx
	pushq	%r14
	pushq	-64(%rbp)                       ## 8-byte Folded Reload
	pushq	%r12
	pushq	$0
	pushq	$0
	callq	_safexcel_send_req
	addq	$48, %rsp
	movq	-80(%rbp), %rsp                 ## 8-byte Reload
LBB0_5:
	movl	(%r14), %ecx
	movl	%ecx, (%rbx)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_7
## %bb.6:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_EIP197_TRC_CACHE,4,2           ## @EIP197_TRC_CACHE
	.comm	_AES_BLOCK_SIZE,4,2             ## @AES_BLOCK_SIZE
	.no_dead_strip	_safexcel_skcipher_send
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function safexcel_skcipher_send
_safexcel_skcipher_send:                ; @safexcel_skcipher_send
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #16
	mov	x19, x3
	mov	x22, x2
	mov	x21, x1
	mov	x23, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	bl	_skcipher_request_cast
	mov	x24, x0
	ldr	w0, [x0, #16]
	bl	_crypto_tfm_ctx
	mov	x25, x0
	mov	x0, x24
	bl	_skcipher_request_ctx
	mov	x20, x0
	ldr	x8, [x25]
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _EIP197_TRC_CACHE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _EIP197_TRC_CACHE@GOTPAGEOFF]
Lloh5:
	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:
	mov	x0, x24
	bl	_crypto_skcipher_reqtfm
	mov	x27, sp
Lloh6:
	adrp	x8, _AES_BLOCK_SIZE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AES_BLOCK_SIZE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh9:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh10:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x25, x9, x8
	mov	sp, x25
	ldr	w26, [x24, #12]
	bl	_crypto_skcipher_ivsize
	mov	x2, x0
	mov	x0, x25
	mov	x1, x26
	bl	_memcpy
	ldp	w4, w3, [x24, #4]
	ldr	w5, [x24]
	sub	sp, sp, #32
	stp	x22, x19, [sp, #8]
	str	x25, [sp]
	mov	x0, x23
	mov	x1, x21
	mov	x2, x20
	mov	w6, #0
	mov	w7, #0
	bl	_safexcel_send_req
	add	sp, sp, #32
	mov	sp, x27
LBB0_6:
	ldr	w8, [x19]
	str	w8, [x20]
	ldur	x8, [x29, #-88]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_EIP197_TRC_CACHE,4,2           ; @EIP197_TRC_CACHE
	.comm	_AES_BLOCK_SIZE,4,2             ; @AES_BLOCK_SIZE
	.no_dead_strip	_safexcel_skcipher_send
.subsections_via_symbols
