	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_strtoll                        ## -- Begin function strtoll
	.p2align	4, 0x90
_strtoll:                               ## @strtoll
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r15
	movq	%rdi, %r14
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%r14), %r13d
	incq	%r14
	movl	%r13d, %edi
	callq	_isspace
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	cmpb	$43, %r13b
	je	LBB0_5
## %bb.3:
	cmpb	$45, %r13b
	jne	LBB0_4
LBB0_5:
	movsbl	(%r14), %ebx
	incq	%r14
	testl	$-17, %r12d
	je	LBB0_7
	jmp	LBB0_12
LBB0_4:
	movl	%r13d, %ebx
	testl	$-17, %r12d
	jne	LBB0_12
LBB0_7:
	cmpl	$48, %ebx
	jne	LBB0_12
## %bb.8:
	movb	(%r14), %al
	orb	$32, %al
	cmpb	$120, %al
	jne	LBB0_9
## %bb.11:
	movsbl	1(%r14), %ebx
	addq	$2, %r14
	movl	$16, %r12d
	cmpb	$45, %r13b
	je	LBB0_16
	jmp	LBB0_15
LBB0_12:
	xorl	%eax, %eax
	cmpl	$48, %ebx
	setne	%cl
	testl	%r12d, %r12d
	jne	LBB0_14
## %bb.13:
	movb	%cl, %al
	leal	(%rax,%rax), %r12d
	addl	$8, %r12d
	cmpb	$45, %r13b
	je	LBB0_16
	jmp	LBB0_15
LBB0_9:
	movl	$48, %ebx
	testl	%r12d, %r12d
	je	LBB0_10
LBB0_14:
	cmpb	$45, %r13b
	jne	LBB0_15
LBB0_16:
	movq	_LLONG_MIN@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_10:
	movl	$8, %r12d
	cmpb	$45, %r13b
	je	LBB0_16
LBB0_15:
	movq	_LLONG_MAX@GOTPCREL(%rip), %rax
LBB0_17:
	movq	(%rax), %rax
	movslq	%r12d, %rsi
	movq	%rax, %rcx
	orq	%rsi, %rcx
	shrq	$32, %rcx
	je	LBB0_18
## %bb.19:
	cqto
	idivq	%rsi
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_20
LBB0_18:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%r12d
                                        ## kill: def $edx killed $edx def $rdx
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
                                        ## kill: def $eax killed $eax def $rax
LBB0_20:
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	cmpb	$45, %r13b
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%r15, -80(%rbp)                 ## 8-byte Spill
	movl	%r12d, -60(%rbp)                ## 4-byte Spill
	jne	LBB0_22
## %bb.21:
	xorl	%eax, %eax
	xorl	%ecx, %ecx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	testl	%edx, %edx
	setg	%cl
	cmovgl	%r12d, %eax
	addq	%rcx, -56(%rbp)                 ## 8-byte Folded Spill
	subl	%edx, %eax
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
LBB0_22:
	decq	%r14
	xorl	%r15d, %r15d
	xorl	%r12d, %r12d
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_33:                                ##   in Loop: Header=BB0_23 Depth=1
	movq	_LLONG_MIN@GOTPCREL(%rip), %rcx
LBB0_34:                                ##   in Loop: Header=BB0_23 Depth=1
	movq	(%rcx), %r15
	movq	_ERANGE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_errno@GOTPCREL(%rip), %rdx
	movl	%ecx, (%rdx)
LBB0_42:                                ##   in Loop: Header=BB0_23 Depth=1
	movzbl	1(%r14), %ebx
	incq	%r14
	movl	%eax, %r12d
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_isdigit
	testq	%rax, %rax
	je	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_23 Depth=1
	addl	$-48, %ebx
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	cmpl	-60(%rbp), %ebx                 ## 4-byte Folded Reload
	jl	LBB0_28
	jmp	LBB0_43
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_23 Depth=1
	movl	%ebx, %edi
	callq	_isalpha
	testq	%rax, %rax
	je	LBB0_43
## %bb.26:                              ##   in Loop: Header=BB0_23 Depth=1
	movl	%ebx, %edi
	callq	_isupper
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	xorl	%ecx, %ecx
	testq	%rax, %rax
	setne	%cl
	shll	$5, %ecx
	addl	%ecx, %ebx
	addl	$-87, %ebx
	cmpl	-60(%rbp), %ebx                 ## 4-byte Folded Reload
	jge	LBB0_43
