	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_mcache
_test_mcache:                           ## @test_mcache
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %ebx
	leaq	L_.str(%rip), %rsi
	leaq	-40(%rbp), %rdx
	callq	_krb5_parse_name
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rcx
	movl	%ebx, %edi
	movl	$1, %esi
	movq	%rax, %rdx
	callq	_krb5_err
LBB0_2:
	movq	_krb5_cc_type_memory@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-32(%rbp), %rcx
	movl	%ebx, %edi
	xorl	%edx, %edx
	callq	_krb5_cc_new_unique
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	L_.str.2(%rip), %rcx
	movl	%ebx, %edi
	movl	$1, %esi
	movq	%rax, %rdx
	callq	_krb5_err
LBB0_4:
	movl	-32(%rbp), %esi
	movl	-40(%rbp), %edx
	movl	%ebx, %edi
	callq	_krb5_cc_initialize
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	leaq	L_.str.3(%rip), %rcx
	movl	%ebx, %edi
	movl	$1, %esi
	movq	%rax, %rdx
	callq	_krb5_err
LBB0_6:
	movl	-32(%rbp), %esi
	movl	%ebx, %edi
	callq	_krb5_cc_get_name
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:
	leaq	L_.str.4(%rip), %rdx
	movl	%ebx, %edi
	movl	$1, %esi
	callq	_krb5_errx
LBB0_8:
	movl	-32(%rbp), %esi
	movl	%ebx, %edi
	callq	_krb5_cc_get_type
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_10
## %bb.9:
	leaq	L_.str.4(%rip), %rdx
	movl	%ebx, %edi
	movl	$1, %esi
	callq	_krb5_errx
LBB0_10:
	leaq	L_.str.5(%rip), %rsi
	leaq	-48(%rbp), %rdi
	movq	%r15, %rdx
	movq	%r14, %rcx
	callq	_asprintf
	testq	%rax, %rax
	js	LBB0_12
## %bb.11:
	cmpq	$0, -48(%rbp)
	jne	LBB0_13
LBB0_12:
	leaq	L_.str.6(%rip), %rsi
	movl	$1, %edi
	callq	_errx
LBB0_13:
	movl	-32(%rbp), %esi
	movl	%ebx, %edi
	callq	_krb5_cc_close
	movq	-48(%rbp), %rsi
	leaq	-28(%rbp), %rdx
	movl	%ebx, %edi
	callq	_krb5_cc_resolve
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	leaq	L_.str.7(%rip), %rcx
	movl	%ebx, %edi
	movl	$1, %esi
	movq	%rax, %rdx
	callq	_krb5_err
LBB0_15:
	movl	-28(%rbp), %esi
	leaq	-36(%rbp), %rdx
	movl	%ebx, %edi
	callq	_krb5_cc_get_principal
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:
	leaq	L_.str.8(%rip), %rcx
	movl	%ebx, %edi
	movl	$1, %esi
	movq	%rax, %rdx
	callq	_krb5_err
LBB0_17:
	movl	-40(%rbp), %esi
	movl	-36(%rbp), %edx
	movl	%ebx, %edi
	callq	_krb5_principal_compare
	movq	_FALSE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_19
## %bb.18:
	leaq	L_.str.9(%rip), %rdx
	movl	%ebx, %edi
	movl	$1, %esi
	callq	_krb5_errx
LBB0_19:
	movl	-28(%rbp), %esi
	movl	%ebx, %edi
	callq	_krb5_cc_destroy
	movl	-40(%rbp), %esi
	movl	%ebx, %edi
	callq	_krb5_free_principal
	movl	-36(%rbp), %esi
	movl	%ebx, %edi
	callq	_krb5_free_principal
	movq	-48(%rbp), %rsi
	leaq	-28(%rbp), %rdx
	movl	%ebx, %edi
	callq	_krb5_cc_resolve
	testq	%rax, %rax
	je	LBB0_21
