	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_cred_kdc_capath_worker
_get_cred_kdc_capath_worker:            ## @get_cred_kdc_capath_worker
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $r9d killed $r9d def $r9
	movq	%r9, -88(%rbp)                  ## 8-byte Spill
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movq	%rcx, %r13
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movl	%esi, -56(%rbp)                 ## 4-byte Spill
	movl	%edi, %r15d
	movq	24(%rbp), %rax
	movq	$0, (%rax)
	movq	(%rcx), %rsi
	callq	_krb5_principal_get_realm
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	8(%r13), %rsi
	movl	%r15d, %edi
	callq	_krb5_principal_get_realm
	movl	%eax, %r12d
	leaq	-80(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	(%r13), %rsi
	movl	%r15d, %edi
	movq	%rbx, %rdx
	callq	_krb5_copy_principal
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_34
## %bb.1:
	leaq	-72(%rbp), %rsi
	movq	_KRB5_TGS_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r15d, %edi
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edx
	movl	%r12d, %r8d
	xorl	%r9d, %r9d
	callq	_krb5_make_principal
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	%rax, %r14
	jmp	LBB0_3
LBB0_4:
	movl	%ebx, %r14d
	movq	32(%rbp), %rbx
	movq	-72(%rbp), %rdx
	movq	(%rbx), %rcx
	leaq	-112(%rbp), %r8
	movl	%r15d, %edi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	callq	_find_cred
	testq	%rax, %rax
	je	LBB0_5
## %bb.17:
	movq	(%r13), %rsi
	movq	8(%r13), %rdx
	movl	%r15d, %edi
	callq	_krb5_realm_compare
	testq	%rax, %rax
	je	LBB0_18
## %bb.35:
	movq	8(%r13), %rsi
	movq	_KRB5_CC_NOTFOUND@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %edi
	callq	_not_found
	movq	%rax, %r14
	jmp	LBB0_34
LBB0_5:
	movl	%r14d, %ebx
	movl	%r14d, %edi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_8
## %bb.6:
	movl	%ebx, %edi
	movl	%r12d, %esi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_7
LBB0_8:
	movl	-96(%rbp), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
LBB0_9:
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	movl	$1, %edi
	movl	$24, %esi
	callq	_calloc
	movq	24(%rbp), %rbx
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_10
## %bb.11:
	subq	$8, %rsp
	leaq	-112(%rbp), %r9
	movl	%r15d, %edi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	xorl	%ecx, %ecx
	movq	%r13, %r8
	pushq	%rax
	pushq	16(%rbp)
	pushq	%r14
	callq	_get_cred_kdc_address
	addq	$32, %rsp
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	%rax, %r14
	movq	(%rbx), %rdi
	callq	_free
	movq	$0, (%rbx)
	jmp	LBB0_16
LBB0_18:
	movq	%r13, -120(%rbp)                ## 8-byte Spill
	movl	%r12d, -52(%rbp)                ## 4-byte Spill
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	movl	-52(%rbp), %r12d                ## 4-byte Reload
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movl	%r15d, %edi
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	leaq	-80(%rbp), %rcx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	%rbx
	leaq	-112(%rbp), %rax
	pushq	%rax
	callq	_get_cred_kdc_capath
	addq	$16, %rsp
	testq	%rax, %rax
	jne	LBB0_20
## %bb.22:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	-112(%rbp), %rsi
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_19 Depth=1
	cmpl	$0, 16(%rsi)
	jne	LBB0_25
LBB0_24:                                ##   in Loop: Header=BB0_19 Depth=1
	movl	$0, 16(%rsi)
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_25:                                ##   in Loop: Header=BB0_19 Depth=1
	movl	%r15d, %edi
	movq	%rbx, %rdx
	callq	_add_cred
	testq	%rax, %rax
	jne	LBB0_20
## %bb.26:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	%rbx, %r13
	movq	-112(%rbp), %rax
	movq	8(%rax), %rax
	movq	(%rax), %rax
	movl	4(%rax), %ebx
	movl	%ebx, %edi
	movl	%r12d, %esi
	callq	_strcmp
	movq	%rax, %r14
	movq	-72(%rbp), %rsi
	movl	%r15d, %edi
	callq	_krb5_free_principal
	testq	%r14, %r14
	je	LBB0_29
## %bb.27:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	$0, -72(%rbp)
	movq	_KRB5_TGS_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r15d, %edi
	leaq	-72(%rbp), %rsi
	movl	%ebx, %edx
	movl	%r12d, %r8d
	xorl	%r9d, %r9d
	callq	_krb5_make_principal
	testq	%rax, %rax
	jne	LBB0_20
## %bb.28:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	-112(%rbp), %rsi
	movl	%r15d, %edi
	callq	_krb5_free_creds
	testq	%rax, %rax
	movq	%r13, %rbx
	je	LBB0_19
LBB0_20:
	movq	%rax, %r14
	jmp	LBB0_21
LBB0_10:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_N_
	movl	%r15d, %edi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_krb5_set_error_message
	jmp	LBB0_16
LBB0_13:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_15
## %bb.14:
	movq	(%rbx), %rax
	movl	$0, 16(%rax)
LBB0_15:
	xorl	%r14d, %r14d
LBB0_16:
	leaq	-112(%rbp), %rsi
	movl	%r15d, %edi
	callq	_krb5_free_cred_contents
LBB0_21:
	movq	-72(%rbp), %rsi
	movl	%r15d, %edi
	callq	_krb5_free_principal
LBB0_3:
	movq	-80(%rbp), %rsi
	movl	%r15d, %edi
	callq	_krb5_free_principal
LBB0_34:
	movq	%r14, %rax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_9
LBB0_29:
	movq	-80(%rbp), %rsi
	movl	%r15d, %edi
	callq	_krb5_free_principal
	movl	$1, %edi
	movl	$24, %esi
	callq	_calloc
	movq	24(%rbp), %r13
	movq	%rax, (%r13)
	testq	%rax, %rax
	je	LBB0_30
## %bb.31:
	movq	-112(%rbp), %r9
	subq	$8, %rsp
	xorl	%r14d, %r14d
	movl	%r15d, %edi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	xorl	%ecx, %ecx
	movq	-120(%rbp), %r8                 ## 8-byte Reload
	pushq	%rax
	pushq	16(%rbp)
	pushq	-88(%rbp)                       ## 8-byte Folded Reload
	callq	_get_cred_kdc_address
	addq	$32, %rsp
	testq	%rax, %rax
	je	LBB0_33
## %bb.32:
	movq	%rax, %rbx
	movq	(%r13), %rdi
	callq	_free
	movq	$0, (%r13)
	movq	%rbx, %r14
	jmp	LBB0_33
LBB0_30:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_N_
	movl	%r15d, %edi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_krb5_set_error_message
LBB0_33:
	movq	-112(%rbp), %rsi
	movl	%r15d, %edi
	callq	_krb5_free_creds
	jmp	LBB0_34
	.cfi_endproc
                                        ## -- End function
	.comm	_KRB5_TGS_NAME,4,2              ## @KRB5_TGS_NAME
	.comm	_ENOMEM,8,3                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"malloc: out of memory"

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

	.comm	_KRB5_CC_NOTFOUND,4,2           ## @KRB5_CC_NOTFOUND
	.no_dead_strip	_get_cred_kdc_capath_worker
.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_capath_worker
_get_cred_kdc_capath_worker:            ; @get_cred_kdc_capath_worker
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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	x27, x7
	str	x6, [sp, #24]                   ; 8-byte Folded Spill
	mov	x25, x5
	mov	x23, x4
	mov	x21, x3
	mov	x22, x2
	mov	x20, x1
	mov	x19, x0
	str	xzr, [x7]
	ldr	x1, [x3]
	bl	_krb5_principal_get_realm
	mov	x28, x0
	ldr	x1, [x21, #8]
	mov	x0, x19
	bl	_krb5_principal_get_realm
	mov	x24, x0
	add	x0, sp, #56
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	ldr	x1, [x21]
	add	x2, sp, #56
	mov	x0, x19
	bl	_krb5_copy_principal
	mov	x26, x0
	cbnz	x0, LBB0_28
; %bb.1:
	stp	w28, w25, [sp, #12]             ; 8-byte Folded Spill
	str	w22, [sp, #20]                  ; 4-byte Folded Spill
	add	x8, sp, #56
	add	x28, x8, #8
Lloh0:
	adrp	x8, _KRB5_TGS_NAME@GOTPAGE
Lloh1:
	ldr	x8, [x8, _KRB5_TGS_NAME@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x1, x28
	mov	x2, x23
	mov	x4, x24
	mov	x5, #0
	bl	_krb5_make_principal
	cbz	x0, LBB0_3
; %bb.2:
	mov	x26, x0
	b	LBB0_27
LBB0_3:
	ldr	x25, [x29, #16]
	ldr	x2, [sp, #64]
	ldr	x3, [x25]
	add	x4, sp, #32
	mov	x0, x19
	ldr	w1, [sp, #20]                   ; 4-byte Folded Reload
	bl	_find_cred
	cbz	x0, LBB0_6
; %bb.4:
	mov	x23, x21
	ldp	x1, x2, [x21]
	mov	x0, x19
	bl	_krb5_realm_compare
	cbz	x0, LBB0_12
; %bb.5:
	ldr	x1, [x23, #8]
Lloh3:
	adrp	x8, _KRB5_CC_NOTFOUND@GOTPAGE
Lloh4:
	ldr	x8, [x8, _KRB5_CC_NOTFOUND@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_not_found
	mov	x26, x0
	b	LBB0_28
LBB0_6:
	mov	x0, x23
	ldr	w1, [sp, #12]                   ; 4-byte Folded Reload
	bl	_strcmp
	mov	x25, x20
	cbnz	x0, LBB0_8
; %bb.7:
	mov	x0, x23
	mov	x1, x24
	bl	_strcmp
	cbz	x0, LBB0_29
LBB0_8:
	ldr	w28, [sp, #48]
LBB0_9:
	ldr	x22, [sp, #24]                  ; 8-byte Folded Reload
	ldp	w24, w20, [sp, #16]             ; 8-byte Folded Reload
	mov	w0, #1
	mov	w1, #24
	bl	_calloc
	str	x0, [x27]
	cbz	x0, LBB0_22
; %bb.10:
	str	x0, [sp]
	add	x5, sp, #32
	mov	x0, x19
	mov	x1, x20
	mov	x2, x25
	mov	x3, #0
	mov	x4, x21
	mov	x6, x24
	mov	x7, x22
	bl	_get_cred_kdc_address
	cbz	x0, LBB0_23
; %bb.11:
	mov	x26, x0
	ldr	x0, [x27]
	bl	_free
	str	xzr, [x27]
	b	LBB0_25
LBB0_12:
	mov	x21, x20
	mov	w8, #1
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
	ldr	w20, [sp, #20]                  ; 4-byte Folded Reload
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	add	x3, sp, #56
	add	x6, sp, #32
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	mov	x4, #0
	mov	x5, #0
	mov	x7, x25
	bl	_get_cred_kdc_capath
	cbnz	x0, LBB0_21
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	x1, [sp, #32]
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	w8, [x1, #16]
	cbnz	w8, LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_13 Depth=1
	str	wzr, [sp, #12]                  ; 4-byte Folded Spill
	str	wzr, [x1, #16]
LBB0_17:                                ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x19
	mov	x2, x25
	bl	_add_cred
	cbnz	x0, LBB0_21
; %bb.18:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	x8, [sp, #32]
	ldr	x8, [x8, #8]
	ldr	x8, [x8]
	ldr	w22, [x8, #4]
	mov	x0, x22
	mov	x1, x24
	bl	_strcmp
	mov	x26, x0
	ldr	x1, [sp, #64]
	mov	x0, x19
	bl	_krb5_free_principal
	cbz	x26, LBB0_30
; %bb.19:                               ;   in Loop: Header=BB0_13 Depth=1
	str	xzr, [sp, #64]
Lloh6:
	adrp	x8, _KRB5_TGS_NAME@GOTPAGE
Lloh7:
	ldr	x8, [x8, _KRB5_TGS_NAME@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x1, x28
	mov	x2, x22
	mov	x4, x24
	mov	x5, #0
	bl	_krb5_make_principal
	cbnz	x0, LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	x1, [sp, #32]
	mov	x0, x19
	bl	_krb5_free_creds
	cbz	x0, LBB0_13
LBB0_21:
	mov	x26, x0
	b	LBB0_26
LBB0_22:
Lloh9:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh11:
	ldr	x26, [x8]
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_N_
	mov	x2, x0
	mov	x0, x19
	mov	x1, x26
	bl	_krb5_set_error_message
	b	LBB0_25
LBB0_23:
	mov	x26, #0
	cbnz	w28, LBB0_25
; %bb.24:
	ldr	x8, [x27]
	str	wzr, [x8, #16]
LBB0_25:
	add	x1, sp, #32
	mov	x0, x19
	bl	_krb5_free_cred_contents
LBB0_26:
	ldr	x1, [sp, #64]
	mov	x0, x19
	bl	_krb5_free_principal
LBB0_27:
	ldr	x1, [sp, #56]
	mov	x0, x19
	bl	_krb5_free_principal
LBB0_28:
	mov	x0, x26
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_29:
	mov	w28, #1
	b	LBB0_9
LBB0_30:
	ldr	x1, [sp, #56]
	mov	x0, x19
	bl	_krb5_free_principal
	mov	w0, #1
	mov	w1, #24
	bl	_calloc
	str	x0, [x27]
	cbz	x0, LBB0_33
; %bb.31:
	ldp	x7, x5, [sp, #24]               ; 8-byte Folded Reload
	str	x0, [sp]
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	mov	x3, #0
	mov	x4, x23
	ldr	w6, [sp, #16]                   ; 4-byte Folded Reload
	bl	_get_cred_kdc_address
	mov	x26, x0
	cbz	x0, LBB0_34
; %bb.32:
	ldr	x0, [x27]
	bl	_free
	str	xzr, [x27]
	b	LBB0_34
LBB0_33:
Lloh16:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh18:
	ldr	x26, [x8]
Lloh19:
	adrp	x0, l_.str@PAGE
Lloh20:
	add	x0, x0, l_.str@PAGEOFF
Lloh21:
	adrp	x1, l_.str.1@PAGE
Lloh22:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_N_
	mov	x2, x0
	mov	x0, x19
	mov	x1, x26
	bl	_krb5_set_error_message
LBB0_34:
	ldr	x1, [sp, #32]
	mov	x0, x19
	bl	_krb5_free_creds
	b	LBB0_28
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_KRB5_TGS_NAME,4,2              ; @KRB5_TGS_NAME
	.comm	_ENOMEM,8,3                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"malloc: out of memory"

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

	.comm	_KRB5_CC_NOTFOUND,4,2           ; @KRB5_CC_NOTFOUND
	.no_dead_strip	_get_cred_kdc_capath_worker
.subsections_via_symbols
