	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AES_set_encrypt_key            ## -- Begin function AES_set_encrypt_key
	.p2align	4, 0x90
_AES_set_encrypt_key:                   ## @AES_set_encrypt_key
	.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	$-1, %r9d
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.1:
	testq	%rdx, %rdx
	je	LBB0_13
## %bb.2:
	movl	%esi, %r14d
	movq	%rdi, %r15
	cmpl	$128, %esi
	je	LBB0_5
## %bb.3:
	cmpl	$256, %r14d                     ## imm = 0x100
	je	LBB0_5
## %bb.4:
	movl	$-2, %r9d
	cmpl	$192, %r14d
	jne	LBB0_13
LBB0_5:
	movq	(%rdx), %r12
	cmpl	$128, %r14d
	jne	LBB0_7
## %bb.6:
	movl	$10, 8(%rdx)
	jmp	LBB0_10
LBB0_7:
	cmpl	$192, %r14d
	jne	LBB0_9
## %bb.8:
	movl	$12, 8(%rdx)
	jmp	LBB0_10
LBB0_9:
	movl	$14, 8(%rdx)
LBB0_10:
	movq	%r15, %rdi
	callq	_GETU32
	movl	%eax, (%r12)
	leaq	4(%r15), %rdi
	callq	_GETU32
	movl	%eax, 4(%r12)
	leaq	8(%r15), %rdi
	callq	_GETU32
	movl	%eax, 8(%r12)
	leaq	12(%r15), %rdi
	callq	_GETU32
	movl	%eax, 12(%r12)
	cmpl	$128, %r14d
	jne	LBB0_14
## %bb.11:
	movl	%eax, %ebx
	movq	_Te4@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	_rcon@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movl	(%r12), %esi
	xorl	%r9d, %r9d
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movzbl	%bh, %eax
	xorl	(%rdx,%rax,8), %esi
	movl	%ebx, %eax
	shrl	$16, %eax
	movzbl	%al, %eax
	movl	(%rdx,%rax,8), %eax
	shll	$8, %eax
	xorl	%esi, %eax
	movl	%ebx, %ecx
	sarl	$24, %ecx
	movslq	%ecx, %rcx
	movl	(%rdx,%rcx,8), %ecx
	shll	$16, %ecx
	movzbl	%bl, %esi
	movl	(%rdx,%rsi,8), %esi
	shll	$24, %esi
	xorl	%ecx, %esi
	xorl	%eax, %esi
	xorl	(%r8,%rdi), %esi
	movl	%esi, 16(%r12,%rdi,4)
	movl	4(%r12,%rdi,4), %eax
	xorl	%esi, %eax
	movl	%eax, 20(%r12,%rdi,4)
	xorl	8(%r12,%rdi,4), %eax
	movl	%eax, 24(%r12,%rdi,4)
	xorl	%eax, %ebx
	movl	%ebx, 28(%r12,%rdi,4)
	addq	$4, %rdi
	cmpq	$40, %rdi
	jne	LBB0_12
	jmp	LBB0_13
LBB0_14:
	leaq	16(%r15), %rdi
	callq	_GETU32
	movl	%eax, 16(%r12)
	leaq	20(%r15), %rdi
	callq	_GETU32
	movl	%eax, 20(%r12)
	cmpl	$192, %r14d
	jne	LBB0_18
## %bb.15:
	movl	%eax, %ecx
	movq	_Te4@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	_rcon@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movl	(%r12), %esi
	addq	$44, %r12
	xorl	%r9d, %r9d
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movzbl	%ch, %eax
	xorl	(%rdx,%rax,8), %esi
	movl	%ecx, %eax
	shrl	$16, %eax
	movzbl	%al, %eax
	movl	(%rdx,%rax,8), %eax
	shll	$8, %eax
	xorl	%esi, %eax
	movl	%ecx, %ebx
	sarl	$24, %ebx
	movslq	%ebx, %rsi
	movl	(%rdx,%rsi,8), %ebx
	shll	$16, %ebx
	movzbl	%cl, %esi
	movl	(%rdx,%rsi,8), %esi
	shll	$24, %esi
	xorl	%ebx, %esi
	xorl	%eax, %esi
	xorl	(%r8,%rdi,4), %esi
	movl	%esi, -20(%r12)
	movl	-40(%r12), %eax
	xorl	%esi, %eax
	movl	%eax, -16(%r12)
	xorl	-36(%r12), %eax
	movl	%eax, -12(%r12)
	xorl	-32(%r12), %eax
	movl	%eax, -8(%r12)
	cmpq	$7, %rdi
	je	LBB0_13
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	xorl	-28(%r12), %eax
	movl	%eax, -4(%r12)
	xorl	%eax, %ecx
	movl	%ecx, (%r12)
	addq	$24, %r12
	incq	%rdi
	jmp	LBB0_16
LBB0_18:
	leaq	24(%r15), %rdi
	callq	_GETU32
	movl	%eax, 24(%r12)
	addq	$28, %r15
	movq	%r15, %rdi
	callq	_GETU32
	movl	%eax, 28(%r12)
	xorl	%r9d, %r9d
	cmpl	$256, %r14d                     ## imm = 0x100
	jne	LBB0_13