LBB0_28:                                ##   in Loop: Header=BB0_23 Depth=1
	movl	$-1, %eax
	testl	%r12d, %r12d
	js	LBB0_42
## %bb.29:                              ##   in Loop: Header=BB0_23 Depth=1
	cmpb	$45, %r13b
	jne	LBB0_36
## %bb.30:                              ##   in Loop: Header=BB0_23 Depth=1
	cmpq	-56(%rbp), %r15                 ## 8-byte Folded Reload
	jl	LBB0_33
## %bb.31:                              ##   in Loop: Header=BB0_23 Depth=1
	jne	LBB0_35
## %bb.32:                              ##   in Loop: Header=BB0_23 Depth=1
	cmpl	-48(%rbp), %ebx                 ## 4-byte Folded Reload
	jg	LBB0_33
LBB0_35:                                ##   in Loop: Header=BB0_23 Depth=1
	imulq	%rdx, %r15
	movslq	%ebx, %rax
	subq	%rax, %r15
	jmp	LBB0_41
	.p2align	4, 0x90
LBB0_36:                                ##   in Loop: Header=BB0_23 Depth=1
	cmpq	-56(%rbp), %r15                 ## 8-byte Folded Reload
	jg	LBB0_39
## %bb.37:                              ##   in Loop: Header=BB0_23 Depth=1
	jne	LBB0_40
## %bb.38:                              ##   in Loop: Header=BB0_23 Depth=1
	cmpl	-48(%rbp), %ebx                 ## 4-byte Folded Reload
	jle	LBB0_40
LBB0_39:                                ##   in Loop: Header=BB0_23 Depth=1
	movq	_LLONG_MAX@GOTPCREL(%rip), %rcx
	jmp	LBB0_34
LBB0_40:                                ##   in Loop: Header=BB0_23 Depth=1
	imulq	%rdx, %r15
	movslq	%ebx, %rax
	addq	%rax, %r15
LBB0_41:                                ##   in Loop: Header=BB0_23 Depth=1
	movl	$1, %eax
	jmp	LBB0_42
LBB0_43:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_45
## %bb.44:
	testl	%r12d, %r12d
	cmoveq	-80(%rbp), %r14                 ## 8-byte Folded Reload
	movq	%r14, (%rax)
LBB0_45:
	movq	%r15, %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LLONG_MIN,8,3                  ## @LLONG_MIN
	.comm	_LLONG_MAX,8,3                  ## @LLONG_MAX
	.comm	_ERANGE,4,2                     ## @ERANGE
	.comm	_errno,4,2                      ## @errno
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_strtoll                        ; -- Begin function strtoll
	.p2align	2
_strtoll:                               ; @strtoll
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x24, x2
	mov	x19, x1
	mov	x22, x0
	mov	x20, x0
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w21, [x20], #1
	mov	x0, x21
	bl	_isspace
	cbnz	x0, LBB0_1
; %bb.2:
	cmp	w21, #43
	b.eq	LBB0_4
; %bb.3:
	cmp	w21, #45
	b.ne	LBB0_5
LBB0_4:
	ldrsb	w23, [x20], #1
	b	LBB0_6
LBB0_5:
	mov	x23, x21
LBB0_6:
	tst	w24, #0xffffffef
	stp	x22, x19, [sp]                  ; 16-byte Folded Spill
	b.ne	LBB0_10
; %bb.7:
	cmp	w23, #48
	b.ne	LBB0_10
; %bb.8:
	ldrb	w8, [x20]
	orr	w8, w8, #0x20
	cmp	w8, #120
	b.ne	LBB0_12
; %bb.9:
	ldrsb	w23, [x20, #1]
	add	x20, x20, #2
	mov	w24, #16
	b	LBB0_14
LBB0_10:
	mov	w8, #10
	mov	w9, #8
	cmp	w23, #48
	csel	w8, w9, w8, eq
	cbnz	w24, LBB0_14
; %bb.11:
	mov	x24, x8
	b	LBB0_14
LBB0_12:
	mov	w23, #48
	cbnz	w24, LBB0_14
; %bb.13:
	mov	w24, #8
LBB0_14:
	mov	x22, #0
	mov	w25, #0
Lloh0:
	adrp	x8, _LLONG_MIN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LLONG_MIN@GOTPAGEOFF]
Lloh2:
	adrp	x9, _LLONG_MAX@GOTPAGE
