	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_atoiwi                         ## -- Begin function atoiwi
	.p2align	4, 0x90
_atoiwi:                                ## @atoiwi
	.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	%rdi, %r14
	callq	_strlen
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movq	%rax, %rdx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	cmpb	$45, (%r14)
	jne	LBB0_8
## %bb.7:
	movq	_Invalid@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_9
LBB0_5:
	movq	_Infinity@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_9
LBB0_1:
	xorl	%eax, %eax
LBB0_9:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_8:
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$10, %edx
	callq	_strtol
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"infinity"

L_.str.1:                               ## @.str.1
	.asciz	"all"

L_.str.2:                               ## @.str.2
	.asciz	"maximum"

	.comm	_Infinity,4,2                   ## @Infinity
	.comm	_Invalid,4,2                    ## @Invalid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_atoiwi                         ; -- Begin function atoiwi
	.p2align	2
_atoiwi:                                ; @atoiwi
	.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, x0
	bl	_strlen
	cbz	x0, LBB0_8
; %bb.1:
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_strncmp
	cbz	x0, LBB0_6
; %bb.2:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_strncmp
	cbz	x0, LBB0_6
; %bb.3:
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_strncmp
	cbz	x0, LBB0_6
; %bb.4:
	ldrb	w8, [x19]
	cmp	w8, #45
	b.ne	LBB0_9
; %bb.5:
Lloh6:
	adrp	x8, _Invalid@GOTPAGE
Lloh7:
	ldr	x8, [x8, _Invalid@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh8:
	adrp	x8, _Infinity@GOTPAGE
Lloh9:
	ldr	x8, [x8, _Infinity@GOTPAGEOFF]
LBB0_7:
	ldr	w0, [x8]
LBB0_8:
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_9:
	mov	x0, x19
	mov	x1, #0
	mov	w2, #10
	bl	_strtol
	b	LBB0_8
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"infinity"

l_.str.1:                               ; @.str.1
	.asciz	"all"

l_.str.2:                               ; @.str.2
	.asciz	"maximum"

	.comm	_Infinity,4,2                   ; @Infinity
	.comm	_Invalid,4,2                    ; @Invalid
.subsections_via_symbols
