	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_master_keytab
_read_master_keytab:                    ## @read_master_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	%rdx, %r14
	movl	%edi, %r15d
	leaq	-44(%rbp), %rdx
	callq	_krb5_kt_resolve
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_10
## %bb.1:
	movl	-44(%rbp), %esi
	leaq	-48(%rbp), %rdx
	movl	%r15d, %edi
	callq	_krb5_kt_start_seq_get
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_9
## %bb.2:
	movq	$0, (%r14)
	movl	-44(%rbp), %esi
	leaq	-56(%rbp), %rdx
	leaq	-48(%rbp), %rcx
	movl	%r15d, %edi
	callq	_krb5_kt_next_entry
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	xorl	%ebx, %ebx
	jmp	LBB0_8
LBB0_4:
	leaq	-48(%rbp), %r13
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	$1, %edi
	movl	$16, %esi
	callq	_calloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%rax, %r12
	leaq	12(%rax), %rsi
	movl	-56(%rbp), %eax
	movl	%eax, 12(%r12)
	movq	%r12, %rcx
	addq	$8, %rcx
	movl	%r15d, %edi
	xorl	%edx, %edx
	callq	_krb5_crypto_init
	movq	%rax, %rbx
	movq	(%r14), %rax
	movq	%rax, (%r12)
	movq	%r12, (%r14)
	movl	-44(%rbp), %esi
	movl	%r15d, %edi
	leaq	-56(%rbp), %rdx
	movq	%r13, %rcx
	callq	_krb5_kt_next_entry
	testq	%rax, %rax
	je	LBB0_5
LBB0_8:
	movl	-44(%rbp), %esi
	leaq	-48(%rbp), %rdx
	movl	%r15d, %edi
	callq	_krb5_kt_end_seq_get
	jmp	LBB0_9
LBB0_6:
	movl	-44(%rbp), %esi
	leaq	-48(%rbp), %rdx
	movl	%r15d, %edi
	callq	_krb5_kt_end_seq_get
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
LBB0_9:
	movl	-44(%rbp), %esi
	movl	%r15d, %edi
	callq	_krb5_kt_close
LBB0_10:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,8,3                     ## @ENOMEM
	.no_dead_strip	_read_master_keytab
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_master_keytab
_read_master_keytab:                    ; @read_master_keytab
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x2
	mov	x19, x0
	add	x2, sp, #12
	bl	_krb5_kt_resolve
	mov	x21, x0
	cbnz	x0, LBB0_8
; %bb.1:
	ldr	w1, [sp, #12]
	add	x2, sp, #8
	mov	x0, x19
	bl	_krb5_kt_start_seq_get
	mov	x21, x0
	cbnz	x0, LBB0_7
; %bb.2:
	str	xzr, [x20]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [sp, #12]
	mov	x2, sp
	add	x3, sp, #8
	mov	x0, x19
	bl	_krb5_kt_next_entry
	cbnz	x0, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w0, #1
	mov	w1, #16
	bl	_calloc
	cbz	x0, LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x22, x0
	ldr	w8, [sp]
	mov	x1, x0
	str	w8, [x1, #12]!
	add	x3, x0, #8
	mov	x0, x19
	mov	w2, #0
	bl	_krb5_crypto_init
	mov	x21, x0
	ldr	x8, [x20]
	str	x8, [x22]
	str	x22, [x20]
	b	LBB0_3
LBB0_6:
	ldr	w1, [sp, #12]
	add	x2, sp, #8
	mov	x0, x19
	bl	_krb5_kt_end_seq_get
LBB0_7:
	ldr	w1, [sp, #12]
	mov	x0, x19
	bl	_krb5_kt_close
LBB0_8:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_9:
	ldr	w1, [sp, #12]
	add	x2, sp, #8
	mov	x0, x19
	bl	_krb5_kt_end_seq_get
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
	ldr	x21, [x8]
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,8,3                     ; @ENOMEM
	.no_dead_strip	_read_master_keytab
.subsections_via_symbols
