	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_strict_strtoul_scaled          ## -- Begin function strict_strtoul_scaled
	.p2align	4, 0x90
_strict_strtoul_scaled:                 ## @strict_strtoul_scaled
	.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	%edx, %r15d
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	movslq	%edx, %r14
	movq	$-1, %r13
	xorl	%r12d, %r12d
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	xorl	%r13d, %r13d
	incq	%rbx
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	(%rbx), %edi
	callq	_isdigit
	movsbq	(%rbx), %rcx
	testq	%rax, %rax
	je	LBB0_2
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$46, %cl
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpq	%r14, %r13
	jge	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	addl	$-48, %ecx
	leaq	(%r12,%r12,4), %rax
	leaq	(%rcx,%rax,2), %r12
	movq	%r13, %rax
	notq	%rax
	shrq	$63, %rax
	addq	%rax, %r13
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	incq	%rbx
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$46, %cl
	jne	LBB0_10
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	testq	%r13, %r13
	jns	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%r13d, %r13d
	incq	%rbx
	jmp	LBB0_1
LBB0_10:
	xorl	%eax, %eax
	cmpb	$10, %cl
	sete	%al
	cmpb	$0, (%rbx,%rax)
	je	LBB0_12
## %bb.11:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_13
LBB0_12:
	xorl	%ebx, %ebx
	testq	%r13, %r13
	cmovleq	%rbx, %r13
	subl	%r13d, %r15d
	movl	$10, %edi
	movl	%r15d, %esi
	callq	_int_pow
	imulq	%r12, %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
LBB0_13:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_strict_strtoul_scaled          ; -- Begin function strict_strtoul_scaled
	.p2align	2
_strict_strtoul_scaled:                 ; @strict_strtoul_scaled
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	mov	x22, #0
	sxtw	x24, w20
	mov	x23, #-1
	mov	w25, #10
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x23, #0
	add	x21, x21, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrsb	w0, [x21]
	bl	_isdigit
	ldrsb	x8, [x21]
	cmp	w8, #46
	cbz	x0, LBB0_7
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	b.eq	LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	x23, x24
	b.ge	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	sub	w8, w8, #48
	madd	x22, x22, x25, x8
	mvn	x8, x23
	add	x23, x23, x8, lsr #63
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x21, x21, #1
	b	LBB0_2
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	b.ne	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	tbz	x23, #63, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x23, #0
	add	x21, x21, #1
	b	LBB0_2
LBB0_10:
	cmp	w8, #10
	cinc	x8, x21, eq
	ldrb	w8, [x8]
	cbz	w8, LBB0_12
; %bb.11:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_13
LBB0_12:
	cmp	x23, #0
	csel	x8, x23, xzr, gt
	sub	w1, w20, w8
	mov	w0, #10
	bl	_int_pow
	mov	x8, x0
	mov	w0, #0
	mul	x8, x8, x22
	str	x8, [x19]
LBB0_13:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