Lloh3:
	ldr	x9, [x9, _LLONG_MAX@GOTPAGEOFF]
	cmp	w21, #45
	csel	x8, x8, x9, eq
	ldr	x8, [x8]
	sxtw	x27, w24
	sdiv	x9, x8, x27
	msub	w8, w9, w27, w8
	cmp	w8, #0
	csel	w10, w24, wzr, gt
	cset	w11, gt
	sub	w10, w10, w8
	cmp	w21, #45
	csel	w28, w10, w8, eq
	cset	w8, eq
	and	w8, w8, w11
	add	x19, x9, x8
	sub	x24, x20, #1
Lloh4:
	adrp	x26, _ERANGE@GOTPAGE
Lloh5:
	ldr	x26, [x26, _ERANGE@GOTPAGEOFF]
Lloh6:
	adrp	x20, _errno@GOTPAGE
Lloh7:
	ldr	x20, [x20, _errno@GOTPAGEOFF]
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=1
	mov	w25, #-1
	ldrb	w23, [x24, #1]!
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	bl	_isdigit
	cbz	x0, LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	sub	w8, w23, #48
	cmp	w8, w27
	b.lt	LBB0_20
	b	LBB0_34
LBB0_18:                                ;   in Loop: Header=BB0_16 Depth=1
	mov	x0, x23
	bl	_isalpha
	cbz	x0, LBB0_34
; %bb.19:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	x0, x23
	bl	_isupper
	cmp	x0, #0
	mov	w8, #-55
	mov	w9, #-87
	csel	w8, w9, w8, eq
	add	w8, w8, w23
	cmp	w8, w27
	b.ge	LBB0_34
LBB0_20:                                ;   in Loop: Header=BB0_16 Depth=1
	tbnz	w25, #31, LBB0_15
; %bb.21:                               ;   in Loop: Header=BB0_16 Depth=1
	cmp	w21, #45
	b.ne	LBB0_26
; %bb.22:                               ;   in Loop: Header=BB0_16 Depth=1
	cmp	x22, x19
	b.lt	LBB0_25
; %bb.23:                               ;   in Loop: Header=BB0_16 Depth=1
	b.ne	LBB0_31
; %bb.24:                               ;   in Loop: Header=BB0_16 Depth=1
	cmp	w8, w28
	b.le	LBB0_31
LBB0_25:                                ;   in Loop: Header=BB0_16 Depth=1
Lloh8:
	adrp	x8, _LLONG_MIN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _LLONG_MIN@GOTPAGEOFF]
	b	LBB0_30
LBB0_26:                                ;   in Loop: Header=BB0_16 Depth=1
	cmp	x22, x19
	b.gt	LBB0_29
; %bb.27:                               ;   in Loop: Header=BB0_16 Depth=1
	b.ne	LBB0_32
; %bb.28:                               ;   in Loop: Header=BB0_16 Depth=1
	cmp	w8, w28
	b.le	LBB0_32
LBB0_29:                                ;   in Loop: Header=BB0_16 Depth=1
Lloh10:
	adrp	x8, _LLONG_MAX@GOTPAGE
Lloh11:
	ldr	x8, [x8, _LLONG_MAX@GOTPAGEOFF]
LBB0_30:                                ;   in Loop: Header=BB0_16 Depth=1
	ldr	x22, [x8]
	ldr	w8, [x26]
	str	w8, [x20]
	mov	w25, #-1
	ldrb	w23, [x24, #1]!
	b	LBB0_16
LBB0_31:                                ;   in Loop: Header=BB0_16 Depth=1
	mul	x9, x22, x27
	sub	x22, x9, w8, sxtw
	b	LBB0_33
LBB0_32:                                ;   in Loop: Header=BB0_16 Depth=1
	mul	x9, x22, x27
	add	x22, x9, w8, sxtw
LBB0_33:                                ;   in Loop: Header=BB0_16 Depth=1
	mov	w25, #1
	ldrb	w23, [x24, #1]!
	b	LBB0_16
LBB0_34:
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	cbz	x9, LBB0_36
; %bb.35:
	cmp	w25, #0
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	csel	x8, x8, x24, eq
	str	x8, [x9]
LBB0_36:
	mov	x0, x22
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_LLONG_MIN,8,3                  ; @LLONG_MIN
	.comm	_LLONG_MAX,8,3                  ; @LLONG_MAX
	.comm	_ERANGE,4,2                     ; @ERANGE
	.comm	_errno,4,2                      ; @errno
.subsections_via_symbols
