	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function locale_independent_strtol
_locale_independent_strtol:             ## @locale_independent_strtol
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movzbl	(%rsi), %eax
	addq	$-48, %rax
	cmpq	$10, %rax
	jb	LBB0_2
## %bb.1:
	movq	%rsi, (%rdx)
	xorl	%r10d, %r10d
LBB0_7:
	movq	%r10, (%rdi)
	movq	_TRUE@GOTPCREL(%rip), %r8
LBB0_8:
	movl	(%r8), %eax
	popq	%rbp
	retq
LBB0_2:
	movq	_ULONG_MAX@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	imulq	$1717986919, %rcx, %rcx         ## imm = 0x66666667
	movq	%rcx, %r8
	shrq	$63, %r8
	sarq	$34, %rcx
	addl	%r8d, %ecx
	movslq	%ecx, %r9
	xorl	%r11d, %r11d
	movq	_FALSE@GOTPCREL(%rip), %r8
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%r9, %r11
	ja	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	(%r11,%r11,4), %rcx
	leaq	(%rax,%rcx,2), %r10
	cmpq	%r11, %r10
	jb	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movzbl	1(%rsi), %eax
	incq	%rsi
	addq	$-48, %rax
	movq	%r10, %r11
	cmpq	$10, %rax
	jb	LBB0_3
## %bb.6:
	movq	%rsi, (%rdx)
	movq	_LONG_MAX@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r10
	jbe	LBB0_7
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_ULONG_MAX,4,2                  ## @ULONG_MAX
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_LONG_MAX,8,3                   ## @LONG_MAX
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_locale_independent_strtol
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function locale_independent_strtol
_locale_independent_strtol:             ; @locale_independent_strtol
	.cfi_startproc
; %bb.0:
	ldrb	w8, [x1]
	sub	x9, x8, #48
	cmp	x9, #10
	b.lo	LBB0_3
; %bb.1:
	mov	x12, #0
	str	x1, [x2]
LBB0_2:
	str	x12, [x0]
Lloh0:
	adrp	x8, _TRUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ret
LBB0_3:
	mov	x11, #0
Lloh3:
	adrp	x8, _ULONG_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ULONG_MAX@GOTPAGEOFF]
Lloh5:
	ldrsw	x8, [x8]
	mov	w10, #26215
	movk	w10, #26214, lsl #16
	mul	x8, x8, x10
	lsr	x10, x8, #63
	asr	x8, x8, #34
	add	w8, w8, w10
	sxtw	x10, w8
Lloh6:
	adrp	x8, _FALSE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
	mov	w13, #10
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x11, x10
	b.hi	LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	madd	x12, x11, x13, x9
	cmp	x12, x11
	b.lo	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w9, [x1, #1]!
	sub	x9, x9, #48
	mov	x11, x12
	cmp	x9, #10
	b.lo	LBB0_4
; %bb.7:
	str	x1, [x2]
Lloh8:
	adrp	x8, _LONG_MAX@GOTPAGE
Lloh9:
	ldr	x8, [x8, _LONG_MAX@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cmp	x12, x8
	b.ls	LBB0_2
; %bb.8:
Lloh11:
	adrp	x8, _FALSE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_9:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_ULONG_MAX,4,2                  ; @ULONG_MAX
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_LONG_MAX,8,3                   ; @LONG_MAX
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_locale_independent_strtol
.subsections_via_symbols
