	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_find_opt_entry                 ## -- Begin function find_opt_entry
	.p2align	4, 0x90
_find_opt_entry:                        ## @find_opt_entry
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.1:
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_ghb_value_type
	movq	_GHB_STRING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.2:
	movq	%rbx, %rdi
	callq	_ghb_value_get_string
	cmpq	$0, (%r14)
	je	LBB0_7
## %bb.3:
	movq	%rax, %r15
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rax
	movl	12(%rax,%r12), %edi
	movq	%r15, %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_19
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%r14), %rax
	movl	8(%rax,%r12), %edi
	movq	%r15, %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_19
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	addq	$16, %r12
	cmpq	(%r14), %rbx
	jb	LBB0_4
	jmp	LBB0_19
LBB0_8:
	movq	%rbx, %rdi
	callq	_ghb_value_type
	movq	_GHB_INT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_11
## %bb.9:
	movq	%rbx, %rdi
	callq	_ghb_value_type
	movq	_GHB_DOUBLE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_11
## %bb.10:
	movq	%rbx, %rdi
	callq	_ghb_value_type
	movq	_GHB_BOOL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_18
LBB0_11:
	movq	%rbx, %rdi
	callq	_ghb_value_get_int
	movq	(%r14), %rcx
	testq	%rcx, %rcx
	je	LBB0_7
## %bb.12:
	movq	8(%r14), %rdx
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	cmpq	%rax, (%rdx)
	je	LBB0_19
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	incq	%rbx
	addq	$16, %rdx
	cmpq	%rbx, %rcx
	jne	LBB0_13
## %bb.15:
	movq	%rcx, %rbx
	jmp	LBB0_19
LBB0_7:
	xorl	%ebx, %ebx
LBB0_19:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	movq	(%r14), %rbx
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_GHB_STRING,8,3                 ## @GHB_STRING
	.comm	_GHB_INT,8,3                    ## @GHB_INT
	.comm	_GHB_DOUBLE,8,3                 ## @GHB_DOUBLE
	.comm	_GHB_BOOL,8,3                   ## @GHB_BOOL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_find_opt_entry                 ; -- Begin function find_opt_entry
	.p2align	2
_find_opt_entry:                        ; @find_opt_entry
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	cbz	x0, LBB0_15
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_ghb_value_type
Lloh0:
	adrp	x8, _GHB_STRING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GHB_STRING@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_7
; %bb.2:
	mov	x0, x20
	bl	_ghb_value_get_string
	ldr	x8, [x19]
	cbz	x8, LBB0_15
; %bb.3:
	mov	x21, x0
	mov	x22, #0
	mov	x20, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	add	x8, x8, x22
	ldr	w0, [x8, #12]
	mov	x1, x21
	bl	_strcmp
	cbz	x0, LBB0_16
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #8]
	add	x8, x8, x22
	ldr	w0, [x8, #8]
	mov	x1, x21
	bl	_strcmp
	cbz	x0, LBB0_16
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x20, x20, #1
	ldr	x8, [x19]
	add	x22, x22, #16
	cmp	x20, x8
	b.lo	LBB0_4
	b	LBB0_16
LBB0_7:
	mov	x0, x20
	bl	_ghb_value_type
Lloh3:
	adrp	x8, _GHB_INT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GHB_INT@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_10
; %bb.8:
	mov	x0, x20
	bl	_ghb_value_type
Lloh6:
	adrp	x8, _GHB_DOUBLE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GHB_DOUBLE@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_10
; %bb.9:
	mov	x0, x20
	bl	_ghb_value_type
Lloh9:
	adrp	x8, _GHB_BOOL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GHB_BOOL@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_17
LBB0_10:
	mov	x0, x20
	bl	_ghb_value_get_int
	ldr	x8, [x19]
	cbz	x8, LBB0_15
; %bb.11:
	mov	x20, #0
	ldr	x9, [x19, #8]
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x9]
	cmp	x10, x0
	b.eq	LBB0_16
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	add	x20, x20, #1
	add	x9, x9, #16
	cmp	x8, x20
	b.ne	LBB0_12
; %bb.14:
	mov	x20, x8
	b	LBB0_16
LBB0_15:
	mov	x20, #0
LBB0_16:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_17:
	ldr	x20, [x19]
	b	LBB0_16
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_GHB_STRING,8,3                 ; @GHB_STRING
	.comm	_GHB_INT,8,3                    ; @GHB_INT
	.comm	_GHB_DOUBLE,8,3                 ; @GHB_DOUBLE
	.comm	_GHB_BOOL,8,3                   ; @GHB_BOOL
.subsections_via_symbols
