	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_ntp_ts
_parse_ntp_ts:                          ## @parse_ntp_ts
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	%rsp, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_SNMP_NTP_TS_OCTETS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -80(%rbp)                 ## 8-byte Spill
	movq	_errno@GOTPCREL(%rip), %r14
	movslq	(%r14), %r13
	movq	$0, (%r14)
	leaq	-64(%rbp), %rsi
	movq	%r15, %rdi
	movl	$10, %edx
	callq	_strtoul
	cmpq	$0, (%r14)
	movq	%r13, (%r14)
	jne	LBB0_7
## %bb.1:
	cmpl	$10000, %eax                    ## imm = 0x2710
	jge	LBB0_7
## %bb.2:
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %r12
	cmpb	$46, (%r12)
	jne	LBB0_8
## %bb.3:
	movq	%r14, %rsi
	movslq	%eax, %rcx
	imulq	$274877907, %rcx, %rcx          ## imm = 0x10624DD3
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$38, %rcx
	addl	%edx, %ecx
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movl	%ecx, (%rbx)
	imull	$1000, %ecx, %ecx               ## imm = 0x3E8
	subl	%ecx, %eax
	movswl	%ax, %ecx
	imull	$5243, %ecx, %ecx               ## imm = 0x147B
	movl	%ecx, %edx
	shrl	$31, %edx
	sarl	$19, %ecx
	addl	%edx, %ecx
	movl	%ecx, 4(%rbx)
	imull	$100, %ecx, %ecx
	subl	%ecx, %eax
	movsbl	%al, %ecx
	imull	$103, %ecx, %ecx
	movzwl	%cx, %ecx
	movswl	%cx, %edx
	shrl	$15, %ecx
	shrl	$10, %edx
	addb	%cl, %dl
	movsbl	%dl, %ecx
	movl	%ecx, 8(%rbx)
	movzbl	%cl, %ecx
	addl	%ecx, %ecx
	leal	(%rcx,%rcx,4), %ecx
	subb	%cl, %al
	movsbl	%al, %eax
	movl	%eax, 12(%rbx)
	incq	%r12
	movq	$0, (%rsi)
	leaq	-64(%rbp), %rsi
	movq	%r12, %rdi
	movl	$10, %edx
	callq	_strtoul
	cmpq	$0, (%r14)
	movq	%r13, (%r14)
	jne	LBB0_9
## %bb.4:
	cmpl	$9999, %eax                     ## imm = 0x270F
	jg	LBB0_9
## %bb.5:
	movslq	%eax, %rcx
	imulq	$274877907, %rcx, %rcx          ## imm = 0x10624DD3
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$38, %rcx
	addl	%edx, %ecx
	movl	%ecx, 16(%rbx)
	imull	$1000, %ecx, %ecx               ## imm = 0x3E8
	subl	%ecx, %eax
	movswl	%ax, %ecx
	imull	$5243, %ecx, %ecx               ## imm = 0x147B
	movl	%ecx, %edx
	shrl	$31, %edx
	sarl	$19, %ecx
	addl	%edx, %ecx
	movswl	%cx, %edx
	movl	%edx, 20(%rbx)
	imull	$100, %ecx, %ecx
	subl	%ecx, %eax
	movsbl	%al, %ecx
	imull	$103, %ecx, %ecx
	movzwl	%cx, %ecx
	movswl	%cx, %edx
	shrl	$15, %ecx
	shrl	$10, %edx
	addb	%cl, %dl
	movsbl	%dl, %ecx
	movl	%ecx, 24(%rbx)
	movzbl	%cl, %ecx
	addl	%ecx, %ecx
	leal	(%rcx,%rcx,4), %ecx
	subb	%cl, %al
	movsbl	%al, %eax
	movl	%eax, 28(%rbx)
	movq	_SNMP_NTP_TS_OCTETS@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_malloc
	movq	%rbx, %rsi
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	je	LBB0_15
## %bb.6:
	movl	(%r15), %edx
	movl	%edx, 8(%rbx)
	movq	%rax, %rdi
	callq	_memcpy
	movq	_SNMP_SYNTAX_OCTETSTRING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movl	$1, %eax
	jmp	LBB0_12
LBB0_7:
	leaq	L_.str(%rip), %rdi
	movq	%r15, %rsi
	callq	_warnx
	movl	$-1, %eax
	jmp	LBB0_13
LBB0_8:
	leaq	L_.str.1(%rip), %rdi
	movq	%r15, %rsi
	jmp	LBB0_10
LBB0_9:
	leaq	L_.str(%rip), %rdi
	movq	%r12, %rsi
LBB0_10:
	callq	_warnx
LBB0_11:
	movl	$-1, %eax
LBB0_12:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
LBB0_13:
	movq	%rbx, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_16