## %bb.20:
	leaq	L_.str.7(%rip), %rcx
	movl	%ebx, %edi
	movl	$1, %esi
	movq	%rax, %rdx
	callq	_krb5_err
LBB0_21:
	movl	-28(%rbp), %esi
	leaq	-36(%rbp), %rdx
	movl	%ebx, %edi
	callq	_krb5_cc_get_principal
	testq	%rax, %rax
	jne	LBB0_23
## %bb.22:
	leaq	L_.str.8(%rip), %rdx
	movl	%ebx, %edi
	movl	$1, %esi
	callq	_krb5_errx
LBB0_23:
	movl	-28(%rbp), %esi
	movl	%ebx, %edi
	callq	_krb5_cc_destroy
	movq	-48(%rbp), %rdi
	callq	_free
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"lha@SU.SE"

L_.str.1:                               ## @.str.1
	.asciz	"krb5_parse_name"

	.comm	_krb5_cc_type_memory,4,2        ## @krb5_cc_type_memory
L_.str.2:                               ## @.str.2
	.asciz	"krb5_cc_new_unique"

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

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

L_.str.5:                               ## @.str.5
	.asciz	"%s:%s"

L_.str.6:                               ## @.str.6
	.asciz	"malloc"

L_.str.7:                               ## @.str.7
	.asciz	"krb5_cc_resolve"

L_.str.8:                               ## @.str.8
	.asciz	"krb5_cc_get_principal"

	.comm	_FALSE,8,3                      ## @FALSE
L_.str.9:                               ## @.str.9
	.asciz	"p != p2"

	.no_dead_strip	_test_mcache
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_mcache
_test_mcache:                           ; @test_mcache
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #12
	bl	_krb5_parse_name
	cbz	x0, LBB0_2
; %bb.1:
	mov	x2, x0
Lloh2:
	adrp	x3, l_.str.1@PAGE
Lloh3:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w1, #1
	bl	_krb5_err
LBB0_2:
Lloh4:
	adrp	x8, _krb5_cc_type_memory@GOTPAGE
