	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_optionRestore                  ## -- Begin function optionRestore
	.p2align	4, 0x90
_optionRestore:                         ## @optionRestore
	.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
	movq	%rdi, %rbx
	movq	16(%rdi), %r14
	testq	%r14, %r14
	jne	LBB0_5
## %bb.1:
	movq	(%rbx), %rdx
	testq	%rdx, %rdx
	jne	LBB0_4
## %bb.2:
	movq	8(%rbx), %rdx
	testq	%rdx, %rdx
	jne	LBB0_4
## %bb.3:
	movq	_zNil@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
LBB0_4:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_zNoState@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	callq	_fprintf
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_option_exits
LBB0_5:
	movq	$0, 16(%rbx)
	movq	%rbx, %rdi
	callq	_optionFree
	movl	$40, %edx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_memcpy
	movq	32(%rbx), %rdi
	leaq	40(%r14), %rsi
	movq	24(%r14), %rdx
	shlq	$2, %rdx
	callq	_memcpy
	movq	%r14, 16(%rbx)
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_fixupSavedOptionArgs           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_zNil,8,3                       ## @zNil
	.comm	_stderr,4,2                     ## @stderr
	.comm	_zNoState,8,3                   ## @zNoState
	.comm	_EXIT_FAILURE,4,2               ## @EXIT_FAILURE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_optionRestore                  ; -- Begin function optionRestore
	.p2align	2
_optionRestore:                         ; @optionRestore
	.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
	mov	x19, x0
	ldr	x20, [x0, #16]
	cbnz	x20, LBB0_4
; %bb.1:
	ldr	x2, [x19]
	cbnz	x2, LBB0_3
; %bb.2:
	ldr	x8, [x19, #8]
Lloh0:
	adrp	x9, _zNil@GOTPAGE
Lloh1:
	ldr	x9, [x9, _zNil@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, #0
	csel	x2, x9, x8, eq
LBB0_3:
Lloh3:
	adrp	x8, _stderr@GOTPAGE
Lloh4:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _zNoState@GOTPAGE
Lloh7:
	ldr	x8, [x8, _zNoState@GOTPAGEOFF]
Lloh8:
	ldr	x1, [x8]
	bl	_fprintf
Lloh9:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_option_exits
LBB0_4:
	str	xzr, [x19, #16]
	mov	x0, x19
	bl	_optionFree
	mov	x0, x19
	mov	x1, x20
	mov	w2, #40
	bl	_memcpy
	ldr	x0, [x19, #32]
	add	x1, x20, #40
	ldr	x8, [x20, #24]
	lsl	x2, x8, #2
	bl	_memcpy
	str	x20, [x19, #16]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_fixupSavedOptionArgs
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_zNil,8,3                       ; @zNil
	.comm	_stderr,4,2                     ; @stderr
	.comm	_zNoState,8,3                   ; @zNoState
	.comm	_EXIT_FAILURE,4,2               ; @EXIT_FAILURE
.subsections_via_symbols