## %bb.19:
	movq	_Te4@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r10
	movq	_rcon@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r8
	movl	(%r12), %esi
	xorl	%r9d, %r9d
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movzbl	%ah, %ecx
	xorl	(%r10,%rcx,8), %esi
	movl	%eax, %ecx
	shrl	$16, %ecx
	movzbl	%cl, %ecx
	movl	(%r10,%rcx,8), %ecx
	shll	$8, %ecx
	xorl	%esi, %ecx
	movl	%eax, %ebx
	sarl	$24, %ebx
	movslq	%ebx, %rsi
	movl	(%r10,%rsi,8), %ebx
	shll	$16, %ebx
	movzbl	%al, %esi
	movl	(%r10,%rsi,8), %esi
	shll	$24, %esi
	xorl	%ebx, %esi
	xorl	%ecx, %esi
	xorl	(%r8,%rdi), %esi
	movl	%esi, 32(%r12,%rdi,8)
	movl	4(%r12,%rdi,8), %ebx
	xorl	%esi, %ebx
	movl	%ebx, 36(%r12,%rdi,8)
	xorl	8(%r12,%rdi,8), %ebx
	movl	%ebx, 40(%r12,%rdi,8)
	xorl	12(%r12,%rdi,8), %ebx
	movl	%ebx, 44(%r12,%rdi,8)
	cmpq	$24, %rdi
	je	LBB0_13
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=1
	movl	16(%r12,%rdi,8), %ecx
	movzbl	%bl, %edx
	xorl	(%r10,%rdx,8), %ecx
	movzbl	%bh, %edx
	movl	(%r10,%rdx,8), %edx
	shll	$8, %edx
	xorl	%ecx, %edx
	movl	%ebx, %ecx
	shrl	$16, %ecx
	movzbl	%cl, %ecx
	movl	(%r10,%rcx,8), %ecx
	shll	$16, %ecx
	xorl	%edx, %ecx
	sarl	$24, %ebx
	movslq	%ebx, %rdx
	movl	(%r10,%rdx,8), %edx
	shll	$24, %edx
	xorl	%ecx, %edx
	movl	%edx, 48(%r12,%rdi,8)
	xorl	20(%r12,%rdi,8), %edx
	movl	%edx, 52(%r12,%rdi,8)
	xorl	24(%r12,%rdi,8), %edx
	movl	%edx, 56(%r12,%rdi,8)
	xorl	%edx, %eax
	movl	%eax, 60(%r12,%rdi,8)
	addq	$4, %rdi
	jmp	LBB0_20
LBB0_13:
	movl	%r9d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Te4,8,3                        ## @Te4
	.comm	_rcon,8,3                       ## @rcon
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AES_set_encrypt_key            ; -- Begin function AES_set_encrypt_key
	.p2align	2
_AES_set_encrypt_key:                   ; @AES_set_encrypt_key
	.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	x20, x0
	mov	w0, #-1
	cbz	x20, LBB0_15
; %bb.1:
	cbz	x2, LBB0_15
; %bb.2:
	mov	x19, x1
	cmp	w1, #128
	b.eq	LBB0_5
; %bb.3:
	cmp	w19, #256
	b.eq	LBB0_5
; %bb.4:
	cmp	w19, #192
	b.ne	LBB0_9
LBB0_5:
	ldr	x21, [x2]
	cmp	w19, #128
	b.ne	LBB0_7
; %bb.6:
	mov	w8, #10
	b	LBB0_11
LBB0_7:
	cmp	w19, #192
	b.ne	LBB0_10
; %bb.8:
	mov	w8, #12
	b	LBB0_11
LBB0_9:
	mov	w0, #-2
	b	LBB0_15
LBB0_10:
	mov	w8, #14
