	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function kdc_get_next
_kdc_get_next:                          ## @kdc_get_next
	.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	%rdx, %r15
	movq	%rsi, %r13
	movq	%rdi, %r14
	movl	(%rsi), %eax
	movq	_KD_PLUGIN@GOTPCREL(%rip), %rbx
	testl	%eax, (%rbx)
	je	LBB0_5
LBB0_1:
	movq	_KD_CONFIG@GOTPCREL(%rip), %rbx
	testl	%eax, (%rbx)
	je	LBB0_7
LBB0_2:
	movq	_KD_CONFIG_EXISTS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_9
## %bb.3:
	movl	4(%r13), %ecx
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	movl	$1, %esi
LBB0_4:
	callq	__krb5_debug
	movq	_KRB5_KDC_UNREACH@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_28
LBB0_5:
	movq	_locate_service_kdc@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_plugin_get_hosts
	movl	(%rbx), %eax
	orl	%eax, (%r13)
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_get_next
	testq	%rax, %rax
	jne	LBB0_27
## %bb.19:
	movl	(%r13), %eax
	jmp	LBB0_1
LBB0_7:
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_config_get_hosts
	movl	(%rbx), %eax
	orl	%eax, (%r13)
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_get_next
	testq	%rax, %rax
	jne	LBB0_27
## %bb.20:
	movl	(%r13), %eax
	jmp	LBB0_2
LBB0_9:
	cmpq	$0, (%r14)
	je	LBB0_14
## %bb.10:
	movq	_KD_SRV_UDP@GOTPCREL(%rip), %rbx
	testl	%eax, (%rbx)
	jne	LBB0_12
## %bb.11:
	movq	_KD_LARGE_MSG@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_26
LBB0_12:
	movq	_KD_SRV_TCP@GOTPCREL(%rip), %rbx
	testl	%eax, (%rbx)
	je	LBB0_22
LBB0_13:
	movq	_KD_SRV_HTTP@GOTPCREL(%rip), %rbx
	testl	%eax, (%rbx)
	je	LBB0_24
LBB0_14:
	movq	_KD_FALLBACK@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %eax
	testl	%eax, (%r13)
	jne	LBB0_21
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	movl	8(%r13), %ebx
	movq	%r13, %rdi
	callq	_krbhst_get_default_proto
	movq	%r14, %rdi
	movq	%r13, %rsi
	leaq	L_.str.3(%rip), %rdx
	movl	%ebx, %ecx
	movl	%eax, %r8d
	callq	_fallback_get_hosts
	testq	%rax, %rax
	jne	LBB0_28
## %bb.17:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_get_next
	testq	%rax, %rax
	je	LBB0_15
	jmp	LBB0_27
LBB0_21:
	movl	4(%r13), %ecx
	leaq	L_.str.6(%rip), %rdx
	movq	%r14, %rdi
	xorl	%esi, %esi
	jmp	LBB0_4
LBB0_22:
	leaq	L_.str.4(%rip), %rdx
	leaq	L_.str.3(%rip), %rcx
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_srv_get_hosts
	movl	(%rbx), %eax
	orl	%eax, (%r13)
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_get_next
	testq	%rax, %rax
	jne	LBB0_27
## %bb.29:
	movl	(%r13), %eax
	jmp	LBB0_13
LBB0_24:
	leaq	L_.str.5(%rip), %rdx
	leaq	L_.str.3(%rip), %rcx
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_srv_get_hosts
	movl	(%rbx), %eax
	orl	%eax, (%r13)
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_get_next
	testq	%rax, %rax
	jne	LBB0_27
	jmp	LBB0_14
LBB0_26:
	leaq	L_.str.2(%rip), %rdx
	leaq	L_.str.3(%rip), %rcx
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_srv_get_hosts
	movl	(%rbx), %eax
	orl	%eax, (%r13)
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_get_next
	testq	%rax, %rax
	je	LBB0_30
LBB0_27:
	xorl	%eax, %eax
LBB0_28:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_30:
	movl	(%r13), %eax
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_KD_PLUGIN,4,2                  ## @KD_PLUGIN
	.comm	_locate_service_kdc,4,2         ## @locate_service_kdc
	.comm	_KD_CONFIG,4,2                  ## @KD_CONFIG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"kdc"

	.comm	_KD_CONFIG_EXISTS,4,2           ## @KD_CONFIG_EXISTS
