	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_optionResetOpt                 ## -- Begin function optionResetOpt
	.p2align	4, 0x90
_optionResetOpt:                        ## @optionResetOpt
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	_DEFINED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_OPTSTATE_INITIALIZER
	movl	%eax, -32(%rbp)
	movq	_OPTPROC_EMIT_LIMIT@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	jae	LBB0_18
## %bb.1:
	cmpb	$0, _optionResetOpt.reset_active(%rip)
	jne	LBB0_18
## %bb.2:
	movq	8(%r15), %r14
	movq	%rbx, %rdi
	callq	_HAS_originalOptArgArray
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	cmpq	$0, 16(%rbx)
	jne	LBB0_5
LBB0_4:
	movq	_zno_reset@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ao_bug
LBB0_5:
	testq	%r14, %r14
	je	LBB0_7
## %bb.6:
	movq	_NUL@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	cmpb	%al, (%r14)
	jne	LBB0_8
LBB0_7:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_zreset_arg@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movl	12(%rbx), %edx
	movq	(%r15), %rcx
	xorl	%eax, %eax
	callq	_fprintf
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	*(%rbx)
	xorl	%edi, %edi
	callq	_assert
	movq	_NUL@GOTPCREL(%rip), %rax
	movb	(%rax), %al
LBB0_8:
	movb	$1, _optionResetOpt.reset_active(%rip)
	cmpb	%al, 1(%r14)
	jne	LBB0_13
## %bb.9:
	movsbl	(%r14), %esi
	cmpl	$42, %esi
	jne	LBB0_11
## %bb.10:
	movq	%rbx, %rdi
	callq	_optionResetEverything
	jmp	LBB0_17
