	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_LookupVideoCoreSymbol          ## -- Begin function LookupVideoCoreSymbol
	.p2align	4, 0x90
_LookupVideoCoreSymbol:                 ## @LookupVideoCoreSymbol
	.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
	subq	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -136(%rbp)                ## 8-byte Spill
	movq	%rdx, -128(%rbp)                ## 8-byte Spill
	movq	%rsi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	$0, -116(%rbp)
	movq	$0, -144(%rbp)
	cmpl	$0, (%rdi)
	je	LBB0_9
## %bb.1:
	movq	%rdi, %r13
	xorl	%ebx, %ebx
	leaq	-112(%rbp), %r14
	leaq	-144(%rbp), %r15
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movl	%ebx, %esi
	movq	%r14, %rdx
	movl	$64, %ecx
	leaq	-116(%rbp), %r8
	movq	%r15, %r9
	callq	_GetVideoCoreSymbol
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_3 Depth=1
	incl	%ebx
	cmpl	(%r13), %ebx
	jb	LBB0_3
LBB0_9:
	movq	-128(%rbp), %rax                ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movl	$0, (%rax)
LBB0_11:
	movq	-136(%rbp), %rax                ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	$0, (%rax)
LBB0_13:
	leaq	L_.str.1(%rip), %rdi
	xorl	%ebx, %ebx
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_DBG
	jmp	LBB0_14
LBB0_4:
	movq	-128(%rbp), %rcx                ## 8-byte Reload
	testq	%rcx, %rcx
	je	LBB0_6
## %bb.5:
	movl	-116(%rbp), %eax
	movl	%eax, (%rcx)
LBB0_6:
	movq	-144(%rbp), %rcx
	movq	-136(%rbp), %rax                ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	%rcx, (%rax)
LBB0_8:
	movl	-116(%rbp), %edx
	leaq	L_.str(%rip), %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_DBG
	movl	$1, %ebx
LBB0_14:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_16
## %bb.15:
	movl	%ebx, %eax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s found, addr = 0x%08x size = %zu"

L_.str.1:                               ## @.str.1
	.asciz	"%s not found"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_LookupVideoCoreSymbol          ; -- Begin function LookupVideoCoreSymbol
	.p2align	2
_LookupVideoCoreSymbol:                 ; @LookupVideoCoreSymbol
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	mov	x20, x3
	mov	x21, x2
	mov	x19, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	str	wzr, [sp, #36]
	str	xzr, [sp, #24]
	ldr	w8, [x0]
	cbz	w8, LBB0_4
; %bb.1:
	mov	x22, x0
	mov	w23, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x2, sp, #40
	add	x4, sp, #36
	add	x5, sp, #24
	mov	x0, x22
	mov	x1, x23
	mov	w3, #64
	bl	_GetVideoCoreSymbol
	add	x1, sp, #40
	mov	x0, x19
	bl	_strcmp
	cbz	x0, LBB0_9
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w23, w23, #1
	ldr	w8, [x22]
	cmp	w23, w8
	b.lo	LBB0_2
LBB0_4:
	cbz	x21, LBB0_6
; %bb.5:
	str	wzr, [x21]
LBB0_6:
	cbz	x20, LBB0_8
; %bb.7:
	str	xzr, [x20]
LBB0_8:
Lloh3:
	adrp	x0, l_.str.1@PAGE
Lloh4:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_DBG
	mov	w0, #0
	b	LBB0_14
LBB0_9:
	cbz	x21, LBB0_11
; %bb.10:
	ldr	w8, [sp, #36]
	str	w8, [x21]
LBB0_11:
	ldr	x8, [sp, #24]
	cbz	x20, LBB0_13
; %bb.12:
	str	x8, [x20]
LBB0_13:
	ldr	w9, [sp, #36]
	stp	x9, x8, [sp]
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_DBG
	mov	w0, #1
LBB0_14:
	ldur	x8, [x29, #-56]
Lloh7:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh8:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.15:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_16:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s found, addr = 0x%08x size = %zu"

l_.str.1:                               ; @.str.1
	.asciz	"%s not found"

.subsections_via_symbols
