	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sntp_name_resolved             ## -- Begin function sntp_name_resolved
	.p2align	4, 0x90
_sntp_name_resolved:                    ## @sntp_name_resolved
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testl	%edi, %edi
	je	LBB0_2
## %bb.1:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	(%rdx), %r14
	callq	_gai_strerror
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edi
	movq	%r14, %rdx
	movq	%rax, %rcx
	callq	_fprintf
LBB0_13:
	movq	_n_pending_dns@GOTPCREL(%rip), %rax
	decl	(%rax)
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_check_exit_conditions          ## TAILCALL
LBB0_2:
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	16(%rbp), %rbx
	movq	(%rbx), %rax
	testq	%rax, %rax
	leaq	L_.str.2(%rip), %rsi
	cmovneq	%rax, %rsi
	movl	$3, %edi
	callq	_TRACE
	xorl	%r13d, %r13d
	xorl	%r15d, %r15d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %r14
	movq	%r13, %r12
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	24(%rbx), %rbx
	movq	%r12, %r13
	movq	%r14, %r15
	testq	%rbx, %rbx
	je	LBB0_13
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_check_kod
	testq	%rax, %rax
	jne	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	8(%rbx), %edx
	cmpl	$128, %edx
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$129, %edx
	jne	LBB0_14
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	1(%r15), %r14
	movq	_sock4@GOTPCREL(%rip), %rax
	movq	%r13, %r12
	jmp	LBB0_10
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_ipv6_works@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_4
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	1(%r13), %r12
	movq	_sock6@GOTPCREL(%rip), %rax
	movq	%r15, %r14
	movq	%r13, %r15
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_n_pending_ntp@GOTPCREL(%rip), %rcx
	incl	(%rcx)
	movl	(%rax), %ecx
	movq	_CTX_UCST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	testl	%eax, 8(%r13)
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	$16, %edi
	callq	_emalloc_zero
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, 8(%rax)
	movl	16(%rbx), %edi
	movl	$4, %esi
	callq	_min
	movl	12(%rbx), %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rdx
	callq	_memcpy
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	%r13, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	%r15, %rcx
	callq	_queue_xmt
	jmp	LBB0_12
LBB0_14:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_msyslog
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s lookup error %s\n"

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

	.comm	_sock4,4,2                      ## @sock4
	.comm	_ipv6_works,4,2                 ## @ipv6_works
	.comm	_sock6,4,2                      ## @sock6
	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
L_.str.3:                               ## @.str.3
	.asciz	"sntp_name_resolved: unexpected ai_family: %d"

	.comm	_n_pending_ntp,4,2              ## @n_pending_ntp
	.comm	_CTX_UCST,4,2                   ## @CTX_UCST
	.comm	_n_pending_dns,4,2              ## @n_pending_dns
	.comm	_EAI_SYSTEM,4,2                 ## @EAI_SYSTEM
	.comm	_errno,4,2                      ## @errno
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sntp_name_resolved             ; -- Begin function sntp_name_resolved
	.p2align	2
_sntp_name_resolved:                    ; @sntp_name_resolved
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x19, x2
	cbz	w0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _stderr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	ldr	x19, [x19]
	bl	_gai_strerror
	mov	x3, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	bl	_fprintf
LBB0_2:
Lloh5:
	adrp	x8, _n_pending_dns@GOTPAGE
Lloh6:
	ldr	x8, [x8, _n_pending_dns@GOTPAGEOFF]
	ldr	w9, [x8]
	sub	w9, w9, #1
	str	w9, [x8]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_check_exit_conditions
LBB0_3:
	mov	x20, x6
	ldr	x8, [x6]
Lloh7:
	adrp	x9, l_.str.2@PAGE
Lloh8:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	x8, #0
	csel	x1, x9, x8, eq
	mov	w0, #3
	bl	_TRACE
	mov	x22, #0
	mov	x21, #0
Lloh9:
	adrp	x26, _n_pending_ntp@GOTPAGE
Lloh10:
	ldr	x26, [x26, _n_pending_ntp@GOTPAGEOFF]
Lloh11:
	adrp	x27, _CTX_UCST@GOTPAGE
Lloh12:
	ldr	x27, [x27, _CTX_UCST@GOTPAGEOFF]
Lloh13:
	adrp	x28, _sock4@GOTPAGE
Lloh14:
	ldr	x28, [x28, _sock4@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x25, x21
	mov	x24, x22
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x20, [x20, #24]
	mov	x22, x24
	mov	x21, x25
	cbz	x20, LBB0_2
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_check_kod
	cbnz	x0, LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w2, [x20, #8]
	cmp	w2, #128
	b.eq	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w2, #129
	b.ne	LBB0_14
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x25, x21, #1
	mov	x8, x28
	mov	x24, x22
	b	LBB0_12
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh15:
	adrp	x8, _ipv6_works@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ipv6_works@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	cbz	w8, LBB0_4
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	add	x24, x22, #1
Lloh18:
	adrp	x8, _sock6@GOTPAGE
Lloh19:
	ldr	x8, [x8, _sock6@GOTPAGEOFF]
	mov	x25, x21
	mov	x21, x22
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w22, [x8]
	ldr	w8, [x26]
	add	w8, w8, #1
	str	w8, [x26]
	ldr	w8, [x19, #8]
	ldr	w9, [x27]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.13:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	w0, #16
	bl	_emalloc_zero
	mov	x23, x0
	str	x19, [x0, #8]
	ldr	w0, [x20, #16]
	mov	w1, #4
	bl	_min
	mov	x2, x0
	ldr	w1, [x20, #12]
	mov	x0, x23
	bl	_memcpy
	mov	x0, x22
	mov	x1, x19
	mov	x2, x23
	mov	x3, x21
	bl	_queue_xmt
	b	LBB0_5
LBB0_14:
Lloh20:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh21:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
Lloh23:
	adrp	x1, l_.str.3@PAGE
Lloh24:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_msyslog
	mov	w0, #1
	bl	_exit
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s lookup error %s\n"

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

	.comm	_sock4,4,2                      ; @sock4
	.comm	_ipv6_works,4,2                 ; @ipv6_works
	.comm	_sock6,4,2                      ; @sock6
	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
l_.str.3:                               ; @.str.3
	.asciz	"sntp_name_resolved: unexpected ai_family: %d"

	.comm	_n_pending_ntp,4,2              ; @n_pending_ntp
	.comm	_CTX_UCST,4,2                   ; @CTX_UCST
	.comm	_n_pending_dns,4,2              ; @n_pending_dns
	.comm	_EAI_SYSTEM,4,2                 ; @EAI_SYSTEM
	.comm	_errno,4,2                      ; @errno
.subsections_via_symbols
