	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function readhash
_readhash:                              ## @readhash
	.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
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	_D_FOLDBLANKS@GOTPCREL(%rip), %rax
	movq	_D_IGNOREBLANKS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%esi, %ecx
	je	LBB0_8
## %bb.1:
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	movl	$1, %r13d
	xorl	%r15d, %r15d
	movabsq	$4294982144, %r12               ## imm = 0x100003A00
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_getc
	cmpl	$32, %eax
	ja	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %ecx
	btq	%rcx, %r12
	jae	LBB0_4
## %bb.25:                              ##   in Loop: Header=BB0_2 Depth=1
	incl	%r14d
	jmp	LBB0_2
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$10, %rcx
	je	LBB0_32
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$128, %eax
	je	LBB0_28
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	testl	%r14d, %r14d
	je	LBB0_7
## %bb.26:                              ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ecx, %ecx
	movq	_D_IGNOREBLANKS@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	andl	-44(%rbp), %edx                 ## 4-byte Folded Reload
	sete	%cl
	cmovel	%edx, %r14d
	addl	%ecx, %r15d
	jmp	LBB0_27
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r14d, %r14d
LBB0_27:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%r15d, -48(%rbp)                ## 4-byte Spill
	movl	%r13d, %r15d
	shll	$7, %r15d
	subl	%r13d, %r15d
	movl	%eax, %edi
	callq	_chrtran
	movl	%eax, %r13d
	addl	%r15d, %r13d
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	incl	%eax
	movl	%eax, %r15d
	jmp	LBB0_2
LBB0_8:
	movq	_D_IGNORECASE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	andl	%r15d, %r14d
	movq	%rbx, %rdi
	callq	_getc
	movl	%eax, %r12d
	movl	$1, %eax
	testl	%r14d, %r14d
	je	LBB0_17
## %bb.9:
	cmpl	$10, %r12d
	je	LBB0_30
## %bb.10:
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	movl	$1, %r13d
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	cmpl	$13, %r12d
	jne	LBB0_15
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	_D_STRIPCR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	-44(%rbp), %eax                 ## 4-byte Folded Reload
	je	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	%rbx, %rdi
	callq	_getc
	cmpl	$10, %eax
	je	LBB0_32
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	%eax, %r12d
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_ungetc
LBB0_15:                                ##   in Loop: Header=BB0_11 Depth=1
	cmpl	$128, %r12d
	je	LBB0_16
## %bb.31:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	%r13d, %r15d
	shll	$7, %r15d
	subl	%r13d, %r15d
	movl	%r12d, %edi
	callq	_chrtran
	movl	%eax, %r13d
	addl	%r15d, %r13d
	movq	%rbx, %rdi
	callq	_getc
	movl	%eax, %r12d
	decl	%r14d
	cmpl	$10, %eax
	jne	LBB0_11
	jmp	LBB0_32
LBB0_28:
	testl	%r15d, %r15d
	je	LBB0_29
LBB0_32:
	testl	%r13d, %r13d
	movl	$1, %eax
	cmovnel	%r13d, %eax
LBB0_30:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	cmpl	$10, %r12d
	je	LBB0_30
## %bb.18:
	movl	$1, %r13d
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	cmpl	$13, %r12d
	jne	LBB0_23
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	_D_STRIPCR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%r15d, %eax
	je	LBB0_23
## %bb.21:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	%rbx, %rdi
	callq	_getc
	cmpl	$10, %eax
	je	LBB0_32
## %bb.22:                              ##   in Loop: Header=BB0_19 Depth=1
	movl	%eax, %r12d
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_ungetc
LBB0_23:                                ##   in Loop: Header=BB0_19 Depth=1
	cmpl	$128, %r12d
	je	LBB0_16
## %bb.24:                              ##   in Loop: Header=BB0_19 Depth=1
	movl	%r13d, %eax
	shll	$7, %eax
	subl	%r13d, %eax
	movl	%r12d, %r13d
	addl	%eax, %r13d
	movq	%rbx, %rdi
	callq	_getc
	movl	%eax, %r12d
	decl	%r14d
	cmpl	$10, %eax
	jne	LBB0_19
	jmp	LBB0_32
LBB0_16:
	testl	%r14d, %r14d
	jne	LBB0_32
LBB0_29:
	xorl	%eax, %eax
	jmp	LBB0_30
	.cfi_endproc
                                        ## -- End function
	.comm	_D_FOLDBLANKS,4,2               ## @D_FOLDBLANKS
	.comm	_D_IGNOREBLANKS,4,2             ## @D_IGNOREBLANKS
	.comm	_D_IGNORECASE,4,2               ## @D_IGNORECASE
	.comm	_D_STRIPCR,4,2                  ## @D_STRIPCR
	.no_dead_strip	_readhash
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function readhash
_readhash:                              ; @readhash
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _D_FOLDBLANKS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _D_FOLDBLANKS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x21, _D_IGNOREBLANKS@GOTPAGE
Lloh4:
	ldr	x21, [x21, _D_IGNOREBLANKS@GOTPAGEOFF]
	ldr	w9, [x21]
	orr	w8, w9, w8
	tst	w8, w1
	b.eq	LBB0_10
