	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_process_control                ## -- Begin function process_control
	.p2align	4, 0x90
_process_control:                       ## @process_control
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	movl	$3, %edi
	callq	_DPRINTF
	movq	_numctlreq@GOTPCREL(%rip), %rax
	incl	(%rax)
	leaq	4(%rbx), %r12
	movq	_rmt_addr@GOTPCREL(%rip), %rax
	movq	%r12, (%rax)
	movl	12(%rbx), %eax
	movq	_lcl_inter@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	leaq	8(%rbx), %r15
	movl	(%rbx), %eax
	movq	_CTL_HEADER_LEN@GOTPCREL(%rip), %r13
	cmpl	(%r13), %eax
	jl	LBB0_3
## %bb.1:
	movq	_CTL_RESPONSE@GOTPCREL(%rip), %rax
	movq	_CTL_MORE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_CTL_ERROR@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	testl	%ecx, (%r15)
	jne	LBB0_3
## %bb.2:
	cmpq	$0, 8(%r15)
	je	LBB0_13
LBB0_3:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	callq	_DPRINTF
	movl	(%rbx), %eax
	cmpl	(%r13), %eax
	jge	LBB0_5
## %bb.4:
	movq	_numctltooshort@GOTPCREL(%rip), %rax
	incl	(%rax)
LBB0_5:
	movq	_CTL_RESPONSE@GOTPCREL(%rip), %rcx
	movl	(%r15), %eax
	testl	%eax, (%rcx)
	je	LBB0_7
## %bb.6:
	movq	_numctlinputresp@GOTPCREL(%rip), %rcx
	incl	(%rcx)
LBB0_7:
	movq	_CTL_MORE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_9
## %bb.8:
	movq	_numctlinputfrag@GOTPCREL(%rip), %rcx
	incl	(%rcx)
LBB0_9:
	movq	_CTL_ERROR@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_11
## %bb.10:
	movq	_numctlinputerr@GOTPCREL(%rip), %rax
	incl	(%rax)
LBB0_11:
	cmpq	$0, 8(%r15)
	je	LBB0_22
## %bb.12:
	movq	_numctlbadoffset@GOTPCREL(%rip), %rax
LBB0_21:
	incl	(%rax)
LBB0_22:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movl	36(%r15), %edi
	callq	_PKT_VERSION
	movq	_res_version@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_NTP_VERSION@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jg	LBB0_15
## %bb.14:
	movq	_NTP_OLDVERSION@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_15
## %bb.16:
	movq	_sys_leap@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	_MODE_CONTROL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rax, %rsi
	callq	_PKT_LI_VN_MODE
	movq	_rpkt@GOTPCREL(%rip), %rdx
	movl	%eax, 24(%rdx)
	movl	8(%rbx), %eax
	movq	_res_opcode@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	40(%rbx), %eax
	movl	%eax, 20(%rdx)
	movl	36(%rbx), %edi
	movl	%edi, 16(%rdx)
	movq	$0, 8(%rdx)
	movq	_res_frags@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	_res_offset@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	callq	_htons
	movq	_res_associd@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_res_async@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_res_authenticate@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_res_keyid@GOTPCREL(%rip), %rcx
	movq	$0, (%rcx)
	movq	_res_authokay@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movl	32(%rbx), %edi
	callq	_ntohs
	movq	%rax, %rsi
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_datanotbinflag@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_datalinelen@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_datasent@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_rpkt@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_datapt@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_CTL_MAX_DATA_LEN@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	leaq	(%rax,%rcx,4), %rax
	movq	_dataend@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movl	(%rbx), %eax
	testb	$3, %al
	je	LBB0_18
## %bb.17:
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movslq	%eax, %rsi
	movl	$3, %edi
	callq	_DPRINTF
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	(%rbx), %eax
LBB0_18:
	testb	$3, %al
	jne	LBB0_20
## %bb.19:
	movl	(%r13), %ecx
	movl	%eax, %edx
	subl	%ecx, %edx
	cmpl	%esi, %edx
	jl	LBB0_20
