	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fillup
_fillup:                                ## @fillup
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_file@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_getc
	movl	%eax, %r14d
	leal	-2(%r14), %r15d
	movl	(%r12), %ecx
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	%r15d, %edx
	callq	_fread
	movq	_code@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addl	%r14d, %esi
	cmpl	$3, %r14d
	jl	LBB0_11
## %bb.1:
	movl	%r15d, %eax
	cmpl	$8, %r15d
	jae	LBB0_3
## %bb.2:
	xorl	%ecx, %ecx
	jmp	LBB0_10
LBB0_3:
	movl	%eax, %ecx
	andl	$-8, %ecx
	movd	%esi, %xmm0
	leaq	-8(%rcx), %rsi
	movq	%rsi, %rdx
	shrq	$3, %rdx
	incq	%rdx
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.5:
	movq	%rdx, %rdi
	andq	$-2, %rdi
	pxor	%xmm1, %xmm1
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	pmovzxbd	(%rbx,%rsi), %xmm2              ## xmm2 = mem[0],zero,zero,zero,mem[1],zero,zero,zero,mem[2],zero,zero,zero,mem[3],zero,zero,zero
	paddd	%xmm0, %xmm2
	pmovzxbd	4(%rbx,%rsi), %xmm3             ## xmm3 = mem[0],zero,zero,zero,mem[1],zero,zero,zero,mem[2],zero,zero,zero,mem[3],zero,zero,zero
	paddd	%xmm1, %xmm3
	pmovzxbd	8(%rbx,%rsi), %xmm0             ## xmm0 = mem[0],zero,zero,zero,mem[1],zero,zero,zero,mem[2],zero,zero,zero,mem[3],zero,zero,zero
	pmovzxbd	12(%rbx,%rsi), %xmm1            ## xmm1 = mem[0],zero,zero,zero,mem[1],zero,zero,zero,mem[2],zero,zero,zero,mem[3],zero,zero,zero
	paddd	%xmm2, %xmm0
	paddd	%xmm3, %xmm1
	addq	$16, %rsi
	addq	$-2, %rdi
	jne	LBB0_6
## %bb.7:
	testb	$1, %dl
	je	LBB0_9
LBB0_8:
	pmovzxbd	(%rbx,%rsi), %xmm2              ## xmm2 = mem[0],zero,zero,zero,mem[1],zero,zero,zero,mem[2],zero,zero,zero,mem[3],zero,zero,zero
	paddd	%xmm2, %xmm0
	pmovzxbd	4(%rbx,%rsi), %xmm2             ## xmm2 = mem[0],zero,zero,zero,mem[1],zero,zero,zero,mem[2],zero,zero,zero,mem[3],zero,zero,zero
	paddd	%xmm2, %xmm1
LBB0_9:
	paddd	%xmm1, %xmm0
	pshufd	$238, %xmm0, %xmm1              ## xmm1 = xmm0[2,3,2,3]
	paddd	%xmm0, %xmm1
	pshufd	$85, %xmm1, %xmm0               ## xmm0 = xmm1[1,1,1,1]
	paddd	%xmm1, %xmm0
	movd	%xmm0, %esi
	cmpq	%rax, %rcx
	je	LBB0_11
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx,%rcx), %edx
	addl	%edx, %esi
	incq	%rcx
	cmpq	%rcx, %rax
	jne	LBB0_10
LBB0_11:
	cmpb	$-1, %sil
	je	LBB0_13
## %bb.12:
	leaq	L_.str(%rip), %rdi
	callq	_printf
LBB0_13:
	movq	_dump@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_15
## %bb.14:
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_dh
LBB0_15:
	addl	$-3, %r14d
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	pxor	%xmm1, %xmm1
	xorl	%esi, %esi
	testb	$1, %dl
	jne	LBB0_8
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_file,4,2                       ## @file
	.comm	_code,4,2                       ## @code
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SUM IS %x\n"

	.comm	_dump,8,3                       ## @dump
	.no_dead_strip	_fillup
.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 fillup
lCPI0_0:
	.byte	12                              ; 0xc
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	13                              ; 0xd
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	14                              ; 0xe
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	15                              ; 0xf
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
lCPI0_1:
	.byte	0                               ; 0x0
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	1                               ; 0x1
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	2                               ; 0x2
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	3                               ; 0x3
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
lCPI0_2:
	.byte	4                               ; 0x4
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	5                               ; 0x5
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	6                               ; 0x6
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	7                               ; 0x7
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
lCPI0_3:
	.byte	8                               ; 0x8
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	9                               ; 0x9
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	10                              ; 0xa
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	11                              ; 0xb
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_fillup:                                ; @fillup
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
Lloh0:
	adrp	x22, _file@GOTPAGE
