	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function transmit
_transmit:                              ## @transmit
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	(%rdi), %rax
	cmpq	8(%rdi), %rax
	jge	LBB0_2
## %bb.1:
	leaq	-112(%rbp), %r14
	movq	%r14, %rdi
	callq	_L_CLR
	movq	%r12, %rdi
	xorl	%esi, %esi
	movq	%r14, %rdx
	xorl	%ecx, %ecx
	callq	_server_data
	movq	(%r12), %rax
LBB0_2:
	movq	_sys_samples@GOTPCREL(%rip), %rcx
	cmpl	%eax, (%rcx)
	jle	LBB0_3
## %bb.4:
	movq	_debug@GOTPCREL(%rip), %r13
	cmpl	$0, (%r13)
	je	LBB0_6
## %bb.5:
	leaq	24(%r12), %rdi
	callq	_stoa
	leaq	L_.str(%rip), %rdi
	movq	%rax, %rsi
	callq	_printf
LBB0_6:
	movq	_LEAP_NOTINSYNC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_sys_version@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MODE_CLIENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_PKT_LI_VN_MODE
	movl	%eax, -44(%rbp)
	movq	_STRATUM_UNSPEC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_STRATUM_TO_PKT
	movl	%eax, -48(%rbp)
	movq	_NTP_MINPOLL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)
	movq	_NTPDATE_PRECISION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	movq	_NTPDATE_DISTANCE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htonl
	movq	%rax, -64(%rbp)
	movq	_NTPDATE_DISP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htonl
	movq	%rax, -72(%rbp)
	movq	_NTPDATE_REFID@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htonl
	movq	%rax, -80(%rbp)
	leaq	-88(%rbp), %rdi
	callq	_L_CLR
	leaq	-92(%rbp), %rdi
	callq	_L_CLR
	leaq	-96(%rbp), %rdi
	callq	_L_CLR
	movq	_sys_authenticate@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_9
## %bb.7:
	movq	_sys_authkey@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_htonl
	movq	-104(%rbp), %rcx
	movq	%rax, (%rcx)
	leaq	28(%r12), %rbx
	movq	%rbx, %rdi
	callq	_get_systime
	movq	_sys_authdelay@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_L_ADDUF
	leaq	-112(%rbp), %r15
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_HTONL_FP
	movl	(%r14), %edi
	movq	_LEN_PKT_NOMAC@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdx
	movq	%r15, %rsi
	callq	_authencrypt
	leaq	24(%r12), %r14
	addl	(%rbx), %eax
	movslq	%eax, %rdx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_sendpkt
	cmpl	$1, (%r13)
	jle	LBB0_12
## %bb.8:
	leaq	L_.str.1(%rip), %r15
	jmp	LBB0_11
LBB0_3:
	movq	$0, 16(%r12)
	movq	_complete_servers@GOTPCREL(%rip), %rax
	incl	(%rax)
	jmp	LBB0_13
LBB0_9:
	leaq	28(%r12), %rbx
	movq	%rbx, %rdi
	callq	_get_systime
	leaq	-112(%rbp), %r15
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_HTONL_FP
	leaq	24(%r12), %r14
	movq	_LEN_PKT_NOMAC@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_sendpkt
	cmpl	$2, (%r13)
	jl	LBB0_12
## %bb.10:
	leaq	L_.str.2(%rip), %r15
LBB0_11:
	movq	%r14, %rdi
	callq	_stoa
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_printf
LBB0_12:
	movq	_current_time@GOTPCREL(%rip), %rax
	movq	_sys_timeout@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	addq	(%rax), %rcx
	movq	%rcx, 16(%r12)
	incq	8(%r12)
LBB0_13:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sys_samples,4,2                ## @sys_samples
	.comm	_complete_servers,4,2           ## @complete_servers
	.comm	_debug,4,2                      ## @debug
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"transmit(%s)\n"

	.comm	_LEAP_NOTINSYNC,4,2             ## @LEAP_NOTINSYNC
	.comm	_sys_version,4,2                ## @sys_version
	.comm	_MODE_CLIENT,4,2                ## @MODE_CLIENT
	.comm	_STRATUM_UNSPEC,4,2             ## @STRATUM_UNSPEC
	.comm	_NTP_MINPOLL,4,2                ## @NTP_MINPOLL
	.comm	_NTPDATE_PRECISION,4,2          ## @NTPDATE_PRECISION
	.comm	_NTPDATE_DISTANCE,4,2           ## @NTPDATE_DISTANCE
	.comm	_NTPDATE_DISP,4,2               ## @NTPDATE_DISP
	.comm	_NTPDATE_REFID,4,2              ## @NTPDATE_REFID
	.comm	_sys_authenticate,8,3           ## @sys_authenticate
	.comm	_sys_authkey,4,2                ## @sys_authkey
	.comm	_sys_authdelay,4,2              ## @sys_authdelay
	.comm	_LEN_PKT_NOMAC,8,3              ## @LEN_PKT_NOMAC