## %bb.23:
	addl	%esi, %ecx
	addl	$7, %ecx
	movslq	%ecx, %rcx
	andq	$-8, %rcx
	subl	%ecx, %eax
	movslq	%eax, %r13
	movq	_MIN_MAC_LEN@GOTPCREL(%rip), %rax
	cmpq	%r13, (%rax)
	ja	LBB0_31
## %bb.24:
	movq	_MAX_MAC_LEN@GOTPCREL(%rip), %rax
	cmpq	%r13, (%rax)
	jb	LBB0_31
## %bb.25:
	movq	_sys_authenticate@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_31
## %bb.26:
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_res_authenticate@GOTPCREL(%rip), %rdx
	movq	%rax, (%rdx)
	movl	(%r15,%rcx), %edi
	callq	_ntohl
	movq	_res_keyid@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movl	$3, %edi
	movq	%r13, %rsi
	callq	_DPRINTF
	movq	_res_keyid@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%r12, %rsi
	callq	_authistrustedip
	movq	_res_keyid@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	testl	%eax, %eax
	je	LBB0_30
## %bb.27:
	movslq	(%rbx), %rdx
	subq	%r13, %rdx
	movq	%rsi, %rdi
	movq	%r15, %rsi
	movq	%r13, %rcx
	callq	_authdecrypt
	testq	%rax, %rax
	je	LBB0_29
## %bb.28:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_res_authokay@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	leaq	L_.str.6(%rip), %rsi
	jmp	LBB0_30
LBB0_15:
	movl	$1, %edi
	movq	%rax, %rsi
	callq	_DPRINTF
	movq	_numctlbadversion@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_20:
	movq	_CERR_BADFMT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ctl_error
	movq	_numctldatatooshort@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_29:
	movq	_res_keyid@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	leaq	L_.str.7(%rip), %rsi
LBB0_30:
	movl	$3, %edi
	callq	_DPRINTF
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
LBB0_31:
	movq	16(%r15), %rax
	movq	_reqpt@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movslq	%esi, %rcx
	addq	%rax, %rcx
	movq	_reqend@GOTPCREL(%rip), %rax
	movq	%rcx, (%rax)
	movq	_control_codes@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	_NO_REQUEST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	(%r15), %ecx
	cmpl	%eax, %ecx
	je	LBB0_41
## %bb.32:
	movq	_res_opcode@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %rsi
	addq	$24, %r15
LBB0_33:                                ## =>This Inner Loop Header: Depth=1
	cmpl	%esi, %ecx
	je	LBB0_34
## %bb.40:                              ##   in Loop: Header=BB0_33 Depth=1
	movl	(%r15), %ecx
	addq	$24, %r15
	cmpl	%eax, %ecx
	jne	LBB0_33
LBB0_41:
	movq	_numctlbadop@GOTPCREL(%rip), %rax
	incl	(%rax)
	movq	_CERR_BADOP@GOTPCREL(%rip), %rax
LBB0_38:
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ctl_error                      ## TAILCALL
LBB0_34:
	movl	$3, %edi
	callq	_DPRINTF
	movq	-16(%r15), %rax
	movq	_AUTH@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_39
## %bb.35:
	movq	_res_authokay@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_37
## %bb.36:
	movq	_res_keyid@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_ctl_auth_keyid@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_37
