	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mkv_read_subelements_video
_mkv_read_subelements_video:            ## @mkv_read_subelements_video
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	(%rax), %r14
	movq	_MKV_ELEMENT_ID_FRAME_RATE@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_3
## %bb.1:
	leaq	-24(%rbp), %rax
	movl	%edx, %esi
	movq	%rax, %rdx
	callq	_mkv_read_element_data_float
	movq	_VC_CONTAINER_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_16
## %bb.2:
	movsd	-24(%rbp), %xmm0                ## xmm0 = mem[0],zero
	movsd	%xmm0, (%r14)
	jmp	LBB0_16
LBB0_3:
	movl	%esi, %ebx
	leaq	-24(%rbp), %rax
	movl	%edx, %esi
	movq	%rax, %rdx
	callq	_mkv_read_element_data_uint
	movq	_VC_CONTAINER_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_16
## %bb.4:
	addl	$-128, %ebx
	cmpl	$9, %ebx
	ja	LBB0_16
## %bb.5:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rbx,4), %rdx
	addq	%rcx, %rdx
	jmpq	*%rdx
LBB0_6:
	movq	-24(%rbp), %rcx
	movq	%rcx, 80(%r14)
	jmp	LBB0_16
LBB0_7:
	movq	-24(%rbp), %rcx
	movq	%rcx, 72(%r14)
	jmp	LBB0_16
LBB0_9:
	movq	-24(%rbp), %rcx
	movq	%rcx, 56(%r14)
	jmp	LBB0_16
LBB0_11:
	movq	-24(%rbp), %rcx
	movq	%rcx, 40(%r14)
	jmp	LBB0_16
LBB0_10:
	movq	-24(%rbp), %rcx
	movq	%rcx, 48(%r14)
	jmp	LBB0_16
LBB0_8:
	movq	-24(%rbp), %rcx
	movq	%rcx, 64(%r14)
	jmp	LBB0_16
LBB0_12:
	movq	-24(%rbp), %rcx
	movq	%rcx, 32(%r14)
	jmp	LBB0_16
LBB0_14:
	movq	-24(%rbp), %rcx
	movq	%rcx, 16(%r14)
	jmp	LBB0_16
LBB0_13:
	movq	-24(%rbp), %rcx
	movq	%rcx, 24(%r14)
	jmp	LBB0_16
LBB0_15:
	movq	-24(%rbp), %rcx
	movq	%rcx, 8(%r14)
LBB0_16:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_9
	.long	L0_0_set_11
	.long	L0_0_set_10
	.long	L0_0_set_8
	.long	L0_0_set_12
	.long	L0_0_set_14
	.long	L0_0_set_13
	.long	L0_0_set_15
	.end_data_region
                                        ## -- End function
	.comm	_VC_CONTAINER_SUCCESS,8,3       ## @VC_CONTAINER_SUCCESS
	.comm	_MKV_ELEMENT_ID_FRAME_RATE,4,2  ## @MKV_ELEMENT_ID_FRAME_RATE
	.no_dead_strip	_mkv_read_subelements_video
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mkv_read_subelements_video
_mkv_read_subelements_video:            ; @mkv_read_subelements_video
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x8, x2
	ldr	x9, [x0]
	ldr	x9, [x9]
	ldr	x9, [x9]
	ldr	x9, [x9]
	ldr	x20, [x9]
Lloh0:
	adrp	x9, _MKV_ELEMENT_ID_FRAME_RATE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MKV_ELEMENT_ID_FRAME_RATE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w9, w1
	b.ne	LBB0_3
; %bb.1:
	add	x2, sp, #8
	mov	x1, x8
	bl	_mkv_read_element_data_float
Lloh3:
	adrp	x8, _VC_CONTAINER_SUCCESS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VC_CONTAINER_SUCCESS@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_16
; %bb.2:
	ldr	d0, [sp, #8]
	str	d0, [x20]
	b	LBB0_16
LBB0_3:
	mov	x19, x1
	add	x2, sp, #8
	mov	x1, x8
	bl	_mkv_read_element_data_uint
Lloh6:
	adrp	x8, _VC_CONTAINER_SUCCESS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _VC_CONTAINER_SUCCESS@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_16
; %bb.4:
	sub	w8, w19, #128
	cmp	w8, #9
	b.hi	LBB0_16
; %bb.5:
Lloh9:
	adrp	x9, lJTI0_0@PAGE
Lloh10:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_6
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_6:
	ldr	x8, [sp, #8]
	str	x8, [x20, #80]
	b	LBB0_16
LBB0_7:
	ldr	x8, [sp, #8]
	str	x8, [x20, #72]
	b	LBB0_16
LBB0_8:
	ldr	x8, [sp, #8]
	str	x8, [x20, #56]
	b	LBB0_16
LBB0_9:
	ldr	x8, [sp, #8]
	str	x8, [x20, #40]
	b	LBB0_16
LBB0_10:
	ldr	x8, [sp, #8]
	str	x8, [x20, #48]
	b	LBB0_16
LBB0_11:
	ldr	x8, [sp, #8]
	str	x8, [x20, #64]
	b	LBB0_16
LBB0_12:
	ldr	x8, [sp, #8]
	str	x8, [x20, #32]
	b	LBB0_16
LBB0_13:
	ldr	x8, [sp, #8]
	str	x8, [x20, #16]
	b	LBB0_16
LBB0_14:
	ldr	x8, [sp, #8]
	str	x8, [x20, #24]
	b	LBB0_16
LBB0_15:
	ldr	x8, [sp, #8]
	str	x8, [x20, #8]
LBB0_16:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_6-LBB0_6)>>2
	.byte	(LBB0_7-LBB0_6)>>2
	.byte	(LBB0_8-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_10-LBB0_6)>>2
	.byte	(LBB0_11-LBB0_6)>>2
	.byte	(LBB0_12-LBB0_6)>>2
	.byte	(LBB0_13-LBB0_6)>>2
	.byte	(LBB0_14-LBB0_6)>>2
	.byte	(LBB0_15-LBB0_6)>>2
                                        ; -- End function
	.comm	_VC_CONTAINER_SUCCESS,8,3       ; @VC_CONTAINER_SUCCESS
	.comm	_MKV_ELEMENT_ID_FRAME_RATE,4,2  ; @MKV_ELEMENT_ID_FRAME_RATE
	.no_dead_strip	_mkv_read_subelements_video
.subsections_via_symbols
