	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function getresponse
_getresponse:                           ## @getresponse
	.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	$200, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -232(%rbp)                 ## 8-byte Spill
	movq	%r8, %r14
	movq	%rcx, %r15
	movq	%rdx, %rbx
	movl	%esi, -80(%rbp)                 ## 4-byte Spill
	movl	%edi, -84(%rbp)                 ## 4-byte Spill
	movq	%rsp, -72(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAXSEQ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	incl	%eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rdi
	movq	%rbx, -224(%rbp)                ## 8-byte Spill
	movq	$0, (%rbx)
	movq	%r15, -176(%rbp)                ## 8-byte Spill
	movq	$0, (%r15)
	movq	_pktdata@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%r14, -216(%rbp)                ## 8-byte Spill
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%rax, (%r14)
	movq	%rdi, -184(%rbp)                ## 8-byte Spill
	callq	_ZERO
	leaq	-236(%rbp), %r15
	movq	%r15, %rdi
	callq	_FD_ZERO
	xorl	%edi, %edi
	callq	_time
	movq	%rax, -192(%rbp)                ## 8-byte Spill
	movl	$999, -56(%rbp)                 ## 4-byte Folded Spill
                                        ## imm = 0x3E7
	movl	$1, %r12d
	movq	_sockfd@GOTPCREL(%rip), %r13
	xorl	%eax, %eax
	movq	%rax, -168(%rbp)                ## 8-byte Spill
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_52 Depth 2
	testl	%r12d, %r12d
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_tvout@GOTPCREL(%rip), %rax
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_tvsout@GOTPCREL(%rip), %rax
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movups	(%rax), %xmm0
	movaps	%xmm0, -208(%rbp)
	cmpq	$1, -208(%rbp)
	movl	-200(%rbp), %r14d
	sbbl	$-1, %r14d
	movq	(%r13), %rdi
	movq	%r15, %rsi
	callq	_FD_SET
	movq	(%r13), %rdi
	incq	%rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	leaq	-208(%rbp), %r8
	callq	_select
	cmpl	$-1, %eax
	je	LBB0_57
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%eax, %ebx
	xorl	%edi, %edi
	callq	_time
	testl	%ebx, %ebx
	jle	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	subl	-192(%rbp), %eax                ## 4-byte Folded Reload
	andl	$2147483647, %eax               ## imm = 0x7FFFFFFF
	cmpl	%r14d, %eax
	jle	LBB0_8
	jmp	LBB0_60
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	je	LBB0_61
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r13), %rdi
	leaq	-120(%rbp), %rsi
	movl	$32, %edx
	xorl	%ecx, %ecx
	callq	_recv
	cmpl	$-1, %eax
	je	LBB0_58
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%eax, %ebx
	movq	_RESP_HEADER_SIZE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jge	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_debug@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_1
