	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snmp_ntp_ts2asn_oid
_snmp_ntp_ts2asn_oid:                   ## @snmp_ntp_ts2asn_oid
	.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, %rbx
	movq	%rdi, %r15
	movq	_SNMP_NTP_TS_OCTETS@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_snmp_suboid_append
	testq	%rax, %rax
	js	LBB0_11
## %bb.1:
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	_errno@GOTPCREL(%rip), %r13
	movl	(%r13), %r12d
	movl	$0, (%r13)
	leaq	-48(%rbp), %rsi
	movq	%r15, %rdi
	movl	$10, %edx
	callq	_strtoul
	cmpl	$0, (%r13)
	jne	LBB0_8
## %bb.2:
	movl	%eax, %ebx
	cmpl	$10000, %eax                    ## imm = 0x2710
	jge	LBB0_8
## %bb.3:
	movl	%r12d, (%r13)
	movq	-48(%rbp), %r12
	cmpb	$46, (%r12)
	jne	LBB0_9
## %bb.4:
	leaq	-64(%rbp), %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movq	(%r14), %rax
	movq	%rax, -56(%rbp)
	movq	-64(%rbp), %rax
	movslq	%ebx, %rcx
	imulq	$274877907, %rcx, %rcx          ## imm = 0x10624DD3
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$38, %rcx
	addl	%edx, %ecx
	movl	%ecx, (%rax)
	imull	$1000, %ecx, %ecx               ## imm = 0x3E8
	subl	%ecx, %ebx
	movswl	%bx, %ecx
	imull	$5243, %ecx, %ecx               ## imm = 0x147B
	movl	%ecx, %edx
	shrl	$31, %edx
	sarl	$19, %ecx
	addl	%edx, %ecx
	movl	%ecx, 4(%rax)
	imull	$100, %ecx, %ecx
	subl	%ecx, %ebx
	movsbl	%bl, %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(%rax)
	movzbl	%cl, %ecx
	addl	%ecx, %ecx
	leal	(%rcx,%rcx,4), %ecx
	subb	%cl, %bl
	movsbl	%bl, %ecx
	movl	%ecx, 12(%rax)
	incq	%r12
	movl	(%r13), %ebx
	movl	$0, (%r13)
	leaq	-48(%rbp), %rsi
	movq	%r12, %rdi
	movl	$10, %edx
	callq	_strtoul
	cmpl	$0, (%r13)
	jne	LBB0_10
## %bb.5:
	cmpl	$10000, %eax                    ## imm = 0x2710
	jge	LBB0_10
## %bb.6:
	movl	%ebx, (%r13)
	movq	-64(%rbp), %rcx
	movslq	%eax, %rdx
	imulq	$274877907, %rdx, %rdx          ## imm = 0x10624DD3
	movq	%rdx, %rsi
	shrq	$63, %rsi
	sarq	$38, %rdx
	addl	%esi, %edx
	movl	%edx, 16(%rcx)
	imull	$1000, %edx, %edx               ## imm = 0x3E8
	subl	%edx, %eax
	movswl	%ax, %edx
	imull	$5243, %edx, %edx               ## imm = 0x147B
	movl	%edx, %esi
	shrl	$31, %esi
	sarl	$19, %edx
	addl	%esi, %edx
	movswl	%dx, %esi
	movl	%esi, 20(%rcx)
	imull	$100, %edx, %edx
	subl	%edx, %eax
	movsbl	%al, %edx
	imull	$103, %edx, %edx
	movzwl	%dx, %edx
	movswl	%dx, %esi
	shrl	$15, %edx
	shrl	$10, %esi
	addb	%dl, %sil
	movsbl	%sil, %edx
	movl	%edx, 24(%rcx)
	movzbl	%dl, %edx
	addl	%edx, %edx
	leal	(%rdx,%rdx,4), %edx
	subb	%dl, %al
	movsbl	%al, %eax
	movl	%eax, 28(%rcx)
	leaq	-64(%rbp), %rsi
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_asn_append_oid
	movq	-48(%rbp), %rax
	jmp	LBB0_12
