	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_twofish_setkey                 ## -- Begin function twofish_setkey
	.p2align	4, 0x90
_twofish_setkey:                        ## @twofish_setkey
	.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
	movl	%edx, %r14d
	movq	%rdi, %rbx
	callq	_crypto_tfm_ctx
	testb	$7, %r14b
	je	LBB0_2
## %bb.1:
	movq	_CRYPTO_TFM_RES_BAD_KEY_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_18
LBB0_2:
	subq	$8, %rsp
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	$45
	pushq	$1
	pushq	$45
	callq	_CALC_S
	addq	$24, %rsp
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	$1, %r8d
	movl	$45, %r9d
	pushq	$138
	pushq	$68
	pushq	$164
	callq	_CALC_S
	addq	$24, %rsp
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	$2, %r8d
	movl	$138, %r9d
	pushq	$209
	pushq	$191
	pushq	$213
	callq	_CALC_S
	addq	$24, %rsp
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	$3, %r8d
	movl	$209, %r9d
	pushq	$153
	pushq	$61
	pushq	$127
	callq	_CALC_S
	addq	$24, %rsp
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	$4, %r8d
	movl	$153, %r9d
	pushq	$150
	pushq	$102
	pushq	$70
	callq	_CALC_S
	addq	$24, %rsp
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	$5, %r8d
	movl	$150, %r9d
	pushq	$237
	pushq	$91
	pushq	$60
	callq	_CALC_S
	addq	$24, %rsp
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	$6, %r8d
	movl	$237, %r9d
	pushq	$224
	pushq	$79
	pushq	$55
	callq	_CALC_S
	addq	$24, %rsp
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	$7, %r8d
	movl	$224, %r9d
	pushq	$23
	pushq	$140
	pushq	$208
	callq	_CALC_S
	addq	$24, %rsp
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	$8, %r8d
	xorl	%r9d, %r9d
	pushq	$45
	pushq	$1
	pushq	$45
	callq	_CALC_S
	addq	$24, %rsp
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	$9, %r8d
	movl	$45, %r9d
	pushq	$138
	pushq	$68
	pushq	$164
	callq	_CALC_S
	addq	$24, %rsp
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	$10, %r8d
	movl	$138, %r9d
	pushq	$209
	pushq	$191
	pushq	$213
	callq	_CALC_S
	addq	$24, %rsp
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	$11, %r8d
	movl	$209, %r9d
	pushq	$153
	pushq	$61
	pushq	$127
	callq	_CALC_S
	addq	$24, %rsp
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	$12, %r8d
	movl	$153, %r9d
	pushq	$150
	pushq	$102
	pushq	$70
	callq	_CALC_S
	addq	$24, %rsp
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	$13, %r8d
	movl	$150, %r9d
	pushq	$237
	pushq	$91
	pushq	$60
	callq	_CALC_S
	addq	$24, %rsp
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	$14, %r8d
	movl	$237, %r9d
	pushq	$224
	pushq	$79
	pushq	$55
	callq	_CALC_S
	addq	$24, %rsp
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	$15, %r8d
	movl	$224, %r9d
	pushq	$23
	pushq	$140
	pushq	$208
	callq	_CALC_S
	addq	$32, %rsp
	cmpl	$32, %r14d
	je	LBB0_4
## %bb.3:
	cmpl	$24, %r14d
	jne	LBB0_14
LBB0_4:
	subq	$8, %rsp
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	$16, %r8d
	xorl	%r9d, %r9d
	pushq	$45
	pushq	$1
	pushq	$45
	callq	_CALC_S
	addq	$24, %rsp
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	$17, %r8d
	movl	$45, %r9d
	pushq	$138
	pushq	$68
	pushq	$164
	callq	_CALC_S
	addq	$24, %rsp
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	$18, %r8d
	movl	$138, %r9d
	pushq	$209
	pushq	$191
	pushq	$213
	callq	_CALC_S
	addq	$24, %rsp
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	$19, %r8d
	movl	$209, %r9d
	pushq	$153
	pushq	$61
	pushq	$127
	callq	_CALC_S
	addq	$24, %rsp
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	$20, %r8d
	movl	$153, %r9d
	pushq	$150
	pushq	$102
	pushq	$70
	callq	_CALC_S
	addq	$24, %rsp
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	$21, %r8d
	movl	$150, %r9d
	pushq	$237
	pushq	$91
	pushq	$60
	callq	_CALC_S
	addq	$24, %rsp
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	$22, %r8d
	movl	$237, %r9d
	pushq	$224
	pushq	$79
	pushq	$55
	callq	_CALC_S
	addq	$24, %rsp
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	$23, %r8d
	movl	$224, %r9d
	pushq	$23
	pushq	$140
	pushq	$208
	callq	_CALC_S
	addq	$32, %rsp
	cmpl	$32, %r14d
	je	LBB0_10
