	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rewrite
_rewrite:                               ## @rewrite
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_sumfile@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fopen
	testq	%rax, %rax
	je	LBB0_11
## %bb.1:
	movq	%rax, %rbx
	movq	_HSHSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_7
## %bb.2:
	xorl	%r13d, %r13d
	movq	_hashtab@GOTPCREL(%rip), %r15
	leaq	L_.str.2(%rip), %r14
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%r13
	movslq	%eax, %rcx
	cmpq	%rcx, %r13
	jge	LBB0_7
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	movq	(%r15), %rcx
	movq	(%rcx,%r13,8), %r12
	testq	%r12, %r12
	je	LBB0_6
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsd	(%r12), %xmm0                   ## xmm0 = mem[0],zero
	movq	8(%r12), %rdx
	movl	16(%r12), %ecx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_fprintf
	movq	24(%r12), %r12
	testq	%r12, %r12
	jne	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_HSHSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_6
LBB0_7:
	movq	%rbx, %rdi
	callq	_fflush
	movq	%rbx, %rdi
	callq	_ferror
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	_sumfile@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_warn
	movq	_errs@GOTPCREL(%rip), %rax
	incl	(%rax)
LBB0_9:
	movq	%rbx, %rdi
	callq	_fclose
	movq	_acctfile@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fopen
	testq	%rax, %rax
	je	LBB0_12
## %bb.10:
	movq	%rax, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fclose                         ## TAILCALL
LBB0_11:
	movl	(%r14), %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_warn
	movq	_errs@GOTPCREL(%rip), %rax
	incl	(%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movl	(%rbx), %esi
	leaq	L_.str.1(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_warn                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_sumfile,4,2                    ## @sumfile
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"w"

L_.str.1:                               ## @.str.1
	.asciz	"%s"

	.comm	_errs,4,2                       ## @errs
	.comm	_HSHSIZE,4,2                    ## @HSHSIZE
	.comm	_hashtab,8,3                    ## @hashtab
L_.str.2:                               ## @.str.2
	.asciz	"%7.2f\t%s\t%d\n"

	.comm	_acctfile,4,2                   ## @acctfile
	.no_dead_strip	_rewrite
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rewrite
_rewrite:                               ; @rewrite
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
Lloh0:
	adrp	x21, _sumfile@GOTPAGE
Lloh1:
	ldr	x21, [x21, _sumfile@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fopen
	cbz	x0, LBB0_11
; %bb.1:
	mov	x19, x0
Lloh4:
	adrp	x22, _HSHSIZE@GOTPAGE
Lloh5:
	ldr	x22, [x22, _HSHSIZE@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.2:
	mov	x23, #0
Lloh6:
	adrp	x24, _hashtab@GOTPAGE
Lloh7:
	ldr	x24, [x24, _hashtab@GOTPAGEOFF]
Lloh8:
	adrp	x20, l_.str.2@PAGE
Lloh9:
	add	x20, x20, l_.str.2@PAGEOFF
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x23, x23, #1
	cmp	x23, w8, sxtw
	b.ge	LBB0_7
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	ldr	x9, [x24]
	ldr	x25, [x9, x23, lsl #3]
	cbz	x25, LBB0_3
LBB0_5:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	d0, [x25]
	ldr	x2, [x25, #8]
	ldr	w3, [x25, #16]
	mov	x0, x19
	mov	x1, x20
	bl	_fprintf
	ldr	x25, [x25, #24]
	cbnz	x25, LBB0_5
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x22]
	b	LBB0_3
LBB0_7:
	mov	x0, x19
	bl	_fflush
	mov	x0, x19
	bl	_ferror
	cbz	x0, LBB0_9
; %bb.8:
	ldr	w1, [x21]
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_warn
Lloh12:
	adrp	x8, _errs@GOTPAGE
Lloh13:
	ldr	x8, [x8, _errs@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
LBB0_9:
	mov	x0, x19
	bl	_fclose
Lloh14:
	adrp	x19, _acctfile@GOTPAGE
Lloh15:
	ldr	x19, [x19, _acctfile@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh16:
	adrp	x1, l_.str@PAGE
Lloh17:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fopen
	cbz	x0, LBB0_12
; %bb.10:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_fclose
LBB0_11:
	ldr	w1, [x21]
Lloh18:
	adrp	x0, l_.str.1@PAGE
Lloh19:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_warn
Lloh20:
	adrp	x8, _errs@GOTPAGE
Lloh21:
	ldr	x8, [x8, _errs@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_12:
	ldr	w1, [x19]
Lloh22:
	adrp	x0, l_.str.1@PAGE
Lloh23:
	add	x0, x0, l_.str.1@PAGEOFF
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_warn
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_sumfile,4,2                    ; @sumfile
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"w"

l_.str.1:                               ; @.str.1
	.asciz	"%s"

	.comm	_errs,4,2                       ; @errs
	.comm	_HSHSIZE,4,2                    ; @HSHSIZE
	.comm	_hashtab,8,3                    ; @hashtab
l_.str.2:                               ; @.str.2
	.asciz	"%7.2f\t%s\t%d\n"

	.comm	_acctfile,4,2                   ; @acctfile
	.no_dead_strip	_rewrite
.subsections_via_symbols
