	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hifn_setup_crypto_req
_hifn_setup_crypto_req:                 ## @hifn_setup_crypto_req
	.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
	movq	%rcx, %r14
	movq	%rdx, %r12
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r13
	movl	8(%rdi), %edi
	callq	_crypto_tfm_ctx
	movq	%rax, %r15
	movq	%r13, %rdi
	callq	_ablkcipher_request_ctx
	movq	%rax, %rbx
	movq	%r13, %rdi
	callq	_crypto_ablkcipher_reqtfm
	movl	%eax, %edi
	callq	_crypto_ablkcipher_ivsize
	movq	(%r13), %rcx
	movq	_ACRYPTO_TYPE_AES_128@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	testq	%rcx, %rcx
	je	LBB0_9
## %bb.1:
	movq	_ACRYPTO_MODE_ECB@GOTPCREL(%rip), %rsi
	cmpq	%r14, (%rsi)
	je	LBB0_9
## %bb.2:
	cmpq	%r12, %rdx
	jne	LBB0_4
## %bb.3:
	movq	_HIFN_AES_IV_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%r12, %rdx
	jmp	LBB0_9
LBB0_4:
	movq	_ACRYPTO_TYPE_DES@GOTPCREL(%rip), %rsi
	cmpq	%r12, (%rsi)
	jne	LBB0_6
## %bb.5:
	movq	_HIFN_DES_KEY_LENGTH@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_6:
	movq	_ACRYPTO_TYPE_3DES@GOTPCREL(%rip), %rsi
	cmpq	%r12, (%rsi)
	jne	LBB0_9
## %bb.7:
	movq	_HIFN_3DES_KEY_LENGTH@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
LBB0_9:
	movl	(%r15), %esi
	cmpl	$16, %esi
	je	LBB0_15
## %bb.10:
	cmpq	%r12, %rdx
	jne	LBB0_15
## %bb.11:
	cmpl	$32, %esi
	je	LBB0_14
## %bb.12:
	cmpl	$24, %esi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	jne	LBB0_16
## %bb.13:
	movq	_ACRYPTO_TYPE_AES_192@GOTPCREL(%rip), %rdx
	movq	(%rdx), %r12
	jmp	LBB0_16
LBB0_14:
	movq	_ACRYPTO_TYPE_AES_256@GOTPCREL(%rip), %rdx
	movq	(%rdx), %r12
LBB0_15:
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
LBB0_16:
	movq	%rsi, 32(%rbx)
	movq	%r14, 24(%rbx)
	movq	%r12, 16(%rbx)
	movq	%rcx, 8(%rbx)
	movl	%eax, (%rbx)
	movq	%r13, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_hifn_handle_req                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ACRYPTO_MODE_ECB,8,3           ## @ACRYPTO_MODE_ECB
	.comm	_ACRYPTO_TYPE_AES_128,8,3       ## @ACRYPTO_TYPE_AES_128
	.comm	_HIFN_AES_IV_LENGTH,4,2         ## @HIFN_AES_IV_LENGTH
	.comm	_ACRYPTO_TYPE_DES,8,3           ## @ACRYPTO_TYPE_DES
	.comm	_HIFN_DES_KEY_LENGTH,4,2        ## @HIFN_DES_KEY_LENGTH
	.comm	_ACRYPTO_TYPE_3DES,8,3          ## @ACRYPTO_TYPE_3DES
	.comm	_HIFN_3DES_KEY_LENGTH,4,2       ## @HIFN_3DES_KEY_LENGTH
	.comm	_ACRYPTO_TYPE_AES_192,8,3       ## @ACRYPTO_TYPE_AES_192
	.comm	_ACRYPTO_TYPE_AES_256,8,3       ## @ACRYPTO_TYPE_AES_256
	.no_dead_strip	_hifn_setup_crypto_req
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hifn_setup_crypto_req
_hifn_setup_crypto_req:                 ; @hifn_setup_crypto_req
	.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	x20, x3
	mov	x22, x2
	mov	x21, x1
	mov	x19, x0
	ldr	w0, [x0, #8]
	bl	_crypto_tfm_ctx
	mov	x24, x0
	mov	x0, x19
	bl	_ablkcipher_request_ctx
	mov	x23, x0
	mov	x0, x19
	bl	_crypto_ablkcipher_reqtfm
	bl	_crypto_ablkcipher_ivsize
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _ACRYPTO_MODE_ECB@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ACRYPTO_MODE_ECB@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x9]
Lloh3:
	adrp	x9, _ACRYPTO_TYPE_AES_128@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ACRYPTO_TYPE_AES_128@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, #0
	ccmp	x10, x20, #4, ne
	b.eq	LBB0_6