LBB0_8:
	leaq	L_.str(%rip), %rdi
	movq	%r15, %rsi
	callq	_warnx
	movl	%r12d, (%r13)
	jmp	LBB0_11
LBB0_9:
	leaq	L_.str.1(%rip), %rdi
	movq	%r15, %rsi
	callq	_warnx
	jmp	LBB0_11
LBB0_10:
	leaq	L_.str(%rip), %rdi
	movq	%r15, %rsi
	callq	_warnx
	movl	%ebx, (%r13)
LBB0_11:
	xorl	%eax, %eax
LBB0_12:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SNMP_NTP_TS_OCTETS,8,3         ## @SNMP_NTP_TS_OCTETS
	.comm	_errno,4,2                      ## @errno
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Integer value %s not supported"

L_.str.1:                               ## @.str.1
	.asciz	"Failed adding oid - %s"

	.no_dead_strip	_snmp_ntp_ts2asn_oid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snmp_ntp_ts2asn_oid
_snmp_ntp_ts2asn_oid:                   ; @snmp_ntp_ts2asn_oid
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x23, _SNMP_NTP_TS_OCTETS@GOTPAGE
Lloh1:
	ldr	x23, [x23, _SNMP_NTP_TS_OCTETS@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x19
	bl	_snmp_suboid_append
	tbnz	x0, #63, LBB0_3
; %bb.1:
Lloh2:
	adrp	x22, _errno@GOTPAGE
Lloh3:
	ldr	x22, [x22, _errno@GOTPAGEOFF]
	ldr	w24, [x22]
	str	wzr, [x22]
	add	x1, sp, #24
	mov	x0, x20
	mov	w2, #10
	bl	_strtoul
	ldr	w8, [x22]
	cmp	w8, #0
	mov	w8, #10000
	ccmp	w0, w8, #0, eq
	b.lt	LBB0_4
; %bb.2:
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_warnx
	mov	x0, #0
	str	w24, [x22]
	b	LBB0_10
LBB0_3:
	mov	x0, #0
	b	LBB0_10
LBB0_4:
	str	w24, [x22]
	ldr	x24, [sp, #24]
	ldrb	w8, [x24]
	cmp	w8, #46
	b.ne	LBB0_8
; %bb.5:
	mov	x21, x0
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	ldr	x8, [x23]
	str	x8, [sp, #16]
	mov	w8, #19923
	movk	w8, #4194, lsl #16
	smull	x8, w21, w8
	lsr	x9, x8, #63
	asr	x8, x8, #38
	add	w8, w8, w9
	mov	w9, #1000
	msub	w9, w8, w9, w21
	sxth	w10, w9
	mov	w11, #5243
	mul	w10, w10, w11
	asr	w11, w10, #19
	add	w10, w11, w10, lsr #31
	ldr	x11, [sp, #8]
	stp	w8, w10, [x11]
	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, [x11, #8]
	add	x0, x24, #1
	ldr	w21, [x22]
	str	wzr, [x22]
	add	x1, sp, #24
	mov	w2, #10
	bl	_strtoul
	ldr	w8, [x22]
	cbnz	w8, LBB0_9
; %bb.6:
	mov	w8, #10000
	cmp	w0, w8
	b.ge	LBB0_9
; %bb.7:
	str	w21, [x22]
	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
	ldr	x11, [sp, #8]
	stp	w8, w10, [x11, #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, [x11, #24]
	add	x1, sp, #8
	mov	x0, x19
	bl	_asn_append_oid
	ldr	x0, [sp, #24]
	b	LBB0_10
LBB0_8:
Lloh6:
	adrp	x0, l_.str.1@PAGE
Lloh7:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	bl	_warnx
	mov	x0, #0
	b	LBB0_10
LBB0_9:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_warnx
	mov	x0, #0
	str	w21, [x22]
LBB0_10:
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_SNMP_NTP_TS_OCTETS,8,3         ; @SNMP_NTP_TS_OCTETS
	.comm	_errno,4,2                      ; @errno
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Integer value %s not supported"

l_.str.1:                               ; @.str.1
	.asciz	"Failed adding oid - %s"

	.no_dead_strip	_snmp_ntp_ts2asn_oid
.subsections_via_symbols
