	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function main_thread
LCPI0_0:
	.quad	0x3eb0c6f7a0b5ed8d              ## double 9.9999999999999995E-7
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_main_thread:                           ## @main_thread
	.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
	movl	%edx, %r12d
	movl	%esi, %r13d
	movq	%rdi, %rbx
	movq	_CLOCK_REALTIME@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-64(%rbp), %rsi
	callq	_clock_gettime
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	-64(%rbp), %edx
	movl	-60(%rbp), %ecx
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	imull	%r12d, %r13d
	leaq	-1(%r13), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movl	%r13d, %r14d
	andl	$3, %r14d
	movq	%r13, -96(%rbp)                 ## 8-byte Spill
                                        ## kill: def $r13d killed $r13d killed $r13 def $r13
	andl	$-4, %r13d
	xorl	%r15d, %r15d
	xorl	%r12d, %r12d
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	%r12d, %eax
	subl	-44(%rbp), %eax                 ## 4-byte Folded Reload
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_CLOCK_REALTIME@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-80(%rbp), %rsi
	callq	_clock_gettime
	movq	-80(%rbp), %rax
	movq	%rax, -56(%rbp)
	leaq	-56(%rbp), %rdi
	leaq	-64(%rbp), %rsi
	callq	_timespec_sub
	movq	-80(%rbp), %rax
	movq	%rax, -64(%rbp)
	imull	$1000000000, -44(%rbp), %eax    ## 4-byte Folded Reload
                                        ## imm = 0x3B9ACA00
	imull	$1000000000, -56(%rbp), %ecx    ## imm = 0x3B9ACA00
	movl	-52(%rbp), %edx
	addl	%edx, %ecx
	incl	%ecx
	cltd
	idivl	%ecx
	movl	%eax, %r8d
	movl	%r15d, %eax
	subl	-68(%rbp), %eax                 ## 4-byte Folded Reload
	cltq
	movabsq	$8000000000, %rdx               ## imm = 0x1DCD65000
	imulq	%rdx, %rax
	movslq	%ecx, %rcx
	cqto
	idivq	%rcx
	xorps	%xmm0, %xmm0
	cvtsi2sd	%eax, %xmm0
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	mulsd	LCPI0_0(%rip), %xmm0
	cvttsd2si	%xmm0, %ecx
	leaq	L_.str.2(%rip), %rsi
	movl	%r8d, %edx
	xorl	%eax, %eax
	callq	_fprintf
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	-56(%rbp), %ecx
	movl	-52(%rbp), %r8d
	leaq	L_.str.3(%rip), %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	xorl	%eax, %eax
	callq	_fprintf
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
                                        ##     Child Loop BB0_10 Depth 2
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	movl	%r15d, -68(%rbp)                ## 4-byte Spill
	xorl	%edi, %edi
	xorl	%esi, %esi
	movl	$500, %edx                      ## imm = 0x1F4
	callq	_poll
	testq	%rax, %rax
	jns	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	leaq	L_.str.1(%rip), %rdi
	callq	_perror
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	xorl	%r15d, %r15d
	movl	$0, %r12d
	cmpl	$0, -96(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_11
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$3, -88(%rbp)                   ## 8-byte Folded Reload
	jae	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	xorl	%r12d, %r12d
	xorl	%r15d, %r15d
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	xorl	%r12d, %r12d
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rbx,%rax,8), %rcx
	movq	8(%rbx,%rax,8), %rdx
	addl	(%rcx), %r12d
	addl	4(%rcx), %r15d
	addl	(%rdx), %r12d
	addl	4(%rdx), %r15d
	movq	16(%rbx,%rax,8), %rcx
	addl	(%rcx), %r12d
	addl	4(%rcx), %r15d
	movq	24(%rbx,%rax,8), %rcx
	addl	(%rcx), %r12d
	addl	4(%rcx), %r15d
	addq	$4, %rax
	cmpq	%rax, %r13
	jne	LBB0_7
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	testq	%r14, %r14
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	leaq	(%rbx,%rax,8), %rax
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rax,%rcx,8), %rdx
	addl	(%rdx), %r12d
	addl	4(%rdx), %r15d
	incq	%rcx
	cmpq	%rcx, %r14
	jne	LBB0_10
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_CLOCK_REALTIME,4,2             ## @CLOCK_REALTIME
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"start at %ld.%09ld\n"

L_.str.1:                               ## @.str.1
	.asciz	"poll"

L_.str.2:                               ## @.str.2
	.asciz	" %9ld pps %8.3f Mbps"

