	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function reset
_reset:                                 ## @reset
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	cmpq	$0, (%rdi)
	je	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	movq	_sreset@GOTPCREL(%rip), %r13
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	xorl	%r15d, %r15d
	xorl	%r12d, %r12d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%rbx), %rax
	movq	(%rax,%r15,8), %rdx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	$1, -52(%rbp)                   ## 4-byte Folded Spill
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%r15
	cmpq	(%rbx), %r15
	jae	LBB0_12
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	movq	(%r13), %rax
	cmpl	$0, (%rax)
	je	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%rbx), %rcx
	movq	(%rcx,%r15,8), %rdi
	movl	4(%rax,%r14,8), %esi
	callq	_STREQ
	testq	%rax, %rax
	jne	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=2
	leaq	1(%r14), %rcx
	movq	(%r13), %rax
	cmpl	$0, 8(%rax,%r14,8)
	movq	%rcx, %r14
	jne	LBB0_5
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r13), %rax
	movq	%r14, %rcx
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%ecx, %ecx
	movl	(%rax,%rcx,8), %eax
	testl	%eax, %eax
	je	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	orl	%eax, %r12d
	jmp	LBB0_11
LBB0_12:
	movl	%r12d, %edi
	callq	_htonl
	movl	%eax, -48(%rbp)
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_13
## %bb.20:
	leaq	L_.str.1(%rip), %rdi
	movl	$23, %esi
	movl	$1, %edx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fwrite                         ## TAILCALL
LBB0_1:
	xorl	%edi, %edi
	callq	_htonl
	movl	%eax, -48(%rbp)
LBB0_13:
	movq	_impl_ver@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	movq	_REQ_RESET_STATS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	subq	$8, %rsp
	leaq	-72(%rbp), %r10
	leaq	-80(%rbp), %r11
	leaq	-88(%rbp), %rax
	leaq	-48(%rbp), %r9
	movl	$1, %edx
	movl	$1, %ecx
	movl	$4, %r8d
	pushq	$4
	pushq	$0
	pushq	%r10
	pushq	%r11
	pushq	%rax
	callq	_doquery
	addq	$48, %rsp
	movq	_INFO_ERR_IMPL@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rax
	jne	LBB0_17
## %bb.14:
	movq	_IMPL_XNTPD@GOTPCREL(%rip), %r13
	movq	_IMPL_XNTPD_OLD@GOTPCREL(%rip), %r15
	leaq	-48(%rbp), %r14
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rcx
	cmpq	(%r13), %rcx
	jne	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	(%r15), %rdi
	movq	%rdi, (%rbx)
	movq	_REQ_RESET_STATS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	subq	$8, %rsp
	movl	$1, %edx
	movl	$1, %ecx
	movl	$4, %r8d
	movq	%r14, %r9
	pushq	$4
	pushq	$0
	leaq	-72(%rbp), %rax
	pushq	%rax
	leaq	-80(%rbp), %rax
	pushq	%rax
	leaq	-88(%rbp), %rax
	pushq	%rax
	callq	_doquery
	addq	$48, %rsp
	cmpq	(%r12), %rax
	je	LBB0_15
LBB0_17:
	testq	%rax, %rax
	jne	LBB0_19
## %bb.18:
	leaq	L_.str.2(%rip), %rdi
	movl	$6, %esi
	movl	$1, %edx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	callq	_fwrite
LBB0_19:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sreset,8,3                     ## @sreset
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Flag %s unknown\n"

L_.str.1:                               ## @.str.1
	.asciz	"Not done due to errors\n"

	.comm	_impl_ver,8,3                   ## @impl_ver
	.comm	_REQ_RESET_STATS,4,2            ## @REQ_RESET_STATS
	.comm	_INFO_ERR_IMPL,8,3              ## @INFO_ERR_IMPL
	.comm	_IMPL_XNTPD,8,3                 ## @IMPL_XNTPD
	.comm	_IMPL_XNTPD_OLD,8,3             ## @IMPL_XNTPD_OLD
L_.str.2:                               ## @.str.2
	.asciz	"done!\n"

	.no_dead_strip	_reset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function reset
_reset:                                 ; @reset
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x19, x1
	ldr	x8, [x0]
	cbz	x8, LBB0_13
; %bb.1:
	mov	x20, x0
	mov	w24, #0
	mov	x23, #0
	mov	w21, #0
Lloh0:
	adrp	x25, _sreset@GOTPAGE
Lloh1:
	ldr	x25, [x25, _sreset@GOTPAGEOFF]