Lloh1:
	ldr	x22, [x22, _file@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_getc
	mov	x21, x0
	sub	w20, w0, #2
	ldr	w3, [x22]
	mov	x0, x19
	mov	w1, #1
	mov	x2, x20
	bl	_fread
Lloh2:
	adrp	x8, _code@GOTPAGE
Lloh3:
	ldr	x8, [x8, _code@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	add	w1, w8, w21
	subs	w21, w21, #3
	b.lt	LBB0_14
; %bb.1:
	cmp	w20, #8
	b.hs	LBB0_3
; %bb.2:
	mov	x8, #0
	b	LBB0_12
LBB0_3:
	adrp	x9, lCPI0_1@PAGE
	adrp	x10, lCPI0_2@PAGE
	cmp	w20, #32
	b.hs	LBB0_5
; %bb.4:
	mov	x8, #0
	b	LBB0_9
LBB0_5:
	and	x8, x20, #0xffffffe0
	movi.2d	v1, #0000000000000000
	movi.2d	v0, #0000000000000000
	mov.s	v0[0], w1
	add	x11, x19, #16
Lloh5:
	adrp	x12, lCPI0_0@PAGE
Lloh6:
	ldr	q2, [x12, lCPI0_0@PAGEOFF]
	ldr	q3, [x9, lCPI0_1@PAGEOFF]
	ldr	q4, [x10, lCPI0_2@PAGEOFF]
Lloh7:
	adrp	x12, lCPI0_3@PAGE
Lloh8:
	ldr	q5, [x12, lCPI0_3@PAGEOFF]
	mov	x12, x8
	movi.2d	v6, #0000000000000000
	movi.2d	v7, #0000000000000000
	movi.2d	v16, #0000000000000000
	movi.2d	v18, #0000000000000000
	movi.2d	v17, #0000000000000000
	movi.2d	v19, #0000000000000000
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q20, q24, [x11, #-16]
	tbl.16b	v21, { v20 }, v2
	tbl.16b	v22, { v20 }, v3
	tbl.16b	v23, { v20 }, v4
	tbl.16b	v20, { v20 }, v5
	tbl.16b	v25, { v24 }, v2
	tbl.16b	v26, { v24 }, v3
	tbl.16b	v27, { v24 }, v4
	tbl.16b	v24, { v24 }, v5
	add.4s	v6, v6, v20
	add.4s	v1, v1, v23
	add.4s	v0, v0, v22
	add.4s	v7, v7, v21
	add.4s	v17, v17, v24
	add.4s	v18, v18, v27
	add.4s	v16, v16, v26
	add.4s	v19, v19, v25
	add	x11, x11, #32
	subs	x12, x12, #32
	b.ne	LBB0_6
; %bb.7:
	add.4s	v1, v18, v1
	add.4s	v2, v19, v7
	add.4s	v0, v16, v0
	add.4s	v3, v17, v6
	add.4s	v0, v0, v3
	add.4s	v1, v1, v2
	add.4s	v0, v0, v1
	addv.4s	s0, v0
	fmov	w1, s0
	cmp	x8, x20
	b.eq	LBB0_14
; %bb.8:
	tst	x20, #0x18
	b.eq	LBB0_12
LBB0_9:
	mov	x12, x8
	and	x8, x20, #0xfffffff8
	movi.2d	v0, #0000000000000000
	movi.2d	v1, #0000000000000000
	mov.s	v1[0], w1
	add	x11, x19, x12
	sub	x12, x12, x8
	ldr	q2, [x9, lCPI0_1@PAGEOFF]
	ldr	q3, [x10, lCPI0_2@PAGEOFF]
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	d4, [x11], #8
	tbl.16b	v5, { v4 }, v2
	tbl.16b	v4, { v4 }, v3
	add.4s	v0, v0, v4
	add.4s	v1, v1, v5
	adds	x12, x12, #8
	b.ne	LBB0_10
; %bb.11:
	add.4s	v0, v1, v0
	addv.4s	s0, v0
	fmov	w1, s0
	cmp	x8, x20
	b.eq	LBB0_14
LBB0_12:
	add	x9, x19, x8
	sub	x8, x20, x8
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x9], #1
	add	w1, w1, w10
	subs	x8, x8, #1
	b.ne	LBB0_13
LBB0_14:
	mvn	w8, w1
	tst	w8, #0xff
	b.eq	LBB0_16
; %bb.15:
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
LBB0_16:
Lloh11:
	adrp	x8, _dump@GOTPAGE
Lloh12:
	ldr	x8, [x8, _dump@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	cbz	x8, LBB0_18
; %bb.17:
	mov	x0, x19
	mov	x1, x20
	bl	_dh
LBB0_18:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdr	Lloh7, Lloh8
	.loh AdrpAdrp	Lloh5, Lloh7
	.loh AdrpLdr	Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_file,4,2                       ; @file
	.comm	_code,4,2                       ; @code
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SUM IS %x\n"

	.comm	_dump,8,3                       ; @dump
	.no_dead_strip	_fillup
.subsections_via_symbols