L_.str.3:                               ## @.str.3
	.asciz	" - %d pkts in %ld.%09ld ns\n"

	.no_dead_strip	_main_thread
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function main_thread
_main_thread:                           ; @main_thread
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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, x2
	mov	x21, x1
	mov	x22, x0
	mov	w24, #51712
	movk	w24, #15258, lsl #16
Lloh0:
	adrp	x8, _CLOCK_REALTIME@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CLOCK_REALTIME@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, sp, #64
	bl	_clock_gettime
Lloh3:
	adrp	x26, _stderr@GOTPAGE
Lloh4:
	ldr	x26, [x26, _stderr@GOTPAGEOFF]
	ldr	w0, [x26]
	ldp	w2, w3, [sp, #64]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	mov	w19, #0
	mov	w23, #0
	mul	w27, w20, w21
	and	x28, x27, #0xfffffffe
	add	x8, x22, #8
	stp	x8, x22, [sp, #16]              ; 16-byte Folded Spill
Lloh7:
	adrp	x21, l_.str.2@PAGE
Lloh8:
	add	x21, x21, l_.str.2@PAGEOFF
Lloh9:
	adrp	x22, l_.str.3@PAGE
Lloh10:
	add	x22, x22, l_.str.3@PAGEOFF
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	movi.2d	v1, #0000000000000000
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	str	q1, [sp, #32]                   ; 16-byte Folded Spill
	fmov	w20, s1
	sub	w23, w20, w23
Lloh11:
	adrp	x8, _CLOCK_REALTIME@GOTPAGE
Lloh12:
	ldr	x8, [x8, _CLOCK_REALTIME@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	add	x1, sp, #72
	bl	_clock_gettime
	ldr	x8, [sp, #72]
	str	x8, [sp, #56]
	add	x0, sp, #56
	add	x1, sp, #64
	bl	_timespec_sub
	ldr	x8, [sp, #72]
	str	x8, [sp, #64]
	mul	w8, w23, w24
	ldp	w9, w10, [sp, #56]
	madd	w9, w9, w24, w10
	add	w9, w9, #1
	sdiv	w2, w8, w9
	ldr	q0, [sp, #32]                   ; 16-byte Folded Reload
	mov.s	w25, v0[1]
	sub	w8, w25, w19
	sxtw	x8, w8
	mov	x10, #20480
	movk	x10, #56534, lsl #16
	movk	x10, #1, lsl #32
	mul	x8, x8, x10
	sxtw	x9, w9
	sdiv	x8, x8, x9
	ldr	w0, [x26]
	scvtf	d0, w8
	mov	x8, #60813
	movk	x8, #41141, lsl #16
	movk	x8, #50935, lsl #32
	movk	x8, #16048, lsl #48
	fmov	d1, x8
	fmul	d0, d0, d1
	fcvtzs	w3, d0
	mov	x1, x21
	bl	_fprintf
	ldr	w0, [x26]
	ldp	w3, w8, [sp, #56]
	str	x8, [sp]
	mov	x1, x22
	mov	x2, x23
	bl	_fprintf
	mov	x19, x25
	mov	x23, x20
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
                                        ;     Child Loop BB0_12 Depth 2
	mov	x0, #0
	mov	w1, #0
	mov	w2, #500
	bl	_poll
	tbz	x0, #63, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_perror
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmp	w27, #1
	b.lt	LBB0_1
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w27, #1
	b.ne	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x9, #0
	movi.2d	v1, #0000000000000000
	b	LBB0_11
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	movi.2d	v0, #0000000000000000
	mov	x8, x28
	ldr	x9, [sp, #16]                   ; 8-byte Folded Reload
	movi.2d	v1, #0000000000000000
LBB0_9:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	x10, x11, [x9, #-8]
	ldr	d2, [x10]
	ldr	d3, [x11]
	add.2s	v1, v2, v1
	add.2s	v0, v3, v0
	add	x9, x9, #16
	subs	x8, x8, #2
	b.ne	LBB0_9
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	add.2s	v1, v0, v1
	mov	x9, x28
	cmp	x28, x27
	b.eq	LBB0_2
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	add	x8, x8, x9, lsl #3
	sub	x9, x27, x9
LBB0_12:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x10, [x8], #8
	ldr	d0, [x10]
	add.2s	v1, v0, v1
	subs	x9, x9, #1
	b.ne	LBB0_12
	b	LBB0_2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_CLOCK_REALTIME,4,2             ; @CLOCK_REALTIME
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"start at %ld.%09ld\n"

l_.str.1:                               ; @.str.1
	.asciz	"poll"

l_.str.2:                               ; @.str.2
	.asciz	" %9ld pps %8.3f Mbps"

l_.str.3:                               ; @.str.3
	.asciz	" - %d pkts in %ld.%09ld ns\n"

	.no_dead_strip	_main_thread
.subsections_via_symbols