## %bb.5:
	cmpl	$24, %r14d
	jne	LBB0_14
## %bb.6:
	xorl	%ebx, %ebx
	movq	_calc_sb_tbl@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rax
	movl	(%rax,%rbx,8), %esi
	movl	4(%rax,%rbx,8), %edx
	movl	%ebx, %edi
	callq	_CALC_SB192_2
	incq	%rbx
	cmpl	$256, %ebx                      ## imm = 0x100
	jne	LBB0_7
## %bb.8:
	movq	_w@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	_q0@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	_q1@GOTPCREL(%rip), %r12
	movq	(%r12), %rsi
	movl	(%rax), %edx
	movl	4(%rax), %r8d
	movl	(%rsi), %ecx
	movl	4(%rsi), %r9d
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	callq	_CALC_K192
	movl	(%rbx), %edi
	movq	(%r15), %rax
	movq	(%r12), %rsi
	movl	8(%rax), %edx
	movl	12(%rax), %r8d
	movl	8(%rsi), %ecx
	movl	12(%rsi), %r9d
	movl	$2, %esi
	callq	_CALC_K192
	movl	(%rbx), %edi
	movq	(%r15), %rax
	movq	(%r12), %rsi
	movl	16(%rax), %edx
	movl	20(%rax), %r8d
	movl	16(%rsi), %ecx
	movl	20(%rsi), %r9d
	movl	$4, %esi
	callq	_CALC_K192
	movl	(%rbx), %edi
	movq	(%r15), %rax
	movq	(%r12), %rsi
	movl	24(%rax), %edx
	movl	28(%rax), %r8d
	movl	24(%rsi), %ecx
	movl	28(%rsi), %r9d
	movl	$6, %esi
	callq	_CALC_K192
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movq	(%r12), %rsi
	movl	32(%rax,%rbx,4), %edx
	movl	36(%rax,%rbx,4), %r8d
	movl	32(%rsi,%rbx,4), %ecx
	movl	36(%rsi,%rbx,4), %r9d
	movl	$513, %edi                      ## imm = 0x201
	movl	%ebx, %esi
	callq	_CALC_K192
	leaq	2(%rbx), %rax
	cmpq	$30, %rbx
	movq	%rax, %rbx
	jb	LBB0_9
	jmp	LBB0_18
LBB0_14:
	xorl	%ebx, %ebx
	movq	_calc_sb_tbl@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rax
	movl	(%rax,%rbx,8), %esi
	movl	4(%rax,%rbx,8), %edx
	movl	%ebx, %edi
	callq	_CALC_SB_2
	incq	%rbx
	cmpl	$256, %ebx                      ## imm = 0x100
	jne	LBB0_15
## %bb.16:
	movq	_w@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	_q0@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	_q1@GOTPCREL(%rip), %r12
	movq	(%r12), %rsi
	movl	(%rax), %edx
	movl	4(%rax), %r8d
	movl	(%rsi), %ecx
	movl	4(%rsi), %r9d
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	callq	_CALC_K
	movl	(%rbx), %edi
	movq	(%r15), %rax
	movq	(%r12), %rsi
	movl	8(%rax), %edx
	movl	12(%rax), %r8d
	movl	8(%rsi), %ecx
	movl	12(%rsi), %r9d
	movl	$2, %esi
	callq	_CALC_K
	movl	(%rbx), %edi
	movq	(%r15), %rax
	movq	(%r12), %rsi
	movl	16(%rax), %edx
	movl	20(%rax), %r8d
	movl	16(%rsi), %ecx
	movl	20(%rsi), %r9d
	movl	$4, %esi
	callq	_CALC_K
	movl	(%rbx), %edi
	movq	(%r15), %rax
	movq	(%r12), %rsi
	movl	24(%rax), %edx
	movl	28(%rax), %r8d
	movl	24(%rsi), %ecx
	movl	28(%rsi), %r9d
	movl	$6, %esi
	callq	_CALC_K
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movq	(%r12), %rsi
	movl	32(%rax,%rbx,4), %edx
	movl	36(%rax,%rbx,4), %r8d
	movl	32(%rsi,%rbx,4), %ecx
	movl	36(%rsi,%rbx,4), %r9d
	movl	$513, %edi                      ## imm = 0x201
	movl	%ebx, %esi
	callq	_CALC_K
	leaq	2(%rbx), %rax
	cmpq	$30, %rbx
	movq	%rax, %rbx
	jb	LBB0_17
	jmp	LBB0_18
