	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_key_from_keytab
_get_key_from_keytab:                   ## @get_key_from_keytab
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r15
	movq	%rcx, %r13
	movl	%edx, %r12d
	movq	%rsi, %rbx
	movl	%edi, %r14d
	testq	%rcx, %rcx
	je	LBB0_1
## %bb.2:
	movq	%r13, -48(%rbp)
	jmp	LBB0_3
LBB0_1:
	leaq	-48(%rbp), %rsi
	movl	%r14d, %edi
	callq	_krb5_kt_default
LBB0_3:
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movl	(%rax), %ecx
	jmp	LBB0_6
LBB0_4:
	xorl	%ecx, %ecx
LBB0_6:
	movq	-48(%rbp), %rsi
	movl	8(%rbx), %r8d
	leaq	-56(%rbp), %r9
	movl	%r14d, %edi
	movl	%r12d, %edx
	callq	_krb5_kt_get_entry
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	testq	%r13, %r13
	je	LBB0_9
LBB0_10:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	leaq	-56(%rbp), %r12
	movl	%r14d, %edi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_krb5_copy_keyblock
	movq	%rax, %rbx
	movl	%r14d, %edi
	movq	%r12, %rsi
	callq	_krb5_kt_free_entry
	testq	%r13, %r13
	jne	LBB0_10
LBB0_9:
	movq	-48(%rbp), %rsi
	movl	%r14d, %edi
	callq	_krb5_kt_close
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_get_key_from_keytab
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_key_from_keytab
_get_key_from_keytab:                   ; @get_key_from_keytab
	.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	x21, x4
	mov	x20, x3
	mov	x22, x2
	mov	x23, x1
	mov	x19, x0
	cbz	x3, LBB0_3
; %bb.1:
	str	x20, [sp]
	ldr	x8, [x23]
	cbz	x8, LBB0_4
LBB0_2:
	ldr	w3, [x8]
	b	LBB0_5
LBB0_3:
	mov	x1, sp
	mov	x0, x19
	bl	_krb5_kt_default
	ldr	x8, [x23]
	cbnz	x8, LBB0_2
LBB0_4:
	mov	w3, #0
LBB0_5:
	ldr	x1, [sp]
	ldr	w4, [x23, #8]
	add	x5, sp, #8
	mov	x0, x19
	mov	x2, x22
	bl	_krb5_kt_get_entry
	mov	x22, x0
	cbz	x0, LBB0_8
; %bb.6:
	cbz	x20, LBB0_9
LBB0_7:
	mov	x0, x22
	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
LBB0_8:
	add	x1, sp, #8
	mov	x0, x19
	mov	x2, x21
	bl	_krb5_copy_keyblock
	mov	x22, x0
	add	x1, sp, #8
	mov	x0, x19
	bl	_krb5_kt_free_entry
	cbnz	x20, LBB0_7
LBB0_9:
	ldr	x1, [sp]
	mov	x0, x19
	bl	_krb5_kt_close
	b	LBB0_7
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_get_key_from_keytab
.subsections_via_symbols
