	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hashit                         ## -- Begin function hashit
	.p2align	4, 0x90
_hashit:                                ## @hashit
	.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	$536, %rsp                      ## imm = 0x218
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -564(%rbp)                ## 4-byte Spill
	movl	%esi, %r14d
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	testl	%esi, %esi
	je	LBB0_2
## %bb.1:
	movq	_mesgwrite@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_fflush
LBB0_2:
	movb	(%r12), %al
	testb	%al, %al
	je	LBB0_3
## %bb.4:
	leaq	1(%r12), %rcx
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movsbq	%al, %rax
	leaq	(%rax,%rbx,2), %rbx
	movzbl	(%rcx), %eax
	incq	%rcx
	testb	%al, %al
	jne	LBB0_5
	jmp	LBB0_6
LBB0_3:
	xorl	%ebx, %ebx
LBB0_6:
	movq	_NBUCKETS@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%rbx, %rax
	orq	%rcx, %rax
	shrq	$32, %rax
	je	LBB0_7
## %bb.8:
	movq	%rbx, %rax
	cqto
	idivq	%rcx
	jmp	LBB0_9
LBB0_7:
	movl	%ebx, %eax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $edx killed $edx def $rdx
LBB0_9:
	addl	%edx, %ecx
	testl	%edx, %edx
	cmovnsl	%edx, %ecx
	movslq	%ecx, %rax
	movq	%rax, -576(%rbp)                ## 8-byte Spill
	movl	%r14d, -568(%rbp)               ## 4-byte Spill
	testl	%r14d, %r14d
	je	LBB0_15
## %bb.10:
	movq	_bucket@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-576(%rbp), %rcx                ## 8-byte Reload
	movq	(%rax,%rcx,8), %r13
	testq	%r13, %r13
	je	LBB0_15
## %bb.11:
	movq	_mesgread@GOTPCREL(%rip), %r15
	leaq	-560(%rbp), %r14
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	16(%r13), %r13
	testq	%r13, %r13
	je	LBB0_15
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	cmpq	%rbx, (%r13)
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movl	(%r15), %edi
	movl	8(%r13), %esi
	xorl	%edx, %edx
	callq	_fseek
	movl	(%r15), %edx
	movq	%r14, %rdi
	movl	$512, %esi                      ## imm = 0x200
	callq	_fgetNUL
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_14
	jmp	LBB0_21
LBB0_15:
	movl	$1, %edi
	movl	$24, %esi
	callq	_calloc
	movq	%rax, %r13
	testq	%rax, %rax
	jne	LBB0_17
## %bb.16:
	movl	$1, %edi
	xorl	%esi, %esi
	callq	_err
LBB0_17:
	movq	_bucket@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	-576(%rbp), %r15                ## 8-byte Reload
	movq	(%rax,%r15,8), %rcx
	movq	%rcx, 16(%r13)
	movq	%rbx, (%r13)
	cmpl	$0, -568(%rbp)                  ## 4-byte Folded Reload
	je	LBB0_19
## %bb.18:
	movq	_mesgwrite@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_ftell
	movl	%eax, 8(%r13)
	movq	%r12, %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	leal	1(%rax), %edx
	movl	(%rbx), %ecx
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_fwrite
	movl	(%rbx), %ecx
	leaq	L_.str(%rip), %rdi
	movl	$1, %esi
	movl	$1, %edx
	callq	_fwrite
	movq	(%r14), %rax
	jmp	LBB0_20
LBB0_19:
	movl	-564(%rbp), %ecx                ## 4-byte Reload
	movl	%ecx, 8(%r13)
LBB0_20:
	movq	%r13, (%rax,%r15,8)
LBB0_21:
	movl	8(%r13), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_23
## %bb.22:
	addq	$536, %rsp                      ## imm = 0x218
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_mesgwrite,4,2                  ## @mesgwrite
	.comm	_NBUCKETS,8,3                   ## @NBUCKETS
	.comm	_bucket,8,3                     ## @bucket
	.comm	_mesgread,4,2                   ## @mesgread
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hashit                         ; -- Begin function hashit
	.p2align	2
_hashit:                                ; @hashit
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #528
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x23, _mesgwrite@GOTPAGE
Lloh4:
	ldr	x23, [x23, _mesgwrite@GOTPAGEOFF]
	cbz	w1, LBB0_2
; %bb.1:
	ldr	w0, [x23]
	bl	_fflush
LBB0_2:
	ldrb	w8, [x19]
	cbz	w8, LBB0_5
; %bb.3:
	mov	x24, #0
	add	x9, x19, #1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x10, x24, #1
	add	x24, x10, w8, sxtb
	ldrb	w8, [x9], #1
	cbnz	w8, LBB0_4
	b	LBB0_6
LBB0_5:
	mov	x24, #0
LBB0_6:
Lloh5:
	adrp	x8, _NBUCKETS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _NBUCKETS@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	sdiv	x9, x24, x8
	msub	w9, w9, w8, w24
	add	w8, w9, w8
	cmp	w9, #0
	csel	w26, w8, w9, lt
Lloh8:
	adrp	x25, _bucket@GOTPAGE
Lloh9:
	ldr	x25, [x25, _bucket@GOTPAGEOFF]
	cbz	w21, LBB0_12
; %bb.7:
	ldr	x8, [x25]
	ldr	x22, [x8, w26, sxtw #3]
	cbz	x22, LBB0_12
; %bb.8:
Lloh10:
	adrp	x27, _mesgread@GOTPAGE
Lloh11:
	ldr	x27, [x27, _mesgread@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	ldr	x22, [x22, #16]
	cbz	x22, LBB0_12
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	cmp	x8, x24
	b.ne	LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w0, [x27]
	ldr	w1, [x22, #8]
	mov	w2, #0
	bl	_fseek
	ldr	w2, [x27]
	add	x0, sp, #8
	mov	w1, #512
	bl	_fgetNUL
	add	x0, sp, #8
	mov	x1, x19
	bl	_strcmp
	cbnz	x0, LBB0_9
	b	LBB0_18
LBB0_12:
	mov	w0, #1
	mov	w1, #24
	bl	_calloc
	mov	x22, x0
	cbnz	x0, LBB0_14
; %bb.13:
	mov	w0, #1
	mov	x1, #0
	bl	_err
LBB0_14:
	ldr	x8, [x25]
	ldr	x9, [x8, w26, sxtw #3]
	sxtw	x26, w26
	str	x9, [x22, #16]
	str	x24, [x22]
	cbz	w21, LBB0_16
; %bb.15:
	ldr	w0, [x23]
	bl	_ftell
	str	w0, [x22, #8]
	mov	x0, x19
	bl	_strlen
	add	w2, w0, #1
	ldr	w3, [x23]
	mov	x0, x19
	mov	w1, #1
	bl	_fwrite
	ldr	w3, [x23]
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	mov	w1, #1
	mov	w2, #1
	bl	_fwrite
	ldr	x8, [x25]
	b	LBB0_17
LBB0_16:
	str	w20, [x22, #8]
LBB0_17:
	str	x22, [x8, x26, lsl #3]
LBB0_18:
	ldr	w0, [x22, #8]
	ldur	x8, [x29, #-88]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_20
; %bb.19:
	add	sp, sp, #528
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_20:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_mesgwrite,4,2                  ; @mesgwrite
	.comm	_NBUCKETS,8,3                   ; @NBUCKETS
	.comm	_bucket,8,3                     ; @bucket
	.comm	_mesgread,4,2                   ; @mesgread
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

.subsections_via_symbols