L_.str.1:                               ## @.str.1
	.asciz	"transmit auth to %s\n"

L_.str.2:                               ## @.str.2
	.asciz	"transmit to %s\n"

	.comm	_current_time,8,3               ## @current_time
	.comm	_sys_timeout,8,3                ## @sys_timeout
	.no_dead_strip	_transmit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function transmit
_transmit:                              ; @transmit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	ldp	x8, x9, [x0]
	cmp	x8, x9
	b.ge	LBB0_2
; %bb.1:
	add	x0, sp, #8
	bl	_L_CLR
	add	x2, sp, #8
	mov	x0, x19
	mov	w1, #0
	mov	w3, #0
	bl	_server_data
	ldr	x8, [x19]
LBB0_2:
Lloh0:
	adrp	x9, _sys_samples@GOTPAGE
Lloh1:
	ldr	x9, [x9, _sys_samples@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w9, w8
	b.le	LBB0_8
; %bb.3:
Lloh3:
	adrp	x21, _debug@GOTPAGE
Lloh4:
	ldr	x21, [x21, _debug@GOTPAGEOFF]
	ldr	w8, [x21]
	cbz	w8, LBB0_5
; %bb.4:
	add	x0, x19, #24
	bl	_stoa
	mov	x1, x0
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
LBB0_5:
Lloh7:
	adrp	x8, _LEAP_NOTINSYNC@GOTPAGE
Lloh8:
	ldr	x8, [x8, _LEAP_NOTINSYNC@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
Lloh10:
	adrp	x8, _sys_version@GOTPAGE
Lloh11:
	ldr	x8, [x8, _sys_version@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
Lloh13:
	adrp	x8, _MODE_CLIENT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _MODE_CLIENT@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	bl	_PKT_LI_VN_MODE
	str	w0, [sp, #76]
Lloh16:
	adrp	x8, _STRATUM_UNSPEC@GOTPAGE
Lloh17:
	ldr	x8, [x8, _STRATUM_UNSPEC@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	bl	_STRATUM_TO_PKT
	str	w0, [sp, #72]
Lloh19:
	adrp	x8, _NTP_MINPOLL@GOTPAGE
Lloh20:
	ldr	x8, [x8, _NTP_MINPOLL@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
Lloh22:
	adrp	x9, _NTPDATE_PRECISION@GOTPAGE
Lloh23:
	ldr	x9, [x9, _NTPDATE_PRECISION@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #64]
Lloh25:
	adrp	x8, _NTPDATE_DISTANCE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _NTPDATE_DISTANCE@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
	bl	_htonl
	str	x0, [sp, #56]
Lloh28:
	adrp	x8, _NTPDATE_DISP@GOTPAGE
Lloh29:
	ldr	x8, [x8, _NTPDATE_DISP@GOTPAGEOFF]
Lloh30:
	ldr	w0, [x8]
	bl	_htonl
	str	x0, [sp, #48]
Lloh31:
	adrp	x8, _NTPDATE_REFID@GOTPAGE
Lloh32:
	ldr	x8, [x8, _NTPDATE_REFID@GOTPAGEOFF]
Lloh33:
	ldr	w0, [x8]
	bl	_htonl
	str	x0, [sp, #40]
	add	x20, sp, #8
	add	x0, x20, #24
	bl	_L_CLR
	add	x0, x20, #20
	bl	_L_CLR
	add	x0, x20, #16
	bl	_L_CLR
Lloh34:
	adrp	x8, _sys_authenticate@GOTPAGE
Lloh35:
	ldr	x8, [x8, _sys_authenticate@GOTPAGEOFF]
Lloh36:
	ldr	x8, [x8]
	cbz	x8, LBB0_9
; %bb.6:
Lloh37:
	adrp	x22, _sys_authkey@GOTPAGE
Lloh38:
	ldr	x22, [x22, _sys_authkey@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_htonl
	ldr	x8, [sp, #16]
	str	x0, [x8]
	add	x20, x19, #28
	mov	x0, x20
	bl	_get_systime
Lloh39:
	adrp	x8, _sys_authdelay@GOTPAGE
Lloh40:
	ldr	x8, [x8, _sys_authdelay@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_L_ADDUF
	add	x1, sp, #8
	mov	x0, x20
	bl	_HTONL_FP
	ldr	w0, [x22]
Lloh42:
	adrp	x22, _LEN_PKT_NOMAC@GOTPAGE
Lloh43:
	ldr	x22, [x22, _LEN_PKT_NOMAC@GOTPAGEOFF]
	ldr	x2, [x22]
	add	x1, sp, #8
	bl	_authencrypt
	add	x20, x19, #24
	ldr	w8, [x22]
	add	w8, w8, w0
	sxtw	x2, w8
	add	x1, sp, #8
	mov	x0, x20
	bl	_sendpkt
	ldr	w8, [x21]
	cmp	w8, #1
	b.le	LBB0_12
; %bb.7:
Lloh44:
	adrp	x21, l_.str.1@PAGE
Lloh45:
	add	x21, x21, l_.str.1@PAGEOFF
	b	LBB0_11
LBB0_8:
	str	xzr, [x19, #16]
Lloh46:
	adrp	x8, _complete_servers@GOTPAGE
Lloh47:
	ldr	x8, [x8, _complete_servers@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	b	LBB0_13
LBB0_9:
	add	x20, x19, #28
	mov	x0, x20
	bl	_get_systime
	add	x1, sp, #8
	mov	x0, x20
	bl	_HTONL_FP
	add	x20, x19, #24
Lloh48:
	adrp	x8, _LEN_PKT_NOMAC@GOTPAGE
Lloh49:
	ldr	x8, [x8, _LEN_PKT_NOMAC@GOTPAGEOFF]
Lloh50:
	ldr	x2, [x8]
	add	x1, sp, #8
	mov	x0, x20
	bl	_sendpkt
	ldr	w8, [x21]
	cmp	w8, #2
	b.lt	LBB0_12
; %bb.10:
Lloh51:
	adrp	x21, l_.str.2@PAGE
Lloh52:
	add	x21, x21, l_.str.2@PAGEOFF
LBB0_11:
	mov	x0, x20
	bl	_stoa
	mov	x1, x0
	mov	x0, x21
	bl	_printf
LBB0_12:
Lloh53:
	adrp	x8, _current_time@GOTPAGE
Lloh54:
	ldr	x8, [x8, _current_time@GOTPAGEOFF]
Lloh55:
	ldr	x8, [x8]
Lloh56:
	adrp	x9, _sys_timeout@GOTPAGE
Lloh57:
	ldr	x9, [x9, _sys_timeout@GOTPAGEOFF]
Lloh58:
	ldr	x9, [x9]
	add	x8, x9, x8
	ldr	x9, [x19, #8]
	add	x9, x9, #1
	stp	x9, x8, [x19, #8]
LBB0_13:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.cfi_endproc
                                        ; -- End function
	.comm	_sys_samples,4,2                ; @sys_samples
	.comm	_complete_servers,4,2           ; @complete_servers
	.comm	_debug,4,2                      ; @debug
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"transmit(%s)\n"

	.comm	_LEAP_NOTINSYNC,4,2             ; @LEAP_NOTINSYNC
	.comm	_sys_version,4,2                ; @sys_version
	.comm	_MODE_CLIENT,4,2                ; @MODE_CLIENT
	.comm	_STRATUM_UNSPEC,4,2             ; @STRATUM_UNSPEC
	.comm	_NTP_MINPOLL,4,2                ; @NTP_MINPOLL
	.comm	_NTPDATE_PRECISION,4,2          ; @NTPDATE_PRECISION
	.comm	_NTPDATE_DISTANCE,4,2           ; @NTPDATE_DISTANCE
	.comm	_NTPDATE_DISP,4,2               ; @NTPDATE_DISP
	.comm	_NTPDATE_REFID,4,2              ; @NTPDATE_REFID
	.comm	_sys_authenticate,8,3           ; @sys_authenticate
	.comm	_sys_authkey,4,2                ; @sys_authkey
	.comm	_sys_authdelay,4,2              ; @sys_authdelay
	.comm	_LEN_PKT_NOMAC,8,3              ; @LEN_PKT_NOMAC
l_.str.1:                               ; @.str.1
	.asciz	"transmit auth to %s\n"

l_.str.2:                               ; @.str.2
	.asciz	"transmit to %s\n"

	.comm	_current_time,8,3               ; @current_time
	.comm	_sys_timeout,8,3                ; @sys_timeout
	.no_dead_strip	_transmit
.subsections_via_symbols
