	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function optarg_to_number
_optarg_to_number:                      ## @optarg_to_number
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	$0, -24(%rbp)
	movq	_optarg@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	leaq	-24(%rbp), %rsi
	xorl	%edx, %edx
	callq	_strtol
	movq	%rax, %r14
	movq	-24(%rbp), %rax
	movq	(%rbx), %rdx
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	cmpq	%rdx, %rax
	je	LBB0_3
## %bb.2:
	cmpb	$0, (%rax)
	je	LBB0_4
LBB0_3:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ExitProgram
LBB0_4:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_optarg,8,3                     ## @optarg
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Expected a number, not \"%s\"\n"

	.comm	_EXIT_FAILURE,4,2               ## @EXIT_FAILURE
	.no_dead_strip	_optarg_to_number
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function optarg_to_number
_optarg_to_number:                      ; @optarg_to_number
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	str	xzr, [sp, #8]
Lloh0:
	adrp	x20, _optarg@GOTPAGE
Lloh1:
	ldr	x20, [x20, _optarg@GOTPAGEOFF]
	ldr	x0, [x20]
	add	x1, sp, #8
	mov	w2, #0
	bl	_strtol
	mov	x19, x0
	ldr	x8, [sp, #8]
	ldr	x2, [x20]
	cmp	x8, #0
	ccmp	x8, x2, #4, ne
	b.eq	LBB0_2
; %bb.1:
	ldrb	w8, [x8]
	cbz	w8, LBB0_3
LBB0_2:
Lloh2:
	adrp	x8, _stderr@GOTPAGE
Lloh3:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
Lloh7:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	bl	_ExitProgram
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_optarg,8,3                     ; @optarg
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Expected a number, not \"%s\"\n"

	.comm	_EXIT_FAILURE,4,2               ; @EXIT_FAILURE
	.no_dead_strip	_optarg_to_number
.subsections_via_symbols