## %bb.11:                              ##   in Loop: Header=BB0_1 Depth=1
	movslq	%ebx, %rsi
	leaq	L_.str.8(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	-104(%rbp), %edi
	callq	_INFO_VERSION
	movq	_NTP_VERSION@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jg	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	-104(%rbp), %edi
	callq	_INFO_VERSION
	movq	_NTP_OLDVERSION@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jge	LBB0_18
LBB0_14:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_debug@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_1
## %bb.15:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	-104(%rbp), %edi
	callq	_INFO_VERSION
	leaq	L_.str.9(%rip), %rdi
LBB0_16:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	%eax, %esi
LBB0_17:                                ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_1
LBB0_18:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	-104(%rbp), %edi
	callq	_INFO_MODE
	movq	_MODE_PRIVATE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_22
## %bb.19:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	-100(%rbp), %edi
	callq	_INFO_IS_AUTH
	testq	%rax, %rax
	je	LBB0_24
## %bb.20:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_debug@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_1
## %bb.21:                              ##   in Loop: Header=BB0_1 Depth=1
	leaq	L_str.22(%rip), %rdi
	callq	_puts
	jmp	LBB0_1
LBB0_22:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_debug@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_1
## %bb.23:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	-104(%rbp), %edi
	callq	_INFO_MODE
	leaq	L_.str.10(%rip), %rdi
	jmp	LBB0_16
LBB0_24:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	-104(%rbp), %edi
	callq	_ISRESPONSE
	testl	%eax, %eax
	je	LBB0_28
## %bb.25:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	-96(%rbp), %edi
	callq	_INFO_MBZ
	testq	%rax, %rax
	je	LBB0_30
## %bb.26:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_debug@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_1
## %bb.27:                              ##   in Loop: Header=BB0_1 Depth=1
	leaq	L_str.21(%rip), %rdi
	callq	_puts
	jmp	LBB0_1
LBB0_28:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_debug@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_1
## %bb.29:                              ##   in Loop: Header=BB0_1 Depth=1
	leaq	L_str(%rip), %rdi
	callq	_puts
	jmp	LBB0_1
LBB0_30:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	-120(%rbp), %esi
	movl	-116(%rbp), %edx
	cmpl	-84(%rbp), %esi                 ## 4-byte Folded Reload
	jne	LBB0_36
## %bb.31:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpl	-80(%rbp), %edx                 ## 4-byte Folded Reload
	jne	LBB0_36
## %bb.32:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	-92(%rbp), %edi
	callq	_INFO_ERR
	movq	_INFO_OKAY@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_75
## %bb.33:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	-92(%rbp), %edi
	callq	_INFO_NITEMS
	movq	%rax, %r14
	movl	-96(%rbp), %edi
	callq	_INFO_ITEMSIZE
	movq	%rax, %r9
	movq	-232(%rbp), %rax                ## 8-byte Reload
	movl	%eax, %esi
	subl	%r9d, %esi
	cmpq	%rax, %r9
	movl	$0, %eax
	cmovael	%eax, %esi
	movq	%r9, %rcx
	movq	%r14, -128(%rbp)                ## 8-byte Spill
	imulq	%r14, %rcx
	movq	_RESP_HEADER_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movslq	%ebx, %r8
	subq	%rax, %r8
	cmpq	%r8, %rcx
	jbe	LBB0_38
## %bb.34:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_debug@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_1
## %bb.35:                              ##   in Loop: Header=BB0_1 Depth=1
	leaq	L_.str.16(%rip), %rdi
	movq	-128(%rbp), %rsi                ## 8-byte Reload
	movq	%r9, %rdx
                                        ## kill: def $r8d killed $r8d killed $r8
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_1
LBB0_36:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_debug@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_1
## %bb.37:                              ##   in Loop: Header=BB0_1 Depth=1
	leaq	L_.str.14(%rip), %rdi
	movl	-84(%rbp), %ecx                 ## 4-byte Reload
	movl	-80(%rbp), %r8d                 ## 4-byte Reload
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_1
LBB0_38:                                ##   in Loop: Header=BB0_1 Depth=1
	testl	%r12d, %r12d
	jne	LBB0_40
## %bb.39:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	-176(%rbp), %rax                ## 8-byte Reload
	movq	(%rax), %rdx
	cmpq	%rdx, %r9
	jne	LBB0_45
LBB0_40:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%rcx, -136(%rbp)                ## 8-byte Spill
	movq	%r9, -144(%rbp)                 ## 8-byte Spill
	movl	%esi, -76(%rbp)                 ## 4-byte Spill
	movl	-100(%rbp), %edi
	callq	_INFO_SEQ
	movl	%eax, %r14d
	cltq
	movq	-184(%rbp), %rcx                ## 8-byte Reload
	cmpb	$0, (%rcx,%rax)
	je	LBB0_43
## %bb.41:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_debug@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_1
## %bb.42:                              ##   in Loop: Header=BB0_1 Depth=1
	leaq	L_.str.18(%rip), %rdi
	movl	%r14d, %esi
	jmp	LBB0_17
LBB0_43:                                ##   in Loop: Header=BB0_1 Depth=1
	movb	$1, (%rcx,%rax)
	movl	-104(%rbp), %edi
	callq	_ISMORE
	testq	%rax, %rax
	je	LBB0_47
## %bb.44:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	-56(%rbp), %r14d                ## 4-byte Reload
	movq	_pktdata@GOTPCREL(%rip), %rbx
	jmp	LBB0_48
LBB0_45:                                ##   in Loop: Header=BB0_1 Depth=1
	xorl	%r12d, %r12d
	movq	_debug@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_1
## %bb.46:                              ##   in Loop: Header=BB0_1 Depth=1
	xorl	%r12d, %r12d
	leaq	L_.str.17(%rip), %rdi
	movq	%r9, %rsi
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_1
LBB0_47:                                ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$999, -56(%rbp)                 ## 4-byte Folded Reload
                                        ## imm = 0x3E7
	movq	_pktdata@GOTPCREL(%rip), %rbx
	jne	LBB0_56
LBB0_48:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	%r14d, -148(%rbp)               ## 4-byte Spill
	xorl	%edi, %edi
	callq	_time
	movq	%rax, -192(%rbp)                ## 8-byte Spill
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	-136(%rbp), %rax                ## 8-byte Reload
	addq	%r14, %rax
	movslq	-76(%rbp), %rdi                 ## 4-byte Folded Reload
	movq	-128(%rbp), %rsi                ## 8-byte Reload
	movq	%rsi, %rcx
	movq	%rdi, %rdx
	movq	%rdi, -160(%rbp)                ## 8-byte Spill
	imulq	%rdi, %rcx
	addq	%rax, %rcx
	movq	(%rbx), %rax
	movq	_pktdatasize@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %rdx
	addq	%rax, %rdx
	cmpq	%rdx, %rcx
	jbe	LBB0_50
## %bb.49:                              ##   in Loop: Header=BB0_1 Depth=1
	subq	%rax, %r14
	xorl	%eax, %eax
	callq	_growpktdata
	movq	-128(%rbp), %rsi                ## 8-byte Reload
	movq	(%rbx), %rax
	movq	-216(%rbp), %rcx                ## 8-byte Reload
	movq	%rax, (%rcx)
	addq	(%rbx), %r14
LBB0_50:                                ##   in Loop: Header=BB0_1 Depth=1
	testq	%rsi, %rsi
	je	LBB0_53
## %bb.51:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	-112(%rbp), %rbx
	movq	-160(%rbp), %rax                ## 8-byte Reload
	movq	-144(%rbp), %rcx                ## 8-byte Reload
	addq	%rcx, %rax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
LBB0_52:                                ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movq	-144(%rbp), %r14                ## 8-byte Reload
	movl	%r14d, %edx
	callq	_memcpy
	addq	%r14, %rbx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r14), %rdi
	movl	-76(%rbp), %esi                 ## 4-byte Reload
	callq	_zero_mem
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	addq	-136(%rbp), %r14                ## 8-byte Folded Reload
	decq	%rsi
	jne	LBB0_52
