	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_init_vs_destroy
_test_init_vs_destroy:                  ## @test_init_vs_destroy
	.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	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movl	%edi, %ebx
	movq	$0, -40(%rbp)
	leaq	L_.str(%rip), %rsi
	leaq	-28(%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
	xorl	%eax, %eax
	callq	_krb5_err
LBB0_2:
	leaq	-24(%rbp), %rcx
	movl	%ebx, %edi
	movq	%r14, %rsi
	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
	movq	%r14, %r8
	xorl	%eax, %eax
	callq	_krb5_err
LBB0_4:
	movl	-24(%rbp), %esi
	movl	%ebx, %edi
	callq	_krb5_cc_get_type
	movl	%eax, %r14d
	movl	-24(%rbp), %esi
	movl	%ebx, %edi
	callq	_krb5_cc_get_name
	leaq	L_.str.3(%rip), %rsi
	leaq	-40(%rbp), %rdi
	movl	%r14d, %edx
	movl	%eax, %ecx
	callq	_asprintf
	testq	%rax, %rax
	js	LBB0_6
## %bb.5:
	movq	-40(%rbp), %rsi
	testq	%rsi, %rsi
	jne	LBB0_7
LBB0_6:
	leaq	L_.str.4(%rip), %rsi
	movl	$1, %edi
	callq	_errx
	movq	-40(%rbp), %rsi
LBB0_7:
	leaq	-20(%rbp), %rdx
	movl	%ebx, %edi
	callq	_krb5_cc_resolve
	movq	%rax, %r14
	movq	-40(%rbp), %rdi
	callq	_free
	testq	%r14, %r14
	je	LBB0_9
## %bb.8:
	leaq	L_.str.5(%rip), %rcx
	movl	%ebx, %edi
	movl	$1, %esi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_krb5_err
LBB0_9:
	movl	-24(%rbp), %esi
	movl	%ebx, %edi
	callq	_krb5_cc_destroy
	movl	-20(%rbp), %esi
	movl	-28(%rbp), %edx
	movl	%ebx, %edi
	callq	_krb5_cc_initialize
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	leaq	L_.str.6(%rip), %rcx
	movl	%ebx, %edi
	movl	$1, %esi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_krb5_err
LBB0_11:
	movl	-20(%rbp), %esi
	leaq	-44(%rbp), %rdx
	movl	%ebx, %edi
	callq	_krb5_cc_get_principal
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	leaq	L_.str.7(%rip), %rcx
	movl	%ebx, %edi
	movl	$1, %esi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_krb5_err
LBB0_13:
	movl	-20(%rbp), %esi
	movl	%ebx, %edi
	callq	_krb5_cc_destroy
	movl	-28(%rbp), %esi
	movl	%ebx, %edi
	callq	_krb5_free_principal
	movl	-44(%rbp), %esi
	movl	%ebx, %edi
	callq	_krb5_free_principal
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	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"

L_.str.2:                               ## @.str.2
	.asciz	"krb5_cc_new_unique: %s"

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

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

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

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

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

	.no_dead_strip	_test_init_vs_destroy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_init_vs_destroy
_test_init_vs_destroy:                  ; @test_init_vs_destroy
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x20, x1
	mov	x19, x0
	str	xzr, [sp, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #20
	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:
	sub	x3, x29, #20
	mov	x0, x19
	mov	x1, x20
	mov	x2, #0
	bl	_krb5_cc_new_unique
	cbz	x0, LBB0_4
; %bb.3:
	mov	x2, x0
	str	x20, [sp]
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_4:
	ldur	w1, [x29, #-20]
	mov	x0, x19
	bl	_krb5_cc_get_type
	mov	x20, x0
	ldur	w1, [x29, #-20]
	mov	x0, x19
	bl	_krb5_cc_get_name
	mov	x3, x0
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x0, sp, #8
	mov	x2, x20
	bl	_asprintf
	tbnz	x0, #63, LBB0_6
; %bb.5:
	ldr	x1, [sp, #8]
	cbnz	x1, LBB0_7
LBB0_6:
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w0, #1
	bl	_errx
	ldr	x1, [sp, #8]
LBB0_7:
	add	x2, sp, #24
	mov	x0, x19
	bl	_krb5_cc_resolve
	mov	x20, x0
	ldr	x0, [sp, #8]
	bl	_free
	cbz	x20, LBB0_9
; %bb.8:
Lloh10:
	adrp	x3, l_.str.5@PAGE
Lloh11:
	add	x3, x3, l_.str.5@PAGEOFF
	mov	x0, x19
	mov	w1, #1
	mov	x2, x20
	bl	_krb5_err
LBB0_9:
	ldur	w1, [x29, #-20]
	mov	x0, x19
	bl	_krb5_cc_destroy
	ldp	w2, w1, [sp, #20]
	mov	x0, x19
	bl	_krb5_cc_initialize
	cbz	x0, LBB0_11
; %bb.10:
	mov	x2, x0
Lloh12:
	adrp	x3, l_.str.6@PAGE
Lloh13:
	add	x3, x3, l_.str.6@PAGEOFF
	mov	x0, x19
	mov	w1, #1
	bl	_krb5_err
LBB0_11:
	ldr	w1, [sp, #24]
	add	x2, sp, #16
	mov	x0, x19
	bl	_krb5_cc_get_principal
	cbz	x0, LBB0_13
; %bb.12:
	mov	x2, x0
Lloh14:
	adrp	x3, l_.str.7@PAGE
Lloh15:
	add	x3, x3, l_.str.7@PAGEOFF
	mov	x0, x19
	mov	w1, #1
	bl	_krb5_err
LBB0_13:
	ldr	w1, [sp, #24]
	mov	x0, x19
	bl	_krb5_cc_destroy
	ldr	w1, [sp, #20]
	mov	x0, x19
	bl	_krb5_free_principal
	ldr	w1, [sp, #16]
	mov	x0, x19
	bl	_krb5_free_principal
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.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"

l_.str.2:                               ; @.str.2
	.asciz	"krb5_cc_new_unique: %s"

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

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

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

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

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

	.no_dead_strip	_test_init_vs_destroy
.subsections_via_symbols