LBB0_10:
	subq	$8, %rsp
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	$24, %r8d
	xorl	%r9d, %r9d
	pushq	$45
	pushq	$1
	pushq	$45
	callq	_CALC_S
	addq	$24, %rsp
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	$25, %r8d
	movl	$45, %r9d
	pushq	$138
	pushq	$68
	pushq	$164
	callq	_CALC_S
	addq	$24, %rsp
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	$26, %r8d
	movl	$138, %r9d
	pushq	$209
	pushq	$191
	pushq	$213
	callq	_CALC_S
	addq	$24, %rsp
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	$27, %r8d
	movl	$209, %r9d
	pushq	$153
	pushq	$61
	pushq	$127
	callq	_CALC_S
	addq	$24, %rsp
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	$28, %r8d
	movl	$153, %r9d
	pushq	$150
	pushq	$102
	pushq	$70
	callq	_CALC_S
	addq	$24, %rsp
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	$29, %r8d
	movl	$150, %r9d
	pushq	$237
	pushq	$91
	pushq	$60
	callq	_CALC_S
	addq	$24, %rsp
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	$30, %r8d
	movl	$237, %r9d
	pushq	$224
	pushq	$79
	pushq	$55
	callq	_CALC_S
	addq	$24, %rsp
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	$31, %r8d
	movl	$224, %r9d
	pushq	$23
	pushq	$140
	pushq	$208
	callq	_CALC_S
	addq	$32, %rsp
	movq	_calc_sb_tbl@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rax
	movl	(%rax,%rbx,8), %esi
	movl	4(%rax,%rbx,8), %edx
	movl	%ebx, %edi
	callq	_CALC_SB256_2
	incq	%rbx
	cmpl	$256, %ebx                      ## imm = 0x100
	jne	LBB0_11
## %bb.12:
	movq	_w@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	_q0@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	_q1@GOTPCREL(%rip), %r12
	movq	(%r12), %rsi
	movl	(%rax), %edx
	movl	4(%rax), %r8d
	movl	(%rsi), %ecx
	movl	4(%rsi), %r9d
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	callq	_CALC_K256
	movl	(%rbx), %edi
	movq	(%r15), %rax
	movq	(%r12), %rsi
	movl	8(%rax), %edx
	movl	12(%rax), %r8d
	movl	8(%rsi), %ecx
	movl	12(%rsi), %r9d
	movl	$2, %esi
	callq	_CALC_K256
	movl	(%rbx), %edi
	movq	(%r15), %rax
	movq	(%r12), %rsi
	movl	16(%rax), %edx
	movl	20(%rax), %r8d
	movl	16(%rsi), %ecx
	movl	20(%rsi), %r9d
	movl	$4, %esi
	callq	_CALC_K256
	movl	(%rbx), %edi
	movq	(%r15), %rax
	movq	(%r12), %rsi
	movl	24(%rax), %edx
	movl	28(%rax), %r8d
	movl	24(%rsi), %ecx
	movl	28(%rsi), %r9d
	movl	$6, %esi
	callq	_CALC_K256
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movq	(%r12), %rsi
	movl	32(%rax,%rbx,4), %edx
	movl	36(%rax,%rbx,4), %r8d
	movl	32(%rsi,%rbx,4), %ecx
	movl	36(%rsi,%rbx,4), %r9d
	movl	$513, %edi                      ## imm = 0x201
	movl	%ebx, %esi
	callq	_CALC_K256
	leaq	2(%rbx), %rax
	cmpq	$30, %rbx
	movq	%rax, %rbx
	jb	LBB0_13
