	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_krb5_kdc_windc_init            ## -- Begin function krb5_kdc_windc_init
	.p2align	4, 0x90
_krb5_kdc_windc_init:                   ## @krb5_kdc_windc_init
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r14d
	movq	$0, -40(%rbp)
	movq	_PLUGIN_TYPE_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	leaq	-40(%rbp), %rcx
	callq	__krb5_plugin_find
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	jne	LBB0_6
## %bb.1:
	movq	-40(%rbp), %rbx
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.2:
	movq	_windcft@GOTPCREL(%rip), %r15
	movq	_KRB5_WINDC_PLUGIN_MINOR@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	__krb5_plugin_get_symbol
	movq	%rax, (%r15)
	movq	(%rax), %rcx
	cmpq	(%r12), %rcx
	jge	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	callq	__krb5_plugin_get_next
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_3
## %bb.5:
	movq	-40(%rbp), %rdi
	callq	__krb5_plugin_free
	movq	_ENOENT@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	leaq	L_.str.1(%rip), %rdx
	movl	%r14d, %edi
	callq	_krb5_set_error_message
	movq	$0, (%r15)
	movq	(%rbx), %rax
	jmp	LBB0_6
LBB0_7:
	movq	_windcctx@GOTPCREL(%rip), %rsi
	movl	%r14d, %edi
	callq	*8(%rax)
	movq	-40(%rbp), %rdi
	callq	__krb5_plugin_free
	xorl	%eax, %eax
LBB0_6:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PLUGIN_TYPE_DATA,4,2           ## @PLUGIN_TYPE_DATA
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"windc"

	.comm	_windcft,8,3                    ## @windcft
	.comm	_KRB5_WINDC_PLUGIN_MINOR,8,3    ## @KRB5_WINDC_PLUGIN_MINOR
	.comm	_windcctx,4,2                   ## @windcctx
	.comm	_ENOENT,8,3                     ## @ENOENT
L_.str.1:                               ## @.str.1
	.asciz	"Did not find any WINDC plugin"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_krb5_kdc_windc_init            ; -- Begin function krb5_kdc_windc_init
	.p2align	2
_krb5_kdc_windc_init:                   ; @krb5_kdc_windc_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	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	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	add	x3, sp, #8
	bl	__krb5_plugin_find
	mov	x8, x0
	mov	x0, #0
	ldr	x20, [sp, #8]
	cmp	x8, #0
	ccmp	x20, #0, #4, eq
	b.eq	LBB0_6
; %bb.1:
Lloh5:
	adrp	x21, _windcft@GOTPAGE
Lloh6:
	ldr	x21, [x21, _windcft@GOTPAGEOFF]
Lloh7:
	adrp	x22, _KRB5_WINDC_PLUGIN_MINOR@GOTPAGE
Lloh8:
	ldr	x22, [x22, _KRB5_WINDC_PLUGIN_MINOR@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	__krb5_plugin_get_symbol
	str	x0, [x21]
	ldr	x8, [x0]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ge	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x20
	bl	__krb5_plugin_get_next
	mov	x20, x0
	cbnz	x0, LBB0_2
; %bb.4:
	ldr	x0, [sp, #8]
	bl	__krb5_plugin_free
Lloh9:
	adrp	x20, _ENOENT@GOTPAGE
Lloh10:
	ldr	x20, [x20, _ENOENT@GOTPAGEOFF]
	ldr	x1, [x20]
Lloh11:
	adrp	x2, l_.str.1@PAGE
Lloh12:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_krb5_set_error_message
	str	xzr, [x21]
	ldr	x0, [x20]
	b	LBB0_6
LBB0_5:
	ldr	x8, [x0, #8]
Lloh13:
	adrp	x1, _windcctx@GOTPAGE
Lloh14:
	ldr	x1, [x1, _windcctx@GOTPAGEOFF]
	mov	x0, x19
	blr	x8
	ldr	x0, [sp, #8]
	bl	__krb5_plugin_free
	mov	x0, #0
LBB0_6:
	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
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_PLUGIN_TYPE_DATA,4,2           ; @PLUGIN_TYPE_DATA
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"windc"

	.comm	_windcft,8,3                    ; @windcft
	.comm	_KRB5_WINDC_PLUGIN_MINOR,8,3    ; @KRB5_WINDC_PLUGIN_MINOR
	.comm	_windcctx,4,2                   ; @windcctx
	.comm	_ENOENT,8,3                     ; @ENOENT
l_.str.1:                               ; @.str.1
	.asciz	"Did not find any WINDC plugin"

.subsections_via_symbols
