	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function strIKtoi
LCPI0_0:
	.long	0xc2000000                      ## float -32
LCPI0_1:
	.long	0x40a00000                      ## float 5
LCPI0_2:
	.long	0x41100000                      ## float 9
LCPI0_4:
	.long	0x41200000                      ## float 10
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
LCPI0_3:
	.quad	0x4071126666666666              ## double 273.14999999999998
LCPI0_5:
	.quad	0x3fe0000000000000              ## double 0.5
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_strIKtoi:                              ## @strIKtoi
	.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
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	_errno@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpq	$0, (%rax)
	sete	%dil
	callq	_assert
	movq	%r12, %rdi
	callq	_strlen
	movq	%rax, %r13
	xorl	%edi, %edi
	addq	$-1, %r13
	setb	%dil
	callq	_assert
	movsbl	2(%r15), %eax
	leal	-48(%rax), %ecx
	addl	$-48, %eax
	cmpb	$10, %cl
	movl	$1, %ebx
	cmovbl	%eax, %ebx
	leaq	(%r12,%r13), %r15
	movb	(%r12,%r13), %al
	addb	$-67, %al
	cmpb	$8, %al
	ja	LBB0_17
## %bb.1:
	movzbl	%al, %eax
	movl	$265, %ecx                      ## imm = 0x109
	btq	%rax, %rcx
	jae	LBB0_17
## %bb.2:
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_strtof
	movq	(%r14), %rax
	cmpq	%r12, %rax
	movq	_errno@GOTPCREL(%rip), %rdx
	je	LBB0_21
## %bb.3:
	cmpq	%r15, %rax
	jne	LBB0_21
## %bb.4:
	cmpq	$0, (%rdx)
	jne	LBB0_21
## %bb.5:
	cmpb	$70, (%r15)
	jne	LBB0_7
## %bb.6:
	addss	LCPI0_0(%rip), %xmm0
	mulss	LCPI0_1(%rip), %xmm0
	divss	LCPI0_2(%rip), %xmm0
LBB0_7:
	movq	$0, (%r14)
	cmpb	$75, (%r15)
	je	LBB0_9
## %bb.8:
	cvtss2sd	%xmm0, %xmm0
	addsd	LCPI0_3(%rip), %xmm0
	cvtsd2ss	%xmm0, %xmm0
LBB0_9:
	testl	%ebx, %ebx
	jle	LBB0_16
## %bb.10:
	leal	-1(%rbx), %ecx
	movl	%ebx, %eax
	andl	$7, %eax
	cmpl	$7, %ecx
	jb	LBB0_13
## %bb.11:
	andl	$-8, %ebx
	movss	LCPI0_4(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	mulss	%xmm1, %xmm0
	mulss	%xmm1, %xmm0
	mulss	%xmm1, %xmm0
	mulss	%xmm1, %xmm0
	mulss	%xmm1, %xmm0
	mulss	%xmm1, %xmm0
	mulss	%xmm1, %xmm0
	mulss	%xmm1, %xmm0
	addl	$-8, %ebx
	jne	LBB0_12
LBB0_13:
	testl	%eax, %eax
	je	LBB0_16
## %bb.14:
	movss	LCPI0_4(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	mulss	%xmm1, %xmm0
	decl	%eax
	jne	LBB0_15
LBB0_16:
	cvtss2sd	%xmm0, %xmm0
	addsd	LCPI0_5(%rip), %xmm0
	cvttsd2si	%xmm0, %eax
	jmp	LBB0_22
LBB0_17:
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	$10, %edx
	callq	_strtol
	movq	(%r14), %rcx
	cmpq	%r12, %rcx
	movq	_errno@GOTPCREL(%rip), %rdx
	je	LBB0_21
## %bb.18:
	cmpq	%r15, %rcx
	jne	LBB0_21
## %bb.19:
	cmpq	$0, (%rdx)
	jne	LBB0_21
## %bb.20:
	movq	$0, (%r14)
	jmp	LBB0_22
LBB0_21:
	movq	_ERANGE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rdx)
	xorl	%eax, %eax
LBB0_22:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_errno,8,3                      ## @errno
	.comm	_ERANGE,8,3                     ## @ERANGE
	.no_dead_strip	_strIKtoi
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function strIKtoi
_strIKtoi:                              ; @strIKtoi
	.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	x21, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x22, _errno@GOTPAGE
Lloh1:
	ldr	x22, [x22, _errno@GOTPAGEOFF]
	ldr	x8, [x22]
	cmp	x8, #0
	cset	w0, eq
	bl	_assert
	mov	x0, x20
	bl	_strlen
	subs	x23, x0, #1
	cset	w0, hs
	bl	_assert
	ldrsb	w8, [x21, #2]
	sub	w8, w8, #48
	cmp	w8, #10
	csinc	w21, w8, wzr, lo
	add	x23, x20, x23
	ldrb	w8, [x23]
	sub	w8, w8, #67
	cmp	w8, #8
	mov	w9, #1
	lsl	w8, w9, w8
	mov	w9, #265
	and	w8, w8, w9
	mov	x0, x20
	mov	x1, x19
	ccmp	w8, #0, #4, ls
	b.eq	LBB0_10
; %bb.1:
	bl	_strtof
	ldr	x8, [x19]
	cmp	x8, x20
	b.eq	LBB0_14
; %bb.2:
	cmp	x8, x23
	b.ne	LBB0_14
; %bb.3:
	ldr	x8, [x22]
	cbnz	x8, LBB0_14
; %bb.4:
	ldrb	w8, [x23]
	cmp	w8, #70
	b.ne	LBB0_6
; %bb.5:
	movi.2s	v1, #194, lsl #24
	fadd	s0, s0, s1
	fmov	s1, #5.00000000
	fmul	s0, s0, s1
	fmov	s1, #9.00000000
	fdiv	s0, s0, s1
LBB0_6:
	str	xzr, [x19]
	ldrb	w8, [x23]
	fcvt	d1, s0
	mov	x9, #7378697629483820646
	movk	x9, #4710, lsl #32
	movk	x9, #16497, lsl #48
	fmov	d2, x9
	fadd	d1, d1, d2
	fcvt	s1, d1
	cmp	w8, #75
	fcsel	s0, s0, s1, eq
	cmp	w21, #1
	b.lt	LBB0_9
; %bb.7:
	fmov	s1, #10.00000000
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	fmul	s0, s0, s1
	subs	w21, w21, #1
	b.ne	LBB0_8
LBB0_9:
	fcvt	d0, s0
	fmov	d1, #0.50000000
	fadd	d0, d0, d1
	fcvtzs	w0, d0
	b	LBB0_15
LBB0_10:
	mov	w2, #10
	bl	_strtol
	ldr	x8, [x19]
	cmp	x8, x20
	b.eq	LBB0_14
; %bb.11:
	cmp	x8, x23
	b.ne	LBB0_14
; %bb.12:
	ldr	x8, [x22]
	cbnz	x8, LBB0_14
; %bb.13:
	str	xzr, [x19]
	b	LBB0_15
LBB0_14:
	mov	w0, #0
Lloh2:
	adrp	x8, _ERANGE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ERANGE@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	str	x8, [x22]
LBB0_15:
                                        ; kill: def $w0 killed $w0 killed $x0
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_errno,8,3                      ; @errno
	.comm	_ERANGE,8,3                     ; @ERANGE
	.no_dead_strip	_strIKtoi
.subsections_via_symbols
