	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function build_conf_principals
_build_conf_principals:                 ## @build_conf_principals
	.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
	movq	%r8, %r14
	movq	%rcx, %r15
	movq	%rdx, %r13
	movl	%esi, %ebx
	movl	%edi, %r12d
	movq	$0, -56(%rbp)
	movq	%r8, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	leaq	-44(%rbp), %rdx
	movl	%r12d, %edi
	movl	%ebx, %esi
	callq	_krb5_cc_get_principal
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_8
## %bb.1:
	testq	%r13, %r13
	je	LBB0_2
## %bb.3:
	leaq	-56(%rbp), %rdx
	movl	%r12d, %edi
	movq	%r13, %rsi
	callq	_krb5_unparse_name
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_8
## %bb.4:
	movq	-56(%rbp), %r9
	jmp	LBB0_5
LBB0_2:
	xorl	%r9d, %r9d
LBB0_5:
	leaq	4(%r14), %rsi
	movq	_KRB5_REALM_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_KRB5_CONF_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	$0, (%rsp)
	movl	%r12d, %edi
	movq	%r15, %r8
	callq	_krb5_make_principal
	movq	%rax, %rbx
	movq	-56(%rbp), %rdi
	callq	_free
	movl	-44(%rbp), %esi
	testq	%rbx, %rbx
	jne	LBB0_7
## %bb.6:
	movl	%r12d, %edi
	movq	%r14, %rdx
	callq	_krb5_copy_principal
	movq	%rax, %rbx
	movl	-44(%rbp), %esi
LBB0_7:
	movl	%r12d, %edi
	callq	_krb5_free_principal
LBB0_8:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_KRB5_REALM_NAME,4,2            ## @KRB5_REALM_NAME
	.comm	_KRB5_CONF_NAME,4,2             ## @KRB5_CONF_NAME
	.no_dead_strip	_build_conf_principals
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function build_conf_principals
_build_conf_principals:                 ; @build_conf_principals
	.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	x20, x4
	mov	x21, x3
	mov	x23, x2
	mov	x22, x1
	mov	x19, x0
	str	xzr, [sp]
	mov	x0, x4
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	add	x2, sp, #12
	mov	x0, x19
	mov	x1, x22
	bl	_krb5_cc_get_principal
	mov	x22, x0
	cbnz	x0, LBB0_8
; %bb.1:
	cbz	x23, LBB0_4
; %bb.2:
	mov	x2, sp
	mov	x0, x19
	mov	x1, x23
	bl	_krb5_unparse_name
	mov	x22, x0
	cbnz	x0, LBB0_8
; %bb.3:
	ldr	x5, [sp]
	b	LBB0_5
LBB0_4:
	mov	x5, #0
LBB0_5:
	add	x1, x20, #4
Lloh0:
	adrp	x8, _KRB5_REALM_NAME@GOTPAGE
Lloh1:
	ldr	x8, [x8, _KRB5_REALM_NAME@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x8, _KRB5_CONF_NAME@GOTPAGE
Lloh4:
	ldr	x8, [x8, _KRB5_CONF_NAME@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x4, x21
	mov	x6, #0
	bl	_krb5_make_principal
	mov	x22, x0
	ldr	x0, [sp]
	bl	_free
	ldr	w1, [sp, #12]
	cbnz	x22, LBB0_7
; %bb.6:
	mov	x0, x19
	mov	x2, x20
	bl	_krb5_copy_principal
	mov	x22, x0
	ldr	w1, [sp, #12]
LBB0_7:
	mov	x0, x19
	bl	_krb5_free_principal
LBB0_8:
	mov	x0, x22
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_KRB5_REALM_NAME,4,2            ; @KRB5_REALM_NAME
	.comm	_KRB5_CONF_NAME,4,2             ; @KRB5_CONF_NAME
	.no_dead_strip	_build_conf_principals
.subsections_via_symbols