LBB0_53:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	testl	%r12d, %r12d
	je	LBB0_55
## %bb.54:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	-144(%rbp), %rcx                ## 8-byte Reload
	addq	-160(%rbp), %rcx                ## 8-byte Folded Reload
	movq	-176(%rbp), %rax                ## 8-byte Reload
	movq	%rcx, (%rax)
LBB0_55:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	-224(%rbp), %rax                ## 8-byte Reload
	movq	-128(%rbp), %rcx                ## 8-byte Reload
	addq	%rcx, (%rax)
	movq	-168(%rbp), %rcx                ## 8-byte Reload
	leal	1(%rcx), %eax
	xorl	%r12d, %r12d
	movl	-148(%rbp), %edx                ## 4-byte Reload
	movl	%edx, -56(%rbp)                 ## 4-byte Spill
	cmpl	%edx, %ecx
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -168(%rbp)                ## 8-byte Spill
	jl	LBB0_1
	jmp	LBB0_79
LBB0_56:                                ##   in Loop: Header=BB0_1 Depth=1
	leaq	L_str.20(%rip), %rdi
	callq	_puts
	jmp	LBB0_1
LBB0_57:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_59
LBB0_58:
	leaq	L_.str.7(%rip), %rdi
LBB0_59:
	callq	_warning
	movl	$-1, %eax
	jmp	LBB0_72
LBB0_60:
	movq	(%r13), %rdi
	leaq	-120(%rbp), %rsi
	movl	$32, %edx
	xorl	%ecx, %ecx
	callq	_recv
LBB0_61:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_currenthost@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	testl	%r12d, %r12d
	je	LBB0_63
## %bb.62:
	leaq	L_.str.1(%rip), %rsi
	callq	_fprintf
	movq	_ERR_TIMEOUT@GOTPCREL(%rip), %rax
	jmp	LBB0_71
LBB0_63:
	leaq	L_.str.2(%rip), %rsi
	callq	_fprintf
	movq	_debug@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_70
## %bb.64:
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movq	_MAXSEQ@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	testl	%eax, %eax
	movq	-184(%rbp), %r12                ## 8-byte Reload
	js	LBB0_69
## %bb.65:
	leaq	L_.str.4(%rip), %r14
	xorl	%ebx, %ebx
	jmp	LBB0_67
	.p2align	4, 0x90
LBB0_66:                                ##   in Loop: Header=BB0_67 Depth=1
	leaq	1(%rbx), %rcx
	movslq	%eax, %rdx
	cmpq	%rdx, %rbx
	movq	%rcx, %rbx
	jge	LBB0_69
LBB0_67:                                ## =>This Inner Loop Header: Depth=1
	cmpb	$0, (%r12,%rbx)
	je	LBB0_66
## %bb.68:                              ##   in Loop: Header=BB0_67 Depth=1
	movq	%r14, %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_printf
	movl	(%r15), %eax
	jmp	LBB0_66
LBB0_69:
	cmpl	$999, -56(%rbp)                 ## 4-byte Folded Reload
                                        ## imm = 0x3E7
	leaq	L_str.23(%rip), %rax
	leaq	L_str.24(%rip), %rdi
	cmoveq	%rax, %rdi
	callq	_puts
LBB0_70:
	movq	_ERR_INCOMPLETE@GOTPCREL(%rip), %rax
LBB0_71:
	movl	(%rax), %eax
LBB0_72:
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
LBB0_73:
	movq	%rbx, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_80
## %bb.74:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_75:
	movq	_debug@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_78
## %bb.76:
	movl	-104(%rbp), %edi
	callq	_ISMORE
	testq	%rax, %rax
	je	LBB0_78
