	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_cache_iter
_test_cache_iter:                       ## @test_cache_iter
	.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
	movl	%edx, %r14d
	movq	%rsi, %r15
	movl	%edi, %ebx
	leaq	-48(%rbp), %rdx
	callq	_krb5_cc_cache_get_first
	movq	_KRB5_CC_NOSUPP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_18
## %bb.1:
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rcx
	movl	%ebx, %edi
	movl	$1, %esi
	movq	%rax, %rdx
	movq	%r15, %r8
	callq	_krb5_err
LBB0_3:
	movl	-48(%rbp), %esi
	leaq	-44(%rbp), %rdx
	movl	%ebx, %edi
	callq	_krb5_cc_cache_next
	testq	%rax, %rax
	je	LBB0_4
LBB0_17:
	movl	-48(%rbp), %esi
	movl	%ebx, %edi
	callq	_krb5_cc_cache_end_seq_get
LBB0_18:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	_debug_flag@GOTPCREL(%rip), %r12
	leaq	-52(%rbp), %r15
	leaq	-44(%rbp), %r13
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_5 Depth=1
	callq	_krb5_cc_close
LBB0_16:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	-48(%rbp), %esi
	movl	%ebx, %edi
	movq	%r13, %rdx
	callq	_krb5_cc_cache_next
	testq	%rax, %rax
	jne	LBB0_17
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%r12)
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	-44(%rbp), %esi
	movl	%ebx, %edi
	callq	_krb5_cc_get_name
	leaq	L_.str.1(%rip), %rdi
	movq	%rax, %rsi
	callq	_printf
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	-44(%rbp), %esi
	movl	%ebx, %edi
	movq	%r15, %rdx
	callq	_krb5_cc_get_principal
	testq	%rax, %rax
	jne	LBB0_13
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	-52(%rbp), %esi
	movl	%ebx, %edi
	leaq	-64(%rbp), %rdx
	callq	_krb5_unparse_name
	testq	%rax, %rax
	jne	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpq	$0, (%r12)
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-64(%rbp), %rsi
	leaq	L_.str.2(%rip), %rdi
	callq	_printf
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	-64(%rbp), %rdi
	callq	_free
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	-52(%rbp), %esi
	movl	%ebx, %edi
	callq	_krb5_free_principal
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	-44(%rbp), %esi
	movl	%ebx, %edi
	testl	%r14d, %r14d
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_5 Depth=1
	callq	_krb5_cc_destroy
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.comm	_KRB5_CC_NOSUPP,8,3             ## @KRB5_CC_NOSUPP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"krb5_cc_cache_get_first(%s)"

	.comm	_debug_flag,8,3                 ## @debug_flag
L_.str.1:                               ## @.str.1
	.asciz	"name: %s\n"

L_.str.2:                               ## @.str.2
	.asciz	"\tprincipal: %s\n"

	.no_dead_strip	_test_cache_iter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_cache_iter
_test_cache_iter:                       ; @test_cache_iter
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
	add	x2, sp, #28
	bl	_krb5_cc_cache_get_first
Lloh0:
	adrp	x8, _KRB5_CC_NOSUPP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _KRB5_CC_NOSUPP@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_5
; %bb.1:
	mov	x2, x0
	cbz	x0, LBB0_3
; %bb.2:
Lloh3:
	adrp	x3, l_.str@PAGE
Lloh4:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	mov	w1, #1
	mov	x4, x21
	bl	_krb5_err
LBB0_3:
	ldr	w1, [sp, #28]
	add	x2, sp, #24
	mov	x0, x19
	bl	_krb5_cc_cache_next
	cbz	x0, LBB0_6
LBB0_4:
	ldr	w1, [sp, #28]
	mov	x0, x19
	bl	_krb5_cc_cache_end_seq_get
LBB0_5:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_6:
Lloh5:
	adrp	x23, _debug_flag@GOTPAGE
Lloh6:
	ldr	x23, [x23, _debug_flag@GOTPAGEOFF]
Lloh7:
	adrp	x21, l_.str.2@PAGE
Lloh8:
	add	x21, x21, l_.str.2@PAGEOFF
Lloh9:
	adrp	x22, l_.str.1@PAGE
Lloh10:
	add	x22, x22, l_.str.1@PAGEOFF
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
	bl	_krb5_cc_close
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	ldr	w1, [sp, #28]
	add	x2, sp, #24
	mov	x0, x19
	bl	_krb5_cc_cache_next
	cbnz	x0, LBB0_4
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	cbz	x8, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w1, [sp, #24]
	mov	x0, x19
	bl	_krb5_cc_get_name
	mov	x1, x0
	mov	x0, x22
	bl	_printf
LBB0_11:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	w1, [sp, #24]
	add	x2, sp, #20
	mov	x0, x19
	bl	_krb5_cc_get_principal
	cbnz	x0, LBB0_17
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w1, [sp, #20]
	add	x2, sp, #8
	mov	x0, x19
	bl	_krb5_unparse_name
	cbnz	x0, LBB0_16
; %bb.13:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x23]
	cbz	x8, LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x1, [sp, #8]
	mov	x0, x21
	bl	_printf
LBB0_15:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	x0, [sp, #8]
	bl	_free
LBB0_16:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	w1, [sp, #20]
	mov	x0, x19
	bl	_krb5_free_principal
LBB0_17:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	w1, [sp, #24]
	mov	x0, x19
	cbz	w20, LBB0_7
; %bb.18:                               ;   in Loop: Header=BB0_9 Depth=1
	bl	_krb5_cc_destroy
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_KRB5_CC_NOSUPP,8,3             ; @KRB5_CC_NOSUPP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"krb5_cc_cache_get_first(%s)"

	.comm	_debug_flag,8,3                 ; @debug_flag
l_.str.1:                               ; @.str.1
	.asciz	"name: %s\n"

l_.str.2:                               ; @.str.2
	.asciz	"\tprincipal: %s\n"

	.no_dead_strip	_test_cache_iter
.subsections_via_symbols
