	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function string2ll
_string2ll:                             ## @string2ll
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_REDIS_ERR@GOTPCREL(%rip), %r8
	testq	%rsi, %rsi
	je	LBB0_27
## %bb.1:
	movb	(%rdi), %r14b
	cmpq	$1, %rsi
	jne	LBB0_5
## %bb.2:
	cmpb	$45, %r14b
	je	LBB0_27
## %bb.3:
	cmpb	$48, %r14b
	jne	LBB0_19
## %bb.4:
	testq	%rdx, %rdx
	jne	LBB0_24
	jmp	LBB0_26
LBB0_5:
	movl	$1, %r10d
	cmpb	$45, %r14b
	jne	LBB0_6
## %bb.7:
	movb	1(%rdi), %al
	incq	%rdi
	movl	$2, %r10d
	jmp	LBB0_8
LBB0_6:
	movl	%r14d, %eax
LBB0_8:
	leal	-49(%rax), %ecx
	cmpb	$9, %cl
	jae	LBB0_27
## %bb.9:
	movl	$4294967248, %ebx               ## imm = 0xFFFFFFD0
	movzbl	%al, %ecx
	addl	%ebx, %ecx
	cmpq	%rsi, %r10
	jae	LBB0_15
## %bb.10:
	movq	_ULLONG_MAX@GOTPCREL(%rip), %rax
	movslq	(%rax), %r9
	imulq	$1717986919, %r9, %rax          ## imm = 0x66666667
	movq	%rax, %rbx
	shrq	$63, %rbx
	sarq	$34, %rax
	addl	%ebx, %eax
	movslq	%eax, %r11
	subq	%r10, %rsi
	xorl	%r10d, %r10d
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movzbl	1(%rdi,%r10), %ebx
	leal	-58(%rbx), %eax
	cmpb	$-10, %al
	jb	LBB0_27
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	cmpq	%r11, %rcx
	ja	LBB0_27
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=1
	addq	%rcx, %rcx
	leaq	(%rcx,%rcx,4), %rcx
	addl	$-48, %ebx
	movl	%r9d, %eax
	subl	%ebx, %eax
	cltq
	cmpq	%rax, %rcx
	ja	LBB0_27
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	%ebx, %eax
	addq	%rax, %rcx
	incq	%r10
	cmpq	%r10, %rsi
	jne	LBB0_11
LBB0_15:
	cmpb	$45, %r14b
	jne	LBB0_21
## %bb.16:
	movq	_LLONG_MIN@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	negq	%rax
	cmpq	%rax, %rcx
	ja	LBB0_27
## %bb.17:
	testq	%rdx, %rdx
	je	LBB0_26
## %bb.18:
	negq	%rcx
	jmp	LBB0_25
LBB0_19:
	leal	-49(%r14), %eax
	cmpb	$8, %al
	ja	LBB0_23
## %bb.20:
	movzbl	%r14b, %ecx
	movl	$4294967248, %eax               ## imm = 0xFFFFFFD0
	addl	%eax, %ecx
LBB0_21:
	movq	_LLONG_MAX@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	ja	LBB0_27
## %bb.22:
	testq	%rdx, %rdx
	jne	LBB0_25
	jmp	LBB0_26
LBB0_23:
	cmpb	$48, %r14b
	jne	LBB0_27
LBB0_24:
	xorl	%ecx, %ecx
LBB0_25:
	movq	%rcx, (%rdx)
LBB0_26:
	movq	_REDIS_OK@GOTPCREL(%rip), %r8
LBB0_27:
	movl	(%r8), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REDIS_ERR,4,2                  ## @REDIS_ERR
	.comm	_REDIS_OK,4,2                   ## @REDIS_OK
	.comm	_ULLONG_MAX,4,2                 ## @ULLONG_MAX
	.comm	_LLONG_MIN,4,2                  ## @LLONG_MIN
	.comm	_LLONG_MAX,8,3                  ## @LLONG_MAX
	.no_dead_strip	_string2ll
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function string2ll
_string2ll:                             ; @string2ll
	.cfi_startproc
; %bb.0:
	cbz	x1, LBB0_27