## %bb.77:
	movl	-92(%rbp), %edi
	callq	_INFO_ERR
	leaq	L_.str.15(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_printf
LBB0_78:
	movl	-92(%rbp), %edi
	callq	_INFO_ERR
	jmp	LBB0_73
LBB0_79:
	movq	_INFO_OKAY@GOTPCREL(%rip), %rax
	jmp	LBB0_71
LBB0_80:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAXSEQ,4,2                     ## @MAXSEQ
	.comm	_pktdata,8,3                    ## @pktdata
	.comm	_tvout,16,3                     ## @tvout
	.comm	_tvsout,16,3                    ## @tvsout
	.comm	_sockfd,8,3                     ## @sockfd
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"select fails"

	.comm	_stderr,4,2                     ## @stderr
L_.str.1:                               ## @.str.1
	.asciz	"%s: timed out, nothing received\n"

	.comm	_currenthost,8,3                ## @currenthost
	.comm	_ERR_TIMEOUT,4,2                ## @ERR_TIMEOUT
L_.str.2:                               ## @.str.2
	.asciz	"%s: timed out with incomplete data\n"

	.comm	_debug,8,3                      ## @debug
L_.str.3:                               ## @.str.3
	.asciz	"Received sequence numbers"

L_.str.4:                               ## @.str.4
	.asciz	" %zd,"

	.comm	_ERR_INCOMPLETE,4,2             ## @ERR_INCOMPLETE
L_.str.7:                               ## @.str.7
	.asciz	"read"

	.comm	_RESP_HEADER_SIZE,4,2           ## @RESP_HEADER_SIZE
L_.str.8:                               ## @.str.8
	.asciz	"Short (%zd byte) packet received\n"

	.comm	_NTP_VERSION,4,2                ## @NTP_VERSION
	.comm	_NTP_OLDVERSION,4,2             ## @NTP_OLDVERSION
L_.str.9:                               ## @.str.9
	.asciz	"Packet received with version %d\n"

	.comm	_MODE_PRIVATE,4,2               ## @MODE_PRIVATE
L_.str.10:                              ## @.str.10
	.asciz	"Packet received with mode %d\n"

L_.str.14:                              ## @.str.14
	.asciz	"Received implementation/request of %d/%d, wanted %d/%d"

	.comm	_INFO_OKAY,4,2                  ## @INFO_OKAY
L_.str.15:                              ## @.str.15
	.asciz	"Error code %d received on not-final packet\n"

L_.str.16:                              ## @.str.16
	.asciz	"Received items %zu, size %zu (total %zu), data in packet is %zu\n"

L_.str.17:                              ## @.str.17
	.asciz	"Received itemsize %zu, previous %zu\n"

L_.str.18:                              ## @.str.18
	.asciz	"Received duplicate sequence number %d\n"

	.comm	_pktdatasize,4,2                ## @pktdatasize
L_str:                                  ## @str
	.asciz	"Received request packet, wanted response"

L_str.20:                               ## @str.20
	.asciz	"Received second end sequence packet"

L_str.21:                               ## @str.21
	.asciz	"Received packet with nonzero MBZ field!"

L_str.22:                               ## @str.22
	.asciz	"Encrypted packet received"

L_str.23:                               ## @str.23
	.asciz	" last frame not received"

L_str.24:                               ## @str.24
	.asciz	" last frame received"

	.no_dead_strip	_getresponse
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function getresponse
_getresponse:                           ; @getresponse
	.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
	sub	sp, sp, #192
	stp	x5, x1, [x29, #-192]            ; 16-byte Folded Spill
	stur	x0, [x29, #-176]                ; 8-byte Folded Spill
	mov	x8, sp
	stur	x8, [x29, #-160]                ; 8-byte Folded Spill
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
Lloh3:
	adrp	x8, _MAXSEQ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAXSEQ@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	add	w8, w8, #1
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x19, x9, x8
	mov	sp, x19
	stur	x2, [x29, #-216]                ; 8-byte Folded Spill
	str	xzr, [x2]
	stur	x3, [x29, #-200]                ; 8-byte Folded Spill
	str	xzr, [x3]
Lloh8:
	adrp	x8, _pktdata@GOTPAGE
Lloh9:
	ldr	x8, [x8, _pktdata@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	stur	x4, [x29, #-224]                ; 8-byte Folded Spill
	mov	x27, x8
	str	x8, [x4]
	mov	x0, x19
	bl	_ZERO
	sub	x0, x29, #148
	bl	_FD_ZERO
	mov	x0, #0
	bl	_time
	stur	wzr, [x29, #-204]               ; 4-byte Folded Spill
	mov	w8, #999
	stur	w8, [x29, #-168]                ; 4-byte Folded Spill
Lloh11:
	adrp	x21, _sockfd@GOTPAGE
Lloh12:
	ldr	x21, [x21, _sockfd@GOTPAGEOFF]
Lloh13:
	adrp	x23, _RESP_HEADER_SIZE@GOTPAGE
Lloh14:
	ldr	x23, [x23, _RESP_HEADER_SIZE@GOTPAGEOFF]
Lloh15:
	adrp	x28, _debug@GOTPAGE
Lloh16:
	ldr	x28, [x28, _debug@GOTPAGEOFF]
Lloh17:
	adrp	x22, _tvout@GOTPAGE
Lloh18:
	ldr	x22, [x22, _tvout@GOTPAGEOFF]
	mov	w26, #1
	mov	x20, x0
	b	LBB0_4
LBB0_1:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x28]
	cbz	x8, LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_4 Depth=1
                                        ; kill: def $w25 killed $w25 killed $x25 def $x25
	sxtw	x8, w25
	str	x8, [sp, #-16]!
Lloh19:
	adrp	x0, l_.str.8@PAGE
Lloh20:
	add	x0, x0, l_.str.8@PAGEOFF
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	bl	_printf
	add	sp, sp, #16
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_52 Depth 2
	cbz	w26, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	q0, [x22]
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
Lloh21:
	adrp	x8, _tvsout@GOTPAGE
Lloh22:
	ldr	x8, [x8, _tvsout@GOTPAGEOFF]
Lloh23:
	ldr	q0, [x8]
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	stur	q0, [x29, #-144]
	ldur	w8, [x29, #-136]
	ldur	x9, [x29, #-144]
	cmp	x9, #0
	cinc	w25, w8, ne
	ldr	x0, [x21]
	sub	x1, x29, #148
	bl	_FD_SET
	ldr	x8, [x21]
	add	x0, x8, #1
	sub	x1, x29, #148
	sub	x4, x29, #144
	mov	x2, #0
	mov	x3, #0
	bl	_select
	cmn	w0, #1
	b.eq	LBB0_57
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x24, x0
	mov	x0, #0
	bl	_time
	cmp	w24, #1
	b.lt	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	sub	w8, w0, w20
	and	w8, w8, #0x7fffffff
	cmp	w8, w25
	b.le	LBB0_11
	b	LBB0_60
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	cbz	w24, LBB0_61
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x21]
	sub	x1, x29, #128
	mov	w2, #32
	mov	w3, #0
	bl	_recv
	cmn	w0, #1
	b.eq	LBB0_58
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x25, x0
	ldr	w8, [x23]
	cmp	w0, w8
	b.lt	LBB0_1
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	ldur	w0, [x29, #-112]
	bl	_INFO_VERSION
Lloh24:
	adrp	x8, _NTP_VERSION@GOTPAGE
Lloh25:
	ldr	x8, [x8, _NTP_VERSION@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	cmp	w0, w8
	b.gt	LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	ldur	w0, [x29, #-112]
	bl	_INFO_VERSION
Lloh27:
	adrp	x8, _NTP_OLDVERSION@GOTPAGE
Lloh28:
	ldr	x8, [x8, _NTP_OLDVERSION@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ge	LBB0_17
LBB0_15:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x28]
	cbz	x8, LBB0_4
; %bb.16:                               ;   in Loop: Header=BB0_4 Depth=1
	ldur	w0, [x29, #-112]
	bl	_INFO_VERSION
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp, #-16]!
Lloh30:
	adrp	x0, l_.str.9@PAGE
Lloh31:
	add	x0, x0, l_.str.9@PAGEOFF
	b	LBB0_3
LBB0_17:                                ;   in Loop: Header=BB0_4 Depth=1
	ldur	w0, [x29, #-112]
	bl	_INFO_MODE
Lloh32:
	adrp	x8, _MODE_PRIVATE@GOTPAGE
Lloh33:
	ldr	x8, [x8, _MODE_PRIVATE@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_21
; %bb.18:                               ;   in Loop: Header=BB0_4 Depth=1
	ldur	w0, [x29, #-108]
	bl	_INFO_IS_AUTH
	cbz	x0, LBB0_23
; %bb.19:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x28]
	cbz	x8, LBB0_4
; %bb.20:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh35:
	adrp	x0, l_str.22@PAGE
Lloh36:
	add	x0, x0, l_str.22@PAGEOFF
	bl	_puts
	b	LBB0_4
LBB0_21:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x28]
	cbz	x8, LBB0_4
; %bb.22:                               ;   in Loop: Header=BB0_4 Depth=1
	ldur	w0, [x29, #-112]
	bl	_INFO_MODE
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp, #-16]!
Lloh37:
	adrp	x0, l_.str.10@PAGE
Lloh38:
	add	x0, x0, l_.str.10@PAGEOFF
	b	LBB0_3
LBB0_23:                                ;   in Loop: Header=BB0_4 Depth=1
	ldur	w0, [x29, #-112]
	bl	_ISRESPONSE
	cbz	w0, LBB0_27
; %bb.24:                               ;   in Loop: Header=BB0_4 Depth=1
	ldur	w0, [x29, #-104]
	bl	_INFO_MBZ
	cbz	x0, LBB0_29
; %bb.25:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x28]
	cbz	x8, LBB0_4
; %bb.26:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh39:
	adrp	x0, l_str.21@PAGE
Lloh40:
	add	x0, x0, l_str.21@PAGEOFF
	bl	_puts
	b	LBB0_4
LBB0_27:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x28]
	cbz	x8, LBB0_4
; %bb.28:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh41:
	adrp	x0, l_str@PAGE
Lloh42:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	b	LBB0_4
LBB0_29:                                ;   in Loop: Header=BB0_4 Depth=1
	ldp	w8, w9, [x29, #-128]
	ldur	x10, [x29, #-176]               ; 8-byte Folded Reload
	cmp	w8, w10
	b.ne	LBB0_35
; %bb.30:                               ;   in Loop: Header=BB0_4 Depth=1
	ldur	x10, [x29, #-184]               ; 8-byte Folded Reload
	cmp	w9, w10
	b.ne	LBB0_35
; %bb.31:                               ;   in Loop: Header=BB0_4 Depth=1
	ldur	w0, [x29, #-100]
	bl	_INFO_ERR
Lloh43:
	adrp	x8, _INFO_OKAY@GOTPAGE
Lloh44:
	ldr	x8, [x8, _INFO_OKAY@GOTPAGEOFF]
Lloh45:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_74
; %bb.32:                               ;   in Loop: Header=BB0_4 Depth=1
	ldur	w0, [x29, #-100]
	bl	_INFO_NITEMS
	mov	x24, x0
	ldur	w0, [x29, #-104]
	bl	_INFO_ITEMSIZE
	ldur	x9, [x29, #-192]                ; 8-byte Folded Reload
	sub	w8, w9, w0
	cmp	x9, x0
	csel	w10, w8, wzr, hi
	mul	x11, x0, x24
	ldrsw	x8, [x23]
	sxtw	x9, w25
	sub	x8, x9, x8
	cmp	x11, x8
	b.ls	LBB0_38
; %bb.33:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x28]
	cbz	x9, LBB0_4
; %bb.34:                               ;   in Loop: Header=BB0_4 Depth=1
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	sub	sp, sp, #32
	stp	x11, x8, [sp, #16]
	stp	x24, x0, [sp]
Lloh46:
	adrp	x0, l_.str.16@PAGE
Lloh47:
	add	x0, x0, l_.str.16@PAGEOFF
	b	LBB0_37
LBB0_35:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x10, [x28]
	cbz	x10, LBB0_4
; %bb.36:                               ;   in Loop: Header=BB0_4 Depth=1
	sub	sp, sp, #32
	ldur	x10, [x29, #-184]               ; 8-byte Folded Reload
	str	x10, [sp, #24]
	ldur	x10, [x29, #-176]               ; 8-byte Folded Reload
	stp	x9, x10, [sp, #8]
	str	x8, [sp]
Lloh48:
	adrp	x0, l_.str.14@PAGE
Lloh49:
	add	x0, x0, l_.str.14@PAGEOFF
LBB0_37:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_printf
	add	sp, sp, #32
	b	LBB0_4
LBB0_38:                                ;   in Loop: Header=BB0_4 Depth=1
	cbnz	w26, LBB0_40
; %bb.39:                               ;   in Loop: Header=BB0_4 Depth=1
	ldur	x8, [x29, #-200]                ; 8-byte Folded Reload
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_45
LBB0_40:                                ;   in Loop: Header=BB0_4 Depth=1
	stp	x11, x24, [x29, #-256]          ; 16-byte Folded Spill
	stp	x10, x0, [x29, #-240]           ; 16-byte Folded Spill
	ldur	w0, [x29, #-108]
	bl	_INFO_SEQ
	mov	x24, x0
	sxtw	x8, w24
	ldrb	w9, [x19, x8]
	cbz	w9, LBB0_43
; %bb.41:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x28]
	cbz	x8, LBB0_4
; %bb.42:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x8, x24
	str	x8, [sp, #-16]!
Lloh50:
	adrp	x0, l_.str.18@PAGE
Lloh51:
	add	x0, x0, l_.str.18@PAGEOFF
	b	LBB0_3
LBB0_43:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w9, #1
	strb	w9, [x19, x8]
	ldur	w0, [x29, #-112]
	bl	_ISMORE
	cbz	x0, LBB0_47
; %bb.44:                               ;   in Loop: Header=BB0_4 Depth=1
	ldur	w24, [x29, #-168]               ; 4-byte Folded Reload
Lloh52:
	adrp	x25, _pktdata@GOTPAGE
Lloh53:
	ldr	x25, [x25, _pktdata@GOTPAGEOFF]
	b	LBB0_48
LBB0_45:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w26, #0
	ldr	x9, [x28]
	cbz	x9, LBB0_4
; %bb.46:                               ;   in Loop: Header=BB0_4 Depth=1
	stp	x0, x8, [sp, #-16]!
Lloh54:
	adrp	x0, l_.str.17@PAGE
Lloh55:
	add	x0, x0, l_.str.17@PAGEOFF
	bl	_printf
	add	sp, sp, #16
	mov	w26, #0
	b	LBB0_4
LBB0_47:                                ;   in Loop: Header=BB0_4 Depth=1
	ldur	w8, [x29, #-168]                ; 4-byte Folded Reload
	cmp	w8, #999
Lloh56:
	adrp	x25, _pktdata@GOTPAGE
Lloh57:
	ldr	x25, [x25, _pktdata@GOTPAGEOFF]
	b.ne	LBB0_56
LBB0_48:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, #0
	bl	_time
	mov	x20, x0
	ldp	x8, x11, [x29, #-256]           ; 16-byte Folded Reload
	add	x8, x27, x8
	ldur	x9, [x29, #-240]                ; 8-byte Folded Reload
	sxtw	x9, w9
	stur	x9, [x29, #-256]                ; 8-byte Folded Spill
	madd	x9, x11, x9, x8
	ldr	x8, [x25]
Lloh58:
	adrp	x10, _pktdatasize@GOTPAGE
Lloh59:
	ldr	x10, [x10, _pktdatasize@GOTPAGEOFF]
Lloh60:
	ldrsw	x10, [x10]
	add	x10, x8, x10
	cmp	x9, x10
	sub	x9, x29, #8
	stur	x24, [x9, #-256]                ; 8-byte Folded Spill
	b.ls	LBB0_50
; %bb.49:                               ;   in Loop: Header=BB0_4 Depth=1
	sub	x24, x27, x8
	bl	_growpktdata
	ldur	x11, [x29, #-248]               ; 8-byte Folded Reload
	ldr	x8, [x25]
	ldur	x9, [x29, #-224]                ; 8-byte Folded Reload
	str	x8, [x9]
	ldr	x8, [x25]
	add	x27, x8, x24
LBB0_50:                                ;   in Loop: Header=BB0_4 Depth=1
	ldur	x8, [x29, #-232]                ; 8-byte Folded Reload
	sub	x9, x29, #16
	stur	x19, [x9, #-256]                ; 8-byte Folded Spill
	cbz	x11, LBB0_53
; %bb.51:                               ;   in Loop: Header=BB0_4 Depth=1
	ldur	x25, [x29, #-120]
	ldur	x9, [x29, #-256]                ; 8-byte Folded Reload
	add	x9, x8, x9
	stur	x9, [x29, #-168]                ; 8-byte Folded Spill
	mov	x24, x11
LBB0_52:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x27
	mov	x1, x25
	ldur	x19, [x29, #-232]               ; 8-byte Folded Reload
	mov	x2, x19
	bl	_memcpy
	add	x25, x25, x19
	add	x0, x27, x19
	ldur	x1, [x29, #-240]                ; 8-byte Folded Reload
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_zero_mem
	ldur	x8, [x29, #-168]                ; 8-byte Folded Reload
	add	x27, x27, x8
	subs	x24, x24, #1
	b.ne	LBB0_52
LBB0_53:                                ;   in Loop: Header=BB0_4 Depth=1
	ldur	x8, [x29, #-232]                ; 8-byte Folded Reload
	cbz	w26, LBB0_55
; %bb.54:                               ;   in Loop: Header=BB0_4 Depth=1
	ldur	x9, [x29, #-256]                ; 8-byte Folded Reload
	add	x8, x8, x9
	ldur	x9, [x29, #-200]                ; 8-byte Folded Reload
	str	x8, [x9]
LBB0_55:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w26, #0
	ldur	x9, [x29, #-216]                ; 8-byte Folded Reload
	ldr	x8, [x9]
	ldur	x10, [x29, #-248]               ; 8-byte Folded Reload
	add	x8, x8, x10
	str	x8, [x9]
	ldur	w9, [x29, #-204]                ; 4-byte Folded Reload
	add	w8, w9, #1
	sub	x10, x29, #8
	ldur	x11, [x10, #-256]               ; 8-byte Folded Reload
	mov	x10, x11
	stur	w11, [x29, #-168]               ; 4-byte Folded Spill
	cmp	w9, w11
	stur	w8, [x29, #-204]                ; 4-byte Folded Spill
	sub	x8, x29, #16
	ldur	x19, [x8, #-256]                ; 8-byte Folded Reload
	b.lt	LBB0_4
	b	LBB0_78
LBB0_56:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh61:
	adrp	x0, l_str.20@PAGE
Lloh62:
	add	x0, x0, l_str.20@PAGEOFF
	bl	_puts
	b	LBB0_4
LBB0_57:
Lloh63:
	adrp	x0, l_.str@PAGE
Lloh64:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_59
LBB0_58:
Lloh65:
	adrp	x0, l_.str.7@PAGE
Lloh66:
	add	x0, x0, l_.str.7@PAGEOFF
LBB0_59:
	bl	_warning
	mov	w0, #-1
	b	LBB0_72
LBB0_60:
	ldr	x0, [x21]
	sub	x1, x29, #128
	mov	w2, #32
	mov	w3, #0
	bl	_recv
LBB0_61:
Lloh67:
	adrp	x8, _stderr@GOTPAGE
Lloh68:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh69:
	ldr	w0, [x8]
Lloh70:
	adrp	x8, _currenthost@GOTPAGE
Lloh71:
	ldr	x8, [x8, _currenthost@GOTPAGEOFF]
Lloh72:
	ldr	x2, [x8]
	cbz	w26, LBB0_63
; %bb.62:
Lloh73:
	adrp	x1, l_.str.1@PAGE
Lloh74:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fprintf
Lloh75:
	adrp	x8, _ERR_TIMEOUT@GOTPAGE
Lloh76:
	ldr	x8, [x8, _ERR_TIMEOUT@GOTPAGEOFF]
	b	LBB0_71
LBB0_63:
Lloh77:
	adrp	x1, l_.str.2@PAGE
Lloh78:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_fprintf
	ldr	x8, [x28]
	cbz	x8, LBB0_70
; %bb.64:
Lloh79:
	adrp	x0, l_.str.3@PAGE
Lloh80:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_printf
Lloh81:
	adrp	x22, _MAXSEQ@GOTPAGE
Lloh82:
	ldr	x22, [x22, _MAXSEQ@GOTPAGEOFF]
	ldr	w8, [x22]
	tbnz	w8, #31, LBB0_69
; %bb.65:
	mov	x21, #0
Lloh83:
	adrp	x20, l_.str.4@PAGE
Lloh84:
	add	x20, x20, l_.str.4@PAGEOFF
	b	LBB0_67
LBB0_66:                                ;   in Loop: Header=BB0_67 Depth=1
	cmp	x21, w8, sxtw
	add	x21, x21, #1
	b.ge	LBB0_69
LBB0_67:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x19, x21]
	cbz	w9, LBB0_66
; %bb.68:                               ;   in Loop: Header=BB0_67 Depth=1
	str	x21, [sp, #-16]!
	mov	x0, x20
	bl	_printf
	add	sp, sp, #16
	ldr	w8, [x22]
	b	LBB0_66
LBB0_69:
Lloh85:
	adrp	x8, l_str.24@PAGE
Lloh86:
	add	x8, x8, l_str.24@PAGEOFF
Lloh87:
	adrp	x9, l_str.23@PAGE
Lloh88:
	add	x9, x9, l_str.23@PAGEOFF
	ldur	w10, [x29, #-168]               ; 4-byte Folded Reload
	cmp	w10, #999
	csel	x0, x9, x8, eq
	bl	_puts
LBB0_70:
Lloh89:
	adrp	x8, _ERR_INCOMPLETE@GOTPAGE
Lloh90:
	ldr	x8, [x8, _ERR_INCOMPLETE@GOTPAGEOFF]
LBB0_71:
	ldr	w0, [x8]
LBB0_72:
	ldur	x8, [x29, #-160]                ; 8-byte Folded Reload
	mov	sp, x8
	ldur	x8, [x29, #-96]
Lloh91:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh92:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh93:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_79
; %bb.73:
	sub	sp, x29, #80
	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
	ret
LBB0_74:
	ldr	x8, [x28]
	cbz	x8, LBB0_77
; %bb.75:
	ldur	w0, [x29, #-112]
	bl	_ISMORE
	cbz	x0, LBB0_77
; %bb.76:
	ldur	w0, [x29, #-100]
	bl	_INFO_ERR
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp, #-16]!
Lloh94:
	adrp	x0, l_.str.15@PAGE
Lloh95:
	add	x0, x0, l_.str.15@PAGEOFF
	bl	_printf
	add	sp, sp, #16
LBB0_77:
	ldur	w0, [x29, #-100]
	bl	_INFO_ERR
	b	LBB0_72
LBB0_78:
Lloh96:
	adrp	x8, _INFO_OKAY@GOTPAGE
Lloh97:
	ldr	x8, [x8, _INFO_OKAY@GOTPAGEOFF]
	b	LBB0_71
LBB0_79:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpAdd	Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGot	Lloh75, Lloh76
	.loh AdrpAdd	Lloh73, Lloh74
	.loh AdrpAdd	Lloh77, Lloh78
	.loh AdrpLdrGot	Lloh81, Lloh82
	.loh AdrpAdd	Lloh79, Lloh80
	.loh AdrpAdd	Lloh83, Lloh84
	.loh AdrpAdd	Lloh87, Lloh88
	.loh AdrpAdd	Lloh85, Lloh86
	.loh AdrpLdrGot	Lloh89, Lloh90
	.loh AdrpLdrGotLdr	Lloh91, Lloh92, Lloh93
	.loh AdrpAdd	Lloh94, Lloh95
	.loh AdrpLdrGot	Lloh96, Lloh97
	.cfi_endproc
                                        ; -- End function
	.comm	_MAXSEQ,4,2                     ; @MAXSEQ
	.comm	_pktdata,8,3                    ; @pktdata
	.comm	_tvout,16,3                     ; @tvout
	.comm	_tvsout,16,3                    ; @tvsout
	.comm	_sockfd,8,3                     ; @sockfd
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"select fails"

	.comm	_stderr,4,2                     ; @stderr
l_.str.1:                               ; @.str.1
	.asciz	"%s: timed out, nothing received\n"

	.comm	_currenthost,8,3                ; @currenthost
	.comm	_ERR_TIMEOUT,4,2                ; @ERR_TIMEOUT
l_.str.2:                               ; @.str.2
	.asciz	"%s: timed out with incomplete data\n"

	.comm	_debug,8,3                      ; @debug
l_.str.3:                               ; @.str.3
	.asciz	"Received sequence numbers"

l_.str.4:                               ; @.str.4
	.asciz	" %zd,"

	.comm	_ERR_INCOMPLETE,4,2             ; @ERR_INCOMPLETE
l_.str.7:                               ; @.str.7
	.asciz	"read"

	.comm	_RESP_HEADER_SIZE,4,2           ; @RESP_HEADER_SIZE
l_.str.8:                               ; @.str.8
	.asciz	"Short (%zd byte) packet received\n"

	.comm	_NTP_VERSION,4,2                ; @NTP_VERSION
	.comm	_NTP_OLDVERSION,4,2             ; @NTP_OLDVERSION
l_.str.9:                               ; @.str.9
	.asciz	"Packet received with version %d\n"

	.comm	_MODE_PRIVATE,4,2               ; @MODE_PRIVATE
l_.str.10:                              ; @.str.10
	.asciz	"Packet received with mode %d\n"

l_.str.14:                              ; @.str.14
	.asciz	"Received implementation/request of %d/%d, wanted %d/%d"

	.comm	_INFO_OKAY,4,2                  ; @INFO_OKAY
l_.str.15:                              ; @.str.15
	.asciz	"Error code %d received on not-final packet\n"

l_.str.16:                              ; @.str.16
	.asciz	"Received items %zu, size %zu (total %zu), data in packet is %zu\n"

l_.str.17:                              ; @.str.17
	.asciz	"Received itemsize %zu, previous %zu\n"

l_.str.18:                              ; @.str.18
	.asciz	"Received duplicate sequence number %d\n"

	.comm	_pktdatasize,4,2                ; @pktdatasize
l_str:                                  ; @str
	.asciz	"Received request packet, wanted response"

l_str.20:                               ; @str.20
	.asciz	"Received second end sequence packet"

l_str.21:                               ; @str.21
	.asciz	"Received packet with nonzero MBZ field!"

l_str.22:                               ; @str.22
	.asciz	"Encrypted packet received"

l_str.23:                               ; @str.23
	.asciz	" last frame not received"

l_str.24:                               ; @str.24
	.asciz	" last frame received"

	.no_dead_strip	_getresponse
.subsections_via_symbols