LBB0_39:
	movq	-8(%r15), %rax
	movq	%rbx, %rdi
	movl	%r14d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_37:
	movq	_CERR_PERMISSION@GOTPCREL(%rip), %rax
	jmp	LBB0_38
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"in process_control()\n"

	.comm	_numctlreq,4,2                  ## @numctlreq
	.comm	_rmt_addr,8,3                   ## @rmt_addr
	.comm	_lcl_inter,4,2                  ## @lcl_inter
	.comm	_CTL_HEADER_LEN,4,2             ## @CTL_HEADER_LEN
	.comm	_CTL_RESPONSE,4,2               ## @CTL_RESPONSE
	.comm	_CTL_MORE,4,2                   ## @CTL_MORE
	.comm	_CTL_ERROR,4,2                  ## @CTL_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"invalid format in control packet\n"

	.comm	_numctltooshort,4,2             ## @numctltooshort
	.comm	_numctlinputresp,4,2            ## @numctlinputresp
	.comm	_numctlinputfrag,4,2            ## @numctlinputfrag
	.comm	_numctlinputerr,4,2             ## @numctlinputerr
	.comm	_numctlbadoffset,4,2            ## @numctlbadoffset
	.comm	_res_version,8,3                ## @res_version
	.comm	_NTP_VERSION,8,3                ## @NTP_VERSION
	.comm	_NTP_OLDVERSION,8,3             ## @NTP_OLDVERSION
	.comm	_numctlbadversion,4,2           ## @numctlbadversion
	.comm	_sys_leap,4,2                   ## @sys_leap
	.comm	_MODE_CONTROL,4,2               ## @MODE_CONTROL
	.comm	_rpkt,32,3                      ## @rpkt
	.comm	_res_opcode,4,2                 ## @res_opcode
	.comm	_res_frags,4,2                  ## @res_frags
	.comm	_res_offset,8,3                 ## @res_offset
	.comm	_res_associd,4,2                ## @res_associd
	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_res_async,8,3                  ## @res_async
	.comm	_res_authenticate,8,3           ## @res_authenticate
	.comm	_res_keyid,8,3                  ## @res_keyid
	.comm	_res_authokay,8,3               ## @res_authokay
	.comm	_datanotbinflag,8,3             ## @datanotbinflag
	.comm	_datalinelen,8,3                ## @datalinelen
	.comm	_datasent,8,3                   ## @datasent
	.comm	_datapt,8,3                     ## @datapt
	.comm	_CTL_MAX_DATA_LEN,8,3           ## @CTL_MAX_DATA_LEN
	.comm	_dataend,8,3                    ## @dataend
	.comm	_CERR_BADFMT,4,2                ## @CERR_BADFMT
	.comm	_numctldatatooshort,4,2         ## @numctldatatooshort
	.comm	_MIN_MAC_LEN,8,3                ## @MIN_MAC_LEN
	.comm	_MAX_MAC_LEN,8,3                ## @MAX_MAC_LEN
	.comm	_sys_authenticate,8,3           ## @sys_authenticate
	.comm	_TRUE,8,3                       ## @TRUE
L_.str.6:                               ## @.str.6
	.asciz	"authenticated okay\n"

L_.str.7:                               ## @.str.7
	.asciz	"authentication failed\n"

	.comm	_reqpt,8,3                      ## @reqpt
	.comm	_reqend,8,3                     ## @reqend
	.comm	_control_codes,8,3              ## @control_codes
	.comm	_NO_REQUEST,4,2                 ## @NO_REQUEST
	.comm	_AUTH,8,3                       ## @AUTH
	.comm	_ctl_auth_keyid,8,3             ## @ctl_auth_keyid
	.comm	_CERR_PERMISSION,4,2            ## @CERR_PERMISSION
	.comm	_numctlbadop,4,2                ## @numctlbadop
	.comm	_CERR_BADOP,4,2                 ## @CERR_BADOP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_process_control                ; -- Begin function process_control
	.p2align	2
_process_control:                       ; @process_control
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #3
	bl	_DPRINTF
Lloh2:
	adrp	x8, _numctlreq@GOTPAGE