Lloh5:
	ldr	x8, [x8, _krb5_cc_type_memory@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	add	x3, sp, #28
	mov	x0, x19
	mov	x2, #0
	bl	_krb5_cc_new_unique
	cbz	x0, LBB0_4
; %bb.3:
	mov	x2, x0
Lloh7:
	adrp	x3, l_.str.2@PAGE
Lloh8:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	w1, #1
	bl	_krb5_err
LBB0_4:
	ldr	w1, [sp, #28]
	ldr	w2, [sp, #12]
	mov	x0, x19
	bl	_krb5_cc_initialize
	cbz	x0, LBB0_6
; %bb.5:
	mov	x2, x0
Lloh9:
	adrp	x3, l_.str.3@PAGE
Lloh10:
	add	x3, x3, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	w1, #1
	bl	_krb5_err
LBB0_6:
	ldr	w1, [sp, #28]
	mov	x0, x19
	bl	_krb5_cc_get_name
	mov	x20, x0
	cbnz	x0, LBB0_8
; %bb.7:
Lloh11:
	adrp	x2, l_.str.4@PAGE
Lloh12:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x19
	mov	w1, #1
	bl	_krb5_errx
LBB0_8:
	ldr	w1, [sp, #28]
	mov	x0, x19
	bl	_krb5_cc_get_type
	mov	x21, x0
	cbnz	x0, LBB0_10
; %bb.9:
Lloh13:
	adrp	x2, l_.str.4@PAGE
Lloh14:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x19
	mov	w1, #1
	bl	_krb5_errx
LBB0_10:
Lloh15:
	adrp	x1, l_.str.5@PAGE
Lloh16:
	add	x1, x1, l_.str.5@PAGEOFF
	add	x0, sp, #16
	mov	x2, x21
	mov	x3, x20
	bl	_asprintf
	tbnz	x0, #63, LBB0_12
; %bb.11:
	ldr	x8, [sp, #16]
	cbnz	x8, LBB0_13
LBB0_12:
Lloh17:
	adrp	x1, l_.str.6@PAGE
Lloh18:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_13:
	ldr	w1, [sp, #28]
	mov	x0, x19
	bl	_krb5_cc_close
	ldr	x1, [sp, #16]
	add	x2, sp, #24
	mov	x0, x19
	bl	_krb5_cc_resolve
	cbz	x0, LBB0_15
; %bb.14:
	mov	x2, x0
Lloh19:
	adrp	x3, l_.str.7@PAGE
Lloh20:
	add	x3, x3, l_.str.7@PAGEOFF
	mov	x0, x19
	mov	w1, #1
	bl	_krb5_err
LBB0_15:
	ldr	w1, [sp, #24]
	add	x2, sp, #8
	mov	x0, x19
	bl	_krb5_cc_get_principal
	cbz	x0, LBB0_17
; %bb.16:
	mov	x2, x0
Lloh21:
	adrp	x3, l_.str.8@PAGE
Lloh22:
	add	x3, x3, l_.str.8@PAGEOFF
	mov	x0, x19
	mov	w1, #1
	bl	_krb5_err
LBB0_17:
	ldp	w2, w1, [sp, #8]
	mov	x0, x19
	bl	_krb5_principal_compare
Lloh23:
	adrp	x8, _FALSE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh25:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_19
; %bb.18:
Lloh26:
	adrp	x2, l_.str.9@PAGE
Lloh27:
	add	x2, x2, l_.str.9@PAGEOFF
	mov	x0, x19
	mov	w1, #1
	bl	_krb5_errx
LBB0_19:
	ldr	w1, [sp, #24]
	mov	x0, x19
	bl	_krb5_cc_destroy
	ldr	w1, [sp, #12]
	mov	x0, x19
	bl	_krb5_free_principal
	ldr	w1, [sp, #8]
	mov	x0, x19
	bl	_krb5_free_principal
	ldr	x1, [sp, #16]
	add	x2, sp, #24
	mov	x0, x19
	bl	_krb5_cc_resolve
	cbz	x0, LBB0_21
; %bb.20:
	mov	x2, x0
Lloh28:
	adrp	x3, l_.str.7@PAGE
Lloh29:
	add	x3, x3, l_.str.7@PAGEOFF
	mov	x0, x19
	mov	w1, #1
	bl	_krb5_err
LBB0_21:
	ldr	w1, [sp, #24]
	add	x2, sp, #8
	mov	x0, x19
	bl	_krb5_cc_get_principal
	cbnz	x0, LBB0_23
; %bb.22:
Lloh30:
	adrp	x2, l_.str.8@PAGE
Lloh31:
	add	x2, x2, l_.str.8@PAGEOFF
	mov	x0, x19
	mov	w1, #1
	bl	_krb5_errx
LBB0_23:
	ldr	w1, [sp, #24]
	mov	x0, x19
	bl	_krb5_cc_destroy
	ldr	x0, [sp, #16]
	bl	_free
	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
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"lha@SU.SE"

l_.str.1:                               ; @.str.1
	.asciz	"krb5_parse_name"

	.comm	_krb5_cc_type_memory,4,2        ; @krb5_cc_type_memory
l_.str.2:                               ; @.str.2
	.asciz	"krb5_cc_new_unique"

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

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

l_.str.5:                               ; @.str.5
	.asciz	"%s:%s"

l_.str.6:                               ; @.str.6
	.asciz	"malloc"

l_.str.7:                               ; @.str.7
	.asciz	"krb5_cc_resolve"

l_.str.8:                               ; @.str.8
	.asciz	"krb5_cc_get_principal"

	.comm	_FALSE,8,3                      ; @FALSE
l_.str.9:                               ; @.str.9
	.asciz	"p != p2"

	.no_dead_strip	_test_mcache
.subsections_via_symbols
