	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qat_rsa_clear_ctx
_qat_rsa_clear_ctx:                     ## @qat_rsa_clear_ctx
	.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	%rsi, %rbx
	movq	%rdi, %r15
	movl	(%rsi), %r14d
	movq	64(%rsi), %rdx
	testq	%rdx, %rdx
	je	LBB0_2
## %bb.1:
	movl	100(%rbx), %ecx
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_dma_free_coherent
LBB0_2:
	movl	%r14d, %r12d
	shrl	$31, %r12d
	movq	56(%rbx), %rdx
	testq	%rdx, %rdx
	je	LBB0_4
## %bb.3:
	movl	(%rbx), %esi
	movl	96(%rbx), %ecx
	movq	%r15, %rdi
	callq	_dma_free_coherent
LBB0_4:
	addl	%r12d, %r14d
	movq	48(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:
	movl	(%rbx), %edx
	xorl	%esi, %esi
	callq	_memset
	movl	(%rbx), %esi
	movq	48(%rbx), %rdx
	movl	92(%rbx), %ecx
	movq	%r15, %rdi
	callq	_dma_free_coherent
LBB0_6:
	sarl	%r14d
	movq	40(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.7:
	xorl	%esi, %esi
	movl	%r14d, %edx
	callq	_memset
	movq	40(%rbx), %rdx
	movl	88(%rbx), %ecx
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_dma_free_coherent
LBB0_8:
	movq	32(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.9:
	xorl	%esi, %esi
	movl	%r14d, %edx
	callq	_memset
	movq	32(%rbx), %rdx
	movl	84(%rbx), %ecx
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_dma_free_coherent
LBB0_10:
	movq	24(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.11:
	xorl	%esi, %esi
	movl	%r14d, %edx
	callq	_memset
	movq	24(%rbx), %rdx
	movl	80(%rbx), %ecx
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_dma_free_coherent
LBB0_12:
	movq	16(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_14
## %bb.13:
	xorl	%esi, %esi
	movl	%r14d, %edx
	callq	_memset
	movq	16(%rbx), %rdx
	movl	76(%rbx), %ecx
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_dma_free_coherent
LBB0_14:
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_16
## %bb.15:
	xorl	%esi, %esi
	movl	%r14d, %edx
	callq	_memset
	movq	8(%rbx), %rdx
	movl	72(%rbx), %ecx
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_dma_free_coherent
LBB0_16:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 48(%rbx)
	movups	%xmm0, 32(%rbx)
	movups	%xmm0, 16(%rbx)
	movups	%xmm0, (%rbx)
	movq	$0, 64(%rbx)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_qat_rsa_clear_ctx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qat_rsa_clear_ctx
_qat_rsa_clear_ctx:                     ; @qat_rsa_clear_ctx
	.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	x19, x1
	mov	x20, x0
	ldr	w1, [x1]
	cmp	w1, #0
	cinc	w21, w1, lt
	ldr	x2, [x19, #64]
	cbz	x2, LBB0_2
; %bb.1:
	ldr	w3, [x19, #100]
	mov	x0, x20
	bl	_dma_free_coherent
LBB0_2:
	ldr	x2, [x19, #56]
	cbz	x2, LBB0_4
; %bb.3:
	ldr	w1, [x19]
	ldr	w3, [x19, #96]
	mov	x0, x20
	bl	_dma_free_coherent
LBB0_4:
	asr	w21, w21, #1
	ldr	x0, [x19, #48]
	cbz	x0, LBB0_6
; %bb.5:
	ldr	w2, [x19]
	mov	w1, #0
	bl	_memset
	ldr	w1, [x19]
	ldr	x2, [x19, #48]
	ldr	w3, [x19, #92]
	mov	x0, x20
	bl	_dma_free_coherent
LBB0_6:
	ldr	x0, [x19, #40]
	cbz	x0, LBB0_8
; %bb.7:
	mov	w1, #0
	mov	x2, x21
	bl	_memset
	ldr	x2, [x19, #40]
	ldr	w3, [x19, #88]
	mov	x0, x20
	mov	x1, x21
	bl	_dma_free_coherent
LBB0_8:
	ldr	x0, [x19, #32]
	cbz	x0, LBB0_10
; %bb.9:
	mov	w1, #0
	mov	x2, x21
	bl	_memset
	ldr	x2, [x19, #32]
	ldr	w3, [x19, #84]
	mov	x0, x20
	mov	x1, x21
	bl	_dma_free_coherent
LBB0_10:
	ldr	x0, [x19, #24]
	cbz	x0, LBB0_12
; %bb.11:
	mov	w1, #0
	mov	x2, x21
	bl	_memset
	ldr	x2, [x19, #24]
	ldr	w3, [x19, #80]
	mov	x0, x20
	mov	x1, x21
	bl	_dma_free_coherent
LBB0_12:
	ldr	x0, [x19, #16]
	cbz	x0, LBB0_14
; %bb.13:
	mov	w1, #0
	mov	x2, x21
	bl	_memset
	ldr	x2, [x19, #16]
	ldr	w3, [x19, #76]
	mov	x0, x20
	mov	x1, x21
	bl	_dma_free_coherent
LBB0_14:
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_16
; %bb.15:
	mov	w1, #0
	mov	x2, x21
	bl	_memset
	ldr	x2, [x19, #8]
	ldr	w3, [x19, #72]
	mov	x0, x20
	mov	x1, x21
	bl	_dma_free_coherent
LBB0_16:
	str	xzr, [x19, #64]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x19, #32]
	stp	q0, q0, [x19]
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_qat_rsa_clear_ctx
.subsections_via_symbols
