	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_strtoimax_l                    ## -- Begin function strtoimax_l
	.p2align	4, 0x90
_strtoimax_l:                           ## @strtoimax_l
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r13d
	movl	%edx, %r12d
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r15
	movl	%ecx, %edi
	callq	_FIX_LOCALE
	movq	%r15, %rbx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx), %r14d
	incq	%rbx
	movzbl	%r14b, %edi
	movl	%r13d, %esi
	callq	_isspace_l
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	cmpb	$43, %r14b
	je	LBB0_5
## %bb.3:
	cmpb	$45, %r14b
	jne	LBB0_4
LBB0_5:
	movb	(%rbx), %sil
	incq	%rbx
	testl	$-17, %r12d
	je	LBB0_7
	jmp	LBB0_14
LBB0_4:
	movl	%r14d, %esi
	testl	$-17, %r12d
	jne	LBB0_14
LBB0_7:
	cmpb	$48, %sil
	jne	LBB0_14
## %bb.8:
	movb	(%rbx), %al
	orb	$32, %al
	cmpb	$120, %al
	jne	LBB0_13
## %bb.9:
	movb	1(%rbx), %sil
	leal	-48(%rsi), %eax
	cmpb	$10, %al
	jb	LBB0_12
## %bb.10:
	leal	-65(%rsi), %eax
	cmpb	$37, %al
	ja	LBB0_13
## %bb.11:
	movzbl	%al, %eax
	movabsq	$270582939711, %rcx             ## imm = 0x3F0000003F
	btq	%rax, %rcx
	jae	LBB0_13
LBB0_12:
	addq	$2, %rbx
	movl	$16, %r12d
	jmp	LBB0_17
LBB0_14:
	testl	%r12d, %r12d
	sete	%al
	movl	$10, %ecx
	cmpb	$48, %sil
	je	LBB0_15
	jmp	LBB0_16
LBB0_13:
	testl	%r12d, %r12d
	sete	%al
LBB0_15:
	movl	$8, %ecx
	movb	$48, %sil
LBB0_16:
	testb	%al, %al
	cmovnel	%ecx, %r12d
	leal	-37(%r12), %ecx
	xorl	%eax, %eax
	cmpl	$-35, %ecx
	jb	LBB0_35
LBB0_17:
	movq	_INTMAX_MIN@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	%r8d, %eax
	negl	%eax
	cmpb	$45, %r14b
	movq	_INTMAX_MAX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	cmovnel	%r9d, %eax
	cltd
	idivl	%r12d
	movl	%eax, %r10d
	xorl	%eax, %eax
	xorl	%edi, %edi
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_29:                                ##   in Loop: Header=BB0_18 Depth=1
	imull	%r12d, %eax
	addl	%esi, %eax
	movl	$1, %edi
LBB0_30:                                ##   in Loop: Header=BB0_18 Depth=1
	movl	%eax, %ecx
LBB0_31:                                ##   in Loop: Header=BB0_18 Depth=1
	movzbl	(%rbx), %esi
	incq	%rbx
	movl	%ecx, %eax
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	leal	-48(%rsi), %ecx
	cmpb	$10, %cl
	jb	LBB0_24
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=1
	leal	-65(%rsi), %ecx
	cmpb	$25, %cl
	ja	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_18 Depth=1
	addb	$-55, %sil
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_18 Depth=1
	leal	-97(%rsi), %ecx
	cmpb	$25, %cl
	ja	LBB0_32
## %bb.22:                              ##   in Loop: Header=BB0_18 Depth=1
	addb	$-87, %sil
LBB0_23:                                ##   in Loop: Header=BB0_18 Depth=1
	movl	%esi, %ecx
LBB0_24:                                ##   in Loop: Header=BB0_18 Depth=1
	movzbl	%cl, %esi
	cmpl	%esi, %r12d
	jle	LBB0_32
## %bb.25:                              ##   in Loop: Header=BB0_18 Depth=1
	testl	%edi, %edi
	movl	$-1, %edi
	js	LBB0_30