LBB0_18:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CRYPTO_TFM_RES_BAD_KEY_LEN,4,2 ## @CRYPTO_TFM_RES_BAD_KEY_LEN
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_calc_sb_tbl,8,3                ## @calc_sb_tbl
	.comm	_w,4,2                          ## @w
	.comm	_q0,8,3                         ## @q0
	.comm	_q1,8,3                         ## @q1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_twofish_setkey                 ; -- Begin function twofish_setkey
	.p2align	2
_twofish_setkey:                        ; @twofish_setkey
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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, x2
	mov	x20, x0
	bl	_crypto_tfm_ctx
	tst	w19, #0x7
	b.eq	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _CRYPTO_TFM_RES_BAD_KEY_LEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CRYPTO_TFM_RES_BAD_KEY_LEN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_19
LBB0_2:
	mov	w20, #45
	str	w20, [sp]
	mov	w0, #0
	mov	w1, #0
	mov	w2, #0
	mov	w3, #0
	mov	w4, #0
	mov	w5, #0
	mov	w6, #45
	mov	w7, #1
	bl	_CALC_S
	mov	w21, #138
	str	w21, [sp]
	mov	w0, #0
	mov	w1, #0
	mov	w2, #0
	mov	w3, #0
	mov	w4, #1
	mov	w5, #45
	mov	w6, #164
	mov	w7, #68
	bl	_CALC_S
	mov	w22, #209
	str	w22, [sp]
	mov	w0, #0
	mov	w1, #0
	mov	w2, #0
	mov	w3, #0
	mov	w4, #2
	mov	w5, #138
	mov	w6, #213
	mov	w7, #191
	bl	_CALC_S
	mov	w23, #153
	str	w23, [sp]
	mov	w0, #0
	mov	w1, #0
	mov	w2, #0
	mov	w3, #0
	mov	w4, #3
	mov	w5, #209
	mov	w6, #127
	mov	w7, #61
	bl	_CALC_S
	mov	w24, #150
	str	w24, [sp]
	mov	w0, #0
	mov	w1, #0
	mov	w2, #0
	mov	w3, #0
	mov	w4, #4
	mov	w5, #153
	mov	w6, #70
	mov	w7, #102
	bl	_CALC_S
	mov	w25, #237
	str	w25, [sp]
	mov	w0, #0
	mov	w1, #0
	mov	w2, #0
	mov	w3, #0
	mov	w4, #5
	mov	w5, #150
	mov	w6, #60
	mov	w7, #91
	bl	_CALC_S
	mov	w26, #224
	str	w26, [sp]
	mov	w0, #0
	mov	w1, #0
	mov	w2, #0
	mov	w3, #0
	mov	w4, #6
	mov	w5, #237
	mov	w6, #55
	mov	w7, #79
	bl	_CALC_S
	mov	w27, #23
	str	w27, [sp]
	mov	w0, #0
	mov	w1, #0
	mov	w2, #0
	mov	w3, #0
	mov	w4, #7
	mov	w5, #224
	mov	w6, #208
	mov	w7, #140
	bl	_CALC_S
	str	w20, [sp]
	mov	w0, #0
	mov	w1, #0
	mov	w2, #0
	mov	w3, #0
	mov	w4, #8
	mov	w5, #0
	mov	w6, #45
	mov	w7, #1
	bl	_CALC_S
	str	w21, [sp]
	mov	w0, #0
	mov	w1, #0
	mov	w2, #0
	mov	w3, #0
	mov	w4, #9
	mov	w5, #45
	mov	w6, #164
	mov	w7, #68
	bl	_CALC_S
	str	w22, [sp]
	mov	w0, #0
	mov	w1, #0
	mov	w2, #0
	mov	w3, #0
	mov	w4, #10
	mov	w5, #138
	mov	w6, #213
	mov	w7, #191
	bl	_CALC_S
	str	w23, [sp]
	mov	w0, #0
	mov	w1, #0
	mov	w2, #0
	mov	w3, #0
	mov	w4, #11
	mov	w5, #209
	mov	w6, #127
	mov	w7, #61
	bl	_CALC_S
	str	w24, [sp]
	mov	w0, #0
	mov	w1, #0
	mov	w2, #0
	mov	w3, #0
	mov	w4, #12
	mov	w5, #153
	mov	w6, #70
	mov	w7, #102
	bl	_CALC_S
	str	w25, [sp]
	mov	w0, #0
	mov	w1, #0
	mov	w2, #0
	mov	w3, #0
	mov	w4, #13
	mov	w5, #150
	mov	w6, #60
	mov	w7, #91
	bl	_CALC_S
	str	w26, [sp]
	mov	w0, #0
	mov	w1, #0
	mov	w2, #0
	mov	w3, #0
	mov	w4, #14
	mov	w5, #237
	mov	w6, #55
	mov	w7, #79
	bl	_CALC_S
	str	w27, [sp]
	mov	w0, #0
	mov	w1, #0
	mov	w2, #0
	mov	w3, #0
	mov	w4, #15
	mov	w5, #224
	mov	w6, #208
	mov	w7, #140
	bl	_CALC_S
	cmp	w19, #32
	b.eq	LBB0_4
