	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_optionLoadOpt                  ## -- Begin function optionLoadOpt
	.p2align	4, 0x90
_optionLoadOpt:                         ## @optionLoadOpt
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_OPTPROC_EMIT_LIMIT@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	jae	LBB0_10
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_DISABLED_OPT
	testq	%rax, %rax
	jne	LBB0_10
## %bb.2:
	movq	_OPTST_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	jne	LBB0_10
## %bb.3:
	movl	4(%r14), %edi
	leaq	-24(%rbp), %rsi
	callq	_stat
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	_OPTPROC_ERRSTOP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_10
## %bb.5:
	movl	4(%rbx), %edi
	movl	4(%r14), %edx
	leaq	L_.str(%rip), %rsi
	callq	_fserr_exit
LBB0_6:
	movl	-24(%rbp), %edi
	callq	_S_ISREG
	testl	%eax, %eax
	jne	LBB0_9
## %bb.7:
	movq	_OPTPROC_ERRSTOP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_10
## %bb.8:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	4(%rbx), %edi
	movl	4(%r14), %edx
	leaq	L_.str(%rip), %rsi
	callq	_fserr_exit
LBB0_9:
	movl	4(%r14), %esi
	movq	_DIRECTION_CALLED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_file_preset
LBB0_10:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OPTPROC_EMIT_LIMIT,8,3         ## @OPTPROC_EMIT_LIMIT
	.comm	_OPTST_RESET,4,2                ## @OPTST_RESET
	.comm	_OPTPROC_ERRSTOP,4,2            ## @OPTPROC_ERRSTOP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"stat"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_errno,4,2                      ## @errno
	.comm	_DIRECTION_CALLED,4,2           ## @DIRECTION_CALLED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_optionLoadOpt                  ; -- Begin function optionLoadOpt
	.p2align	2
_optionLoadOpt:                         ; @optionLoadOpt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
Lloh0:
	adrp	x8, _OPTPROC_EMIT_LIMIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OPTPROC_EMIT_LIMIT@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x0
	b.hs	LBB0_10
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_DISABLED_OPT
	cbnz	x0, LBB0_10
; %bb.2:
	ldr	w8, [x20]
Lloh3:
	adrp	x9, _OPTST_RESET@GOTPAGE
Lloh4:
	ldr	x9, [x9, _OPTST_RESET@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_10
; %bb.3:
	ldr	w0, [x20, #4]
	add	x1, sp, #8
	bl	_stat
	cbz	x0, LBB0_6
; %bb.4:
	ldr	w8, [x19]
Lloh6:
	adrp	x9, _OPTPROC_ERRSTOP@GOTPAGE
Lloh7:
	ldr	x9, [x9, _OPTPROC_ERRSTOP@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.5:
	ldr	w0, [x19, #4]
	ldr	w2, [x20, #4]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fserr_exit
LBB0_6:
	ldr	w0, [sp, #8]
	bl	_S_ISREG
	cbnz	w0, LBB0_9
; %bb.7:
	ldr	w8, [x19]
Lloh11:
	adrp	x9, _OPTPROC_ERRSTOP@GOTPAGE
Lloh12:
	ldr	x9, [x9, _OPTPROC_ERRSTOP@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.8:
Lloh14:
	adrp	x8, _EINVAL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	adrp	x9, _errno@GOTPAGE
Lloh18:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh19:
	str	w8, [x9]
	ldr	w0, [x19, #4]
	ldr	w2, [x20, #4]
Lloh20:
	adrp	x1, l_.str@PAGE
Lloh21:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fserr_exit
LBB0_9:
	ldr	w1, [x20, #4]
Lloh22:
	adrp	x8, _DIRECTION_CALLED@GOTPAGE
Lloh23:
	ldr	x8, [x8, _DIRECTION_CALLED@GOTPAGEOFF]
Lloh24:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_file_preset
LBB0_10:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotStr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_OPTPROC_EMIT_LIMIT,8,3         ; @OPTPROC_EMIT_LIMIT
	.comm	_OPTST_RESET,4,2                ; @OPTST_RESET
	.comm	_OPTPROC_ERRSTOP,4,2            ; @OPTPROC_ERRSTOP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"stat"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_errno,4,2                      ; @errno
	.comm	_DIRECTION_CALLED,4,2           ; @DIRECTION_CALLED
.subsections_via_symbols
