	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_aes_set_key                    ## -- Begin function aes_set_key
	.p2align	4, 0x90
_aes_set_key:                           ## @aes_set_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	%edx, %ebx
	movq	%rsi, %r14
	movq	%rdi, %r15
	callq	_crypto_tfm_ctx
	cmpl	$32, %ebx
	ja	LBB0_2
## %bb.1:
	movq	%rax, %r12
	movl	%ebx, %eax
	movabsq	$4311810048, %rcx               ## imm = 0x101010000
	btq	%rax, %rcx
	jae	LBB0_2
## %bb.3:
	movl	%ebx, (%r12)
	leaq	L_.str(%rip), %rsi
	xorl	%r15d, %r15d
	xorl	%edi, %edi
	movq	%r12, %rdx
	movl	%ebx, %ecx
	movl	%ebx, %r8d
	callq	_DPRINTF
	movq	8(%r12), %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_memcpy
	jmp	LBB0_4
LBB0_2:
	movq	_CRYPTO_TFM_RES_BAD_KEY_LEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	orq	%rax, (%r15)
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_4:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CRYPTO_TFM_RES_BAD_KEY_LEN,8,3 ## @CRYPTO_TFM_RES_BAD_KEY_LEN
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ctx @%p, key_len %d, ctx->key_length %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_aes_set_key                    ; -- Begin function aes_set_key
	.p2align	2
_aes_set_key:                           ; @aes_set_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	x19, x2
	mov	x20, x1
	mov	x22, x0
	bl	_crypto_tfm_ctx
	cmp	w19, #32
	b.hi	LBB0_3
; %bb.1:
	mov	w8, w19
	mov	w9, #1
	lsl	x8, x9, x8
	mov	x9, #16842752
	movk	x9, #1, lsl #32
	tst	x8, x9
	b.eq	LBB0_3
; %bb.2:
	mov	x21, x0
	str	w19, [x0]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #0
	mov	x2, x21
	mov	x3, x19
	mov	x4, x19
	bl	_DPRINTF
	ldr	x0, [x21, #8]
	mov	x1, x20
	mov	x2, x19
	bl	_memcpy
	mov	w0, #0
	b	LBB0_4
LBB0_3:
Lloh2:
	adrp	x8, _CRYPTO_TFM_RES_BAD_KEY_LEN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CRYPTO_TFM_RES_BAD_KEY_LEN@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	ldr	x9, [x22]
	orr	x8, x9, x8
	str	x8, [x22]
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_CRYPTO_TFM_RES_BAD_KEY_LEN,8,3 ; @CRYPTO_TFM_RES_BAD_KEY_LEN
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ctx @%p, key_len %d, ctx->key_length %d\n"

.subsections_via_symbols