; %bb.1:
	ldrb	w8, [x0]
	cmp	x1, #1
	b.ne	LBB0_5
; %bb.2:
	cmp	w8, #45
	b.eq	LBB0_27
; %bb.3:
	cmp	w8, #48
	b.ne	LBB0_18
; %bb.4:
	cbnz	x2, LBB0_23
	b	LBB0_25
LBB0_5:
	cmp	w8, #45
	b.ne	LBB0_7
; %bb.6:
	ldrb	w9, [x0, #1]!
	mov	w10, #2
	b	LBB0_8
LBB0_7:
	mov	w10, #1
	mov	x9, x8
LBB0_8:
	sub	w11, w9, #49
	cmp	w11, #9
	b.hs	LBB0_27
; %bb.9:
	mov	w11, #-48
	add	w9, w9, w11
	cmp	x10, x1
	b.hs	LBB0_14
; %bb.10:
Lloh0:
	adrp	x11, _ULLONG_MAX@GOTPAGE
Lloh1:
	ldr	x11, [x11, _ULLONG_MAX@GOTPAGEOFF]
Lloh2:
	ldrsw	x11, [x11]
	mov	w12, #26215
	movk	w12, #26214, lsl #16
	mul	x12, x11, x12
	lsr	x13, x12, #63
	asr	x12, x12, #34
	add	w12, w12, w13
	sxtw	x12, w12
	add	x13, x0, #1
	sub	x14, x1, x10
Lloh3:
	adrp	x10, _REDIS_ERR@GOTPAGE
Lloh4:
	ldr	x10, [x10, _REDIS_ERR@GOTPAGEOFF]
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w15, [x13]
	sub	w16, w15, #58
	cmn	w16, #10
	ccmp	x9, x12, #2, hs
	b.hi	LBB0_26
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	add	x9, x9, x9, lsl #2
	lsl	x9, x9, #1
	sub	x15, x15, #48
	sub	x16, x11, x15
	cmp	x9, x16
	b.hi	LBB0_26
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	add	x9, x9, w15, uxtw
	add	x13, x13, #1
	subs	x14, x14, #1
	b.ne	LBB0_11
LBB0_14:
	cmp	w8, #45
	b.ne	LBB0_20
; %bb.15:
Lloh5:
	adrp	x8, _LLONG_MIN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _LLONG_MIN@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	mvn	w8, w8
	sxtw	x8, w8
	add	x8, x8, #1
	cmp	x9, x8
	b.hi	LBB0_27
; %bb.16:
	cbz	x2, LBB0_25
; %bb.17:
	neg	x9, x9
	b	LBB0_24
LBB0_18:
	sub	w9, w8, #49
	cmp	w9, #8
	b.hi	LBB0_22
; %bb.19:
	mov	w9, #-48
	add	w9, w8, w9
LBB0_20:
Lloh8:
	adrp	x8, _LLONG_MAX@GOTPAGE
Lloh9:
	ldr	x8, [x8, _LLONG_MAX@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cmp	x9, x8
	b.hi	LBB0_27
; %bb.21:
	cbnz	x2, LBB0_24
	b	LBB0_25
LBB0_22:
	cmp	w8, #48
	b.ne	LBB0_27
LBB0_23:
	mov	x9, #0
LBB0_24:
	str	x9, [x2]
LBB0_25:
Lloh11:
	adrp	x10, _REDIS_OK@GOTPAGE
Lloh12:
	ldr	x10, [x10, _REDIS_OK@GOTPAGEOFF]
LBB0_26:
	ldr	w0, [x10]
	ret
LBB0_27:
Lloh13:
	adrp	x10, _REDIS_ERR@GOTPAGE
Lloh14:
	ldr	x10, [x10, _REDIS_ERR@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x10]
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_REDIS_ERR,4,2                  ; @REDIS_ERR
	.comm	_REDIS_OK,4,2                   ; @REDIS_OK
	.comm	_ULLONG_MAX,4,2                 ; @ULLONG_MAX
	.comm	_LLONG_MIN,4,2                  ; @LLONG_MIN
	.comm	_LLONG_MAX,8,3                  ; @LLONG_MAX
	.no_dead_strip	_string2ll
.subsections_via_symbols
