	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getoptsreset                   ## -- Begin function getoptsreset
	.p2align	4, 0x90
_getoptsreset:                          ## @getoptsreset
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	decq	%rdi
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$48, 1(%rdi)
	leaq	1(%rdi), %rdi
	je	LBB0_1
## %bb.2:
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	popq	%rbp
	retq
LBB0_3:
	movq	_shellparam@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"1"

	.comm	_shellparam,4,2                 ## @shellparam
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getoptsreset                   ; -- Begin function getoptsreset
	.p2align	2
_getoptsreset:                          ; @getoptsreset
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	sub	x0, x0, #1
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x0, #1]!
	cmp	w8, #48
	b.eq	LBB0_1
; %bb.2:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_4
; %bb.3:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh2:
	adrp	x8, _shellparam@GOTPAGE
Lloh3:
	ldr	x8, [x8, _shellparam@GOTPAGEOFF]
	mov	w9, #1
Lloh4:
	str	w9, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"1"

	.comm	_shellparam,4,2                 ; @shellparam
.subsections_via_symbols
