	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _get_derived_key
__get_derived_key:                      ## @_get_derived_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	%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
	movl	%edx, %ebx
	movq	%rsi, %r12
	movl	%edi, %r15d
	movl	(%rsi), %eax
	testl	%eax, %eax
	jle	LBB0_5
## %bb.1:
	movq	16(%r12), %rcx
	addq	$4, %rcx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%ebx, -4(%rcx)
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	$8, %rcx
	decq	%rax
	jne	LBB0_2
LBB0_5:
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	__new_derived_key
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%rax, %r13
	movl	8(%r12), %esi
	movl	%r15d, %edi
	movq	%rax, %rdx
	callq	_krb5_copy_keyblock
	leaq	-45(%rbp), %rdi
	movl	%ebx, %esi
	movl	$5, %edx
	callq	__krb5_put_int
	movl	4(%r12), %esi
	movl	%r15d, %edi
	movq	%r13, %rdx
	leaq	-45(%rbp), %rcx
	movl	$5, %r8d
	callq	__krb5_derive_key
	movq	%r13, (%r14)
	jmp	LBB0_8
LBB0_3:
	movq	%rcx, (%r14)
LBB0_8:
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_6:
	movq	_ENOMEM@GOTPCREL(%rip), %r14
	movl	(%r14), %ebx
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_N_
	movl	%r15d, %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_krb5_set_error_message
	movl	(%r14), %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"malloc: out of memory"

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

	.no_dead_strip	__get_derived_key
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _get_derived_key
__get_derived_key:                      ; @_get_derived_key
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	w8, [x1]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.1:
	ldr	x9, [x21, #16]
	add	x9, x9, #4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w10, [x9, #-4]
	cmp	w10, w22
	b.eq	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x9, x9, #8
	subs	x8, x8, #1
	b.ne	LBB0_2
LBB0_4:
	mov	x0, x21
	mov	x1, x22
	bl	__new_derived_key
	cbz	x0, LBB0_7
; %bb.5:
	mov	x23, x0
	ldr	w1, [x21, #8]
	mov	x0, x19
	mov	x2, x23
	bl	_krb5_copy_keyblock
	add	x0, sp, #11
	mov	x1, x22
	mov	w2, #5
	bl	__krb5_put_int
	ldr	w1, [x21, #4]
	add	x3, sp, #11
	mov	x0, x19
	mov	x2, x23
	mov	w4, #5
	bl	__krb5_derive_key
	mov	w0, #0
	str	x23, [x20]
	b	LBB0_8
LBB0_6:
	mov	w0, #0
	str	x9, [x20]
	b	LBB0_8
LBB0_7:
Lloh0:
	adrp	x21, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x21, [x21, _ENOMEM@GOTPAGEOFF]
	ldr	w20, [x21]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_N_
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_krb5_set_error_message
	ldr	w0, [x21]
LBB0_8:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"malloc: out of memory"

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

	.no_dead_strip	__get_derived_key
.subsections_via_symbols
