	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_digit
_parse_digit:                           ## @parse_digit
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpb	$48, %dil
	jne	LBB0_8
## %bb.1:
	movq	_input_stream_pos@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rcx
	movl	(%rcx), %edx
	xorl	%eax, %eax
	movl	$8, %r9d
	addl	$-66, %edx
	cmpl	$54, %edx
	ja	LBB0_9
## %bb.2:
	movabsq	$4294967297, %rdi               ## imm = 0x100000001
	btq	%rdx, %rdi
	jb	LBB0_7
## %bb.3:
	movabsq	$35184372097024, %rdi           ## imm = 0x200000002000
	btq	%rdx, %rdi
	jb	LBB0_6
## %bb.4:
	movabsq	$18014398513676288, %rdi        ## imm = 0x40000000400000
	btq	%rdx, %rdi
	jae	LBB0_9
## %bb.5:
	addq	$4, %rcx
	movq	%rcx, (%rsi)
	movl	$16, %r9d
	jmp	LBB0_9
LBB0_8:
	movsbl	%dil, %eax
	addl	$-48, %eax
	movq	_input_stream_pos@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	$10, %r9d
	jmp	LBB0_9
LBB0_7:
	addq	$4, %rcx
	movq	%rcx, (%rsi)
	movl	$2, %r9d
	jmp	LBB0_9
LBB0_6:
	addq	$4, %rcx
	movq	%rcx, (%rsi)
LBB0_9:
	movl	(%rcx), %r10d
	movl	%r10d, %edi
	shll	$24, %edi
	je	LBB0_16
## %bb.10:
	addq	$4, %rcx
	movq	_input_stream_pos@GOTPCREL(%rip), %r8
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_11 Depth=1
	sarl	$24, %edi
	addl	%edx, %edi
	imull	%r9d, %eax
	addl	%edi, %eax
	movq	%rcx, (%r8)
	movl	(%rcx), %r10d
	movl	%r10d, %edi
	shll	$24, %edi
	addq	$4, %rcx
	testl	%edi, %edi
	je	LBB0_15
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	leal	-1073741825(%rdi), %esi
	movl	$-55, %edx
	cmpl	$117440511, %esi                ## imm = 0x6FFFFFF
	jb	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	leal	-1610612737(%rdi), %esi
	movl	$-87, %edx
	cmpl	$117440511, %esi                ## imm = 0x6FFFFFF
	jb	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=1
	leal	-788529153(%rdi), %esi
	movl	$-48, %edx
	cmpl	$184549374, %esi                ## imm = 0xAFFFFFE
	jbe	LBB0_14
LBB0_15:
	addq	$-4, %rcx
LBB0_16:
	movl	%r10d, %edx
	orl	$32, %edx
	cmpl	$117, %edx
	jne	LBB0_18
## %bb.17:
	leaq	4(%rcx), %rdx
	movq	_input_stream_pos@GOTPCREL(%rip), %rsi
	movq	%rdx, (%rsi)
	movl	4(%rcx), %r10d
	movq	%rdx, %rcx
LBB0_18:
	movl	%r10d, %edx
	orl	$32, %edx
	cmpl	$108, %edx
	jne	LBB0_20
## %bb.19:
	leaq	4(%rcx), %rdx
	movq	_input_stream_pos@GOTPCREL(%rip), %rsi
	movq	%rdx, (%rsi)
	movl	4(%rcx), %r10d
	movq	%rdx, %rcx
LBB0_20:
	orl	$32, %r10d
	cmpl	$108, %r10d
	jne	LBB0_22
## %bb.21:
	addq	$4, %rcx
	movq	_input_stream_pos@GOTPCREL(%rip), %rdx
	movq	%rcx, (%rdx)
LBB0_22:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_input_stream_pos,8,3           ## @input_stream_pos
	.no_dead_strip	_parse_digit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_digit
_parse_digit:                           ; @parse_digit
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _input_stream_pos@GOTPAGE
Lloh1:
	ldr	x8, [x8, _input_stream_pos@GOTPAGEOFF]
	subs	w0, w0, #48
	b.ne	LBB0_6
; %bb.1:
	ldr	x9, [x8]
	ldr	w11, [x9]
	mov	w10, #8
	sub	w11, w11, #66
	cmp	w11, #54
	b.hi	LBB0_9
; %bb.2:
	mov	w12, #1
	lsl	x12, x12, x11
	tst	x12, #0x100000001
	b.ne	LBB0_7
; %bb.3:
	mov	w12, #1
	lsl	x12, x12, x11
	tst	x12, #0x200000002000
	b.ne	LBB0_8
; %bb.4:
	mov	w12, #1
	lsl	x11, x12, x11
	tst	x11, #0x40000000400000
	b.eq	LBB0_9
; %bb.5:
	mov	w0, #0
	add	x9, x9, #4
	str	x9, [x8]
	mov	w10, #16
	b	LBB0_9
LBB0_6:
	ldr	x9, [x8]
	mov	w10, #10
	b	LBB0_9
LBB0_7:
	mov	w0, #0
	add	x9, x9, #4
	str	x9, [x8]
	mov	w10, #2
	b	LBB0_9
LBB0_8:
	mov	w0, #0
	add	x9, x9, #4
	str	x9, [x8]
	mov	w10, #8
LBB0_9:
	ldr	w11, [x9]
	lsl	w15, w11, #24
	cbz	w15, LBB0_19
; %bb.10:
	mov	w12, #117440511
	add	x9, x9, #4
	mov	w13, #-1073741825
	mov	w14, #-1610612737
	mov	w16, #-788529153
	mov	w17, #65534
	movk	w17, #2815, lsl #16
	b	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_13 Depth=1
	mov	w11, #-55
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	asr	w15, w15, #24
	add	w11, w15, w11
	madd	w0, w0, w10, w11
	str	x9, [x8]
	ldr	w11, [x9], #4
	lsl	w15, w11, #24
	cbz	w15, LBB0_18
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	add	w1, w15, w13
	cmp	w1, w12
	b.lo	LBB0_11
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	add	w1, w15, w14
	cmp	w1, w12
	b.hs	LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	w11, #-87
	b	LBB0_12
LBB0_16:                                ;   in Loop: Header=BB0_13 Depth=1
	add	w1, w15, w16
	cmp	w1, w17
	b.hi	LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	w11, #-48
	b	LBB0_12
LBB0_18:
	sub	x9, x9, #4
LBB0_19:
	orr	w10, w11, #0x20
	cmp	w10, #117
	b.ne	LBB0_21
; %bb.20:
	ldr	w11, [x9, #4]!
	str	x9, [x8]
LBB0_21:
	orr	w10, w11, #0x20
	cmp	w10, #108
	b.ne	LBB0_23
; %bb.22:
	ldr	w11, [x9, #4]!
	str	x9, [x8]
LBB0_23:
	orr	w10, w11, #0x20
	cmp	w10, #108
	b.ne	LBB0_25
; %bb.24:
	add	x9, x9, #4
	str	x9, [x8]
LBB0_25:
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_input_stream_pos,8,3           ; @input_stream_pos
	.no_dead_strip	_parse_digit
.subsections_via_symbols