; %bb.1:
	cmp	x9, x22
	b.ne	LBB0_3
; %bb.2:
Lloh6:
	adrp	x9, _HIFN_AES_IV_LENGTH@GOTPAGE
Lloh7:
	ldr	x9, [x9, _HIFN_AES_IV_LENGTH@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x9]
	mov	x9, x22
	b	LBB0_6
LBB0_3:
Lloh9:
	adrp	x10, _ACRYPTO_TYPE_DES@GOTPAGE
Lloh10:
	ldr	x10, [x10, _ACRYPTO_TYPE_DES@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
	cmp	x10, x22
	b.ne	LBB0_5
; %bb.4:
Lloh12:
	adrp	x10, _HIFN_DES_KEY_LENGTH@GOTPAGE
Lloh13:
	ldr	x10, [x10, _HIFN_DES_KEY_LENGTH@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x10]
	b	LBB0_6
LBB0_5:
Lloh15:
	adrp	x10, _ACRYPTO_TYPE_3DES@GOTPAGE
Lloh16:
	ldr	x10, [x10, _ACRYPTO_TYPE_3DES@GOTPAGEOFF]
Lloh17:
	ldr	x10, [x10]
Lloh18:
	adrp	x11, _HIFN_3DES_KEY_LENGTH@GOTPAGE
Lloh19:
	ldr	x11, [x11, _HIFN_3DES_KEY_LENGTH@GOTPAGEOFF]
Lloh20:
	ldr	w11, [x11]
	cmp	x10, x22
	csel	w0, w11, w0, eq
LBB0_6:
	ldr	w10, [x24]
	cmp	w10, #16
	ccmp	x9, x22, #0, ne
	b.ne	LBB0_12
; %bb.7:
	cmp	w10, #32
	b.eq	LBB0_10
; %bb.8:
	cmp	w10, #24
	b.ne	LBB0_12
; %bb.9:
Lloh21:
	adrp	x9, _ACRYPTO_TYPE_AES_192@GOTPAGE
Lloh22:
	ldr	x9, [x9, _ACRYPTO_TYPE_AES_192@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:
Lloh23:
	adrp	x9, _ACRYPTO_TYPE_AES_256@GOTPAGE
Lloh24:
	ldr	x9, [x9, _ACRYPTO_TYPE_AES_256@GOTPAGEOFF]
LBB0_11:
	ldr	x22, [x9]
LBB0_12:
	stp	x20, x21, [x23, #24]
	stp	x8, x22, [x23, #8]
	str	w0, [x23]
	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
	b	_hifn_handle_req
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_ACRYPTO_MODE_ECB,8,3           ; @ACRYPTO_MODE_ECB
	.comm	_ACRYPTO_TYPE_AES_128,8,3       ; @ACRYPTO_TYPE_AES_128
	.comm	_HIFN_AES_IV_LENGTH,4,2         ; @HIFN_AES_IV_LENGTH
	.comm	_ACRYPTO_TYPE_DES,8,3           ; @ACRYPTO_TYPE_DES
	.comm	_HIFN_DES_KEY_LENGTH,4,2        ; @HIFN_DES_KEY_LENGTH
	.comm	_ACRYPTO_TYPE_3DES,8,3          ; @ACRYPTO_TYPE_3DES
	.comm	_HIFN_3DES_KEY_LENGTH,4,2       ; @HIFN_3DES_KEY_LENGTH
	.comm	_ACRYPTO_TYPE_AES_192,8,3       ; @ACRYPTO_TYPE_AES_192
	.comm	_ACRYPTO_TYPE_AES_256,8,3       ; @ACRYPTO_TYPE_AES_256
	.no_dead_strip	_hifn_setup_crypto_req
.subsections_via_symbols