Lloh2:
	adrp	x22, l_.str@PAGE
Lloh3:
	add	x22, x22, l_.str@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x20, #8]
	ldr	x8, [x8, x23, lsl #3]
	str	x8, [sp]
	mov	x0, x19
	mov	x1, x22
	bl	_fprintf
	mov	w24, #1
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x23, x23, #1
	ldr	x8, [x20]
	cmp	x23, x8
	b.hs	LBB0_11
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	ldr	x8, [x25]
	ldr	w9, [x8]
	cbz	w9, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x27, #0
	mov	x26, #0
LBB0_6:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x9, [x20, #8]
	ldr	x0, [x9, x23, lsl #3]
	add	x8, x8, x27
	ldr	w1, [x8, #4]
	bl	_STREQ
	cbnz	x0, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	add	x26, x26, #1
	ldr	x8, [x25]
	add	x9, x8, x27
	ldr	w9, [x9, #8]
	add	x27, x27, #8
	cbnz	w9, LBB0_6
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x25]
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	and	x9, x26, #0xffffffff
	lsl	x9, x9, #3
	ldr	w8, [x8, x9]
	cbz	w8, LBB0_2
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	orr	w21, w21, w8
	b	LBB0_3
LBB0_11:
	mov	x0, x21
	bl	_htonl
	str	w0, [sp, #40]
	cbz	w24, LBB0_14
; %bb.12:
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	w1, #23
	mov	w2, #1
	mov	x3, x19
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	b	_fwrite
LBB0_13:
	mov	w0, #0
	bl	_htonl
	str	w0, [sp, #40]
LBB0_14:
Lloh6:
	adrp	x20, _impl_ver@GOTPAGE
Lloh7:
	ldr	x20, [x20, _impl_ver@GOTPAGEOFF]
	ldr	x0, [x20]
Lloh8:
	adrp	x21, _REQ_RESET_STATS@GOTPAGE
Lloh9:
	ldr	x21, [x21, _REQ_RESET_STATS@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x22, #17179869184
	add	x23, sp, #16
	stp	x23, x22, [sp]
	add	x5, sp, #40
	add	x6, sp, #32
	add	x7, sp, #24
	mov	w2, #1
	mov	w3, #1
	mov	w4, #4
	bl	_doquery
Lloh10:
	adrp	x24, _INFO_ERR_IMPL@GOTPAGE
Lloh11:
	ldr	x24, [x24, _INFO_ERR_IMPL@GOTPAGEOFF]
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_18
; %bb.15:
Lloh12:
	adrp	x25, _IMPL_XNTPD@GOTPAGE
Lloh13:
	ldr	x25, [x25, _IMPL_XNTPD@GOTPAGEOFF]
Lloh14:
	adrp	x26, _IMPL_XNTPD_OLD@GOTPAGE
Lloh15:
	ldr	x26, [x26, _IMPL_XNTPD_OLD@GOTPAGEOFF]
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	ldr	x9, [x25]
	cmp	x8, x9
	b.ne	LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	x0, [x26]
	str	x0, [x20]
	ldr	w1, [x21]
	stp	x23, x22, [sp]
	add	x5, sp, #40
	add	x6, sp, #32
	add	x7, sp, #24
	mov	w2, #1
	mov	w3, #1
	mov	w4, #4
	bl	_doquery
	ldr	x8, [x24]
	cmp	x0, x8
	b.eq	LBB0_16
LBB0_18:
	cbnz	x0, LBB0_20
; %bb.19:
Lloh16:
	adrp	x0, l_.str.2@PAGE
Lloh17:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	w1, #6
	mov	w2, #1
	mov	x3, x19
	bl	_fwrite
LBB0_20:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_sreset,8,3                     ; @sreset
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Flag %s unknown\n"

l_.str.1:                               ; @.str.1
	.asciz	"Not done due to errors\n"

	.comm	_impl_ver,8,3                   ; @impl_ver
	.comm	_REQ_RESET_STATS,4,2            ; @REQ_RESET_STATS
	.comm	_INFO_ERR_IMPL,8,3              ; @INFO_ERR_IMPL
	.comm	_IMPL_XNTPD,8,3                 ; @IMPL_XNTPD
	.comm	_IMPL_XNTPD_OLD,8,3             ; @IMPL_XNTPD_OLD
l_.str.2:                               ; @.str.2
	.asciz	"done!\n"

	.no_dead_strip	_reset
.subsections_via_symbols
