	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function plugin_get_hosts
_plugin_get_hosts:                      ## @plugin_get_hosts
	.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
	movl	%edx, -52(%rbp)                 ## 4-byte Spill
	movq	%rsi, %r12
	movl	%edi, %r14d
	movq	$0, -48(%rbp)
	movq	_PLUGIN_TYPE_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_KRB5_PLUGIN_LOCATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-48(%rbp), %rcx
	callq	__krb5_plugin_find
	testq	%rax, %rax
	jne	LBB0_9
## %bb.1:
	movq	-48(%rbp), %rbx
	testq	%rbx, %rbx
	jne	LBB0_2
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	testq	%r13, %r13
	je	LBB0_6
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	__krb5_plugin_get_next
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_8
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	__krb5_plugin_get_symbol
	cmpq	$0, (%rax)
	jne	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r15
	movl	%r14d, %edi
	leaq	-64(%rbp), %rsi
	callq	*24(%rax)
	movq	-64(%rbp), %rdi
	movl	4(%r12), %edx
	movq	_add_locate@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%r12, (%rsp)
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	*8(%r15)
	movq	%rax, %r13
	movq	-64(%rbp), %rdi
	callq	*16(%r15)
	testq	%r13, %r13
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_KRB5_PLUGIN_NO_HANDLE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r13
	je	LBB0_5
	jmp	LBB0_10
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	4(%r12), %ecx
	movl	%r14d, %edi
	movl	$2, %esi
	leaq	L_.str.2(%rip), %rdx
	callq	__krb5_debug
	movq	_KD_CONFIG_EXISTS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r12)
	jmp	LBB0_7
LBB0_10:
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_N_
	movl	4(%r12), %ecx
	movl	%r14d, %edi
	movq	%r13, %rsi
	movl	%eax, %edx
	movq	%r13, %r8
	callq	_krb5_set_error_message
LBB0_8:
	movq	-48(%rbp), %rdi
	callq	__krb5_plugin_free
LBB0_9:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PLUGIN_TYPE_DATA,4,2           ## @PLUGIN_TYPE_DATA
	.comm	_KRB5_PLUGIN_LOCATE,4,2         ## @KRB5_PLUGIN_LOCATE
	.comm	_add_locate,4,2                 ## @add_locate
	.comm	_KRB5_PLUGIN_NO_HANDLE,8,3      ## @KRB5_PLUGIN_NO_HANDLE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Locate plugin failed to lookup realm %s: %d"

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

L_.str.2:                               ## @.str.2
	.asciz	"plugin found result for realm %s"

	.comm	_KD_CONFIG_EXISTS,4,2           ## @KD_CONFIG_EXISTS
	.no_dead_strip	_plugin_get_hosts
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function plugin_get_hosts
_plugin_get_hosts:                      ; @plugin_get_hosts
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x21, x2
	mov	x20, x1
	mov	x19, x0
	str	xzr, [sp, #8]
Lloh0:
	adrp	x8, _PLUGIN_TYPE_DATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PLUGIN_TYPE_DATA@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _KRB5_PLUGIN_LOCATE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _KRB5_PLUGIN_LOCATE@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	add	x3, sp, #8
	bl	__krb5_plugin_find
	ldr	x22, [sp, #8]
	cmp	x0, #0
	ccmp	x22, #0, #4, eq
	b.eq	LBB0_9
; %bb.1:
Lloh6:
	adrp	x26, _add_locate@GOTPAGE
Lloh7:
	ldr	x26, [x26, _add_locate@GOTPAGEOFF]
Lloh8:
	adrp	x27, _KRB5_PLUGIN_NO_HANDLE@GOTPAGE
Lloh9:
	ldr	x27, [x27, _KRB5_PLUGIN_NO_HANDLE@GOTPAGEOFF]
Lloh10:
	adrp	x23, l_.str.2@PAGE
Lloh11:
	add	x23, x23, l_.str.2@PAGEOFF
Lloh12:
	adrp	x28, _KD_CONFIG_EXISTS@GOTPAGE
Lloh13:
	ldr	x28, [x28, _KD_CONFIG_EXISTS@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x22
	bl	__krb5_plugin_get_next
	mov	x22, x0
	cbz	x0, LBB0_8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	__krb5_plugin_get_symbol
	ldr	x8, [x0]
	cbnz	x8, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x25, x0
	ldr	x8, [x0, #24]
	mov	x1, sp
	mov	x0, x19
	blr	x8
	ldr	x8, [x25, #8]
	ldr	x0, [sp]
	ldr	w2, [x20, #4]
	ldr	w5, [x26]
	mov	x1, x21
	mov	w3, #0
	mov	w4, #0
	mov	x6, x20
	blr	x8
	mov	x24, x0
	ldr	x8, [x25, #16]
	ldr	x0, [sp]
	blr	x8
	ldr	x8, [x27]
	cmp	x24, #0
	ccmp	x24, x8, #4, ne
	b.ne	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	cbnz	x24, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w3, [x20, #4]
	mov	x0, x19
	mov	w1, #2
	mov	x2, x23
	bl	__krb5_debug
	ldr	w8, [x28]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
	b	LBB0_2
LBB0_7:
Lloh14:
	adrp	x0, l_.str@PAGE
Lloh15:
	add	x0, x0, l_.str@PAGEOFF
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_N_
	mov	x2, x0
	ldr	w3, [x20, #4]
	mov	x0, x19
	mov	x1, x24
	mov	x4, x24
	bl	_krb5_set_error_message
LBB0_8:
	ldr	x0, [sp, #8]
	bl	__krb5_plugin_free
LBB0_9:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_PLUGIN_TYPE_DATA,4,2           ; @PLUGIN_TYPE_DATA
	.comm	_KRB5_PLUGIN_LOCATE,4,2         ; @KRB5_PLUGIN_LOCATE
	.comm	_add_locate,4,2                 ; @add_locate
	.comm	_KRB5_PLUGIN_NO_HANDLE,8,3      ; @KRB5_PLUGIN_NO_HANDLE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Locate plugin failed to lookup realm %s: %d"

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

l_.str.2:                               ; @.str.2
	.asciz	"plugin found result for realm %s"

	.comm	_KD_CONFIG_EXISTS,4,2           ; @KD_CONFIG_EXISTS
	.no_dead_strip	_plugin_get_hosts
.subsections_via_symbols