LBB0_11:
	str	w8, [x2, #8]
	mov	x0, x20
	bl	_GETU32
	str	w0, [x21]
	add	x0, x20, #4
	bl	_GETU32
	str	w0, [x21, #4]
	add	x0, x20, #8
	bl	_GETU32
	str	w0, [x21, #8]
	add	x0, x20, #12
	bl	_GETU32
	str	w0, [x21, #12]
	cmp	w19, #128
	b.ne	LBB0_16
; %bb.12:
	mov	x8, #0
Lloh0:
	adrp	x9, _Te4@GOTPAGE
Lloh1:
	ldr	x9, [x9, _Te4@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _rcon@GOTPAGE
Lloh4:
	ldr	x10, [x10, _rcon@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	ldr	w11, [x21], #16
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ubfx	w12, w0, #8, #8
	ldr	x12, [x9, w12, uxtw #3]
	eor	w11, w11, w12
	ubfx	w12, w0, #16, #8
	ldr	x12, [x9, w12, uxtw #3]
	eor	w11, w11, w12, lsl #8
	asr	w12, w0, #24
	ldr	x12, [x9, w12, sxtw #3]
	eor	w11, w11, w12, lsl #16
	and	w12, w0, #0xff
	ldr	x12, [x9, w12, uxtw #3]
	eor	w11, w11, w12, lsl #24
	ldr	w12, [x10, x8]
	eor	w11, w11, w12
	ldp	w12, w13, [x21, #-12]
	eor	w12, w12, w11
	stp	w11, w12, [x21]
	eor	w12, w13, w12
	eor	w0, w12, w0
	stp	w12, w0, [x21, #8]
	add	x8, x8, #4
	add	x21, x21, #16
	cmp	x8, #40
	b.ne	LBB0_13
LBB0_14:
	mov	w0, #0
LBB0_15:
	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
LBB0_16:
	add	x0, x20, #16
	bl	_GETU32
	str	w0, [x21, #16]
	add	x0, x20, #20
	bl	_GETU32
	str	w0, [x21, #20]
	cmp	w19, #192
	b.ne	LBB0_20
; %bb.17:
	mov	x8, #0
Lloh6:
	adrp	x9, _Te4@GOTPAGE
Lloh7:
	ldr	x9, [x9, _Te4@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
Lloh9:
	adrp	x10, _rcon@GOTPAGE
Lloh10:
	ldr	x10, [x10, _rcon@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
	ldr	w11, [x21], #24
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ubfx	w12, w0, #8, #8
	ldr	x12, [x9, w12, uxtw #3]
	ubfx	w13, w0, #16, #8
	ldr	x13, [x9, w13, uxtw #3]
	eor	w11, w11, w12
	eor	w11, w11, w13, lsl #8
	asr	w12, w0, #24
	ldr	x12, [x9, w12, sxtw #3]
	eor	w11, w11, w12, lsl #16
	and	w12, w0, #0xff
	ldr	x12, [x9, w12, uxtw #3]
	eor	w11, w11, w12, lsl #24
	ldr	w12, [x10, x8]
	eor	w11, w11, w12
	ldp	w12, w13, [x21, #-20]
	eor	w12, w12, w11
	stp	w11, w12, [x21]
	eor	w13, w13, w12
	ldur	w12, [x21, #-12]
	eor	w12, w12, w13
	stp	w13, w12, [x21, #8]
	cmp	x8, #28
	b.eq	LBB0_14
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	ldur	w13, [x21, #-8]
	eor	w12, w13, w12
	eor	w0, w12, w0
	stp	w12, w0, [x21, #16]
	add	x8, x8, #4
	add	x21, x21, #24
	b	LBB0_18
LBB0_20:
	add	x0, x20, #24
	bl	_GETU32
	str	w0, [x21, #24]
	add	x0, x20, #28
	bl	_GETU32
	str	w0, [x21, #28]
	cmp	w19, #256
	b.ne	LBB0_14
; %bb.21:
	mov	x8, #0
Lloh12:
	adrp	x9, _Te4@GOTPAGE
Lloh13:
	ldr	x9, [x9, _Te4@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
Lloh15:
	adrp	x10, _rcon@GOTPAGE
Lloh16:
	ldr	x10, [x10, _rcon@GOTPAGEOFF]
Lloh17:
	ldr	x10, [x10]
	ldr	w11, [x21], #32
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	ubfx	w12, w0, #8, #8
	ldr	x12, [x9, w12, uxtw #3]
	ubfx	w13, w0, #16, #8
	ldr	x13, [x9, w13, uxtw #3]
	eor	w11, w11, w12
	eor	w11, w11, w13, lsl #8
	asr	w12, w0, #24
	ldr	x12, [x9, w12, sxtw #3]
	eor	w11, w11, w12, lsl #16
	and	w12, w0, #0xff
	ldr	x12, [x9, w12, uxtw #3]
	eor	w11, w11, w12, lsl #24
	ldr	w12, [x10, x8]
	eor	w11, w11, w12
	ldp	w12, w13, [x21, #-28]
	eor	w12, w12, w11
	stp	w11, w12, [x21]
	eor	w13, w13, w12
	ldur	w12, [x21, #-20]
	eor	w12, w12, w13
	stp	w13, w12, [x21, #8]
	cmp	x8, #24
	b.eq	LBB0_14
; %bb.23:                               ;   in Loop: Header=BB0_22 Depth=1
	and	w13, w12, #0xff
	ldr	x13, [x9, w13, uxtw #3]
	ldp	w14, w15, [x21, #-16]
	eor	w13, w14, w13
	ubfx	w14, w12, #8, #8
	ldr	x14, [x9, w14, uxtw #3]
	eor	w13, w13, w14, lsl #8
	ubfx	w14, w12, #16, #8
	ldr	x14, [x9, w14, uxtw #3]
	asr	w12, w12, #24
	ldr	x12, [x9, w12, sxtw #3]
	eor	w13, w13, w14, lsl #16
	eor	w12, w13, w12, lsl #24
	eor	w13, w12, w15
	stp	w12, w13, [x21, #16]
	ldur	w12, [x21, #-8]
	eor	w12, w12, w13
	eor	w0, w12, w0
	stp	w12, w0, [x21, #24]
	add	x8, x8, #4
	add	x21, x21, #32
	b	LBB0_22
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_Te4,8,3                        ; @Te4
	.comm	_rcon,8,3                       ; @rcon
.subsections_via_symbols
