	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fallback_get_hosts
_fallback_get_hosts:                    ## @fallback_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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -72(%rbp)                 ## 4-byte Spill
	movl	%ecx, -68(%rbp)                 ## 4-byte Spill
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movl	%edi, %r14d
	movq	%rsp, -64(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	$0, -56(%rbp)
	movq	_NI_MAXSERV@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	%r13, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movl	(%rbx), %ecx
	movl	8(%rbx), %r8d
	leaq	L_.str(%rip), %rdx
	movl	%r14d, %edi
	movl	$2, %esi
	movq	%r15, %r9
	callq	__krb5_debug
	movl	(%rbx), %ecx
	cmpl	$5, %ecx
	jge	LBB0_1
## %bb.2:
	movl	8(%rbx), %r8d
	testl	%ecx, %ecx
	je	LBB0_3
## %bb.4:
	leaq	L_.str.2(%rip), %rsi
	leaq	-56(%rbp), %rdi
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_asprintf
	jmp	LBB0_5
LBB0_3:
	leaq	L_.str.1(%rip), %rsi
	leaq	-56(%rbp), %rdi
	movq	%r15, %rdx
	movl	%r8d, %ecx
	xorl	%eax, %eax
	callq	_asprintf
LBB0_5:
	testl	%eax, %eax
	movl	-72(%rbp), %esi                 ## 4-byte Reload
	js	LBB0_7
## %bb.6:
	cmpq	$0, -56(%rbp)
	je	LBB0_7
## %bb.8:
	leaq	-80(%rbp), %r14
	movq	%r14, %rdi
	callq	_make_hints
	leaq	L_.str.3(%rip), %rdx
	movq	%r12, %rdi
	movl	%r13d, %esi
	movl	-68(%rbp), %ecx                 ## 4-byte Reload
	callq	_snprintf
	movq	-56(%rbp), %rdi
	leaq	-88(%rbp), %rcx
	movq	%r12, %rsi
	movq	%r14, %rdx
	callq	_getaddrinfo
	movq	-56(%rbp), %r15
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:
	movq	%r15, %rdi
	callq	_free
LBB0_1:
	movq	_KD_FALLBACK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 4(%rbx)
LBB0_13:
	xorl	%eax, %eax
	jmp	LBB0_14
LBB0_10:
	movq	%r15, %rdi
	callq	_strlen
	movq	%rax, %r12
	leal	32(%rax), %esi
	movl	$1, %edi
	callq	_calloc
	testq	%rax, %rax
	je	LBB0_11
## %bb.12:
	movq	%rax, %r13
	movl	-72(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%r13)
	movl	-68(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 8(%r13)
	movl	%eax, 4(%r13)
	movq	-88(%rbp), %rax
	movq	%rax, 24(%r13)
	movq	16(%r13), %r14
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_memmove
	movb	$0, (%r14,%r12)
	movq	-56(%rbp), %rdi
	callq	_free
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_append_host_hostinfo
	incl	(%rbx)
	jmp	LBB0_13
LBB0_11:
	movq	%r15, %rdi
	callq	_free
LBB0_7:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_14:
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_16
## %bb.15:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_NI_MAXSERV,4,2                 ## @NI_MAXSERV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fallback lookup %d for realm %s (service %s)"

	.comm	_KD_FALLBACK,4,2                ## @KD_FALLBACK
L_.str.1:                               ## @.str.1
	.asciz	"%s.%s."

L_.str.2:                               ## @.str.2
	.asciz	"%s-%d.%s."

	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.3:                               ## @.str.3
	.asciz	"%d"

	.no_dead_strip	_fallback_get_hosts
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fallback_get_hosts
_fallback_get_hosts:                    ; @fallback_get_hosts
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	sub	sp, sp, #32
	mov	x20, x4
	mov	x21, x3
	mov	x24, x2
	mov	x19, x1
	mov	x25, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	stur	xzr, [x29, #-80]
Lloh3:
	adrp	x8, _NI_MAXSERV@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NI_MAXSERV@GOTPAGEOFF]
Lloh5:
	ldr	w23, [x8]
	mov	x9, x23
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x23, #15
	and	x9, x9, #0x1fffffff0
	sub	x22, x8, x9
	mov	sp, x22
	ldr	w3, [x1]
	ldr	w4, [x1, #8]
Lloh8:
	adrp	x2, l_.str@PAGE
Lloh9:
	add	x2, x2, l_.str@PAGEOFF
	mov	w1, #2
	mov	x5, x24
	bl	__krb5_debug
	ldr	w3, [x19]
	cmp	w3, #5
	b.ge	LBB0_7
; %bb.1:
	ldr	w8, [x19, #8]
	cbz	w3, LBB0_3
; %bb.2:
	str	x8, [sp, #-16]!
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	sub	x0, x29, #80
	mov	x2, x24
	bl	_asprintf
	add	sp, sp, #16
	tbz	w0, #31, LBB0_4
	b	LBB0_11
LBB0_3:
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	sub	x0, x29, #80
	mov	x2, x24
	mov	x3, x8
	bl	_asprintf
	tbnz	w0, #31, LBB0_11
LBB0_4:
	ldur	x8, [x29, #-80]
	cbz	x8, LBB0_11
; %bb.5:
	sub	x0, x29, #96
	mov	x1, x20
	bl	_make_hints
Lloh14:
	adrp	x2, l_.str.3@PAGE
Lloh15:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x22
	mov	x1, x23
	mov	x3, x21
	bl	_snprintf
	ldur	x0, [x29, #-80]
	sub	x2, x29, #96
	sub	x3, x29, #88
	mov	x1, x22
	bl	_getaddrinfo
	ldur	x22, [x29, #-80]
	cbz	w0, LBB0_8
; %bb.6:
	mov	x0, x22
	bl	_free
LBB0_7:
	mov	w0, #0
Lloh16:
	adrp	x8, _KD_FALLBACK@GOTPAGE
Lloh17:
	ldr	x8, [x8, _KD_FALLBACK@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	ldr	w9, [x19, #4]
	orr	w8, w9, w8
	str	w8, [x19, #4]
	b	LBB0_12
LBB0_8:
	mov	x0, x22
	bl	_strlen
	mov	x23, x0
	add	w1, w23, #32
	mov	w0, #1
	bl	_calloc
	cbz	x0, LBB0_10
; %bb.9:
	mov	x24, x0
	stp	w21, w21, [x0, #4]
	str	w20, [x0]
	ldur	x8, [x29, #-88]
	str	x8, [x0, #24]
	ldr	x20, [x0, #16]
	mov	x0, x20
	mov	x1, x22
	mov	x2, x23
	bl	_memmove
	strb	wzr, [x20, x23]
	ldur	x0, [x29, #-80]
	bl	_free
	mov	x0, x19
	mov	x1, x24
	bl	_append_host_hostinfo
	mov	w0, #0
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
	b	LBB0_12
LBB0_10:
	mov	x0, x22
	bl	_free
LBB0_11:
Lloh19:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
LBB0_12:
	mov	sp, x25
	ldur	x8, [x29, #-72]
Lloh22:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh23:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.13:
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_NI_MAXSERV,4,2                 ; @NI_MAXSERV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fallback lookup %d for realm %s (service %s)"

	.comm	_KD_FALLBACK,4,2                ; @KD_FALLBACK
l_.str.1:                               ; @.str.1
	.asciz	"%s.%s."

l_.str.2:                               ; @.str.2
	.asciz	"%s-%d.%s."

	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.3:                               ; @.str.3
	.asciz	"%d"

	.no_dead_strip	_fallback_get_hosts
.subsections_via_symbols
