	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nextarg
_nextarg:                               ## @nextarg
	.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
	movslq	(%rdx), %rax
	cmpl	%edi, %eax
	jge	LBB0_2
## %bb.1:
	leal	1(%rax), %ecx
	movl	%ecx, (%rdx)
	movq	(%rsi,%rax,8), %rbx
	jmp	LBB0_5
LBB0_2:
	testl	%r8d, %r8d
	je	LBB0_3
## %bb.4:
	movl	%ecx, %r14d
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_revert
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	movl	%r14d, %edx
	callq	_errx
	jmp	LBB0_5
LBB0_3:
	xorl	%ebx, %ebx
LBB0_5:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"option requires two arguments -- %c"

	.no_dead_strip	_nextarg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nextarg
_nextarg:                               ; @nextarg
	.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
	ldrsw	x8, [x2]
	cmp	w8, w0
	b.ge	LBB0_2
; %bb.1:
	add	w9, w8, #1
	str	w9, [x2]
	ldr	x0, [x1, x8, lsl #3]
	b	LBB0_5
LBB0_2:
	cbz	w4, LBB0_4
; %bb.3:
	mov	x19, x3
	bl	_revert
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	mov	x2, x19
	bl	_errx
LBB0_4:
	mov	x0, #0
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"option requires two arguments -- %c"

	.no_dead_strip	_nextarg
.subsections_via_symbols
