	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function raw_filter
LCPI0_0:
	.quad	1000000                         ## 0xf4240
	.quad	-1                              ## 0xffffffffffffffff
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_raw_filter
	.p2align	4, 0x90
_raw_filter:                            ## @raw_filter
	.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, %edx
	movl	%edi, %eax
	andl	$14, %eax
	cmpl	$9, %eax
	ja	LBB0_5
## %bb.1:
	movl	%edx, %eax
	andl	$224, %eax
	cmpl	$145, %eax
	jae	LBB0_5
## %bb.2:
	movq	_chudata@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	movq	16(%r13), %rcx
	movq	%rax, %rdi
	shlq	$4, %rdi
	movdqu	(%rsi), %xmm0
	movdqu	(%rcx,%rdi), %xmm1
	psubq	%xmm1, %xmm0
	movq	%xmm0, %rdi
	testq	%rdi, %rdi
	jns	LBB0_8
## %bb.4:
	paddq	LCPI0_0(%rip), %xmm0
	jmp	LBB0_8
LBB0_5:
	movq	_debug@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_12
## %bb.6:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
	xorl	%r15d, %r15d
	jmp	LBB0_16
LBB0_7:
	movq	16(%r13), %rcx
                                        ## implicit-def: $xmm0
LBB0_8:
	movq	8(%r13), %rdi
	movl	%edx, (%rdi,%rax,4)
	shlq	$4, %rax
	movups	(%rsi), %xmm1
	movups	%xmm1, (%rcx,%rax)
	movq	(%r13), %rax
	testq	%rax, %rax
	je	LBB0_13
## %bb.9:
	movq	%rax, %rcx
	shlq	$4, %rcx
	leaq	_raw_filter.diffs(%rip), %r12
	movdqa	%xmm0, (%rcx,%r12)
	incq	%rax
	movq	%rax, (%r13)
	cmpq	$10, %rax
	jne	LBB0_17
## %bb.10:
	movq	_doprocess@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_14
## %bb.11:
	movq	16(%r13), %rax
	movq	_NCHUCHARS@GOTPCREL(%rip), %rbx
	movslq	(%rbx), %rcx
	shlq	$4, %rcx
	leaq	(%rcx,%rax), %rdi
	addq	$-16, %rdi
	leaq	-48(%rbp), %rsi
	callq	_TVTOTS
	movq	_JAN_1970@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%eax, -48(%rbp)
	movq	16(%r13), %rax
	movslq	(%rbx), %rcx
	shlq	$4, %rcx
	leaq	(%rcx,%rax), %rsi
	addq	$-16, %rsi
	movq	%r13, %rdi
	callq	_chufilter
LBB0_12:
	xorl	%r15d, %r15d
	jmp	LBB0_16
LBB0_13:
	movl	$1, %r15d
	jmp	LBB0_16
LBB0_14:
	movl	$8, %ebx
	xorl	%r15d, %r15d
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %rax
	movq	16(%r13), %rcx
	movl	(%rax,%r14,4), %edx
	movl	%edx, %esi
	andl	$15, %esi
	shrl	$4, %edx
	andl	$15, %edx
	movq	-8(%rcx,%rbx), %r8
	movq	(%rcx,%rbx), %rcx
	movq	-8(%rbx,%r12), %rax
	movq	(%rbx,%r12), %r9
	movq	%rax, (%rsp)
	leaq	L_.str.1(%rip), %rdi
	callq	_printf
	incq	%r14
	addq	$16, %rbx
	cmpq	%r14, (%r13)
	ja	LBB0_15
LBB0_16:
	movq	_chudata@GOTPCREL(%rip), %rax
	movq	%r15, (%rax)
LBB0_17:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_raw_filter.diffs,160,4 ## @raw_filter.diffs
	.comm	_debug,8,3                      ## @debug
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"character %02x failed BCD test\n"

	.comm	_chudata,24,3                   ## @chudata
	.comm	_doprocess,8,3                  ## @doprocess
	.comm	_NCHUCHARS,4,2                  ## @NCHUCHARS
	.comm	_JAN_1970,8,3                   ## @JAN_1970
L_.str.1:                               ## @.str.1
	.asciz	"%x%x\t%lu.%06lu\t%lu.%06lu\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function raw_filter
lCPI0_0:
	.quad	1000000                         ; 0xf4240
	.quad	-1                              ; 0xffffffffffffffff
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_raw_filter
	.p2align	2
_raw_filter:                            ; @raw_filter
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x2, x0
	and	w8, w0, #0xe
Lloh0:
	adrp	x19, _chudata@GOTPAGE
