	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_optionGetValue                 ## -- Begin function optionGetValue
	.p2align	4, 0x90
_optionGetValue:                        ## @optionGetValue
	.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	_EINVAL@GOTPCREL(%rip), %rdx
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.1:
	movq	(%rdi), %rax
	movq	_OPARG_TYPE_HIERARCHY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.2:
	movq	16(%rdi), %rax
	movl	(%rax), %r13d
	movq	_ENOENT@GOTPCREL(%rip), %rdx
	testl	%r13d, %r13d
	jle	LBB0_8
## %bb.3:
	movq	%rsi, %r14
	movl	4(%rax), %edi
	callq	_VOIDP
	movq	%rax, %rbx
	testq	%r14, %r14
	je	LBB0_10
## %bb.4:
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %r12
	movl	8(%r12), %edi
	movq	%r14, %rsi
	callq	_strcmp
	testq	%rax, %rax
	cmoveq	%r12, %r15
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	addq	$8, %rbx
	leal	-1(%r13), %eax
	cmpl	$1, %r13d
	movl	%eax, %r13d
	ja	LBB0_5
	jmp	LBB0_7
LBB0_10:
	movq	(%rbx), %r15
LBB0_7:
	testq	%r15, %r15
	movq	_ENOENT@GOTPCREL(%rip), %rdx
	jne	LBB0_9
LBB0_8:
	movl	(%rdx), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	xorl	%r15d, %r15d
LBB0_9:
	movq	%r15, %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	_optionGetValue                 ; -- Begin function optionGetValue
	.p2align	2
_optionGetValue:                        ; @optionGetValue
	.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_7
; %bb.1:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _OPARG_TYPE_HIERARCHY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _OPARG_TYPE_HIERARCHY@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.2:
	ldr	x8, [x0, #16]
	ldr	w22, [x8]
	cmp	w22, #1
	b.lt	LBB0_9
; %bb.3:
	mov	x19, x1
	ldr	w0, [x8, #4]
	bl	_VOIDP
	mov	x21, x0
	cbz	x19, LBB0_8
; %bb.4:
	mov	x20, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x23, [x21], #8
	ldr	w0, [x23, #8]
	mov	x1, x19
	bl	_strcmp
	cmp	x0, #0
	csel	x20, x23, x20, eq
	cmp	x0, #0
	ccmp	w22, #1, #0, ne
	sub	w22, w22, #1
	b.hi	LBB0_5
; %bb.6:
	cbnz	x20, LBB0_11
	b	LBB0_9
LBB0_7:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_10
LBB0_8:
	ldr	x20, [x21]
	cbnz	x20, LBB0_11
LBB0_9:
Lloh5:
	adrp	x8, _ENOENT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
LBB0_10:
	mov	x20, #0
	ldr	w8, [x8]
Lloh7:
	adrp	x9, _errno@GOTPAGE
Lloh8:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh9:
	str	w8, [x9]
LBB0_11:
	mov	x0, x20
	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
	.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
