	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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
	movq	%rsi, %rbx
	movl	%edi, %r14d
	movl	$0, -44(%rbp)
	movq	(%rsi), %rdi
	callq	_setprogname
	movq	_args@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_num_args@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-44(%rbp), %r8
	movl	%r14d, %edx
	movq	%rbx, %rcx
	callq	_getarg
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	$1, %edi
	callq	_usage
LBB0_2:
	movq	_help_flag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.3:
	xorl	%edi, %edi
	callq	_usage
LBB0_4:
	movq	_version_flag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_39
## %bb.5:
	cmpl	%r14d, -44(%rbp)
	je	LBB0_7
## %bb.6:
	movl	$1, %edi
	callq	_usage
LBB0_7:
	leaq	-28(%rbp), %rdi
	callq	_krb5_init_context
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	movq	%rax, %rdx
	callq	_errx
LBB0_9:
	movq	_all_flag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_20
## %bb.10:
	movl	-28(%rbp), %edi
	leaq	-32(%rbp), %rsi
	callq	_krb5_cccol_cursor_new
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movl	-28(%rbp), %edi
	leaq	L_.str.1(%rip), %rcx
	movl	$1, %esi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_krb5_err
LBB0_12:
	movl	-28(%rbp), %edi
	movl	-32(%rbp), %esi
	leaq	-40(%rbp), %rdx
	callq	_krb5_cccol_cursor_next
	xorl	%r14d, %r14d
	testq	%rax, %rax
	jne	LBB0_19
## %bb.13:
	movq	-40(%rbp), %rsi
	testq	%rsi, %rsi
	je	LBB0_19
## %bb.14:
	xorl	%r14d, %r14d
	leaq	-40(%rbp), %rbx
	leaq	L_.str.2(%rip), %r15
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movl	-28(%rbp), %edi
	callq	_krb5_cc_destroy
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	movl	-28(%rbp), %edi
	movq	%rax, %rsi
	movq	%r15, %rdx
	callq	_krb5_warn
	movl	$1, %r14d
LBB0_17:                                ##   in Loop: Header=BB0_15 Depth=1
	movl	-28(%rbp), %edi
	movl	-32(%rbp), %esi
	movq	%rbx, %rdx
	callq	_krb5_cccol_cursor_next
	testq	%rax, %rax
	jne	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	-40(%rbp), %rsi
	testq	%rsi, %rsi
	jne	LBB0_15
LBB0_19:
	movl	-28(%rbp), %edi
	leaq	-32(%rbp), %rsi
	callq	_krb5_cccol_cursor_free
	jmp	LBB0_35
LBB0_20:
	movq	_cache@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movl	-28(%rbp), %edi
	testq	%rsi, %rsi
	je	LBB0_21
## %bb.24:
	leaq	-40(%rbp), %rdx
	callq	_krb5_cc_resolve
	testq	%rax, %rax
	je	LBB0_26
## %bb.25:
	movl	-28(%rbp), %edi
	leaq	L_.str.4(%rip), %rcx
	jmp	LBB0_23
LBB0_21:
	leaq	-40(%rbp), %rsi
	callq	_krb5_cc_default
	testq	%rax, %rax
	je	LBB0_26
## %bb.22:
	movl	-28(%rbp), %edi
	leaq	L_.str.3(%rip), %rcx
LBB0_23:
	xorl	%r14d, %r14d
	movl	$1, %esi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_krb5_err
LBB0_35:
	movl	-28(%rbp), %edi
	callq	_krb5_free_context
	movq	_unlog_flag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_38
## %bb.36:
	xorl	%eax, %eax
	callq	_k_hasafs
	testq	%rax, %rax
	je	LBB0_38
## %bb.37:
	xorl	%eax, %eax
	callq	_k_unlog
	testq	%rax, %rax
	movl	$1, %eax
	cmovnel	%eax, %r14d
LBB0_38:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_26:
	movq	_credential@GOTPCREL(%rip), %r15
	cmpq	$0, (%r15)
	je	LBB0_32