Lloh1:
	ldr	x19, [x19, _chudata@GOTPAGEOFF]
	cmp	w8, #9
	b.hi	LBB0_4
; %bb.1:
	and	w8, w2, #0xe0
	cmp	w8, #145
	b.hs	LBB0_4
; %bb.2:
	ldr	x8, [x19]
	ldr	x9, [x19, #16]
	cbz	x8, LBB0_6
; %bb.3:
	fmov	d0, xzr
	ldr	q1, [x1]
	ldr	q2, [x9, x8, lsl #4]
	sub.2d	v1, v1, v2
	cmgt.2d	v0, v0, v1
	dup.2d	v0, v0[0]
Lloh2:
	adrp	x10, lCPI0_0@PAGE
Lloh3:
	ldr	q2, [x10, lCPI0_0@PAGEOFF]
	add.2d	v2, v1, v2
	bsl.16b	v0, v2, v1
	b	LBB0_7
LBB0_4:
Lloh4:
	adrp	x8, _debug@GOTPAGE
Lloh5:
	ldr	x8, [x8, _debug@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	cbz	x8, LBB0_15
; %bb.5:
Lloh7:
	adrp	x8, _stderr@GOTPAGE
Lloh8:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	b	LBB0_14
LBB0_6:
                                        ; implicit-def: $q0
LBB0_7:
	ldr	x10, [x19, #8]
	str	w2, [x10, x8, lsl #2]
	ldr	q1, [x1]
	str	q1, [x9, x8, lsl #4]
	ldr	x8, [x19]
	cbz	x8, LBB0_11
; %bb.8:
Lloh12:
	adrp	x21, _raw_filter.diffs@PAGE
Lloh13:
	add	x21, x21, _raw_filter.diffs@PAGEOFF
	str	q0, [x21, x8, lsl #4]
	add	x8, x8, #1
	str	x8, [x19]
	cmp	x8, #10
	b.ne	LBB0_16
; %bb.9:
Lloh14:
	adrp	x8, _doprocess@GOTPAGE
Lloh15:
	ldr	x8, [x8, _doprocess@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	cbz	x8, LBB0_12
; %bb.10:
	ldr	x8, [x19, #16]
Lloh17:
	adrp	x20, _NCHUCHARS@GOTPAGE
Lloh18:
	ldr	x20, [x20, _NCHUCHARS@GOTPAGEOFF]
	ldrsw	x9, [x20]
	add	x8, x8, x9, lsl #4
	sub	x0, x8, #16
	add	x1, sp, #8
	bl	_TVTOTS
Lloh19:
	adrp	x8, _JAN_1970@GOTPAGE
Lloh20:
	ldr	x8, [x8, _JAN_1970@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	ldr	w9, [sp, #8]
	add	w8, w9, w8
	str	w8, [sp, #8]
	ldr	x8, [x19, #16]
	ldrsw	x9, [x20]
	add	x8, x8, x9, lsl #4
	sub	x1, x8, #16
	mov	x0, x19
	bl	_chufilter
	b	LBB0_14
LBB0_11:
	mov	w8, #1
	b	LBB0_15
LBB0_12:
	mov	x22, #0
	mov	x23, #0
Lloh22:
	adrp	x20, l_.str.1@PAGE
Lloh23:
	add	x20, x20, l_.str.1@PAGEOFF
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldp	x8, x9, [x19, #8]
	ldr	w8, [x8, x23, lsl #2]
	and	w1, w8, #0xf
	ubfx	w2, w8, #4, #4
	add	x8, x9, x22
	ldp	x4, x3, [x8]
	add	x8, x21, x22
	ldp	x6, x5, [x8]
	mov	x0, x20
	bl	_printf
	add	x23, x23, #1
	ldr	x8, [x19]
	add	x22, x22, #16
	cmp	x8, x23
	b.hi	LBB0_13
LBB0_14:
	mov	x8, #0
LBB0_15:
	str	x8, [x19]
LBB0_16:
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdr	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_raw_filter.diffs,160,3 ; @raw_filter.diffs
	.comm	_debug,8,3                      ; @debug
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"character %02x failed BCD test\n"

	.comm	_chudata,24,3                   ; @chudata
	.comm	_doprocess,8,3                  ; @doprocess
	.comm	_NCHUCHARS,4,2                  ; @NCHUCHARS
	.comm	_JAN_1970,8,3                   ; @JAN_1970
l_.str.1:                               ; @.str.1
	.asciz	"%x%x\t%lu.%06lu\t%lu.%06lu\n"

.subsections_via_symbols