## %bb.26:                              ##   in Loop: Header=BB0_18 Depth=1
	cmpl	%r10d, %eax
	jg	LBB0_30
## %bb.27:                              ##   in Loop: Header=BB0_18 Depth=1
	jne	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_18 Depth=1
	movl	%r10d, %ecx
	cmpl	%esi, %edx
	jl	LBB0_31
	jmp	LBB0_29
LBB0_32:
	testl	%edi, %edi
	js	LBB0_33
## %bb.34:
	je	LBB0_35
## %bb.36:
	movl	%eax, %ecx
	negl	%ecx
	cmpb	$45, %r14b
	cmovel	%ecx, %eax
	xorl	%ecx, %ecx
	jmp	LBB0_37
LBB0_35:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_errno@GOTPCREL(%rip), %rdx
	movl	%ecx, (%rdx)
	movb	$1, %cl
	jmp	LBB0_37
LBB0_33:
	cmpb	$45, %r14b
	cmovel	%r8d, %r9d
	movq	_ERANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	xorl	%ecx, %ecx
	movl	%r9d, %eax
LBB0_37:
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	testq	%rdx, %rdx
	je	LBB0_39
## %bb.38:
	decq	%rbx
	testb	%cl, %cl
	cmovneq	%r15, %rbx
	movq	%rbx, (%rdx)
LBB0_39:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INTMAX_MIN,4,2                 ## @INTMAX_MIN
	.comm	_INTMAX_MAX,4,2                 ## @INTMAX_MAX
	.comm	_ERANGE,4,2                     ## @ERANGE
	.comm	_errno,4,2                      ## @errno
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_strtoimax_l                    ; -- Begin function strtoimax_l
	.p2align	2
_strtoimax_l:                           ; @strtoimax_l
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x23, x3
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
	mov	x0, x3
	bl	_FIX_LOCALE
	mov	x24, x20
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w21, [x24], #1
	mov	x0, x21
	mov	x1, x23
	bl	_isspace_l
	cbnz	x0, LBB0_1
; %bb.2:
	cmp	w21, #43
	b.eq	LBB0_4
; %bb.3:
	cmp	w21, #45
	b.ne	LBB0_5
LBB0_4:
	ldrb	w8, [x24], #1
	tst	w22, #0xffffffef
	b.eq	LBB0_6
	b	LBB0_11
LBB0_5:
	mov	x8, x21
	tst	w22, #0xffffffef
	b.ne	LBB0_11
LBB0_6:
	cmp	w8, #48
	b.ne	LBB0_11
; %bb.7:
	ldrb	w8, [x24]
	orr	w8, w8, #0x20
	cmp	w8, #120
	b.ne	LBB0_13