## %bb.27:
	leaq	-32(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_krb5_cc_clear_mcred
	movl	-28(%rbp), %edi
	movq	(%r15), %rsi
	movq	%rbx, %rdx
	callq	_krb5_parse_name
	testq	%rax, %rax
	je	LBB0_29
## %bb.28:
	movl	-28(%rbp), %edi
	movq	(%r15), %r8
	leaq	L_.str.5(%rip), %rcx
	movl	$1, %esi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_krb5_err
LBB0_29:
	movl	-28(%rbp), %edi
	movq	-40(%rbp), %rsi
	xorl	%r14d, %r14d
	leaq	-32(%rbp), %rcx
	xorl	%edx, %edx
	callq	_krb5_cc_remove_cred
	testq	%rax, %rax
	je	LBB0_31
## %bb.30:
	movl	-28(%rbp), %edi
	movq	(%r15), %r8
	leaq	L_.str.6(%rip), %rcx
	movl	$1, %esi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_krb5_err
LBB0_31:
	movl	-28(%rbp), %edi
	movq	-40(%rbp), %rsi
	callq	_krb5_cc_close
	movl	-28(%rbp), %edi
	movl	-32(%rbp), %esi
	callq	_krb5_free_principal
	movl	-28(%rbp), %edi
	callq	_krb5_free_context
	jmp	LBB0_38
LBB0_32:
	movl	-28(%rbp), %edi
	movq	-40(%rbp), %rsi
	callq	_krb5_cc_destroy
	testq	%rax, %rax
	je	LBB0_33
## %bb.34:
	movl	-28(%rbp), %edi
	leaq	L_.str.2(%rip), %rdx
	movq	%rax, %rsi
	callq	_krb5_warn
	movl	$1, %r14d
	jmp	LBB0_35
LBB0_33:
	xorl	%r14d, %r14d
	jmp	LBB0_35
LBB0_39:
	xorl	%edi, %edi
	callq	_print_version
	xorl	%edi, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_args,4,2                       ## @args
	.comm	_num_args,4,2                   ## @num_args
	.comm	_help_flag,8,3                  ## @help_flag
	.comm	_version_flag,8,3               ## @version_flag
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"krb5_init_context failed: %d"

	.comm	_all_flag,8,3                   ## @all_flag
L_.str.1:                               ## @.str.1
	.asciz	"krb5_cccol_cursor_new"

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

	.comm	_cache,8,3                      ## @cache
L_.str.3:                               ## @.str.3
	.asciz	"krb5_cc_default"

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

	.comm	_credential,8,3                 ## @credential
L_.str.5:                               ## @.str.5
	.asciz	"Can't parse principal %s"

L_.str.6:                               ## @.str.6
	.asciz	"Failed to remove principal %s"

	.comm	_unlog_flag,8,3                 ## @unlog_flag
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.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	wzr, [sp, #12]
	ldr	x0, [x1]
	bl	_setprogname
Lloh0:
	adrp	x8, _args@GOTPAGE
Lloh1:
	ldr	x8, [x8, _args@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _num_args@GOTPAGE
Lloh4:
	ldr	x8, [x8, _num_args@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x4, sp, #12
	mov	x2, x19
	mov	x3, x20
	bl	_getarg
	cbz	x0, LBB0_2
; %bb.1:
	mov	w0, #1
	bl	_usage
LBB0_2:
Lloh6:
	adrp	x8, _help_flag@GOTPAGE
Lloh7:
	ldr	x8, [x8, _help_flag@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.3:
	mov	w0, #0
	bl	_usage
LBB0_4:
Lloh9:
	adrp	x8, _version_flag@GOTPAGE
Lloh10:
	ldr	x8, [x8, _version_flag@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cbnz	x8, LBB0_38
; %bb.5:
	ldr	w8, [sp, #12]
	cmp	w8, w19
	b.eq	LBB0_7
; %bb.6:
	mov	w0, #1
	bl	_usage
LBB0_7:
	sub	x0, x29, #20
	bl	_krb5_init_context
	cbz	x0, LBB0_9
; %bb.8:
	mov	x2, x0
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_9:
Lloh14:
	adrp	x8, _all_flag@GOTPAGE
Lloh15:
	ldr	x8, [x8, _all_flag@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	cbz	x8, LBB0_19
; %bb.10:
	ldur	w0, [x29, #-20]
	add	x1, sp, #8
	bl	_krb5_cccol_cursor_new
	cbz	x0, LBB0_12
; %bb.11:
	mov	x2, x0
	ldur	w0, [x29, #-20]
Lloh17:
	adrp	x3, l_.str.1@PAGE
Lloh18:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	w1, #1
	bl	_krb5_err
LBB0_12:
	ldur	w0, [x29, #-20]
	ldr	w1, [sp, #8]
	add	x2, sp, #16
	bl	_krb5_cccol_cursor_next
	mov	w19, #0
	cbnz	x0, LBB0_18
; %bb.13:
	ldr	x1, [sp, #16]
	cbz	x1, LBB0_18
; %bb.14:
	mov	w19, #0
Lloh19:
	adrp	x20, l_.str.2@PAGE
Lloh20:
	add	x20, x20, l_.str.2@PAGEOFF
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=1
	ldur	w0, [x29, #-20]
	ldr	w1, [sp, #8]
	add	x2, sp, #16
	bl	_krb5_cccol_cursor_next
	ldr	x1, [sp, #16]
	cmp	x0, #0
	ccmp	x1, #0, #4, eq
	b.eq	LBB0_18
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldur	w0, [x29, #-20]
	bl	_krb5_cc_destroy
	cbz	x0, LBB0_15
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	x1, x0
	ldur	w0, [x29, #-20]
	mov	x2, x20
	bl	_krb5_warn
	mov	w19, #1
	b	LBB0_15
LBB0_18:
	ldur	w0, [x29, #-20]
	add	x1, sp, #8
	bl	_krb5_cccol_cursor_free
	b	LBB0_26
LBB0_19:
Lloh21:
	adrp	x8, _cache@GOTPAGE
Lloh22:
	ldr	x8, [x8, _cache@GOTPAGEOFF]
Lloh23:
	ldr	x1, [x8]
	ldur	w0, [x29, #-20]
	cbz	x1, LBB0_22
; %bb.20:
	add	x2, sp, #16
	bl	_krb5_cc_resolve
	cbz	x0, LBB0_30
; %bb.21:
	mov	x2, x0
	ldur	w0, [x29, #-20]
Lloh24:
	adrp	x3, l_.str.4@PAGE
Lloh25:
	add	x3, x3, l_.str.4@PAGEOFF
	b	LBB0_24
LBB0_22:
	add	x1, sp, #16
	bl	_krb5_cc_default
	cbz	x0, LBB0_30
; %bb.23:
	mov	x2, x0
	ldur	w0, [x29, #-20]
Lloh26:
	adrp	x3, l_.str.3@PAGE
Lloh27:
	add	x3, x3, l_.str.3@PAGEOFF
LBB0_24:
	mov	w1, #1
	bl	_krb5_err
LBB0_25:
	mov	w19, #0
LBB0_26:
	ldur	w0, [x29, #-20]
	bl	_krb5_free_context
Lloh28:
	adrp	x8, _unlog_flag@GOTPAGE
Lloh29:
	ldr	x8, [x8, _unlog_flag@GOTPAGEOFF]
Lloh30:
	ldr	x8, [x8]
	cbz	x8, LBB0_29
; %bb.27:
	bl	_k_hasafs
	cbz	x0, LBB0_29
; %bb.28:
	bl	_k_unlog
	cmp	x0, #0
	csinc	w19, w19, wzr, eq
LBB0_29:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_30:
Lloh31:
	adrp	x19, _credential@GOTPAGE
Lloh32:
	ldr	x19, [x19, _credential@GOTPAGEOFF]
	ldr	x8, [x19]
	cbz	x8, LBB0_36
; %bb.31:
	add	x0, sp, #8
	bl	_krb5_cc_clear_mcred
	ldur	w0, [x29, #-20]
	ldr	x1, [x19]
	add	x2, sp, #8
	bl	_krb5_parse_name
	cbz	x0, LBB0_33
; %bb.32:
	mov	x2, x0
	ldur	w0, [x29, #-20]
	ldr	x8, [x19]
	str	x8, [sp]
Lloh33:
	adrp	x3, l_.str.5@PAGE
Lloh34:
	add	x3, x3, l_.str.5@PAGEOFF
	mov	w1, #1
	bl	_krb5_err
LBB0_33:
	ldur	w0, [x29, #-20]
	ldr	x1, [sp, #16]
	add	x3, sp, #8
	mov	w2, #0
	bl	_krb5_cc_remove_cred
	cbz	x0, LBB0_35
; %bb.34:
	mov	x2, x0
	ldur	w0, [x29, #-20]
	ldr	x8, [x19]
	str	x8, [sp]
Lloh35:
	adrp	x3, l_.str.6@PAGE
Lloh36:
	add	x3, x3, l_.str.6@PAGEOFF
	mov	w1, #1
	bl	_krb5_err
LBB0_35:
	ldur	w0, [x29, #-20]
	ldr	x1, [sp, #16]
	bl	_krb5_cc_close
	ldur	w0, [x29, #-20]
	ldr	w1, [sp, #8]
	bl	_krb5_free_principal
	ldur	w0, [x29, #-20]
	bl	_krb5_free_context
	mov	w19, #0
	b	LBB0_29
LBB0_36:
	ldur	w0, [x29, #-20]
	ldr	x1, [sp, #16]
	bl	_krb5_cc_destroy
	cbz	x0, LBB0_25
; %bb.37:
	mov	x1, x0
	ldur	w0, [x29, #-20]
Lloh37:
	adrp	x2, l_.str.2@PAGE
Lloh38:
	add	x2, x2, l_.str.2@PAGEOFF
	bl	_krb5_warn
	mov	w19, #1
	b	LBB0_26
LBB0_38:
	mov	x0, #0
	bl	_print_version
	mov	w0, #0
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_args,4,2                       ; @args
	.comm	_num_args,4,2                   ; @num_args
	.comm	_help_flag,8,3                  ; @help_flag
	.comm	_version_flag,8,3               ; @version_flag
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"krb5_init_context failed: %d"

	.comm	_all_flag,8,3                   ; @all_flag
l_.str.1:                               ; @.str.1
	.asciz	"krb5_cccol_cursor_new"

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

	.comm	_cache,8,3                      ; @cache
l_.str.3:                               ; @.str.3
	.asciz	"krb5_cc_default"

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

	.comm	_credential,8,3                 ; @credential
l_.str.5:                               ; @.str.5
	.asciz	"Can't parse principal %s"

l_.str.6:                               ; @.str.6
	.asciz	"Failed to remove principal %s"

	.comm	_unlog_flag,8,3                 ; @unlog_flag
.subsections_via_symbols
