	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qce_ablkcipher_crypt
_qce_ablkcipher_crypt:                  ## @qce_ablkcipher_crypt
	.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, %r12d
	movq	%rdi, %r13
	callq	_crypto_ablkcipher_reqtfm
	movl	%eax, %edi
	callq	_crypto_ablkcipher_tfm
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_crypto_tfm_ctx
	movq	%rax, %r15
	movq	%r13, %rdi
	callq	_ablkcipher_request_ctx
	movq	%rax, %r14
	movq	%rbx, %rdi
	movl	%r12d, %ebx
	callq	_to_cipher_tmpl
	movq	%rax, %r12
	movl	8(%rax), %edi
	movl	%edi, (%r14)
	testl	%ebx, %ebx
	jne	LBB0_1
## %bb.2:
	movq	_QCE_DECRYPT@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_QCE_ENCRYPT@GOTPCREL(%rip), %rax
LBB0_3:
	orl	(%rax), %edi
	movl	%edi, (%r14)
	callq	_IS_AES
	testq	%rax, %rax
	je	LBB0_10
## %bb.4:
	movq	(%r15), %rax
	movq	_AES_KEYSIZE_128@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_10
## %bb.5:
	movq	_AES_KEYSIZE_256@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_10
## %bb.6:
	movq	_subreq@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movl	8(%r15), %esi
	callq	_SYNC_SKCIPHER_REQUEST_ON_STACK
	movl	(%r14), %edi
	movl	8(%r15), %esi
	callq	_skcipher_request_set_sync_tfm
	movl	(%r14), %edi
	movl	(%r13), %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_skcipher_request_set_callback
	movl	(%r14), %edi
	movl	16(%r13), %esi
	movl	12(%r13), %edx
	movl	4(%r13), %r8d
	movl	8(%r13), %ecx
	callq	_skcipher_request_set_crypt
	movl	(%r14), %edi
	testl	%ebx, %ebx
	je	LBB0_8
## %bb.7:
	callq	_crypto_skcipher_encrypt
	jmp	LBB0_9
LBB0_10:
	movq	(%r12), %rdi
	movq	(%rdi), %rax
	movq	%r13, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_8:
	callq	_crypto_skcipher_decrypt
LBB0_9:
	movl	%eax, %ebx
	movl	(%r14), %edi
	callq	_skcipher_request_zero
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QCE_ENCRYPT,4,2                ## @QCE_ENCRYPT
	.comm	_QCE_DECRYPT,4,2                ## @QCE_DECRYPT
	.comm	_AES_KEYSIZE_128,8,3            ## @AES_KEYSIZE_128
	.comm	_AES_KEYSIZE_256,8,3            ## @AES_KEYSIZE_256
	.comm	_subreq,4,2                     ## @subreq
	.no_dead_strip	_qce_ablkcipher_crypt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qce_ablkcipher_crypt
_qce_ablkcipher_crypt:                  ; @qce_ablkcipher_crypt
	.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	x19, x1
	mov	x20, x0
	bl	_crypto_ablkcipher_reqtfm
	bl	_crypto_ablkcipher_tfm
	mov	x22, x0
	bl	_crypto_tfm_ctx
	mov	x21, x0
	mov	x0, x20
	bl	_ablkcipher_request_ctx
	mov	x23, x0
	mov	x0, x22
	bl	_to_cipher_tmpl
	mov	x22, x0
	ldr	w8, [x0, #8]
Lloh0:
	adrp	x9, _QCE_ENCRYPT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _QCE_ENCRYPT@GOTPAGEOFF]
Lloh2:
	adrp	x10, _QCE_DECRYPT@GOTPAGE
Lloh3:
	ldr	x10, [x10, _QCE_DECRYPT@GOTPAGEOFF]
	str	w8, [x23]
	cmp	w19, #0
	csel	x9, x10, x9, eq
	ldr	w9, [x9]
	orr	w0, w9, w8
	str	w0, [x23]
	bl	_IS_AES
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x21]
Lloh4:
	adrp	x9, _AES_KEYSIZE_128@GOTPAGE
Lloh5:
	ldr	x9, [x9, _AES_KEYSIZE_128@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
Lloh7:
	adrp	x10, _AES_KEYSIZE_256@GOTPAGE
Lloh8:
	ldr	x10, [x10, _AES_KEYSIZE_256@GOTPAGEOFF]
Lloh9:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_3
LBB0_2:
	ldr	x0, [x22]
	ldr	x2, [x0]
	mov	x1, x20
	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
	br	x2
LBB0_3:
Lloh10:
	adrp	x22, _subreq@GOTPAGE
Lloh11:
	ldr	x22, [x22, _subreq@GOTPAGEOFF]
	ldr	w0, [x22]
	ldr	w1, [x21, #8]
	bl	_SYNC_SKCIPHER_REQUEST_ON_STACK
	ldr	w0, [x22]
	ldr	w1, [x21, #8]
	bl	_skcipher_request_set_sync_tfm
	ldr	w0, [x22]
	ldr	w1, [x20]
	mov	x2, #0
	mov	x3, #0
	bl	_skcipher_request_set_callback
	ldr	w0, [x22]
	ldp	w2, w1, [x20, #12]
	ldp	w4, w3, [x20, #4]
	bl	_skcipher_request_set_crypt
	ldr	w0, [x22]
	cbz	w19, LBB0_5
; %bb.4:
	bl	_crypto_skcipher_encrypt
	b	LBB0_6
LBB0_5:
	bl	_crypto_skcipher_decrypt
LBB0_6:
	mov	x19, x0
	ldr	w0, [x22]
	bl	_skcipher_request_zero
	mov	x0, x19
	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
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_QCE_ENCRYPT,4,2                ; @QCE_ENCRYPT
	.comm	_QCE_DECRYPT,4,2                ; @QCE_DECRYPT
	.comm	_AES_KEYSIZE_128,8,3            ; @AES_KEYSIZE_128
	.comm	_AES_KEYSIZE_256,8,3            ; @AES_KEYSIZE_256
	.comm	_subreq,4,2                     ; @subreq
	.no_dead_strip	_qce_ablkcipher_crypt
.subsections_via_symbols
