	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_cred_kdc_address
_get_cred_kdc_address:                  ## @get_cred_kdc_address
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r14
	movq	%rcx, %r15
	movl	%esi, %r13d
	movl	%edi, %r12d
	movq	32(%rbp), %rax
	movq	24(%rbp), %rbx
	movl	16(%rbp), %r10d
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -80(%rbp)
	movq	$0, -64(%rbp)
	testq	%rcx, %rcx
	jne	LBB0_6
## %bb.1:
	cmpq	$0, 8(%r14)
	je	LBB0_2
## %bb.3:
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movq	(%r14), %rax
	movl	(%rax), %edx
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	L_.str(%rip), %rcx
	xorl	%r15d, %r15d
	leaq	-48(%rbp), %r9
	movl	%r12d, %edi
	xorl	%esi, %esi
	callq	_krb5_appdefault_boolean
	cmpl	$0, -48(%rbp)
	jne	LBB0_5
## %bb.4:
	leaq	-80(%rbp), %r15
	movl	%r12d, %edi
	movq	%r15, %rsi
	callq	_krb5_get_all_client_addrs
	movq	-80(%rbp), %rax
	testq	%rax, %rax
	cmoveq	%rax, %r15
LBB0_5:
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movl	16(%rbp), %eax
	movq	%rax, %r10
	movq	24(%rbp), %rbx
	movq	32(%rbp), %rax
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	jmp	LBB0_6
LBB0_2:
	xorl	%r15d, %r15d
LBB0_6:
	subq	$8, %rsp
	movl	%r12d, %edi
	movl	%r13d, %esi
	movq	%r15, %rcx
	movq	%r14, %r9
	pushq	%rax
	pushq	%rbx
	pushq	%r10
	callq	_get_cred_kdc
	addq	$32, %rsp
	movl	%eax, %ebx
	leaq	-80(%rbp), %rsi
	movl	%r12d, %edi
	callq	_krb5_free_addresses
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"no-addresses"

	.comm	_FALSE,4,2                      ## @FALSE
	.no_dead_strip	_get_cred_kdc_address
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_cred_kdc_address
_get_cred_kdc_address:                  ; @get_cred_kdc_address
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x7
	mov	x21, x6
	mov	x22, x5
	mov	x23, x4
	mov	x24, x2
	mov	x25, x1
	mov	x19, x0
	ldr	x26, [x29, #16]
	stp	xzr, xzr, [sp, #24]
	str	xzr, [sp, #40]
	cbz	x3, LBB0_2
LBB0_1:
	str	x26, [sp]
	mov	x0, x19
	mov	x1, x25
	mov	x2, x24
	mov	x4, x23
	mov	x5, x22
	mov	x6, x21
	mov	x7, x20
	bl	_get_cred_kdc
	mov	x20, x0
	add	x1, sp, #24
	mov	x0, x19
	bl	_krb5_free_addresses
	mov	x0, x20
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_2:
	ldr	x8, [x22, #8]
	cbz	x8, LBB0_5
; %bb.3:
	ldr	x8, [x22]
	ldr	w2, [x8]
Lloh0:
	adrp	x8, _FALSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh2:
	ldr	w4, [x8]
Lloh3:
	adrp	x3, l_.str@PAGE
Lloh4:
	add	x3, x3, l_.str@PAGEOFF
	add	x5, sp, #20
	mov	x0, x19
	mov	x1, #0
	bl	_krb5_appdefault_boolean
	mov	x3, #0
	ldr	w8, [sp, #20]
	cbnz	w8, LBB0_1
; %bb.4:
	add	x27, sp, #24
	add	x1, sp, #24
	mov	x0, x19
	bl	_krb5_get_all_client_addrs
	ldr	x8, [sp, #24]
	cmp	x8, #0
	csel	x3, xzr, x27, eq
	b	LBB0_1
LBB0_5:
	mov	x3, #0
	b	LBB0_1
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"no-addresses"

	.comm	_FALSE,4,2                      ; @FALSE
	.no_dead_strip	_get_cred_kdc_address
.subsections_via_symbols
