	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kswitch                        ## -- Begin function kswitch
	.p2align	4, 0x90
_kswitch:                               ## @kswitch
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	$0, -72(%rbp)
	cmpq	$0, (%rdi)
	je	LBB0_3
## %bb.1:
	cmpl	$0, 12(%rbx)
	je	LBB0_3
## %bb.2:
	movq	_kcc_context@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_N_
	movl	%r14d, %edi
	movl	$1, %esi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_krb5_errx
LBB0_3:
	cmpq	$0, 16(%rbx)
	je	LBB0_23
## %bb.4:
	xorl	%eax, %eax
	callq	_rtbl_create
	movl	%eax, %ebx
	leaq	L_.str.2(%rip), %rdx
	movl	%eax, %edi
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	callq	_rtbl_add_column_by_id
	leaq	L_.str.3(%rip), %rdx
	movl	%ebx, %edi
	movl	$1, %esi
	xorl	%ecx, %ecx
	callq	_rtbl_add_column_by_id
	leaq	L_.str.4(%rip), %rdx
	leaq	L_.str.1(%rip), %r14
	movl	%ebx, %edi
	movl	$1, %esi
	movq	%r14, %rcx
	callq	_rtbl_set_column_affix_by_id
	leaq	L_.str.5(%rip), %rdx
	movl	%ebx, %edi
	movl	$2, %esi
	xorl	%ecx, %ecx
	callq	_rtbl_add_column_by_id
	leaq	L_.str.6(%rip), %rdx
	movl	%ebx, -84(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edi
	movl	$2, %esi
	movq	%r14, %rcx
	callq	_rtbl_set_column_affix_by_id
	movq	_kcc_context@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	leaq	-80(%rbp), %rdx
	xorl	%esi, %esi
	callq	_krb5_cc_cache_get_first
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movl	(%r13), %edi
	leaq	L_.str.7(%rip), %rcx
	movl	$1, %esi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_krb5_err
LBB0_6:
	movl	(%r13), %edi
	movl	-80(%rbp), %esi
	leaq	-72(%rbp), %rdx
	callq	_krb5_cc_cache_next
	xorl	%r15d, %r15d
	movl	$0, %r14d
	testq	%rax, %rax
	je	LBB0_7
LBB0_11:
	movl	(%r13), %edi
	movl	-80(%rbp), %esi
	callq	_krb5_cc_cache_end_seq_get
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-84(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edi
	callq	_rtbl_format
	movl	%ebx, %edi
	callq	_rtbl_destroy
	leaq	L_.str.9(%rip), %rdi
	callq	_readline
	movq	%rax, -96(%rbp)
	testq	%rax, %rax
	je	LBB0_17
## %bb.12:
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_atoi
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_13
## %bb.14:
	cmpq	%r15, %rbx
	jbe	LBB0_16
LBB0_15:
	movl	(%r13), %edi
	movq	-96(%rbp), %rcx
	leaq	L_.str.11(%rip), %rdx
	movl	$1, %esi
	xorl	%eax, %eax
	callq	_krb5_errx
LBB0_16:
	movq	-8(%r14,%rbx,8), %rax
	movq	%rax, -72(%rbp)
	movq	$0, -8(%r14,%rbx,8)
	testq	%r15, %r15
	jne	LBB0_19
	jmp	LBB0_38
LBB0_23:
	movl	12(%rbx), %esi
	testl	%esi, %esi
	je	LBB0_29
## %bb.24:
	movq	_kcc_context@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	leaq	-64(%rbp), %rdx
	callq	_krb5_parse_name
	testq	%rax, %rax
	je	LBB0_26
## %bb.25:
	movl	(%r12), %edi
	movl	12(%rbx), %r8d
	leaq	L_.str.13(%rip), %rcx
	movl	$1, %esi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_krb5_err
LBB0_26:
	movl	(%r12), %edi
	movl	-64(%rbp), %esi
	leaq	-72(%rbp), %rdx
	callq	_krb5_cc_cache_match
	testq	%rax, %rax
	je	LBB0_28
## %bb.27:
	movq	%rax, %r14
	movl	(%r12), %r15d
	leaq	L_.str.14(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_N_
	movl	12(%rbx), %r8d
	movl	%r15d, %edi
	movl	$1, %esi
	movq	%r14, %rdx
	movq	%rax, %rcx
	xorl	%eax, %eax
	callq	_krb5_err
LBB0_28:
	movl	(%r12), %edi
	movl	-64(%rbp), %esi
	callq	_krb5_free_principal
	jmp	LBB0_38
LBB0_7:
	xorl	%r14d, %r14d
	leaq	-76(%rbp), %rbx
	leaq	-72(%rbp), %r12
	xorl	%r15d, %r15d
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	(%r13), %edi
	movl	-80(%rbp), %esi
	movq	%r12, %rdx
	callq	_krb5_cc_cache_next
	testq	%rax, %rax
	jne	LBB0_11
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %edi
	movq	-72(%rbp), %rsi
	movq	%rbx, %rdx
	callq	_krb5_cc_get_principal
	testq	%rax, %rax
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movl	(%r13), %edi
	movl	-76(%rbp), %esi
	leaq	-96(%rbp), %rdx
	callq	_krb5_unparse_name
	movl	(%r13), %edi
	movl	-76(%rbp), %esi
	callq	_krb5_free_principal
	leaq	1(%r15), %r12
	leaq	-64(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$10, %esi
	leaq	L_.str.8(%rip), %rdx
	movl	%r12d, %ecx
	callq	_snprintf
	movq	%r14, -104(%rbp)                ## 8-byte Spill
	movq	%r13, %r14
	movl	-84(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, %edi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	callq	_rtbl_add_column_entry_by_id
	movq	-96(%rbp), %rdx
	movl	%r13d, %edi
	movl	$1, %esi
	callq	_rtbl_add_column_entry_by_id
	movl	(%r14), %edi
	movq	-72(%rbp), %rsi
	callq	_krb5_cc_get_type
	movl	%r13d, %edi
	movq	%r14, %r13
	movl	$2, %esi
	movq	%rax, %rdx
	callq	_rtbl_add_column_entry_by_id
	movq	-96(%rbp), %rdi
	callq	_free
	leaq	8(,%r15,8), %rsi
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	callq	_erealloc
	movq	%rax, %r14
	movq	-72(%rbp), %rax
	movq	%rax, (%r14,%r15,8)
	movq	%r12, %r15
	leaq	-72(%rbp), %r12
	leaq	-76(%rbp), %rbx
	jmp	LBB0_10
LBB0_17:
	movl	(%r13), %edi
	leaq	L_.str.12(%rip), %rdx
	movl	$1, %esi
	xorl	%eax, %eax
	callq	_krb5_errx
	testq	%r15, %r15
	je	LBB0_38
LBB0_19:
	xorl	%ebx, %ebx
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_20 Depth=1
	incq	%rbx
	cmpq	%rbx, %r15
	je	LBB0_38
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r14,%rbx,8), %rsi
	testq	%rsi, %rsi
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=1
	movl	(%r13), %edi
	callq	_krb5_cc_close
	jmp	LBB0_22
LBB0_13:
	movl	(%r13), %edi
	leaq	L_.str.10(%rip), %rdx
	movl	$1, %esi
	movq	%r12, %rcx
	xorl	%eax, %eax
	callq	_krb5_errx
	cmpq	%r15, %rbx
	ja	LBB0_15
	jmp	LBB0_16
LBB0_29:
	cmpq	$0, (%rbx)
	je	LBB0_37
## %bb.30:
	movq	_kcc_context@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movl	8(%rbx), %esi
	callq	_krb5_cc_get_prefix_ops
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_32
## %bb.31:
	movl	(%r15), %edi
	leaq	L_.str.15(%rip), %rcx
	movl	$1, %esi
	xorl	%edx, %edx
	xorl	%eax, %eax
	callq	_krb5_err
LBB0_32:
	movl	(%r14), %edx
	movq	(%rbx), %rcx
	leaq	L_.str.16(%rip), %rsi
	leaq	-64(%rbp), %rdi
	callq	_asprintf
	movq	-64(%rbp), %rsi
	testq	%rsi, %rsi
	jne	LBB0_34
## %bb.33:
	movl	(%r15), %ebx
	leaq	L_.str.17(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_N_
	movl	%ebx, %edi
	movl	$1, %esi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_krb5_errx
	movq	-64(%rbp), %rsi
LBB0_34:
	movl	(%r15), %edi
	leaq	-72(%rbp), %rdx
	callq	_krb5_cc_resolve
	testq	%rax, %rax
	je	LBB0_36
## %bb.35:
	movl	(%r15), %edi
	movq	-64(%rbp), %r8
	leaq	L_.str.18(%rip), %rcx
	movl	$1, %esi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_krb5_err
LBB0_36:
	movq	-64(%rbp), %rdi
	callq	_free
	jmp	LBB0_38
LBB0_37:
	movq	_kcc_context@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.19(%rip), %rdx
	movl	$1, %esi
	xorl	%eax, %eax
	callq	_krb5_errx
LBB0_38:
	movq	_kcc_context@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	-72(%rbp), %rsi
	callq	_krb5_cc_switch
	testq	%rax, %rax
	je	LBB0_40
## %bb.39:
	movl	(%rbx), %edi
	leaq	L_.str.20(%rip), %rcx
	movl	$1, %esi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_krb5_err
LBB0_40:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_42
## %bb.41:
	xorl	%eax, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_42:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_kcc_context,4,2                ## @kcc_context
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Both --cache and --principal given, choose one"

L_.str.1:                               ## @.str.1
	.space	1

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

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

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

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

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

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

L_.str.8:                               ## @.str.8
	.asciz	"%d"

	.comm	_stdout,4,2                     ## @stdout
L_.str.9:                               ## @.str.9
	.asciz	"Select number: "

L_.str.10:                              ## @.str.10
	.asciz	"Cache number '%s' is invalid"

L_.str.11:                              ## @.str.11
	.asciz	"Cache number '%s' is too large"

L_.str.12:                              ## @.str.12
	.asciz	"No cache selected"

L_.str.13:                              ## @.str.13
	.asciz	"krb5_parse_name: %s"

L_.str.14:                              ## @.str.14
	.asciz	"Did not find principal: %s"

L_.str.15:                              ## @.str.15
	.asciz	"krb5_cc_get_prefix_ops"

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

L_.str.17:                              ## @.str.17
	.asciz	"out of memory"

L_.str.18:                              ## @.str.18
	.asciz	"krb5_cc_resolve: %s"

L_.str.19:                              ## @.str.19
	.asciz	"missing option for kswitch"

L_.str.20:                              ## @.str.20
	.asciz	"krb5_cc_switch"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kswitch                        ; -- Begin function kswitch
	.p2align	2
_kswitch:                               ; @kswitch
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #56]
	str	xzr, [sp, #32]
	ldr	x8, [x0]
Lloh3:
	adrp	x23, _kcc_context@GOTPAGE
Lloh4:
	ldr	x23, [x23, _kcc_context@GOTPAGEOFF]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	w8, [x19, #12]
	cbz	w8, LBB0_3
; %bb.2:
	ldr	w20, [x23]
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_N_
	mov	x2, x0
	mov	x0, x20
	mov	w1, #1
	bl	_krb5_errx
LBB0_3:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_13
; %bb.4:
	bl	_rtbl_create
	mov	x20, x0
Lloh9:
	adrp	x2, l_.str.2@PAGE
Lloh10:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	w1, #0
	mov	w3, #0
	bl	_rtbl_add_column_by_id
Lloh11:
	adrp	x2, l_.str.3@PAGE
Lloh12:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x20
	mov	w1, #1
	mov	w3, #0
	bl	_rtbl_add_column_by_id
Lloh13:
	adrp	x2, l_.str.4@PAGE
Lloh14:
	add	x2, x2, l_.str.4@PAGEOFF
Lloh15:
	adrp	x19, l_.str.1@PAGE
Lloh16:
	add	x19, x19, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	w1, #1
	mov	x3, x19
	bl	_rtbl_set_column_affix_by_id
Lloh17:
	adrp	x2, l_.str.5@PAGE
Lloh18:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	x0, x20
	mov	w1, #2
	mov	w3, #0
	bl	_rtbl_add_column_by_id
Lloh19:
	adrp	x2, l_.str.6@PAGE
Lloh20:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x0, x20
	mov	w1, #2
	mov	x3, x19
	bl	_rtbl_set_column_affix_by_id
	ldr	w0, [x23]
	add	x2, sp, #28
	mov	x1, #0
	bl	_krb5_cc_cache_get_first
	cbz	x0, LBB0_6
; %bb.5:
	mov	x2, x0
	ldr	w0, [x23]
Lloh21:
	adrp	x3, l_.str.7@PAGE
Lloh22:
	add	x3, x3, l_.str.7@PAGEOFF
	mov	w1, #1
	bl	_krb5_err
LBB0_6:
	ldr	w0, [x23]
	ldr	w1, [sp, #28]
	add	x2, sp, #32
	bl	_krb5_cc_cache_next
	cbz	x0, LBB0_19
; %bb.7:
	mov	x24, #0
	mov	x19, #0
LBB0_8:
	ldr	w0, [x23]
	ldr	w1, [sp, #28]
	bl	_krb5_cc_cache_end_seq_get
Lloh23:
	adrp	x8, _stdout@GOTPAGE
Lloh24:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_rtbl_format
	mov	x0, x20
	bl	_rtbl_destroy
Lloh26:
	adrp	x0, l_.str.9@PAGE
Lloh27:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_readline
	str	x0, [sp, #16]
	cbz	x0, LBB0_23
; %bb.9:
	mov	x21, x0
	bl	_atoi
	mov	x20, x0
	cbz	x0, LBB0_27
; %bb.10:
	cmp	x20, x24
	b.ls	LBB0_12
LBB0_11:
	ldr	w0, [x23]
	ldr	x8, [sp, #16]
	str	x8, [sp]
Lloh28:
	adrp	x2, l_.str.11@PAGE
Lloh29:
	add	x2, x2, l_.str.11@PAGEOFF
	mov	w1, #1
	bl	_krb5_errx
LBB0_12:
	add	x8, x19, x20, lsl #3
	ldur	x9, [x8, #-8]
	str	x9, [sp, #32]
	stur	xzr, [x8, #-8]
	cbnz	x24, LBB0_25
	b	LBB0_37
LBB0_13:
	ldr	w1, [x19, #12]
	cbz	w1, LBB0_28
; %bb.14:
	ldr	w0, [x23]
	add	x2, sp, #40
	bl	_krb5_parse_name
	cbz	x0, LBB0_16
; %bb.15:
	mov	x2, x0
	ldr	w0, [x23]
	ldr	w8, [x19, #12]
	str	x8, [sp]
Lloh30:
	adrp	x3, l_.str.13@PAGE
Lloh31:
	add	x3, x3, l_.str.13@PAGEOFF
	mov	w1, #1
	bl	_krb5_err
LBB0_16:
	ldr	w0, [x23]
	ldr	w1, [sp, #40]
	add	x2, sp, #32
	bl	_krb5_cc_cache_match
	cbz	x0, LBB0_18
; %bb.17:
	mov	x20, x0
	ldr	w21, [x23]
Lloh32:
	adrp	x0, l_.str.14@PAGE
Lloh33:
	add	x0, x0, l_.str.14@PAGEOFF
Lloh34:
	adrp	x1, l_.str.1@PAGE
Lloh35:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_N_
	mov	x3, x0
	ldr	w8, [x19, #12]
	str	x8, [sp]
	mov	x0, x21
	mov	w1, #1
	mov	x2, x20
	bl	_krb5_err
LBB0_18:
	ldr	w0, [x23]
	ldr	w1, [sp, #40]
	bl	_krb5_free_principal
	b	LBB0_37
LBB0_19:
	mov	x19, #0
	mov	x24, #0
Lloh36:
	adrp	x21, l_.str.8@PAGE
Lloh37:
	add	x21, x21, l_.str.8@PAGEOFF
	b	LBB0_21
LBB0_20:                                ;   in Loop: Header=BB0_21 Depth=1
	ldr	w0, [x23]
	ldr	w1, [sp, #28]
	add	x2, sp, #32
	bl	_krb5_cc_cache_next
	cbnz	x0, LBB0_8
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x23]
	ldr	x1, [sp, #32]
	add	x2, sp, #12
	bl	_krb5_cc_get_principal
	cbnz	x0, LBB0_20
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=1
	ldr	w0, [x23]
	ldr	w1, [sp, #12]
	add	x2, sp, #16
	bl	_krb5_unparse_name
	ldr	w0, [x23]
	ldr	w1, [sp, #12]
	bl	_krb5_free_principal
	add	x22, x24, #1
	add	x0, sp, #40
	mov	w1, #10
	mov	x2, x21
	mov	x3, x22
	bl	_snprintf
	add	x2, sp, #40
	mov	x0, x20
	mov	w1, #0
	bl	_rtbl_add_column_entry_by_id
	ldr	x2, [sp, #16]
	mov	x0, x20
	mov	w1, #1
	bl	_rtbl_add_column_entry_by_id
	ldr	w0, [x23]
	ldr	x1, [sp, #32]
	bl	_krb5_cc_get_type
	mov	x2, x0
	mov	x0, x20
	mov	w1, #2
	bl	_rtbl_add_column_entry_by_id
	ldr	x0, [sp, #16]
	bl	_free
	lsl	x1, x22, #3
	mov	x0, x19
	bl	_erealloc
	mov	x19, x0
	ldr	x8, [sp, #32]
	str	x8, [x0, x24, lsl #3]
	mov	x24, x22
	b	LBB0_20
LBB0_23:
	ldr	w0, [x23]
Lloh38:
	adrp	x2, l_.str.12@PAGE
Lloh39:
	add	x2, x2, l_.str.12@PAGEOFF
	mov	w1, #1
	bl	_krb5_errx
	cbnz	x24, LBB0_25
	b	LBB0_37
LBB0_24:                                ;   in Loop: Header=BB0_25 Depth=1
	add	x19, x19, #8
	subs	x24, x24, #1
	b.eq	LBB0_37
LBB0_25:                                ; =>This Inner Loop Header: Depth=1
	ldr	x1, [x19]
	cbz	x1, LBB0_24
; %bb.26:                               ;   in Loop: Header=BB0_25 Depth=1
	ldr	w0, [x23]
	bl	_krb5_cc_close
	b	LBB0_24
LBB0_27:
	ldr	w0, [x23]
	str	x21, [sp]
Lloh40:
	adrp	x2, l_.str.10@PAGE
Lloh41:
	add	x2, x2, l_.str.10@PAGEOFF
	mov	w1, #1
	bl	_krb5_errx
	cmp	x20, x24
	b.hi	LBB0_11
	b	LBB0_12
LBB0_28:
	ldr	x8, [x19]
	cbz	x8, LBB0_36
; %bb.29:
	ldr	w0, [x23]
	ldr	w1, [x19, #8]
	bl	_krb5_cc_get_prefix_ops
	mov	x20, x0
	cbnz	x0, LBB0_31
; %bb.30:
	ldr	w0, [x23]
Lloh42:
	adrp	x3, l_.str.15@PAGE
Lloh43:
	add	x3, x3, l_.str.15@PAGEOFF
	mov	w1, #1
	mov	x2, #0
	bl	_krb5_err
LBB0_31:
	ldr	w2, [x20]
	ldr	x3, [x19]
Lloh44:
	adrp	x1, l_.str.16@PAGE
Lloh45:
	add	x1, x1, l_.str.16@PAGEOFF
	add	x0, sp, #40
	bl	_asprintf
	ldr	x1, [sp, #40]
	cbnz	x1, LBB0_33
; %bb.32:
	ldr	w19, [x23]
Lloh46:
	adrp	x0, l_.str.17@PAGE
Lloh47:
	add	x0, x0, l_.str.17@PAGEOFF
Lloh48:
	adrp	x1, l_.str.1@PAGE
Lloh49:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_N_
	mov	x2, x0
	mov	x0, x19
	mov	w1, #1
	bl	_krb5_errx
	ldr	x1, [sp, #40]
LBB0_33:
	ldr	w0, [x23]
	add	x2, sp, #32
	bl	_krb5_cc_resolve
	cbz	x0, LBB0_35
; %bb.34:
	mov	x2, x0
	ldr	w0, [x23]
	ldr	x8, [sp, #40]
	str	x8, [sp]
Lloh50:
	adrp	x3, l_.str.18@PAGE
Lloh51:
	add	x3, x3, l_.str.18@PAGEOFF
	mov	w1, #1
	bl	_krb5_err
LBB0_35:
	ldr	x0, [sp, #40]
	bl	_free
	b	LBB0_37
LBB0_36:
	ldr	w0, [x23]
Lloh52:
	adrp	x2, l_.str.19@PAGE
Lloh53:
	add	x2, x2, l_.str.19@PAGEOFF
	mov	w1, #1
	bl	_krb5_errx
LBB0_37:
	ldr	w0, [x23]
	ldr	x1, [sp, #32]
	bl	_krb5_cc_switch
	cbz	x0, LBB0_39
; %bb.38:
	mov	x2, x0
	ldr	w0, [x23]
Lloh54:
	adrp	x3, l_.str.20@PAGE
Lloh55:
	add	x3, x3, l_.str.20@PAGEOFF
	mov	w1, #1
	bl	_krb5_err
LBB0_39:
	ldr	x8, [sp, #56]
Lloh56:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh57:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh58:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_41
; %bb.40:
	mov	w0, #0
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_41:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.cfi_endproc
                                        ; -- End function
	.comm	_kcc_context,4,2                ; @kcc_context
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Both --cache and --principal given, choose one"

l_.str.1:                               ; @.str.1
	.space	1

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

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

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

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

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

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

l_.str.8:                               ; @.str.8
	.asciz	"%d"

	.comm	_stdout,4,2                     ; @stdout
l_.str.9:                               ; @.str.9
	.asciz	"Select number: "

l_.str.10:                              ; @.str.10
	.asciz	"Cache number '%s' is invalid"

l_.str.11:                              ; @.str.11
	.asciz	"Cache number '%s' is too large"

l_.str.12:                              ; @.str.12
	.asciz	"No cache selected"

l_.str.13:                              ; @.str.13
	.asciz	"krb5_parse_name: %s"

l_.str.14:                              ; @.str.14
	.asciz	"Did not find principal: %s"

l_.str.15:                              ; @.str.15
	.asciz	"krb5_cc_get_prefix_ops"

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

l_.str.17:                              ; @.str.17
	.asciz	"out of memory"

l_.str.18:                              ; @.str.18
	.asciz	"krb5_cc_resolve: %s"

l_.str.19:                              ; @.str.19
	.asciz	"missing option for kswitch"

l_.str.20:                              ; @.str.20
	.asciz	"krb5_cc_switch"

.subsections_via_symbols
