	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function admin_get_next
_admin_get_next:                        ## @admin_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, %rbx
	movq	%rdi, %r14
	movl	(%rsi), %eax
	movq	_KD_PLUGIN@GOTPCREL(%rip), %r12
	testl	%eax, (%r12)
	je	LBB0_4
LBB0_1:
	movq	_KD_CONFIG@GOTPCREL(%rip), %r12
	testl	%eax, (%r12)
	je	LBB0_6
LBB0_2:
	movq	_KD_CONFIG_EXISTS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_8
## %bb.3:
	movl	4(%rbx), %ecx
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	movl	$1, %esi
	jmp	LBB0_13
LBB0_4:
	movq	_locate_service_kadmin@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_plugin_get_hosts
	movl	(%r12), %eax
	orl	%eax, (%rbx)
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_get_next
	testq	%rax, %rax
	jne	LBB0_5
## %bb.15:
	movl	(%rbx), %eax
	jmp	LBB0_1
LBB0_6:
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_config_get_hosts
	movl	(%r12), %eax
	orl	%eax, (%rbx)
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_get_next
	testq	%rax, %rax
	je	LBB0_16
LBB0_5:
	xorl	%eax, %eax
	jmp	LBB0_14
LBB0_8:
	cmpq	$0, (%r14)
	je	LBB0_10
## %bb.9:
	movq	_KD_SRV_TCP@GOTPCREL(%rip), %r12
	testl	%eax, (%r12)
	je	LBB0_17
LBB0_10:
	movq	%rbx, %rdi
	callq	_krbhst_empty
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movq	_KD_FALLBACK@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	testl	%eax, (%rbx)
	je	LBB0_19
LBB0_12:
	movl	4(%rbx), %ecx
	leaq	L_.str.5(%rip), %rdx
	movq	%r14, %rdi
	xorl	%esi, %esi
LBB0_13:
	callq	__krb5_debug
	movq	_KRB5_KDC_UNREACH@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movl	(%rbx), %eax
	jmp	LBB0_2
LBB0_17:
	leaq	L_.str.2(%rip), %rdx
	leaq	L_.str.3(%rip), %rcx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_srv_get_hosts
	movl	(%r12), %eax
	orl	%eax, (%rbx)
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_get_next
	testq	%rax, %rax
	jne	LBB0_5
	jmp	LBB0_10
LBB0_19:
	movl	8(%rbx), %r12d
	movq	%rbx, %rdi
	callq	_krbhst_get_default_proto
	leaq	L_.str.4(%rip), %rdx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%r12d, %ecx
	movl	%eax, %r8d
	callq	_fallback_get_hosts
	testq	%rax, %rax
	jne	LBB0_14
## %bb.20:
	movl	(%r13), %eax
	orl	%eax, (%rbx)
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_get_next
	testq	%rax, %rax
	jne	LBB0_5
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_KD_PLUGIN,4,2                  ## @KD_PLUGIN
	.comm	_locate_service_kadmin,4,2      ## @locate_service_kadmin
	.comm	_KD_CONFIG,4,2                  ## @KD_CONFIG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"admin_server"

	.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_TCP,4,2                 ## @KD_SRV_TCP
L_.str.2:                               ## @.str.2
	.asciz	"tcp"

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

	.comm	_KD_FALLBACK,4,2                ## @KD_FALLBACK
L_.str.4:                               ## @.str.4
	.asciz	"kerberos"

L_.str.5:                               ## @.str.5
	.asciz	"No admin entries found for realm %s"

	.no_dead_strip	_admin_get_next
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function admin_get_next
_admin_get_next:                        ; @admin_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_4
LBB0_1:
Lloh2:
	adrp	x22, _KD_CONFIG@GOTPAGE
Lloh3:
	ldr	x22, [x22, _KD_CONFIG@GOTPAGEOFF]
	ldr	w9, [x22]
	tst	w9, w8
	b.eq	LBB0_6
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_8
; %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
	b	LBB0_13
LBB0_4:
Lloh9:
	adrp	x8, _locate_service_kadmin@GOTPAGE
Lloh10:
	ldr	x8, [x8, _locate_service_kadmin@GOTPAGEOFF]
Lloh11:
	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_7
; %bb.5:
	ldr	w8, [x20]
	b	LBB0_1
LBB0_6:
Lloh12:
	adrp	x2, l_.str@PAGE
Lloh13:
	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
	cbz	x0, LBB0_15
LBB0_7:
	mov	x0, #0
	b	LBB0_14
LBB0_8:
	ldr	x9, [x19]
	cbz	x9, LBB0_10
; %bb.9:
Lloh14:
	adrp	x22, _KD_SRV_TCP@GOTPAGE
Lloh15:
	ldr	x22, [x22, _KD_SRV_TCP@GOTPAGEOFF]
	ldr	w9, [x22]
	tst	w9, w8
	b.eq	LBB0_16
LBB0_10:
	mov	x0, x20
	bl	_krbhst_empty
	cbz	x0, LBB0_12
; %bb.11:
	ldr	w8, [x20]
Lloh16:
	adrp	x23, _KD_FALLBACK@GOTPAGE
Lloh17:
	ldr	x23, [x23, _KD_FALLBACK@GOTPAGEOFF]
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_17
LBB0_12:
	ldr	w3, [x20, #4]
Lloh18:
	adrp	x2, l_.str.5@PAGE
Lloh19:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	x0, x19
	mov	w1, #0
LBB0_13:
	bl	__krb5_debug
Lloh20:
	adrp	x8, _KRB5_KDC_UNREACH@GOTPAGE
Lloh21:
	ldr	x8, [x8, _KRB5_KDC_UNREACH@GOTPAGEOFF]
Lloh22:
	ldr	x0, [x8]
LBB0_14:
	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_15:
	ldr	w8, [x20]
	b	LBB0_2
LBB0_16:
Lloh23:
	adrp	x2, l_.str.2@PAGE
Lloh24:
	add	x2, x2, l_.str.2@PAGEOFF
Lloh25:
	adrp	x3, l_.str.3@PAGE
Lloh26:
	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_7
	b	LBB0_10
LBB0_17:
	ldr	w22, [x20, #8]
	mov	x0, x20
	bl	_krbhst_get_default_proto
	mov	x4, x0
Lloh27:
	adrp	x2, l_.str.4@PAGE
Lloh28:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	mov	x3, x22
	bl	_fallback_get_hosts
	cbnz	x0, LBB0_14
; %bb.18:
	ldr	w8, [x23]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
	mov	x0, x20
	mov	x1, x21
	bl	_get_next
	cbnz	x0, LBB0_7
	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 AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_KD_PLUGIN,4,2                  ; @KD_PLUGIN
	.comm	_locate_service_kadmin,4,2      ; @locate_service_kadmin
	.comm	_KD_CONFIG,4,2                  ; @KD_CONFIG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"admin_server"

	.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_TCP,4,2                 ; @KD_SRV_TCP
l_.str.2:                               ; @.str.2
	.asciz	"tcp"

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

	.comm	_KD_FALLBACK,4,2                ; @KD_FALLBACK
l_.str.4:                               ; @.str.4
	.asciz	"kerberos"

l_.str.5:                               ; @.str.5
	.asciz	"No admin entries found for realm %s"

	.no_dead_strip	_admin_get_next
.subsections_via_symbols
