	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tv_is_present_in_vbt
_tv_is_present_in_vbt:                  ## @tv_is_present_in_vbt
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rdx
	movl	(%rdx), %ecx
	movl	$1, %eax
	testq	%rcx, %rcx
	je	LBB0_8
## %bb.1:
	testl	%ecx, %ecx
	jle	LBB0_7
## %bb.2:
	movq	8(%rdx), %rdx
	movq	_DEVICE_TYPE_INT_TV@GOTPCREL(%rip), %rsi
	movq	(%rsi), %r9
	movq	_DEVICE_TYPE_TV@GOTPCREL(%rip), %rsi
	movq	(%rsi), %r8
	shlq	$4, %rcx
	xorl	%edi, %edi
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, 8(%rdx,%rdi)
	jne	LBB0_8
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	addq	$16, %rdi
	cmpq	%rdi, %rcx
	je	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdx,%rdi), %rsi
	cmpq	%r9, %rsi
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	%r8, %rsi
	jne	LBB0_6
	jmp	LBB0_5
LBB0_7:
	xorl	%eax, %eax
LBB0_8:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DEVICE_TYPE_INT_TV,8,3         ## @DEVICE_TYPE_INT_TV
	.comm	_DEVICE_TYPE_TV,8,3             ## @DEVICE_TYPE_TV
	.no_dead_strip	_tv_is_present_in_vbt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tv_is_present_in_vbt
_tv_is_present_in_vbt:                  ; @tv_is_present_in_vbt
	.cfi_startproc
; %bb.0:
	ldr	x9, [x0]
	ldr	w8, [x9]
	cbz	w8, LBB0_6
; %bb.1:
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.2:
Lloh0:
	adrp	x10, _DEVICE_TYPE_INT_TV@GOTPAGE
Lloh1:
	ldr	x10, [x10, _DEVICE_TYPE_INT_TV@GOTPAGEOFF]
	ldr	x11, [x9, #8]
Lloh2:
	ldr	x9, [x10]
Lloh3:
	adrp	x10, _DEVICE_TYPE_TV@GOTPAGE
Lloh4:
	ldr	x10, [x10, _DEVICE_TYPE_TV@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	add	x11, x11, #8
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x11, x11, #16
	subs	x8, x8, #1
	b.eq	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x12, [x11, #-8]
	cmp	x12, x9
	ccmp	x12, x10, #4, ne
	b.ne	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x12, [x11]
	cbz	x12, LBB0_3
LBB0_6:
	mov	w0, #1
	ret
LBB0_7:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DEVICE_TYPE_INT_TV,8,3         ; @DEVICE_TYPE_INT_TV
	.comm	_DEVICE_TYPE_TV,8,3             ; @DEVICE_TYPE_TV
	.no_dead_strip	_tv_is_present_in_vbt
.subsections_via_symbols