; %bb.3:
	cmp	w19, #24
	b.ne	LBB0_10
LBB0_4:
	str	w20, [sp]
	mov	w0, #0
	mov	w1, #0
	mov	w2, #0
	mov	w3, #0
	mov	w4, #16
	mov	w5, #0
	mov	w6, #45
	mov	w7, #1
	bl	_CALC_S
	str	w21, [sp]
	mov	w0, #0
	mov	w1, #0
	mov	w2, #0
	mov	w3, #0
	mov	w4, #17
	mov	w5, #45
	mov	w6, #164
	mov	w7, #68
	bl	_CALC_S
	str	w22, [sp]
	mov	w0, #0
	mov	w1, #0
	mov	w2, #0
	mov	w3, #0
	mov	w4, #18
	mov	w5, #138
	mov	w6, #213
	mov	w7, #191
	bl	_CALC_S
	str	w23, [sp]
	mov	w0, #0
	mov	w1, #0
	mov	w2, #0
	mov	w3, #0
	mov	w4, #19
	mov	w5, #209
	mov	w6, #127
	mov	w7, #61
	bl	_CALC_S
	str	w24, [sp]
	mov	w0, #0
	mov	w1, #0
	mov	w2, #0
	mov	w3, #0
	mov	w4, #20
	mov	w5, #153
	mov	w6, #70
	mov	w7, #102
	bl	_CALC_S
	str	w25, [sp]
	mov	w0, #0
	mov	w1, #0
	mov	w2, #0
	mov	w3, #0
	mov	w4, #21
	mov	w5, #150
	mov	w6, #60
	mov	w7, #91
	bl	_CALC_S
	str	w26, [sp]
	mov	w0, #0
	mov	w1, #0
	mov	w2, #0
	mov	w3, #0
	mov	w4, #22
	mov	w5, #237
	mov	w6, #55
	mov	w7, #79
	bl	_CALC_S
	str	w27, [sp]
	mov	w0, #0
	mov	w1, #0
	mov	w2, #0
	mov	w3, #0
	mov	w4, #23
	mov	w5, #224
	mov	w6, #208
	mov	w7, #140
	bl	_CALC_S
	cmp	w19, #32
	b.eq	LBB0_14
; %bb.5:
	cmp	w19, #24
	b.ne	LBB0_10
; %bb.6:
	mov	x20, #0
	mov	w19, #0
Lloh6:
	adrp	x21, _calc_sb_tbl@GOTPAGE
Lloh7:
	ldr	x21, [x21, _calc_sb_tbl@GOTPAGEOFF]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	add	x8, x8, x20
	ldp	w1, w2, [x8]
	mov	x0, x19
	bl	_CALC_SB192_2
	add	w19, w19, #1
	add	x20, x20, #8
	cmp	w20, #2048
	b.ne	LBB0_7
; %bb.8:
Lloh8:
	adrp	x19, _w@GOTPAGE