; %bb.1:
	mov	w23, #0
	mov	w25, #0
	mov	w24, #1
	mov	x26, #14848
	movk	x26, #1, lsl #32
	mov	w22, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_getc
	cmp	w0, #32
	b.hi	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, w0
	lsl	x9, x24, x8
	tst	x9, x26
	b.eq	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w25, w25, #1
	b	LBB0_2
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	cmp	x8, #10
	b.eq	LBB0_29
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	cmp	w0, #128
	b.eq	LBB0_28
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	cbz	w25, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x21]
	tst	w8, w19
	cinc	w23, w23, eq
	csel	w25, wzr, w25, eq
LBB0_9:                                 ;   in Loop: Header=BB0_2 Depth=1
	lsl	w8, w22, #7
	sub	w22, w8, w22
	bl	_chrtran
	add	w22, w0, w22
	add	w23, w23, #1
	b	LBB0_2
LBB0_10:
Lloh5:
	adrp	x8, _D_IGNORECASE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _D_IGNORECASE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	and	w22, w8, w19
	mov	x0, x20
	bl	_getc
	mov	x21, x0
	cmp	w0, #10
	cbz	w22, LBB0_19
; %bb.11:
	b.eq	LBB0_20
; %bb.12:
	mov	w23, #0
	mov	w22, #1
Lloh8:
	adrp	x24, _D_STRIPCR@GOTPAGE
Lloh9:
	ldr	x24, [x24, _D_STRIPCR@GOTPAGEOFF]
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	cmp	w21, #13
	b.ne	LBB0_17
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	w8, [x24]
	and	w8, w8, w19
	cbz	w8, LBB0_17
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x20
	bl	_getc
	cmp	w0, #10
	b.eq	LBB0_29
; %bb.16:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x21, x0
	mov	x1, x20
	bl	_ungetc
LBB0_17:                                ;   in Loop: Header=BB0_13 Depth=1
	cmp	w21, #128
	b.eq	LBB0_28
; %bb.18:                               ;   in Loop: Header=BB0_13 Depth=1
	lsl	w8, w22, #7
	sub	w22, w8, w22
	mov	x0, x21
	bl	_chrtran
	add	w22, w0, w22
	mov	x0, x20
	bl	_getc
	mov	x21, x0
	sub	w23, w23, #1
	cmp	w0, #10
	b.ne	LBB0_13
	b	LBB0_29
LBB0_19:
	b.ne	LBB0_21
LBB0_20:
	mov	w0, #1
	b	LBB0_30
LBB0_21:
	mov	w23, #0
	mov	w22, #1
Lloh10:
	adrp	x24, _D_STRIPCR@GOTPAGE
Lloh11:
	ldr	x24, [x24, _D_STRIPCR@GOTPAGEOFF]
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	cmp	w21, #13
	b.ne	LBB0_26
; %bb.23:                               ;   in Loop: Header=BB0_22 Depth=1
	ldr	w8, [x24]
	and	w8, w8, w19
	cbz	w8, LBB0_26
; %bb.24:                               ;   in Loop: Header=BB0_22 Depth=1
	mov	x0, x20
	bl	_getc
	cmp	w0, #10
	b.eq	LBB0_29
; %bb.25:                               ;   in Loop: Header=BB0_22 Depth=1
	mov	x21, x0
	mov	x1, x20
	bl	_ungetc
LBB0_26:                                ;   in Loop: Header=BB0_22 Depth=1
	cmp	w21, #128
	b.eq	LBB0_28
; %bb.27:                               ;   in Loop: Header=BB0_22 Depth=1
	lsl	w8, w22, #7
	sub	w8, w8, w22
	add	w22, w21, w8
	mov	x0, x20
	bl	_getc
	mov	x21, x0
	sub	w23, w23, #1
	cmp	w0, #10
	b.ne	LBB0_22
	b	LBB0_29
LBB0_28:
	cbz	w23, LBB0_31
LBB0_29:
	cmp	w22, #0
	csinc	w0, w22, wzr, ne
LBB0_30:
	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_31:
	mov	w0, #0
	b	LBB0_30
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_D_FOLDBLANKS,4,2               ; @D_FOLDBLANKS
	.comm	_D_IGNOREBLANKS,4,2             ; @D_IGNOREBLANKS
	.comm	_D_IGNORECASE,4,2               ; @D_IGNORECASE
	.comm	_D_STRIPCR,4,2                  ; @D_STRIPCR
	.no_dead_strip	_readhash
.subsections_via_symbols