LBB0_13:
	leaq	-32(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_opt_find_long
	movl	%eax, %edi
	callq	_SUCCESSFUL
	testl	%eax, %eax
	jne	LBB0_16
## %bb.14:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_zIllOptStr@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movl	8(%rbx), %edx
	movq	%r14, %rcx
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_15
LBB0_11:
	leaq	-32(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_opt_find_short
	movl	%eax, %edi
	callq	_SUCCESSFUL
	testl	%eax, %eax
	jne	LBB0_16
## %bb.12:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_zIllOptChr@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movl	8(%rbx), %edx
	movsbl	(%r14), %ecx
	xorl	%eax, %eax
	callq	_fprintf
LBB0_15:
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	*(%rbx)
	xorl	%edi, %edi
	callq	_assert
LBB0_16:
	movl	-32(%rbp), %esi
	movq	%rbx, %rdi
	callq	_optionReset
LBB0_17:
	movb	$0, _optionResetOpt.reset_active(%rip)
LBB0_18:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_optionResetOpt.reset_active,1,2 ## @optionResetOpt.reset_active
	.comm	_DEFINED,4,2                    ## @DEFINED
	.comm	_OPTPROC_EMIT_LIMIT,8,3         ## @OPTPROC_EMIT_LIMIT
	.comm	_zno_reset,4,2                  ## @zno_reset
	.comm	_NUL,1,0                        ## @NUL
	.comm	_stderr,4,2                     ## @stderr
	.comm	_zreset_arg,8,3                 ## @zreset_arg
	.comm	_EXIT_FAILURE,4,2               ## @EXIT_FAILURE
	.comm	_zIllOptChr,8,3                 ## @zIllOptChr
	.comm	_zIllOptStr,8,3                 ## @zIllOptStr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_optionResetOpt                 ; -- Begin function optionResetOpt
	.p2align	2
_optionResetOpt:                        ; @optionResetOpt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _DEFINED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DEFINED@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_OPTSTATE_INITIALIZER
	str	w0, [sp, #8]
Lloh3:
	adrp	x8, _OPTPROC_EMIT_LIMIT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OPTPROC_EMIT_LIMIT@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x8, x19
	b.hs	LBB0_18
; %bb.1:
	adrp	x22, _optionResetOpt.reset_active@PAGE
	ldrb	w8, [x22, _optionResetOpt.reset_active@PAGEOFF]
	tbnz	w8, #0, LBB0_18
; %bb.2:
	ldr	x20, [x21, #8]
	mov	x0, x19
	bl	_HAS_originalOptArgArray
	cbz	w0, LBB0_4
; %bb.3:
	ldr	x8, [x19, #16]
	cbnz	x8, LBB0_5
LBB0_4:
Lloh6:
	adrp	x8, _zno_reset@GOTPAGE
Lloh7:
	ldr	x8, [x8, _zno_reset@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_ao_bug
LBB0_5:
Lloh9:
	adrp	x23, _NUL@GOTPAGE
Lloh10:
	ldr	x23, [x23, _NUL@GOTPAGEOFF]
	cbz	x20, LBB0_7
; %bb.6:
	ldrb	w9, [x20]
	ldrb	w8, [x23]
	cmp	w9, w8
	b.ne	LBB0_8
LBB0_7:
Lloh11:
	adrp	x8, _stderr@GOTPAGE
Lloh12:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x8, _zreset_arg@GOTPAGE
Lloh15:
	ldr	x8, [x8, _zreset_arg@GOTPAGEOFF]
Lloh16:
	ldr	x1, [x8]
	ldr	w2, [x19, #12]
	ldr	x8, [x21]
	str	x8, [sp]
	bl	_fprintf
	ldr	x8, [x19]
Lloh17:
	adrp	x9, _EXIT_FAILURE@GOTPAGE
Lloh18:
	ldr	x9, [x9, _EXIT_FAILURE@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x9]
	mov	x0, x19
	blr	x8
	mov	w0, #0
	bl	_assert
	ldrb	w8, [x23]
LBB0_8:
	mov	w9, #1
	strb	w9, [x22, _optionResetOpt.reset_active@PAGEOFF]
	ldrb	w9, [x20, #1]
	cmp	w9, w8
	b.ne	LBB0_11
; %bb.9:
	ldrsb	w1, [x20]
	cmp	w1, #42
	b.ne	LBB0_13
; %bb.10:
	mov	x0, x19
	bl	_optionResetEverything
	b	LBB0_17
LBB0_11:
	add	x2, sp, #8
	mov	x0, x19
	mov	x1, x20
	bl	_opt_find_long
	bl	_SUCCESSFUL
	cbnz	w0, LBB0_16
; %bb.12:
Lloh20:
	adrp	x8, _stderr@GOTPAGE
Lloh21:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
Lloh23:
	adrp	x8, _zIllOptStr@GOTPAGE
Lloh24:
	ldr	x8, [x8, _zIllOptStr@GOTPAGEOFF]
Lloh25:
	ldr	x1, [x8]
	ldr	w2, [x19, #8]
	str	x20, [sp]
	b	LBB0_15
LBB0_13:
	add	x2, sp, #8
	mov	x0, x19
	bl	_opt_find_short
	bl	_SUCCESSFUL
	cbnz	w0, LBB0_16
; %bb.14:
Lloh26:
	adrp	x8, _stderr@GOTPAGE
Lloh27:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
Lloh29:
	adrp	x8, _zIllOptChr@GOTPAGE
Lloh30:
	ldr	x8, [x8, _zIllOptChr@GOTPAGEOFF]
Lloh31:
	ldr	x1, [x8]
	ldr	w2, [x19, #8]
	ldrsb	x8, [x20]
	str	x8, [sp]
LBB0_15:
	bl	_fprintf
	ldr	x8, [x19]
Lloh32:
	adrp	x9, _EXIT_FAILURE@GOTPAGE
Lloh33:
	ldr	x9, [x9, _EXIT_FAILURE@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x9]
	mov	x0, x19
	blr	x8
	mov	w0, #0
	bl	_assert
LBB0_16:
	ldr	w1, [sp, #8]
	mov	x0, x19
	bl	_optionReset
LBB0_17:
	strb	wzr, [x22, _optionResetOpt.reset_active@PAGEOFF]
LBB0_18:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_optionResetOpt.reset_active,1,2 ; @optionResetOpt.reset_active
	.comm	_DEFINED,4,2                    ; @DEFINED
	.comm	_OPTPROC_EMIT_LIMIT,8,3         ; @OPTPROC_EMIT_LIMIT
	.comm	_zno_reset,4,2                  ; @zno_reset
	.comm	_NUL,1,0                        ; @NUL
	.comm	_stderr,4,2                     ; @stderr
	.comm	_zreset_arg,8,3                 ; @zreset_arg
	.comm	_EXIT_FAILURE,4,2               ; @EXIT_FAILURE
	.comm	_zIllOptChr,8,3                 ; @zIllOptChr
	.comm	_zIllOptStr,8,3                 ; @zIllOptStr
.subsections_via_symbols