## %bb.14:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	(%r14), %rdi
	callq	_strerror
	leaq	L_.str.2(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
	callq	_syslog
	jmp	LBB0_11
LBB0_16:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SNMP_NTP_TS_OCTETS,4,2         ## @SNMP_NTP_TS_OCTETS
	.comm	_errno,8,3                      ## @errno
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Integer value %s not supported"

L_.str.1:                               ## @.str.1
	.asciz	"Failed reading octet - %s"

	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
L_.str.2:                               ## @.str.2
	.asciz	"malloc failed: %s"

	.comm	_SNMP_SYNTAX_OCTETSTRING,4,2    ## @SNMP_SYNTAX_OCTETSTRING
	.no_dead_strip	_parse_ntp_ts
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_ntp_ts
_parse_ntp_ts:                          ; @parse_ntp_ts
	.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, #16
	mov	x21, x1
	mov	x19, x0
	mov	x22, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x23, _SNMP_NTP_TS_OCTETS@GOTPAGE
Lloh4:
	ldr	x23, [x23, _SNMP_NTP_TS_OCTETS@GOTPAGEOFF]
	ldr	w8, [x23]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x20, x9, x8
	mov	sp, x20
Lloh7:
	adrp	x24, _errno@GOTPAGE
Lloh8:
	ldr	x24, [x24, _errno@GOTPAGEOFF]
	ldrsw	x25, [x24]
	str	xzr, [x24]
	sub	x1, x29, #80
	mov	x0, x21
	mov	w2, #10
	bl	_strtoul
	ldr	x8, [x24]
	str	x25, [x24]
	cmp	x8, #0
	mov	w8, #10000
	ccmp	w0, w8, #0, eq
	b.lt	LBB0_2
LBB0_1:
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_8
LBB0_2:
	ldur	x8, [x29, #-80]
	ldrb	w9, [x8]
	cmp	w9, #46
	b.ne	LBB0_7
; %bb.3:
	mov	w9, #19923
	movk	w9, #4194, lsl #16
	smull	x9, w0, w9
	lsr	x10, x9, #63
	asr	x9, x9, #38
	add	w9, w9, w10
	mov	w10, #1000
	msub	w10, w9, w10, w0
	sxth	w11, w10
	mov	w12, #5243
	mul	w11, w11, w12
	asr	w12, w11, #19
	add	w11, w12, w11, lsr #31
	stp	w9, w11, [x20]
	mov	w9, #100
	msub	w9, w11, w9, w10
	sxtb	w10, w9
	mov	w11, #103
	mul	w10, w10, w11
	ubfx	w11, w10, #15, #1
	add	w10, w11, w10, asr #10
	mov	w11, #10
	msub	w9, w10, w11, w9
	sxtb	w9, w9
	stp	w10, w9, [x20, #8]
	add	x21, x8, #1
	str	xzr, [x24]
	sub	x1, x29, #80
	mov	x0, x21
	mov	w2, #10
	bl	_strtoul
	ldr	x8, [x24]
	str	x25, [x24]
	cbnz	x8, LBB0_1
; %bb.4:
	mov	w8, #9999
	cmp	w0, w8
	b.gt	LBB0_1
; %bb.5:
	mov	w8, #19923
	movk	w8, #4194, lsl #16
	smull	x8, w0, w8
	lsr	x9, x8, #63
	asr	x8, x8, #38
	add	w8, w8, w9
	mov	w9, #1000
	msub	w9, w8, w9, w0
	sxth	w10, w9
	mov	w11, #5243
	mul	w10, w10, w11
	asr	w11, w10, #19
	add	w10, w11, w10, lsr #31
	stp	w8, w10, [x20, #16]
	mov	w8, #100
	msub	w8, w10, w8, w9
	sxtb	w9, w8
	mov	w10, #103
	mul	w9, w9, w10
	ubfx	w10, w9, #15, #1
	add	w9, w10, w9, asr #10
	mov	w10, #10
	msub	w8, w9, w10, w8
	sxtb	w8, w8
	stp	w9, w8, [x20, #24]
	ldr	w0, [x23]
	bl	_malloc
	str	x0, [x19, #16]
	cbz	x0, LBB0_12
; %bb.6:
	ldr	w2, [x23]
	str	w2, [x19, #8]
	mov	x1, x20
	bl	_memcpy
Lloh11:
	adrp	x8, _SNMP_SYNTAX_OCTETSTRING@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SNMP_SYNTAX_OCTETSTRING@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	str	w8, [x19]
	mov	w0, #1
	b	LBB0_10
LBB0_7:
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_8:
	mov	x1, x21
	bl	_warnx
LBB0_9:
	mov	w0, #-1
LBB0_10:
	mov	sp, x22
	ldur	x8, [x29, #-72]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.11:
	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_12:
Lloh19:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh20:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh21:
	ldr	w19, [x8]
	ldr	x0, [x24]
	bl	_strerror
	mov	x2, x0
Lloh22:
	adrp	x1, l_.str.2@PAGE
Lloh23:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_syslog
	b	LBB0_9
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_SNMP_NTP_TS_OCTETS,4,2         ; @SNMP_NTP_TS_OCTETS
	.comm	_errno,8,3                      ; @errno
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Integer value %s not supported"

l_.str.1:                               ; @.str.1
	.asciz	"Failed reading octet - %s"

	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
l_.str.2:                               ; @.str.2
	.asciz	"malloc failed: %s"

	.comm	_SNMP_SYNTAX_OCTETSTRING,4,2    ; @SNMP_SYNTAX_OCTETSTRING
	.no_dead_strip	_parse_ntp_ts
.subsections_via_symbols