; %bb.8:
	ldrb	w8, [x24, #1]
	sub	w9, w8, #48
	and	w9, w9, #0xff
	cmp	w9, #10
	b.lo	LBB0_10
; %bb.9:
	and	w9, w8, #0xff
	sub	w9, w9, #65
	cmp	w9, #37
	mov	w10, #1
	lsl	x9, x10, x9
	and	x9, x9, #0x3f0000003f
	ccmp	x9, #0, #4, ls
	b.eq	LBB0_13
LBB0_10:
	add	x24, x24, #2
	mov	w9, #16
	b	LBB0_17
LBB0_11:
	cmp	w22, #0
	cset	w9, eq
	cmp	w8, #48
	b.eq	LBB0_14
; %bb.12:
	mov	w10, #10
	b	LBB0_15
LBB0_13:
	cmp	w22, #0
	cset	w9, eq
LBB0_14:
	mov	w10, #8
	mov	w8, #48
LBB0_15:
	cmp	w9, #0
	csel	w9, w10, w22, ne
	sub	w10, w9, #37
	cmn	w10, #35
	b.hs	LBB0_17
; %bb.16:
	mov	w0, #0
	b	LBB0_34
LBB0_17:
	mov	w0, #0
	mov	w14, #0
Lloh0:
	adrp	x10, _INTMAX_MIN@GOTPAGE
Lloh1:
	ldr	x10, [x10, _INTMAX_MIN@GOTPAGEOFF]
Lloh2:
	adrp	x11, _INTMAX_MAX@GOTPAGE
Lloh3:
	ldr	x11, [x11, _INTMAX_MAX@GOTPAGEOFF]
Lloh4:
	ldr	w10, [x10]
Lloh5:
	ldr	w11, [x11]
	cmp	w21, #45
	csneg	w13, w11, w10, ne
	sdiv	w12, w13, w9
	msub	w13, w12, w9, w13
	b	LBB0_20
LBB0_18:                                ;   in Loop: Header=BB0_20 Depth=1
	madd	w0, w0, w9, w8
	mov	w15, #1
LBB0_19:                                ;   in Loop: Header=BB0_20 Depth=1
	ldrb	w8, [x24], #1
	mov	x14, x15
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	sub	w15, w8, #48
	and	w16, w15, #0xff
	cmp	w16, #10
	b.lo	LBB0_25
; %bb.21:                               ;   in Loop: Header=BB0_20 Depth=1
	sub	w15, w8, #65
	and	w15, w15, #0xff
	cmp	w15, #25
	b.hi	LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_20 Depth=1
	sub	w15, w8, #55
	b	LBB0_25
LBB0_23:                                ;   in Loop: Header=BB0_20 Depth=1
	sub	w15, w8, #97
	and	w15, w15, #0xff
	cmp	w15, #25
	b.hi	LBB0_31
; %bb.24:                               ;   in Loop: Header=BB0_20 Depth=1
	sub	w15, w8, #87
LBB0_25:                                ;   in Loop: Header=BB0_20 Depth=1
	and	w8, w15, #0xff
	cmp	w9, w8
	b.le	LBB0_31
; %bb.26:                               ;   in Loop: Header=BB0_20 Depth=1
	mov	w15, #-1
	tbnz	w14, #31, LBB0_19
; %bb.27:                               ;   in Loop: Header=BB0_20 Depth=1
	cmp	w0, w12
	b.gt	LBB0_19
; %bb.28:                               ;   in Loop: Header=BB0_20 Depth=1
	b.ne	LBB0_18
; %bb.29:                               ;   in Loop: Header=BB0_20 Depth=1
	cmp	w13, w8
	b.ge	LBB0_18
; %bb.30:                               ;   in Loop: Header=BB0_20 Depth=1
	mov	w15, #-1
	mov	x0, x12
	b	LBB0_19
LBB0_31:
	tbnz	w14, #31, LBB0_37
; %bb.32:
	cbz	w14, LBB0_34
; %bb.33:
	mov	w8, #0
	cmp	w21, #45
	cneg	w0, w0, eq
	cbnz	x19, LBB0_35
	b	LBB0_36
LBB0_34:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _errno@GOTPAGE
Lloh10:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh11:
	str	w8, [x9]
	mov	w8, #1
	cbz	x19, LBB0_36
LBB0_35:
	sub	x9, x24, #1
	cmp	w8, #0
	csel	x8, x20, x9, ne
	str	x8, [x19]
LBB0_36:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_37:
	mov	w8, #0
	cmp	w21, #45
	csel	w0, w10, w11, eq
Lloh12:
	adrp	x9, _ERANGE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ERANGE@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
Lloh15:
	adrp	x10, _errno@GOTPAGE
Lloh16:
	ldr	x10, [x10, _errno@GOTPAGEOFF]
Lloh17:
	str	w9, [x10]
	cbnz	x19, LBB0_35
	b	LBB0_36
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotStr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_INTMAX_MIN,4,2                 ; @INTMAX_MIN
	.comm	_INTMAX_MAX,4,2                 ; @INTMAX_MAX
	.comm	_ERANGE,4,2                     ; @ERANGE
	.comm	_errno,4,2                      ; @errno
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
