	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_optionFindValue                ## -- Begin function optionFindValue
	.p2align	4, 0x90
_optionFindValue:                       ## @optionFindValue
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movq	%rdx, %r15
	movq	%rdi, %rbx
	movl	8(%rdi), %edi
	callq	_OPTST_GET_ARGTYPE
	movq	_OPARG_TYPE_HIERARCHY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.3:
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_12
## %bb.4:
	movl	(%rax), %r13d
	movl	4(%rax), %edi
	callq	_VOIDP
	testl	%r13d, %r13d
	je	LBB0_12
## %bb.5:
	movq	%rax, %r12
	cmpq	$0, -48(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_15
## %bb.6:
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	testl	%r13d, %r13d
	jle	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	decl	%r13d
	movq	(%r12), %rbx
	addq	$8, %r12
	movq	%rbx, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_optionGetValue
	testq	%r15, %r15
	cmovneq	%r14, %rbx
	testq	%rax, %rax
	cmoveq	%r14, %rbx
	movq	%rbx, %r14
	testq	%r15, %r15
	jne	LBB0_7
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%rbx, %r14
	testq	%rax, %rax
	je	LBB0_7
	jmp	LBB0_11
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_15:
	movq	(%r12), %rbx
	jmp	LBB0_14
LBB0_8:
	movq	%r14, %rbx
LBB0_11:
	testq	%rbx, %rbx
	jne	LBB0_14
LBB0_12:
	movq	_ENOENT@GOTPCREL(%rip), %rax
LBB0_13:
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	xorl	%ebx, %ebx
LBB0_14:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OPARG_TYPE_HIERARCHY,8,3       ## @OPARG_TYPE_HIERARCHY
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_errno,4,2                      ## @errno
	.comm	_ENOENT,4,2                     ## @ENOENT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_optionFindValue                ; -- Begin function optionFindValue
	.p2align	2
_optionFindValue:                       ; @optionFindValue
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	cbz	x0, LBB0_10
; %bb.1:
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldr	w0, [x0, #8]
	bl	_OPTST_GET_ARGTYPE
Lloh0:
	adrp	x8, _OPARG_TYPE_HIERARCHY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OPARG_TYPE_HIERARCHY@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_10
; %bb.2:
	ldr	x8, [x19]
	cbz	x8, LBB0_11
; %bb.3:
	ldp	w24, w0, [x8]
	bl	_VOIDP
	cbz	w24, LBB0_11
; %bb.4:
	mov	x22, x0
	cbz	x21, LBB0_15
; %bb.5:
	mov	x19, #0
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	subs	w24, w24, #1
	b.lt	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x23, [x22], #8
	mov	x0, x23
	mov	x1, x21
	bl	_optionGetValue
	cmp	x20, #0
	csel	x8, x23, x19, eq
	cmp	x0, #0
	csel	x19, x19, x8, eq
	cbnz	x20, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	cbz	x0, LBB0_6
LBB0_9:
	cbnz	x19, LBB0_14
	b	LBB0_12
LBB0_10:
	mov	x19, #0
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_13
LBB0_11:
	mov	x19, #0
LBB0_12:
Lloh5:
	adrp	x8, _ENOENT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
LBB0_13:
	ldr	w8, [x8]
Lloh7:
	adrp	x9, _errno@GOTPAGE
Lloh8:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh9:
	str	w8, [x9]
LBB0_14:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_15:
	ldr	x19, [x22]
	b	LBB0_14
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotStr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_OPARG_TYPE_HIERARCHY,8,3       ; @OPARG_TYPE_HIERARCHY
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_errno,4,2                      ; @errno
	.comm	_ENOENT,4,2                     ; @ENOENT
.subsections_via_symbols