Lloh3:
	ldr	x8, [x8, _numctlreq@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
Lloh4:
	adrp	x8, _rmt_addr@GOTPAGE
Lloh5:
	ldr	x8, [x8, _rmt_addr@GOTPAGEOFF]
	add	x22, x19, #4
Lloh6:
	str	x22, [x8]
	ldr	w8, [x19, #12]
Lloh7:
	adrp	x9, _lcl_inter@GOTPAGE
Lloh8:
	ldr	x9, [x9, _lcl_inter@GOTPAGEOFF]
Lloh9:
	str	w8, [x9]
	add	x21, x19, #8
	ldr	w8, [x19]
Lloh10:
	adrp	x24, _CTL_HEADER_LEN@GOTPAGE
Lloh11:
	ldr	x24, [x24, _CTL_HEADER_LEN@GOTPAGEOFF]
Lloh12:
	adrp	x26, _CTL_RESPONSE@GOTPAGE
Lloh13:
	ldr	x26, [x26, _CTL_RESPONSE@GOTPAGEOFF]
	ldr	w9, [x24]
Lloh14:
	adrp	x25, _CTL_MORE@GOTPAGE
Lloh15:
	ldr	x25, [x25, _CTL_MORE@GOTPAGEOFF]
Lloh16:
	adrp	x23, _CTL_ERROR@GOTPAGE
Lloh17:
	ldr	x23, [x23, _CTL_ERROR@GOTPAGEOFF]
	cmp	w8, w9
	b.lt	LBB0_3
; %bb.1:
	ldr	w8, [x26]
	ldr	w9, [x25]
	orr	w8, w9, w8
	ldr	w9, [x23]
	orr	w8, w8, w9
	ldr	w9, [x21]
	tst	w8, w9
	b.ne	LBB0_3
; %bb.2:
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_15
LBB0_3:
Lloh18:
	adrp	x1, l_.str.1@PAGE
Lloh19:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_DPRINTF
	ldr	w8, [x19]
	ldr	w9, [x24]
	cmp	w8, w9
	b.ge	LBB0_5
; %bb.4:
Lloh20:
	adrp	x8, _numctltooshort@GOTPAGE
Lloh21:
	ldr	x8, [x8, _numctltooshort@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
LBB0_5:
	ldr	w9, [x26]
	ldr	w8, [x21]
	tst	w8, w9
	b.eq	LBB0_7
; %bb.6:
Lloh22:
	adrp	x9, _numctlinputresp@GOTPAGE
Lloh23:
	ldr	x9, [x9, _numctlinputresp@GOTPAGEOFF]
	ldr	w10, [x9]
	add	w10, w10, #1
	str	w10, [x9]
LBB0_7:
	ldr	w9, [x25]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.8:
Lloh24:
	adrp	x9, _numctlinputfrag@GOTPAGE
Lloh25:
	ldr	x9, [x9, _numctlinputfrag@GOTPAGEOFF]
	ldr	w10, [x9]
	add	w10, w10, #1
	str	w10, [x9]
LBB0_9:
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_11
; %bb.10:
Lloh26:
	adrp	x8, _numctlinputerr@GOTPAGE
Lloh27:
	ldr	x8, [x8, _numctlinputerr@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
LBB0_11:
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_14
; %bb.12:
Lloh28:
	adrp	x8, _numctlbadoffset@GOTPAGE
Lloh29:
	ldr	x8, [x8, _numctlbadoffset@GOTPAGEOFF]
LBB0_13:
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
LBB0_14:
	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_15:
	ldr	w0, [x21, #36]
	bl	_PKT_VERSION
	mov	x1, x0
Lloh30:
	adrp	x8, _res_version@GOTPAGE
Lloh31:
	ldr	x8, [x8, _res_version@GOTPAGEOFF]
Lloh32:
	str	x0, [x8]
Lloh33:
	adrp	x8, _NTP_VERSION@GOTPAGE
Lloh34:
	ldr	x8, [x8, _NTP_VERSION@GOTPAGEOFF]
Lloh35:
	ldr	x8, [x8]
	cmp	x0, x8
	b.gt	LBB0_27
; %bb.16:
Lloh36:
	adrp	x8, _NTP_OLDVERSION@GOTPAGE
Lloh37:
	ldr	x8, [x8, _NTP_OLDVERSION@GOTPAGEOFF]
Lloh38:
	ldr	x8, [x8]
	cmp	x1, x8
	b.lt	LBB0_27
; %bb.17:
Lloh39:
	adrp	x8, _sys_leap@GOTPAGE
Lloh40:
	ldr	x8, [x8, _sys_leap@GOTPAGEOFF]
Lloh41:
	ldr	w0, [x8]
Lloh42:
	adrp	x8, _MODE_CONTROL@GOTPAGE
Lloh43:
	ldr	x8, [x8, _MODE_CONTROL@GOTPAGEOFF]
Lloh44:
	ldr	w2, [x8]
	bl	_PKT_LI_VN_MODE
Lloh45:
	adrp	x26, _rpkt@GOTPAGE
Lloh46:
	ldr	x26, [x26, _rpkt@GOTPAGEOFF]
	str	w0, [x26, #24]
	ldr	w8, [x19, #8]
Lloh47:
	adrp	x9, _res_opcode@GOTPAGE
Lloh48:
	ldr	x9, [x9, _res_opcode@GOTPAGEOFF]
Lloh49:
	str	w8, [x9]
	ldur	d0, [x19, #36]
	str	d0, [x26, #16]
	str	xzr, [x26, #8]
Lloh50:
	adrp	x8, _res_frags@GOTPAGE
Lloh51:
	ldr	x8, [x8, _res_frags@GOTPAGEOFF]
	mov	w9, #1
Lloh52:
	str	w9, [x8]
Lloh53:
	adrp	x8, _res_offset@GOTPAGE
Lloh54:
	ldr	x8, [x8, _res_offset@GOTPAGEOFF]
Lloh55:
	str	xzr, [x8]
	fmov	w0, s0
	bl	_htons
Lloh56:
	adrp	x8, _res_associd@GOTPAGE
Lloh57:
	ldr	x8, [x8, _res_associd@GOTPAGEOFF]
Lloh58:
	str	w0, [x8]
Lloh59:
	adrp	x27, _FALSE@GOTPAGE
Lloh60:
	ldr	x27, [x27, _FALSE@GOTPAGEOFF]
Lloh61:
	adrp	x8, _res_async@GOTPAGE
Lloh62:
	ldr	x8, [x8, _res_async@GOTPAGEOFF]
	ldr	x9, [x27]
Lloh63:
	str	x9, [x8]
Lloh64:
	adrp	x28, _res_authenticate@GOTPAGE
Lloh65:
	ldr	x28, [x28, _res_authenticate@GOTPAGEOFF]
Lloh66:
	adrp	x25, _res_keyid@GOTPAGE
Lloh67:
	ldr	x25, [x25, _res_keyid@GOTPAGEOFF]
	str	x9, [x28]
	str	xzr, [x25]
Lloh68:
	adrp	x8, _res_authokay@GOTPAGE
Lloh69:
	ldr	x8, [x8, _res_authokay@GOTPAGEOFF]
Lloh70:
	str	x9, [x8]
	ldr	w0, [x19, #32]
	bl	_ntohs
	mov	x23, x0
	ldr	x8, [x27]
Lloh71:
	adrp	x9, _datanotbinflag@GOTPAGE
Lloh72:
	ldr	x9, [x9, _datanotbinflag@GOTPAGEOFF]
Lloh73:
	adrp	x10, _datalinelen@GOTPAGE
Lloh74:
	ldr	x10, [x10, _datalinelen@GOTPAGEOFF]
Lloh75:
	str	x8, [x9]
Lloh76:
	str	xzr, [x10]
Lloh77:
	adrp	x8, _datasent@GOTPAGE
Lloh78:
	ldr	x8, [x8, _datasent@GOTPAGEOFF]
Lloh79:
	str	xzr, [x8]
	ldr	x8, [x26]
Lloh80:
	adrp	x9, _datapt@GOTPAGE
Lloh81:
	ldr	x9, [x9, _datapt@GOTPAGEOFF]
Lloh82:
	str	x8, [x9]
Lloh83:
	adrp	x9, _CTL_MAX_DATA_LEN@GOTPAGE
Lloh84:
	ldr	x9, [x9, _CTL_MAX_DATA_LEN@GOTPAGEOFF]
Lloh85:
	ldr	x9, [x9]
	add	x8, x8, x9, lsl #2
Lloh86:
	adrp	x9, _dataend@GOTPAGE
Lloh87:
	ldr	x9, [x9, _dataend@GOTPAGEOFF]
Lloh88:
	str	x8, [x9]
	ldr	w8, [x19]
	tst	w8, #0x3
	b.eq	LBB0_19
; %bb.18:
	sxtw	x1, w8
	mov	w0, #3
	bl	_DPRINTF
	ldr	w8, [x19]
LBB0_19:
	tst	w8, #0x3
	b.ne	LBB0_28
; %bb.20:
	ldr	w9, [x24]
	sub	w10, w8, w9
	cmp	w10, w23
	b.lt	LBB0_28
; %bb.21:
	add	w9, w23, w9
	add	w9, w9, #7
	sxtw	x9, w9
	and	x9, x9, #0xfffffffffffffff8
	sub	w8, w8, w9
	sxtw	x24, w8
Lloh89:
	adrp	x8, _MIN_MAC_LEN@GOTPAGE
Lloh90:
	ldr	x8, [x8, _MIN_MAC_LEN@GOTPAGEOFF]
Lloh91:
	ldr	x8, [x8]
	cmp	x8, x24
	b.hi	LBB0_31
; %bb.22:
Lloh92:
	adrp	x8, _MAX_MAC_LEN@GOTPAGE
Lloh93:
	ldr	x8, [x8, _MAX_MAC_LEN@GOTPAGEOFF]
Lloh94:
	ldr	x8, [x8]
	cmp	x8, x24
	b.lo	LBB0_31
; %bb.23:
Lloh95:
	adrp	x8, _sys_authenticate@GOTPAGE
Lloh96:
	ldr	x8, [x8, _sys_authenticate@GOTPAGEOFF]
Lloh97:
	ldr	x8, [x8]
	cbz	x8, LBB0_31
; %bb.24:
Lloh98:
	adrp	x26, _TRUE@GOTPAGE
Lloh99:
	ldr	x26, [x26, _TRUE@GOTPAGEOFF]
	ldr	x8, [x26]
	str	x8, [x28]
	ldr	w0, [x21, x9]
	bl	_ntohl
	str	x0, [x25]
	mov	w0, #3
	mov	x1, x24
	bl	_DPRINTF
	ldr	x0, [x25]
	mov	x1, x22
	bl	_authistrustedip
	ldr	x1, [x25]
	cbz	w0, LBB0_30
; %bb.25:
	ldrsw	x8, [x19]
	sub	x2, x8, x24
	mov	x0, x1
	mov	x1, x21
	mov	x3, x24
	bl	_authdecrypt
	cbz	x0, LBB0_29
; %bb.26:
	ldr	x8, [x26]
Lloh100:
	adrp	x9, _res_authokay@GOTPAGE
Lloh101:
	ldr	x9, [x9, _res_authokay@GOTPAGEOFF]
Lloh102:
	str	x8, [x9]
Lloh103:
	adrp	x1, l_.str.6@PAGE
Lloh104:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_30
LBB0_27:
	mov	w0, #1
	bl	_DPRINTF
Lloh105:
	adrp	x8, _numctlbadversion@GOTPAGE
Lloh106:
	ldr	x8, [x8, _numctlbadversion@GOTPAGEOFF]
	b	LBB0_13
LBB0_28:
Lloh107:
	adrp	x8, _CERR_BADFMT@GOTPAGE
Lloh108:
	ldr	x8, [x8, _CERR_BADFMT@GOTPAGEOFF]
Lloh109:
	ldr	w0, [x8]
	bl	_ctl_error
Lloh110:
	adrp	x8, _numctldatatooshort@GOTPAGE
Lloh111:
	ldr	x8, [x8, _numctldatatooshort@GOTPAGEOFF]
	b	LBB0_13
LBB0_29:
	str	xzr, [x25]
Lloh112:
	adrp	x1, l_.str.7@PAGE
Lloh113:
	add	x1, x1, l_.str.7@PAGEOFF
LBB0_30:
	mov	w0, #3
	bl	_DPRINTF
LBB0_31:
	ldr	x8, [x21, #16]
Lloh114:
	adrp	x9, _reqpt@GOTPAGE
Lloh115:
	ldr	x9, [x9, _reqpt@GOTPAGEOFF]
Lloh116:
	str	x8, [x9]
	add	x8, x8, w23, sxtw
Lloh117:
	adrp	x9, _reqend@GOTPAGE
Lloh118:
	ldr	x9, [x9, _reqend@GOTPAGEOFF]
Lloh119:
	str	x8, [x9]
Lloh120:
	adrp	x8, _control_codes@GOTPAGE
Lloh121:
	ldr	x8, [x8, _control_codes@GOTPAGEOFF]
Lloh122:
	ldr	x10, [x8]
Lloh123:
	adrp	x8, _NO_REQUEST@GOTPAGE
Lloh124:
	ldr	x8, [x8, _NO_REQUEST@GOTPAGEOFF]
Lloh125:
	ldr	w8, [x8]
	ldr	w9, [x10]
	cmp	w9, w8
	b.eq	LBB0_35
; %bb.32:
Lloh126:
	adrp	x11, _res_opcode@GOTPAGE
Lloh127:
	ldr	x11, [x11, _res_opcode@GOTPAGEOFF]
Lloh128:
	ldrsw	x1, [x11]
	add	x21, x10, #16
LBB0_33:                                ; =>This Inner Loop Header: Depth=1
	cmp	w9, w1
	b.eq	LBB0_37
; %bb.34:                               ;   in Loop: Header=BB0_33 Depth=1
	ldr	w9, [x21, #8]
	add	x21, x21, #24
	cmp	w9, w8
	b.ne	LBB0_33
LBB0_35:
Lloh129:
	adrp	x8, _numctlbadop@GOTPAGE
Lloh130:
	ldr	x8, [x8, _numctlbadop@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
Lloh131:
	adrp	x8, _CERR_BADOP@GOTPAGE
Lloh132:
	ldr	x8, [x8, _CERR_BADOP@GOTPAGEOFF]
LBB0_36:
	ldr	w0, [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	_ctl_error
LBB0_37:
	mov	w0, #3
	bl	_DPRINTF
	ldur	x8, [x21, #-8]
Lloh133:
	adrp	x9, _AUTH@GOTPAGE
Lloh134:
	ldr	x9, [x9, _AUTH@GOTPAGEOFF]
Lloh135:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_40
; %bb.38:
Lloh136:
	adrp	x8, _res_authokay@GOTPAGE
Lloh137:
	ldr	x8, [x8, _res_authokay@GOTPAGEOFF]
Lloh138:
	ldr	x8, [x8]
	cbz	x8, LBB0_41
; %bb.39:
	ldr	x8, [x25]
Lloh139:
	adrp	x9, _ctl_auth_keyid@GOTPAGE
Lloh140:
	ldr	x9, [x9, _ctl_auth_keyid@GOTPAGEOFF]
Lloh141:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_41
LBB0_40:
	ldr	x2, [x21]
	mov	x0, x19
	mov	x1, x20
	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
	br	x2
LBB0_41:
Lloh142:
	adrp	x8, _CERR_PERMISSION@GOTPAGE
Lloh143:
	ldr	x8, [x8, _CERR_PERMISSION@GOTPAGEOFF]
	b	LBB0_36
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotStr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotStr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotStr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotStr	Lloh86, Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpLdrGotStr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGotStr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGotStr	Lloh73, Lloh74, Lloh76
	.loh AdrpLdrGotStr	Lloh71, Lloh72, Lloh75
	.loh AdrpLdrGotStr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGot	Lloh66, Lloh67
	.loh AdrpLdrGot	Lloh64, Lloh65
	.loh AdrpLdrGotStr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGot	Lloh59, Lloh60
	.loh AdrpLdrGotStr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotStr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotStr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotStr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.loh AdrpLdrGotLdr	Lloh92, Lloh93, Lloh94
	.loh AdrpLdrGotLdr	Lloh95, Lloh96, Lloh97
	.loh AdrpLdrGot	Lloh98, Lloh99
	.loh AdrpAdd	Lloh103, Lloh104
	.loh AdrpLdrGotStr	Lloh100, Lloh101, Lloh102
	.loh AdrpLdrGot	Lloh105, Lloh106
	.loh AdrpLdrGot	Lloh110, Lloh111
	.loh AdrpLdrGotLdr	Lloh107, Lloh108, Lloh109
	.loh AdrpAdd	Lloh112, Lloh113
	.loh AdrpLdrGotLdr	Lloh123, Lloh124, Lloh125
	.loh AdrpLdrGotLdr	Lloh120, Lloh121, Lloh122
	.loh AdrpLdrGotStr	Lloh117, Lloh118, Lloh119
	.loh AdrpLdrGotStr	Lloh114, Lloh115, Lloh116
	.loh AdrpLdrGotLdr	Lloh126, Lloh127, Lloh128
	.loh AdrpLdrGot	Lloh131, Lloh132
	.loh AdrpLdrGot	Lloh129, Lloh130
	.loh AdrpLdrGotLdr	Lloh133, Lloh134, Lloh135
	.loh AdrpLdrGotLdr	Lloh136, Lloh137, Lloh138
	.loh AdrpLdrGotLdr	Lloh139, Lloh140, Lloh141
	.loh AdrpLdrGot	Lloh142, Lloh143
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"in process_control()\n"

	.comm	_numctlreq,4,2                  ; @numctlreq
	.comm	_rmt_addr,8,3                   ; @rmt_addr
	.comm	_lcl_inter,4,2                  ; @lcl_inter
	.comm	_CTL_HEADER_LEN,4,2             ; @CTL_HEADER_LEN
	.comm	_CTL_RESPONSE,4,2               ; @CTL_RESPONSE
	.comm	_CTL_MORE,4,2                   ; @CTL_MORE
	.comm	_CTL_ERROR,4,2                  ; @CTL_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"invalid format in control packet\n"

	.comm	_numctltooshort,4,2             ; @numctltooshort
	.comm	_numctlinputresp,4,2            ; @numctlinputresp
	.comm	_numctlinputfrag,4,2            ; @numctlinputfrag
	.comm	_numctlinputerr,4,2             ; @numctlinputerr
	.comm	_numctlbadoffset,4,2            ; @numctlbadoffset
	.comm	_res_version,8,3                ; @res_version
	.comm	_NTP_VERSION,8,3                ; @NTP_VERSION
	.comm	_NTP_OLDVERSION,8,3             ; @NTP_OLDVERSION
	.comm	_numctlbadversion,4,2           ; @numctlbadversion
	.comm	_sys_leap,4,2                   ; @sys_leap
	.comm	_MODE_CONTROL,4,2               ; @MODE_CONTROL
	.comm	_rpkt,32,3                      ; @rpkt
	.comm	_res_opcode,4,2                 ; @res_opcode
	.comm	_res_frags,4,2                  ; @res_frags
	.comm	_res_offset,8,3                 ; @res_offset
	.comm	_res_associd,4,2                ; @res_associd
	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_res_async,8,3                  ; @res_async
	.comm	_res_authenticate,8,3           ; @res_authenticate
	.comm	_res_keyid,8,3                  ; @res_keyid
	.comm	_res_authokay,8,3               ; @res_authokay
	.comm	_datanotbinflag,8,3             ; @datanotbinflag
	.comm	_datalinelen,8,3                ; @datalinelen
	.comm	_datasent,8,3                   ; @datasent
	.comm	_datapt,8,3                     ; @datapt
	.comm	_CTL_MAX_DATA_LEN,8,3           ; @CTL_MAX_DATA_LEN
	.comm	_dataend,8,3                    ; @dataend
	.comm	_CERR_BADFMT,4,2                ; @CERR_BADFMT
	.comm	_numctldatatooshort,4,2         ; @numctldatatooshort
	.comm	_MIN_MAC_LEN,8,3                ; @MIN_MAC_LEN
	.comm	_MAX_MAC_LEN,8,3                ; @MAX_MAC_LEN
	.comm	_sys_authenticate,8,3           ; @sys_authenticate
	.comm	_TRUE,8,3                       ; @TRUE
l_.str.6:                               ; @.str.6
	.asciz	"authenticated okay\n"

l_.str.7:                               ; @.str.7
	.asciz	"authentication failed\n"

	.comm	_reqpt,8,3                      ; @reqpt
	.comm	_reqend,8,3                     ; @reqend
	.comm	_control_codes,8,3              ; @control_codes
	.comm	_NO_REQUEST,4,2                 ; @NO_REQUEST
	.comm	_AUTH,8,3                       ; @AUTH
	.comm	_ctl_auth_keyid,8,3             ; @ctl_auth_keyid
	.comm	_CERR_PERMISSION,4,2            ; @CERR_PERMISSION
	.comm	_numctlbadop,4,2                ; @numctlbadop
	.comm	_CERR_BADOP,4,2                 ; @CERR_BADOP
.subsections_via_symbols
