	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_empty_keytab
_test_empty_keytab:                     ## @test_empty_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	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %ebx
	leaq	-20(%rbp), %rdx
	callq	_krb5_kt_resolve
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rcx
	movl	%ebx, %edi
	movl	$1, %esi
	movq	%rax, %rdx
	callq	_krb5_err
LBB0_2:
	leaq	-24(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	-20(%rbp), %esi
	movl	%ebx, %edi
	movq	%r14, %rdx
	callq	_krb5_kt_remove_entry
	movl	-20(%rbp), %esi
	movl	%ebx, %edi
	callq	_krb5_kt_have_content
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rdx
	movl	%ebx, %edi
	movl	$1, %esi
	callq	_krb5_errx
LBB0_4:
	movl	-20(%rbp), %esi
	movl	%ebx, %edi
	callq	_krb5_kt_close
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	leaq	L_.str.2(%rip), %rcx
	movl	%ebx, %edi
	movl	$1, %esi
	movq	%rax, %rdx
	callq	_krb5_err
LBB0_6:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"krb5_kt_resolve"

L_.str.1:                               ## @.str.1
	.asciz	"supposed to be empty keytab isn't"

L_.str.2:                               ## @.str.2
	.asciz	"krb5_kt_close"

	.no_dead_strip	_test_empty_keytab
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_empty_keytab
_test_empty_keytab:                     ; @test_empty_keytab
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	add	x2, sp, #12
	bl	_krb5_kt_resolve
	cbz	x0, LBB0_2
; %bb.1:
	mov	x2, x0
Lloh0:
	adrp	x3, l_.str@PAGE
Lloh1:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	mov	w1, #1
	bl	_krb5_err
LBB0_2:
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	w1, [sp, #12]
	add	x2, sp, #8
	mov	x0, x19
	bl	_krb5_kt_remove_entry
	ldr	w1, [sp, #12]
	mov	x0, x19
	bl	_krb5_kt_have_content
	cbnz	x0, LBB0_4
; %bb.3:
Lloh2:
	adrp	x2, l_.str.1@PAGE
Lloh3:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w1, #1
	bl	_krb5_errx
LBB0_4:
	ldr	w1, [sp, #12]
	mov	x0, x19
	bl	_krb5_kt_close
	cbz	x0, LBB0_6
; %bb.5:
	mov	x2, x0
Lloh4:
	adrp	x3, l_.str.2@PAGE
Lloh5:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	w1, #1
	bl	_krb5_err
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"krb5_kt_resolve"

l_.str.1:                               ; @.str.1
	.asciz	"supposed to be empty keytab isn't"

l_.str.2:                               ; @.str.2
	.asciz	"krb5_kt_close"

	.no_dead_strip	_test_empty_keytab
.subsections_via_symbols