L_.str.1:                               ## @.str.1
	.asciz	"Configuration exists for realm %s, wont go to DNS"

	.comm	_KRB5_KDC_UNREACH,8,3           ## @KRB5_KDC_UNREACH
	.comm	_KD_SRV_UDP,4,2                 ## @KD_SRV_UDP
	.comm	_KD_LARGE_MSG,4,2               ## @KD_LARGE_MSG
L_.str.2:                               ## @.str.2
	.asciz	"udp"

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

	.comm	_KD_SRV_TCP,4,2                 ## @KD_SRV_TCP
L_.str.4:                               ## @.str.4
	.asciz	"tcp"

	.comm	_KD_SRV_HTTP,4,2                ## @KD_SRV_HTTP
L_.str.5:                               ## @.str.5
	.asciz	"http"

	.comm	_KD_FALLBACK,4,2                ## @KD_FALLBACK
L_.str.6:                               ## @.str.6
	.asciz	"No KDC entries found for %s"

	.no_dead_strip	_kdc_get_next
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function kdc_get_next
_kdc_get_next:                          ; @kdc_get_next
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	ldr	w8, [x1]
Lloh0:
	adrp	x22, _KD_PLUGIN@GOTPAGE
Lloh1:
	ldr	x22, [x22, _KD_PLUGIN@GOTPAGEOFF]
	ldr	w9, [x22]
	tst	w9, w8
	b.eq	LBB0_5
LBB0_1:
Lloh2:
	adrp	x22, _KD_CONFIG@GOTPAGE
Lloh3:
	ldr	x22, [x22, _KD_CONFIG@GOTPAGEOFF]
	ldr	w9, [x22]
	tst	w9, w8
	b.eq	LBB0_7
LBB0_2:
Lloh4:
	adrp	x9, _KD_CONFIG_EXISTS@GOTPAGE
