	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function getnum
_getnum:                                ## @getnum
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movq	%rsi, %r15
	movq	%rdi, %r14
	leaq	1(%rsi), %rbx
	movzbl	1(%rsi), %edi
	callq	_isdigit
	testl	%eax, %eax
	je	LBB0_1
## %bb.6:
	movq	%rbx, %rdi
	callq	_atoi
	movl	%eax, (%r14)
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %r15
	movzbl	1(%rbx), %eax
	testb	%al, %al
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	leaq	1(%r15), %rbx
	movzbl	%al, %edi
	callq	_isdigit
	testl	%eax, %eax
	jne	LBB0_7
	jmp	LBB0_9
LBB0_1:
	testl	%r12d, %r12d
	je	LBB0_2
LBB0_4:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	movq	%r15, %rdx
	callq	_errx
LBB0_5:
	movl	$0, (%r14)
LBB0_9:
	movq	%r15, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movb	(%rbx), %al
	cmpb	$45, %al
	je	LBB0_4
## %bb.3:
	cmpb	$43, %al
	je	LBB0_4
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"option %.1s requires an unsigned integer"

	.no_dead_strip	_getnum
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function getnum
_getnum:                                ; @getnum
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
	mov	x21, x1
	ldrb	w0, [x21, #1]!
	bl	_isdigit
	cbz	w0, LBB0_4
; %bb.1:
	mov	x0, x21
	bl	_atoi
	str	w0, [x20]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x19, x21
	ldrb	w0, [x21, #1]!
	cbz	w0, LBB0_7
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	bl	_isdigit
	cbnz	w0, LBB0_2
	b	LBB0_7
LBB0_4:
	cbz	w22, LBB0_8
LBB0_5:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	mov	x2, x19
	bl	_errx
LBB0_6:
	str	wzr, [x20]
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_8:
	ldrb	w8, [x21]
	cmp	w8, #45
	b.eq	LBB0_5
; %bb.9:
	cmp	w8, #43
	b.eq	LBB0_5
	b	LBB0_6
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"option %.1s requires an unsigned integer"

	.no_dead_strip	_getnum
.subsections_via_symbols
