	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function v5_convert
_v5_convert:                            ## @v5_convert
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r14
	movl	%ecx, %r15d
	movq	%rdx, %r12
	movl	%edi, %r13d
	movq	%r8, %rdi
	callq	_strdup
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%rax, %rdi
	movq	%rax, %rsi
	callq	__kafs_foldup
	leaq	L_.str(%rip), %rsi
	leaq	L_.str.1(%rip), %rcx
	leaq	L_.str.2(%rip), %r8
	leaq	-48(%rbp), %r9
	movl	%r13d, %edi
	movq	%rbx, %rdx
	callq	_krb5_appdefault_string
	movq	%rbx, %rdi
	callq	_free
	movq	-48(%rbp), %rbx
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcasecmp
	xorl	%ecx, %ecx
	testq	%rax, %rax
	sete	%cl
	jmp	LBB0_5
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_6
LBB0_3:
	movl	$1, %ecx
LBB0_5:
	movq	%r12, %rdi
	movl	%r15d, %esi
	movq	%r14, %rdx
	callq	_v5_to_kt
	movl	%eax, %ebx
	movq	-48(%rbp), %rdi
	callq	_free
LBB0_6:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"libkafs"

L_.str.1:                               ## @.str.1
	.asciz	"afs-use-524"

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

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

	.no_dead_strip	_v5_convert
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function v5_convert
_v5_convert:                            ; @v5_convert
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x5
	mov	x20, x3
	mov	x21, x2
	mov	x22, x0
	mov	x0, x4
	bl	_strdup
	cbz	x0, LBB0_3
; %bb.1:
	mov	x23, x0
	mov	x1, x0
	bl	__kafs_foldup
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
Lloh2:
	adrp	x3, l_.str.1@PAGE
Lloh3:
	add	x3, x3, l_.str.1@PAGEOFF
Lloh4:
	adrp	x4, l_.str.2@PAGE
Lloh5:
	add	x4, x4, l_.str.2@PAGEOFF
	add	x5, sp, #8
	mov	x0, x22
	mov	x2, x23
	bl	_krb5_appdefault_string
	mov	x0, x23
	bl	_free
	ldr	x22, [sp, #8]
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x22
	bl	_strcasecmp
	cbz	x0, LBB0_4
; %bb.2:
Lloh8:
	adrp	x1, l_.str.2@PAGE
Lloh9:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x22
	bl	_strcasecmp
	cmp	x0, #0
	cset	w3, eq
	b	LBB0_5
LBB0_3:
Lloh10:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh12:
	ldr	w19, [x8]
	b	LBB0_6
LBB0_4:
	mov	w3, #1
LBB0_5:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_v5_to_kt
	mov	x19, x0
	ldr	x0, [sp, #8]
	bl	_free
LBB0_6:
	mov	x0, x19
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"libkafs"

l_.str.1:                               ; @.str.1
	.asciz	"afs-use-524"

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

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

	.no_dead_strip	_v5_convert
.subsections_via_symbols