Lloh5:
	ldr	x9, [x9, _KD_CONFIG_EXISTS@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.3:
	ldr	w3, [x20, #4]
Lloh7:
	adrp	x2, l_.str.1@PAGE
Lloh8:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w1, #1
LBB0_4:
	bl	__krb5_debug
Lloh9:
	adrp	x8, _KRB5_KDC_UNREACH@GOTPAGE
Lloh10:
	ldr	x8, [x8, _KRB5_KDC_UNREACH@GOTPAGEOFF]
Lloh11:
	ldr	x0, [x8]
	b	LBB0_24
LBB0_5:
Lloh12:
	adrp	x8, _locate_service_kdc@GOTPAGE
Lloh13:
	ldr	x8, [x8, _locate_service_kdc@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_plugin_get_hosts
	ldr	w8, [x22]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
	mov	x0, x20
	mov	x1, x21
	bl	_get_next
	cbnz	x0, LBB0_23
; %bb.6:
	ldr	w8, [x20]
	b	LBB0_1
LBB0_7:
Lloh15:
	adrp	x2, l_.str@PAGE
Lloh16:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	bl	_config_get_hosts
	ldr	w8, [x22]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
	mov	x0, x20
	mov	x1, x21
	bl	_get_next
	cbnz	x0, LBB0_23
; %bb.8:
	ldr	w8, [x20]
	b	LBB0_2
LBB0_9:
	ldr	x9, [x19]
	cbz	x9, LBB0_14
; %bb.10:
Lloh17:
	adrp	x22, _KD_SRV_UDP@GOTPAGE
Lloh18:
	ldr	x22, [x22, _KD_SRV_UDP@GOTPAGEOFF]
	ldr	w9, [x22]
	tst	w9, w8
	b.ne	LBB0_12
; %bb.11:
Lloh19:
	adrp	x9, _KD_LARGE_MSG@GOTPAGE
Lloh20:
	ldr	x9, [x9, _KD_LARGE_MSG@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_22
LBB0_12:
Lloh22:
	adrp	x22, _KD_SRV_TCP@GOTPAGE
Lloh23:
	ldr	x22, [x22, _KD_SRV_TCP@GOTPAGEOFF]
	ldr	w9, [x22]
	tst	w9, w8
	b.eq	LBB0_19
LBB0_13:
Lloh24:
	adrp	x22, _KD_SRV_HTTP@GOTPAGE
Lloh25:
	ldr	x22, [x22, _KD_SRV_HTTP@GOTPAGEOFF]
	ldr	w9, [x22]
	tst	w9, w8
	b.eq	LBB0_21
LBB0_14:
Lloh26:
	adrp	x24, _KD_FALLBACK@GOTPAGE
Lloh27:
	ldr	x24, [x24, _KD_FALLBACK@GOTPAGEOFF]
Lloh28:
	adrp	x22, l_.str.3@PAGE
Lloh29:
	add	x22, x22, l_.str.3@PAGEOFF
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x20]
	ldr	w9, [x24]
	tst	w9, w8
	b.ne	LBB0_18
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	w23, [x20, #8]
	mov	x0, x20
	bl	_krbhst_get_default_proto
	mov	x4, x0
	mov	x0, x19
	mov	x1, x20
	mov	x2, x22
	mov	x3, x23
	bl	_fallback_get_hosts
	cbnz	x0, LBB0_24
; %bb.17:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_get_next
	cbz	x0, LBB0_15
	b	LBB0_23
LBB0_18:
	ldr	w3, [x20, #4]
Lloh30:
	adrp	x2, l_.str.6@PAGE
Lloh31:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x0, x19
	mov	w1, #0
	b	LBB0_4
LBB0_19:
Lloh32:
	adrp	x2, l_.str.4@PAGE
Lloh33:
	add	x2, x2, l_.str.4@PAGEOFF
Lloh34:
	adrp	x3, l_.str.3@PAGE
Lloh35:
	add	x3, x3, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	bl	_srv_get_hosts
	ldr	w8, [x22]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
	mov	x0, x20
	mov	x1, x21
	bl	_get_next
	cbnz	x0, LBB0_23
; %bb.20:
	ldr	w8, [x20]
	b	LBB0_13
LBB0_21:
Lloh36:
	adrp	x2, l_.str.5@PAGE
Lloh37:
	add	x2, x2, l_.str.5@PAGEOFF
Lloh38:
	adrp	x3, l_.str.3@PAGE
Lloh39:
	add	x3, x3, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	bl	_srv_get_hosts
	ldr	w8, [x22]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
	mov	x0, x20
	mov	x1, x21
	bl	_get_next
	cbnz	x0, LBB0_23
	b	LBB0_14
LBB0_22:
Lloh40:
	adrp	x2, l_.str.2@PAGE
Lloh41:
	add	x2, x2, l_.str.2@PAGEOFF
Lloh42:
	adrp	x3, l_.str.3@PAGE
Lloh43:
	add	x3, x3, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	bl	_srv_get_hosts
	ldr	w8, [x22]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
	mov	x0, x20
	mov	x1, x21
	bl	_get_next
	cbz	x0, LBB0_25
LBB0_23:
	mov	x0, #0
LBB0_24:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_25:
	ldr	w8, [x20]
	b	LBB0_12
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.comm	_KD_PLUGIN,4,2                  ; @KD_PLUGIN
	.comm	_locate_service_kdc,4,2         ; @locate_service_kdc
	.comm	_KD_CONFIG,4,2                  ; @KD_CONFIG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"kdc"

	.comm	_KD_CONFIG_EXISTS,4,2           ; @KD_CONFIG_EXISTS
l_.str.1:                               ; @.str.1
	.asciz	"Configuration exists for realm %s, wont go to DNS"

	.comm	_KRB5_KDC_UNREACH,8,3           ; @KRB5_KDC_UNREACH
	.comm	_KD_SRV_UDP,4,2                 ; @KD_SRV_UDP
	.comm	_KD_LARGE_MSG,4,2               ; @KD_LARGE_MSG
l_.str.2:                               ; @.str.2
	.asciz	"udp"

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

	.comm	_KD_SRV_TCP,4,2                 ; @KD_SRV_TCP
l_.str.4:                               ; @.str.4
	.asciz	"tcp"

	.comm	_KD_SRV_HTTP,4,2                ; @KD_SRV_HTTP
l_.str.5:                               ; @.str.5
	.asciz	"http"

	.comm	_KD_FALLBACK,4,2                ; @KD_FALLBACK
l_.str.6:                               ; @.str.6
	.asciz	"No KDC entries found for %s"

	.no_dead_strip	_kdc_get_next
.subsections_via_symbols
