	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_read_long                      ## -- Begin function read_long
	.p2align	4, 0x90
_read_long:                             ## @read_long
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movb	(%rdi), %r10b
	cmpb	$45, %r10b
	je	LBB0_3
## %bb.1:
	movl	$1, %r8d
	cmpb	$43, %r10b
	jne	LBB0_2
LBB0_3:
	xorl	%eax, %eax
	cmpb	$45, %r10b
	setne	%al
	leaq	(%rax,%rax), %r8
	decq	%r8
	leaq	1(%rdi), %r9
	movb	1(%rdi), %r10b
	jmp	LBB0_4
LBB0_2:
	movq	%rdi, %r9
LBB0_4:
	leal	-48(%r10), %eax
	xorl	%r11d, %r11d
	movq	%r9, %rcx
	cmpb	$9, %al
	ja	LBB0_6
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	leaq	(%r11,%r11,4), %r11
	movzbl	%r10b, %eax
	addl	$-48, %eax
	leaq	(%rax,%r11,2), %r11
	movzbl	1(%rcx), %r10d
	incq	%rcx
	leal	-48(%r10), %eax
	cmpb	$10, %al
	jb	LBB0_5
LBB0_6:
	imulq	%r8, %r11
	movq	%r11, (%rsi)
	movl	%ecx, %eax
	subl	%edi, %eax
	movl	%eax, (%rdx)
	xorl	%eax, %eax
	cmpq	%r9, %rcx
	seta	%al
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_read_long                      ; -- Begin function read_long
	.p2align	2
_read_long:                             ; @read_long
	.cfi_startproc
; %bb.0:
	ldrb	w10, [x0]
	cmp	w10, #45
	b.eq	LBB0_2
; %bb.1:
	cmp	w10, #43
	b.ne	LBB0_3
LBB0_2:
	cmp	w10, #45
	mov	x8, #-1
	cneg	x8, x8, ne
	mov	x9, x0
	ldrb	w10, [x9, #1]!
	b	LBB0_4
LBB0_3:
	mov	w8, #1
	mov	x9, x0
LBB0_4:
	sub	w11, w10, #48
	cmp	w11, #9
	b.hi	LBB0_7
; %bb.5:
	mov	x11, #0
	mov	w13, #10
	mov	x12, x9
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w14, [x12, #1]!
	and	w10, w10, #0xff
	sub	w10, w10, #48
	madd	x11, x11, x13, x10
	sub	w15, w14, #48
	mov	x10, x14
	cmp	w15, #10
	b.lo	LBB0_6
	b	LBB0_8
LBB0_7:
	mov	x11, #0
	mov	x12, x9
LBB0_8:
	mul	x8, x11, x8
	str	x8, [x1]
	sub	w8, w12, w0
	str	w8, [x2]
	cmp	x12, x9
	cset	w0, hi
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
