	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_strtoarith_t                   ## -- Begin function strtoarith_t
	.p2align	4, 0x90
_strtoarith_t:                          ## @strtoarith_t
	.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	%rsi, %r14
	movq	%rdi, %rbx
	decq	%rbx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	1(%rbx), %edi
	incq	%rbx
	callq	_isspace
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	movsbl	(%rbx), %eax
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	cmpl	$48, %eax
	je	LBB0_5
## %bb.3:
	cmpl	$45, %eax
	jne	LBB0_6
## %bb.4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_strtoimax                      ## TAILCALL
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_strtoumax                      ## TAILCALL
LBB0_6:
	callq	_strtoumax
	testl	%eax, %eax
	jns	LBB0_9
## %bb.7:
	movq	_ARITH_MIN@GOTPCREL(%rip), %rcx
	movq	_ERANGE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movq	_errno@GOTPCREL(%rip), %rsi
	movl	%edx, (%rsi)
	cmpl	(%rcx), %eax
	je	LBB0_9
## %bb.8:
	movq	_ARITH_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_9:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ARITH_MIN,4,2                  ## @ARITH_MIN
	.comm	_ERANGE,4,2                     ## @ERANGE
	.comm	_errno,4,2                      ## @errno
	.comm	_ARITH_MAX,4,2                  ## @ARITH_MAX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_strtoarith_t                   ; -- Begin function strtoarith_t
	.p2align	2
_strtoarith_t:                          ; @strtoarith_t
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	sub	x20, x0, #1
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w0, [x20, #1]!
	bl	_isspace
	cbnz	x0, LBB0_1
; %bb.2:
	ldrsb	w8, [x20]
	mov	x0, x20
	mov	x1, x19
	cmp	w8, #48
	b.eq	LBB0_5
; %bb.3:
	cmp	w8, #45
	b.ne	LBB0_6
; %bb.4:
	mov	w2, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_strtoimax
LBB0_5:
	mov	w2, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_strtoumax
LBB0_6:
	mov	w2, #0
	bl	_strtoumax
	tbz	w0, #31, LBB0_8
; %bb.7:
Lloh0:
	adrp	x8, _ARITH_MIN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ARITH_MIN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _ERANGE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ERANGE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _errno@GOTPAGE
Lloh7:
	ldr	x10, [x10, _errno@GOTPAGEOFF]
Lloh8:
	str	w9, [x10]
Lloh9:
	adrp	x9, _ARITH_MAX@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ARITH_MAX@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	cmp	w0, w8
	csel	w0, w0, w9, eq
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ARITH_MIN,4,2                  ; @ARITH_MIN
	.comm	_ERANGE,4,2                     ; @ERANGE
	.comm	_errno,4,2                      ; @errno
	.comm	_ARITH_MAX,4,2                  ; @ARITH_MAX
.subsections_via_symbols