Lloh9:
	ldr	x19, [x19, _w@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh10:
	adrp	x20, _q0@GOTPAGE
Lloh11:
	ldr	x20, [x20, _q0@GOTPAGEOFF]
Lloh12:
	adrp	x21, _q1@GOTPAGE
Lloh13:
	ldr	x21, [x21, _q1@GOTPAGEOFF]
	ldr	x8, [x20]
	ldr	x9, [x21]
	ldp	w2, w4, [x8]
	ldp	w3, w5, [x9]
	mov	w1, #0
	bl	_CALC_K192
	ldr	w0, [x19]
	ldr	x8, [x20]
	ldr	x9, [x21]
	ldp	w2, w4, [x8, #8]
	ldp	w3, w5, [x9, #8]
	mov	w1, #2
	bl	_CALC_K192
	ldr	w0, [x19]
	ldr	x8, [x20]
	ldr	x9, [x21]
	ldp	w2, w4, [x8, #16]
	ldp	w3, w5, [x9, #16]
	mov	w1, #4
	bl	_CALC_K192
	ldr	w0, [x19]
	ldr	x8, [x20]
	ldr	x9, [x21]
	ldp	w2, w4, [x8, #24]
	ldp	w3, w5, [x9, #24]
	mov	w1, #6
	bl	_CALC_K192
	mov	x19, #0
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	lsl	x9, x19, #2
	add	x8, x8, x9
	ldr	x10, [x21]
	add	x9, x10, x9
	ldp	w2, w4, [x8, #32]
	ldp	w3, w5, [x9, #32]
	mov	w0, #513
	mov	x1, x19
	bl	_CALC_K192
	add	x8, x19, #2
	cmp	x19, #30
	mov	x19, x8
	b.lo	LBB0_9
	b	LBB0_18
LBB0_10:
	mov	x20, #0
	mov	w19, #0
Lloh14:
	adrp	x21, _calc_sb_tbl@GOTPAGE
Lloh15:
	ldr	x21, [x21, _calc_sb_tbl@GOTPAGEOFF]
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	add	x8, x8, x20
	ldp	w1, w2, [x8]
	mov	x0, x19
	bl	_CALC_SB_2
	add	w19, w19, #1
	add	x20, x20, #8
	cmp	w20, #2048
	b.ne	LBB0_11
; %bb.12:
Lloh16:
	adrp	x19, _w@GOTPAGE
Lloh17:
	ldr	x19, [x19, _w@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh18:
	adrp	x20, _q0@GOTPAGE
Lloh19:
	ldr	x20, [x20, _q0@GOTPAGEOFF]
Lloh20:
	adrp	x21, _q1@GOTPAGE
Lloh21:
	ldr	x21, [x21, _q1@GOTPAGEOFF]
	ldr	x8, [x20]
	ldr	x9, [x21]
	ldp	w2, w4, [x8]
	ldp	w3, w5, [x9]
	mov	w1, #0
	bl	_CALC_K
	ldr	w0, [x19]
	ldr	x8, [x20]
	ldr	x9, [x21]
	ldp	w2, w4, [x8, #8]
	ldp	w3, w5, [x9, #8]
	mov	w1, #2
	bl	_CALC_K
	ldr	w0, [x19]
	ldr	x8, [x20]
	ldr	x9, [x21]
	ldp	w2, w4, [x8, #16]
	ldp	w3, w5, [x9, #16]
	mov	w1, #4
	bl	_CALC_K
	ldr	w0, [x19]
	ldr	x8, [x20]
	ldr	x9, [x21]
	ldp	w2, w4, [x8, #24]
	ldp	w3, w5, [x9, #24]
	mov	w1, #6
	bl	_CALC_K
	mov	x19, #0
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	lsl	x9, x19, #2
	add	x8, x8, x9
	ldr	x10, [x21]
	add	x9, x10, x9
	ldp	w2, w4, [x8, #32]
	ldp	w3, w5, [x9, #32]
	mov	w0, #513
	mov	x1, x19
	bl	_CALC_K
	add	x8, x19, #2
	cmp	x19, #30
	mov	x19, x8
	b.lo	LBB0_13
	b	LBB0_18
LBB0_14:
	mov	w8, #45
	str	w8, [sp]
	mov	w0, #0
	mov	w1, #0
	mov	w2, #0
	mov	w3, #0
	mov	w4, #24
	mov	w5, #0
	mov	w6, #45
	mov	w7, #1
	bl	_CALC_S
	mov	w8, #138
	str	w8, [sp]
	mov	w0, #0
	mov	w1, #0
	mov	w2, #0
	mov	w3, #0
	mov	w4, #25
	mov	w5, #45
	mov	w6, #164
	mov	w7, #68
	bl	_CALC_S
	mov	w8, #209
	str	w8, [sp]
	mov	w0, #0
	mov	w1, #0
	mov	w2, #0
	mov	w3, #0
	mov	w4, #26
	mov	w5, #138
	mov	w6, #213
	mov	w7, #191
	bl	_CALC_S
	mov	w8, #153
	str	w8, [sp]
	mov	w0, #0
	mov	w1, #0
	mov	w2, #0
	mov	w3, #0
	mov	w4, #27
	mov	w5, #209
	mov	w6, #127
	mov	w7, #61
	bl	_CALC_S
	mov	w8, #150
	str	w8, [sp]
	mov	w0, #0
	mov	w1, #0
	mov	w2, #0
	mov	w3, #0
	mov	w4, #28
	mov	w5, #153
	mov	w6, #70
	mov	w7, #102
	bl	_CALC_S
	mov	w8, #237
	str	w8, [sp]
	mov	w0, #0
	mov	w1, #0
	mov	w2, #0
	mov	w3, #0
	mov	w4, #29
	mov	w5, #150
	mov	w6, #60
	mov	w7, #91
	bl	_CALC_S
	mov	w8, #224
	str	w8, [sp]
	mov	w0, #0
	mov	w1, #0
	mov	w2, #0
	mov	w3, #0
	mov	w4, #30
	mov	w5, #237
	mov	w6, #55
	mov	w7, #79
	bl	_CALC_S
	mov	w8, #23
	str	w8, [sp]
	mov	w0, #0
	mov	w1, #0
	mov	w2, #0
	mov	w3, #0
	mov	w4, #31
	mov	w5, #224
	mov	w6, #208
	mov	w7, #140
	bl	_CALC_S
	mov	x20, #0
	mov	w19, #0
Lloh22:
	adrp	x21, _calc_sb_tbl@GOTPAGE
Lloh23:
	ldr	x21, [x21, _calc_sb_tbl@GOTPAGEOFF]
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	add	x8, x8, x20
	ldp	w1, w2, [x8]
	mov	x0, x19
	bl	_CALC_SB256_2
	add	w19, w19, #1
	add	x20, x20, #8
	cmp	w20, #2048
	b.ne	LBB0_15
; %bb.16:
Lloh24:
	adrp	x19, _w@GOTPAGE
Lloh25:
	ldr	x19, [x19, _w@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh26:
	adrp	x20, _q0@GOTPAGE
Lloh27:
	ldr	x20, [x20, _q0@GOTPAGEOFF]
Lloh28:
	adrp	x21, _q1@GOTPAGE
Lloh29:
	ldr	x21, [x21, _q1@GOTPAGEOFF]
	ldr	x8, [x20]
	ldr	x9, [x21]
	ldp	w2, w4, [x8]
	ldp	w3, w5, [x9]
	mov	w1, #0
	bl	_CALC_K256
	ldr	w0, [x19]
	ldr	x8, [x20]
	ldr	x9, [x21]
	ldp	w2, w4, [x8, #8]
	ldp	w3, w5, [x9, #8]
	mov	w1, #2
	bl	_CALC_K256
	ldr	w0, [x19]
	ldr	x8, [x20]
	ldr	x9, [x21]
	ldp	w2, w4, [x8, #16]
	ldp	w3, w5, [x9, #16]
	mov	w1, #4
	bl	_CALC_K256
	ldr	w0, [x19]
	ldr	x8, [x20]
	ldr	x9, [x21]
	ldp	w2, w4, [x8, #24]
	ldp	w3, w5, [x9, #24]
	mov	w1, #6
	bl	_CALC_K256
	mov	x19, #0
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	lsl	x9, x19, #2
	add	x8, x8, x9
	ldr	x10, [x21]
	add	x9, x10, x9
	ldp	w2, w4, [x8, #32]
	ldp	w3, w5, [x9, #32]
	mov	w0, #513
	mov	x1, x19
	bl	_CALC_K256
	add	x8, x19, #2
	cmp	x19, #30
	mov	x19, x8
	b.lo	LBB0_17
LBB0_18:
	mov	w0, #0
LBB0_19:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_CRYPTO_TFM_RES_BAD_KEY_LEN,4,2 ; @CRYPTO_TFM_RES_BAD_KEY_LEN
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_calc_sb_tbl,8,3                ; @calc_sb_tbl
	.comm	_w,4,2                          ; @w
	.comm	_q0,8,3                         ; @q0
	.comm	_q1,8,3                         ; @q1
.subsections_via_symbols
