	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_process_raw                    ## -- Begin function process_raw
	.p2align	4, 0x90
_process_raw:                           ## @process_raw
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %ebx
	leaq	-44(%rbp), %rsi
	movl	$1, %edx
	callq	_read
	testl	%eax, %eax
	jle	LBB0_6
## %bb.1:
	leaq	-64(%rbp), %r14
	movq	_dofilter@GOTPCREL(%rip), %r13
	movq	_lasttv@GOTPCREL(%rip), %r15
	leaq	-44(%rbp), %r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rcx
	movq	-56(%rbp), %rdx
	movq	%rdx, %rax
	subq	8(%r15), %rax
	movq	%rcx, %rsi
	subq	(%r15), %rsi
	leaq	1000000(%rsi), %r9
	movq	%rsi, %r8
	sarq	$63, %r8
	addq	%rax, %r8
	testq	%rsi, %rsi
	cmovnsq	%rsi, %r9
	movl	-44(%rbp), %esi
	leaq	L_.str(%rip), %rdi
	callq	_printf
	movups	-64(%rbp), %xmm0
	movups	%xmm0, (%r15)
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, %edi
	movq	%r12, %rsi
	movl	$1, %edx
	callq	_read
	testl	%eax, %eax
	jle	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_gettimeofday
	cmpq	$0, (%r13)
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %edi
	movq	%r14, %rsi
	callq	_raw_filter
	jmp	LBB0_5
LBB0_6:
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	leaq	L_.str.2(%rip), %rdi
	leaq	L_.str.3(%rip), %rdx
	movq	%rdx, %rsi
	callq	_error
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_progname@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	L_.str.1(%rip), %rsi
	callq	_fprintf
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_dofilter,8,3                   ## @dofilter
	.comm	_lasttv,16,3                    ## @lasttv
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%02x\t%lu.%06lu\t%lu.%06lu\n"

	.comm	_stderr,4,2                     ## @stderr
L_.str.1:                               ## @.str.1
	.asciz	"%s: zero returned on read\n"

	.comm	_progname,8,3                   ## @progname
L_.str.2:                               ## @.str.2
	.asciz	"read()"

L_.str.3:                               ## @.str.3
	.space	1

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_process_raw                    ; -- Begin function process_raw
	.p2align	2
_process_raw:                           ; @process_raw
	.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, x0
	add	x1, sp, #28
	mov	w2, #1
	bl	_read
	cmp	w0, #1
	b.lt	LBB0_6
; %bb.1:
Lloh0:
	adrp	x21, _dofilter@GOTPAGE
Lloh1:
	ldr	x21, [x21, _dofilter@GOTPAGEOFF]
Lloh2:
	adrp	x22, _lasttv@GOTPAGE
Lloh3:
	ldr	x22, [x22, _lasttv@GOTPAGEOFF]
	mov	w23, #16960
	movk	w23, #15, lsl #16
Lloh4:
	adrp	x20, l_.str@PAGE
Lloh5:
	add	x20, x20, l_.str@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldp	x3, x2, [sp, #8]
	ldp	x9, x8, [x22]
	sub	x8, x2, x8
	sub	x9, x3, x9
	add	x10, x9, x23
	add	x4, x8, x9, asr #63
	cmp	x9, #0
	csel	x5, x10, x9, lt
	ldr	w1, [sp, #28]
	mov	x0, x20
	bl	_printf
	ldur	q0, [sp, #8]
	str	q0, [x22]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x1, sp, #28
	mov	x0, x19
	mov	w2, #1
	bl	_read
	cmp	w0, #0
	b.le	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #8
	mov	x1, #0
	bl	_gettimeofday
	ldr	x8, [x21]
	cbz	x8, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [sp, #28]
	add	x1, sp, #8
	bl	_raw_filter
	b	LBB0_3
LBB0_6:
	cbz	w0, LBB0_8
; %bb.7:
Lloh6:
	adrp	x0, l_.str.2@PAGE
Lloh7:
	add	x0, x0, l_.str.2@PAGEOFF
Lloh8:
	adrp	x1, l_.str.3@PAGE
Lloh9:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x2, x1
	bl	_error
	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
LBB0_8:
Lloh10:
	adrp	x8, _stderr@GOTPAGE
Lloh11:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
Lloh13:
	adrp	x8, _progname@GOTPAGE
Lloh14:
	ldr	x8, [x8, _progname@GOTPAGEOFF]
Lloh15:
	ldr	x2, [x8]
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fprintf
	mov	w0, #1
	bl	_exit
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_dofilter,8,3                   ; @dofilter
	.comm	_lasttv,16,3                    ; @lasttv
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%02x\t%lu.%06lu\t%lu.%06lu\n"

	.comm	_stderr,4,2                     ; @stderr
l_.str.1:                               ; @.str.1
	.asciz	"%s: zero returned on read\n"

	.comm	_progname,8,3                   ; @progname
l_.str.2:                               ; @.str.2
	.asciz	"read()"

l_.str.3:                               ; @.str.3
	.space	1

.subsections_via_symbols
