	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vivid_get_video_aspect         ## -- Begin function vivid_get_video_aspect
	.p2align	4, 0x90
_vivid_get_video_aspect:                ## @vivid_get_video_aspect
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_vivid_is_sdtv_cap
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rcx
	jmp	LBB0_5
LBB0_2:
	movq	%rbx, %rdi
	callq	_vivid_is_hdmi_cap
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	leaq	16(%rbx), %rcx
LBB0_5:
	movq	8(%rbx), %rax
	shlq	$2, %rax
	addq	(%rcx), %rax
LBB0_6:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_3:
	movq	_TPG_VIDEO_ASPECT_IMAGE@GOTPCREL(%rip), %rax
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_TPG_VIDEO_ASPECT_IMAGE,4,2     ## @TPG_VIDEO_ASPECT_IMAGE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vivid_get_video_aspect         ; -- Begin function vivid_get_video_aspect
	.p2align	2
_vivid_get_video_aspect:                ; @vivid_get_video_aspect
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_vivid_is_sdtv_cap
	cbz	x0, LBB0_2
; %bb.1:
	mov	x8, x19
	b	LBB0_4
LBB0_2:
	mov	x0, x19
	bl	_vivid_is_hdmi_cap
	cbz	x0, LBB0_6
; %bb.3:
	add	x8, x19, #16
LBB0_4:
	ldr	x8, [x8]
	ldr	x9, [x19, #8]
	add	x8, x8, x9, lsl #2
LBB0_5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
Lloh0:
	adrp	x8, _TPG_VIDEO_ASPECT_IMAGE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TPG_VIDEO_ASPECT_IMAGE@GOTPAGEOFF]
	b	LBB0_5
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_TPG_VIDEO_ASPECT_IMAGE,4,2     ; @TPG_VIDEO_ASPECT_IMAGE
.subsections_via_symbols
