	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function AES_PRF
_AES_PRF:                               ## @AES_PRF
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r13
	movq	%rsi, %r14
	movl	%edi, %r12d
	movq	(%rsi), %rax
	movq	24(%rax), %rbx
	movl	16(%rbx), %eax
	movl	%eax, -64(%rbp)
	movq	(%rbx), %rsi
	leaq	-80(%rbp), %rdi
	callq	_krb5_data_alloc
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, %r15
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_N_
	movl	%r12d, %edi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_krb5_set_error_message
	jmp	LBB0_13
LBB0_2:
	movl	8(%r13), %edx
	movq	(%r13), %rcx
	leaq	-80(%rbp), %r9
	movl	%r12d, %edi
	xorl	%esi, %esi
	xorl	%r8d, %r8d
	callq	*8(%rbx)
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%rax, %r15
	leaq	-80(%rbp), %rdi
	callq	_krb5_data_free
	jmp	LBB0_13
LBB0_4:
	movl	%r12d, %ebx
	movq	-80(%rbp), %rcx
	movq	%r14, %r12
	movq	(%r14), %rax
	cmpq	(%rax), %rcx
	jge	LBB0_6
## %bb.5:
	leaq	L_.str.2(%rip), %rsi
	movl	%ebx, %edi
	callq	_krb5_abortx
	movq	(%r12), %rax
LBB0_6:
	movq	$0, -56(%rbp)
	movl	8(%r12), %esi
	movl	16(%rax), %edx
	leaq	L_.str.3(%rip), %rcx
	leaq	-56(%rbp), %r9
	movl	%ebx, %edi
	movl	$3, %r8d
	callq	_krb5_derive_key
	testq	%rax, %rax
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_8
## %bb.7:
	leaq	L_.str.4(%rip), %rsi
	movl	%ebx, %edi
	callq	_krb5_abortx
LBB0_8:
	movq	(%r12), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	callq	_krb5_data_alloc
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	leaq	L_.str.5(%rip), %rsi
	movl	%ebx, %edi
	callq	_krb5_abortx
LBB0_10:
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movq	(%r12), %rax
	movq	8(%rax), %rcx
	xorl	%eax, %eax
	callq	*(%rcx)
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_EVP_CIPHER_CTX_new
	movq	%rax, %r13
	testq	%rax, %rax
	jne	LBB0_12
## %bb.11:
	leaq	L_.str.5(%rip), %rsi
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_krb5_abortx
LBB0_12:
	movq	-56(%rbp), %rax
	movl	(%rax), %ecx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	movl	$1, %r9d
	callq	_EVP_CipherInit_ex
	movl	8(%r14), %esi
	movl	-72(%rbp), %edx
	movq	(%r12), %rax
	movq	(%rax), %rcx
	movq	%r13, %rdi
	callq	_EVP_Cipher
	movq	%r13, %rdi
	callq	_EVP_CIPHER_CTX_free
	leaq	-80(%rbp), %rdi
	callq	_krb5_data_free
	movq	-56(%rbp), %rsi
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_krb5_free_keyblock
LBB0_13:
	movq	%r15, %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"malloc: out memory"

L_.str.1:                               ## @.str.1
	.space	1

L_.str.2:                               ## @.str.2
	.asciz	"internal prf error"

L_.str.3:                               ## @.str.3
	.asciz	"prf"

L_.str.4:                               ## @.str.4
	.asciz	"krb5_derive_key"

L_.str.5:                               ## @.str.5
	.asciz	"malloc failed"

	.no_dead_strip	_AES_PRF
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function AES_PRF
_AES_PRF:                               ; @AES_PRF
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x21, x3
	mov	x23, x2
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x1]
	ldr	x24, [x8, #24]
	ldr	w8, [x24, #16]
	str	w8, [sp, #24]
	ldr	x1, [x24]
	add	x0, sp, #8
	bl	_krb5_data_alloc
	cbz	x0, LBB0_2
; %bb.1:
	mov	x22, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_N_
	mov	x2, x0
	mov	x0, x19
	mov	x1, x22
	bl	_krb5_set_error_message
	b	LBB0_13
LBB0_2:
	ldr	x8, [x24, #8]
	ldr	w2, [x23, #8]
	ldr	x3, [x23]
	add	x5, sp, #8
	mov	x0, x19
	mov	x1, #0
	mov	w4, #0
	blr	x8
	cbz	x0, LBB0_4
; %bb.3:
	mov	x22, x0
	add	x0, sp, #8
	bl	_krb5_data_free
	b	LBB0_13
LBB0_4:
	ldr	x9, [sp, #8]
	ldr	x8, [x20]
	ldr	x10, [x8]
	cmp	x9, x10
	b.ge	LBB0_6
; %bb.5:
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_krb5_abortx
	ldr	x8, [x20]
LBB0_6:
	str	xzr, [sp]
	ldr	w1, [x20, #8]
	ldr	w2, [x8, #16]
Lloh6:
	adrp	x3, l_.str.3@PAGE
Lloh7:
	add	x3, x3, l_.str.3@PAGEOFF
	mov	x5, sp
	mov	x0, x19
	mov	w4, #3
	bl	_krb5_derive_key
	cbz	x0, LBB0_8
; %bb.7:
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_krb5_abortx
LBB0_8:
	ldr	x8, [x20]
	ldr	x1, [x8]
	mov	x0, x21
	bl	_krb5_data_alloc
	mov	x22, x0
	cbz	x0, LBB0_10
; %bb.9:
Lloh10:
	adrp	x1, l_.str.5@PAGE
Lloh11:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_krb5_abortx
LBB0_10:
	ldr	x8, [x20]
	ldr	x8, [x8, #8]
	ldr	x8, [x8]
	blr	x8
	mov	x24, x0
	bl	_EVP_CIPHER_CTX_new
	mov	x23, x0
	cbnz	x0, LBB0_12
; %bb.11:
Lloh12:
	adrp	x1, l_.str.5@PAGE
Lloh13:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_krb5_abortx
LBB0_12:
	ldr	x8, [sp]
	ldr	w3, [x8]
	mov	x0, x23
	mov	x1, x24
	mov	x2, #0
	mov	x4, #0
	mov	w5, #1
	bl	_EVP_CipherInit_ex
	ldr	w1, [x21, #8]
	ldr	w2, [sp, #16]
	ldr	x8, [x20]
	ldr	x3, [x8]
	mov	x0, x23
	bl	_EVP_Cipher
	mov	x0, x23
	bl	_EVP_CIPHER_CTX_free
	add	x0, sp, #8
	bl	_krb5_data_free
	ldr	x1, [sp]
	mov	x0, x19
	bl	_krb5_free_keyblock
LBB0_13:
	mov	x0, x22
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"malloc: out memory"

l_.str.1:                               ; @.str.1
	.space	1

l_.str.2:                               ; @.str.2
	.asciz	"internal prf error"

l_.str.3:                               ; @.str.3
	.asciz	"prf"

l_.str.4:                               ; @.str.4
	.asciz	"krb5_derive_key"

l_.str.5:                               ; @.str.5
	.asciz	"malloc failed"

	.no_dead_strip	_AES_PRF
.subsections_via_symbols
