	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_strtoumax_l                    ## -- Begin function strtoumax_l
	.p2align	4, 0x90
_strtoumax_l:                           ## @strtoumax_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), %eax
	xorl	%ecx, %ecx
	cmpl	$-35, %eax
	jb	LBB0_35
LBB0_17:
	movq	_UINTMAX_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	%r8d, %eax
	cltd
	idivl	%r12d
	xorl	%ecx, %ecx
	xorl	%r9d, %r9d
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_29:                                ##   in Loop: Header=BB0_18 Depth=1
	imull	%r12d, %ecx
	addl	%esi, %ecx
	movl	$1, %r9d
LBB0_30:                                ##   in Loop: Header=BB0_18 Depth=1
	movl	%ecx, %edi
LBB0_31:                                ##   in Loop: Header=BB0_18 Depth=1
	movzbl	(%rbx), %esi
	incq	%rbx
	movl	%edi, %ecx
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	leal	-48(%rsi), %edi
	cmpb	$10, %dil
	jb	LBB0_24
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=1
	leal	-65(%rsi), %edi
	cmpb	$25, %dil
	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), %edi
	cmpb	$25, %dil
	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, %edi
LBB0_24:                                ##   in Loop: Header=BB0_18 Depth=1
	movzbl	%dil, %esi
	cmpl	%esi, %r12d
	jle	LBB0_32
## %bb.25:                              ##   in Loop: Header=BB0_18 Depth=1
	testl	%r9d, %r9d
	movl	$-1, %r9d
	js	LBB0_30
## %bb.26:                              ##   in Loop: Header=BB0_18 Depth=1
	cmpl	%eax, %ecx
	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	%eax, %edi
	cmpl	%esi, %edx
	jl	LBB0_31
	jmp	LBB0_29
LBB0_32:
	testl	%r9d, %r9d
	js	LBB0_33
## %bb.34:
	je	LBB0_35
## %bb.36:
	movl	%ecx, %r8d
	negl	%r8d
	cmpb	$45, %r14b
	cmovnel	%ecx, %r8d
	jmp	LBB0_37
LBB0_35:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rdx
	movl	%eax, (%rdx)
	movb	$1, %al
	movl	%ecx, %r8d
	jmp	LBB0_38
LBB0_33:
	movq	_ERANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
LBB0_37:
	xorl	%eax, %eax
LBB0_38:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	testq	%rcx, %rcx
	je	LBB0_40
## %bb.39:
	decq	%rbx
	testb	%al, %al
	cmovneq	%r15, %rbx
	movq	%rbx, (%rcx)
LBB0_40:
	movl	%r8d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UINTMAX_MAX,4,2                ## @UINTMAX_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	_strtoumax_l                    ; -- Begin function strtoumax_l
	.p2align	2
_strtoumax_l:                           ; @strtoumax_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	w10, #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	w10, w10, w22, ne
	sub	w9, w10, #37
	cmn	w9, #35
	b.hs	LBB0_17
; %bb.16:
	mov	w9, #0
	b	LBB0_34
LBB0_17:
	mov	w9, #0
	mov	w13, #0
Lloh0:
	adrp	x11, _UINTMAX_MAX@GOTPAGE
Lloh1:
	ldr	x11, [x11, _UINTMAX_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x11]
	sdiv	w11, w0, w10
	msub	w12, w11, w10, w0
	b	LBB0_20
LBB0_18:                                ;   in Loop: Header=BB0_20 Depth=1
	madd	w9, w9, w10, w8
	mov	w14, #1
LBB0_19:                                ;   in Loop: Header=BB0_20 Depth=1
	ldrb	w8, [x24], #1
	mov	x13, x14
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	sub	w14, w8, #48
	and	w15, w14, #0xff
	cmp	w15, #10
	b.lo	LBB0_25
; %bb.21:                               ;   in Loop: Header=BB0_20 Depth=1
	sub	w14, w8, #65
	and	w14, w14, #0xff
	cmp	w14, #25
	b.hi	LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_20 Depth=1
	sub	w14, w8, #55
	b	LBB0_25
LBB0_23:                                ;   in Loop: Header=BB0_20 Depth=1
	sub	w14, w8, #97
	and	w14, w14, #0xff
	cmp	w14, #25
	b.hi	LBB0_31
; %bb.24:                               ;   in Loop: Header=BB0_20 Depth=1
	sub	w14, w8, #87
LBB0_25:                                ;   in Loop: Header=BB0_20 Depth=1
	and	w8, w14, #0xff
	cmp	w10, w8
	b.le	LBB0_31
; %bb.26:                               ;   in Loop: Header=BB0_20 Depth=1
	mov	w14, #-1
	tbnz	w13, #31, LBB0_19
; %bb.27:                               ;   in Loop: Header=BB0_20 Depth=1
	cmp	w9, w11
	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	w12, w8
	b.ge	LBB0_18
; %bb.30:                               ;   in Loop: Header=BB0_20 Depth=1
	mov	w14, #-1
	mov	x9, x11
	b	LBB0_19
LBB0_31:
	tbnz	w13, #31, LBB0_37
; %bb.32:
	cbz	w13, LBB0_34
; %bb.33:
	mov	w8, #0
	cmp	w21, #45
	cneg	w0, w9, eq
	cbnz	x19, LBB0_35
	b	LBB0_36
LBB0_34:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x10, _errno@GOTPAGE
Lloh7:
	ldr	x10, [x10, _errno@GOTPAGEOFF]
Lloh8:
	str	w8, [x10]
	mov	w8, #1
	mov	x0, x9
	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
Lloh9:
	adrp	x9, _ERANGE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ERANGE@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
Lloh12:
	adrp	x10, _errno@GOTPAGE
Lloh13:
	ldr	x10, [x10, _errno@GOTPAGEOFF]
Lloh14:
	str	w9, [x10]
	cbnz	x19, LBB0_35
	b	LBB0_36
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_UINTMAX_MAX,4,2                ; @UINTMAX_MAX
	.comm	_ERANGE,4,2                     ; @ERANGE
	.comm	_errno,4,2                      ; @errno
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
