	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mkv_read_subelements_track_entry
_mkv_read_subelements_track_entry:      ## @mkv_read_subelements_track_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movq	(%rax), %r12
	movq	8(%r12), %rax
	movq	(%rax), %rcx
	movq	_MKV_ELEMENT_ID_NAME@GOTPCREL(%rip), %rax
	movq	_MKV_ELEMENT_ID_TRACK_CODEC_ID@GOTPCREL(%rip), %rdx
	cmpl	%esi, (%rax)
	je	LBB0_4
## %bb.1:
	movq	_MKV_ELEMENT_ID_LANGUAGE@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	je	LBB0_4
## %bb.2:
	cmpl	%ebx, (%rdx)
	je	LBB0_4
## %bb.3:
	movq	_MKV_ELEMENT_ID_TRACK_CODEC_NAME@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	je	LBB0_4
## %bb.11:
	movq	_MKV_ELEMENT_ID_TRACK_CODEC_PRIVATE@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_15
## %bb.12:
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	%r15d, %edx
	callq	_vc_container_track_allocate_extradata
	movq	_VC_CONTAINER_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_22
## %bb.13:
	movq	(%r12), %rax
	movq	8(%rax), %rsi
	movq	%r14, %rdi
	movl	%r15d, %edx
	callq	_READ_BYTES
	movq	(%r12), %rcx
	movq	%rax, (%rcx)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_24
## %bb.14:
	movq	%r14, %rdi
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_STREAM_STATUS                  ## TAILCALL
LBB0_4:
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	%rsp, -64(%rbp)                 ## 8-byte Spill
	movq	_MKV_MAX_STRING_SIZE@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	incl	%eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movl	(%r13), %ecx
	cmpl	%r15d, %ecx
	jge	LBB0_6
## %bb.5:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%r15d, %edx
	callq	_LOG_DEBUG
	movl	(%r13), %r15d
LBB0_6:
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	%r15d, %edx
	callq	_READ_BYTES
	movslq	%r15d, %rcx
	cmpq	%rcx, %rax
	jne	LBB0_7
## %bb.8:
	movb	$0, (%r12,%rax)
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movq	%r12, %rdx
	callq	_LOG_FORMAT
	movq	_MKV_ELEMENT_ID_TRACK_CODEC_ID@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_10
## %bb.9:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	24(%rax), %edi
	movq	_MKV_CODECID_MAX@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	decq	%rdx
	movq	%r12, %rsi
	callq	_strncpy
LBB0_10:
	movq	_VC_CONTAINER_SUCCESS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-64(%rbp), %rsp                 ## 8-byte Reload
	jmp	LBB0_22
LBB0_7:
	movq	%r14, %rdi
	callq	_STREAM_STATUS
	movq	-64(%rbp), %rsp                 ## 8-byte Reload
	jmp	LBB0_22
LBB0_15:
	movq	%rcx, %r12
	leaq	-56(%rbp), %rdx
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_mkv_read_element_data_uint
	movq	_VC_CONTAINER_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_22
## %bb.16:
	cmpl	$128, %ebx
	je	LBB0_20
## %bb.17:
	cmpl	$130, %ebx
	je	LBB0_21
## %bb.18:
	cmpl	$129, %ebx
	jne	LBB0_22
## %bb.19:
	movq	-56(%rbp), %rcx
	movq	%rcx, 16(%r12)
	jmp	LBB0_22
LBB0_21:
	movq	-56(%rbp), %rcx
	movq	%rcx, (%r12)
	jmp	LBB0_22
LBB0_20:
	movq	-56(%rbp), %rcx
	movq	%rcx, 8(%r12)
LBB0_22:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_24
## %bb.23:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_24:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_VC_CONTAINER_SUCCESS,8,3       ## @VC_CONTAINER_SUCCESS
	.comm	_MKV_ELEMENT_ID_NAME,4,2        ## @MKV_ELEMENT_ID_NAME
	.comm	_MKV_ELEMENT_ID_LANGUAGE,4,2    ## @MKV_ELEMENT_ID_LANGUAGE
	.comm	_MKV_ELEMENT_ID_TRACK_CODEC_ID,4,2 ## @MKV_ELEMENT_ID_TRACK_CODEC_ID
	.comm	_MKV_ELEMENT_ID_TRACK_CODEC_NAME,4,2 ## @MKV_ELEMENT_ID_TRACK_CODEC_NAME
	.comm	_MKV_MAX_STRING_SIZE,4,2        ## @MKV_MAX_STRING_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"string truncated (%i>%i)"

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

	.comm	_MKV_CODECID_MAX,8,3            ## @MKV_CODECID_MAX
	.comm	_MKV_ELEMENT_ID_TRACK_CODEC_PRIVATE,4,2 ## @MKV_ELEMENT_ID_TRACK_CODEC_PRIVATE
	.no_dead_strip	_mkv_read_subelements_track_entry
.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_track_entry
_mkv_read_subelements_track_entry:      ; @mkv_read_subelements_track_entry
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	sub	sp, sp, #16
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	x22, [x8]
	ldr	x8, [x22, #8]
	ldr	x23, [x8]
Lloh3:
	adrp	x8, _MKV_ELEMENT_ID_NAME@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MKV_ELEMENT_ID_NAME@GOTPAGEOFF]
Lloh5:
	adrp	x9, _MKV_ELEMENT_ID_LANGUAGE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _MKV_ELEMENT_ID_LANGUAGE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x25, _MKV_ELEMENT_ID_TRACK_CODEC_ID@GOTPAGE
Lloh10:
	ldr	x25, [x25, _MKV_ELEMENT_ID_TRACK_CODEC_ID@GOTPAGEOFF]
Lloh11:
	adrp	x10, _MKV_ELEMENT_ID_TRACK_CODEC_NAME@GOTPAGE
Lloh12:
	ldr	x10, [x10, _MKV_ELEMENT_ID_TRACK_CODEC_NAME@GOTPAGEOFF]
	ldr	w11, [x25]
Lloh13:
	ldr	w10, [x10]
	cmp	w8, w1
	ccmp	w9, w1, #4, ne
	ccmp	w11, w1, #4, ne
	ccmp	w10, w1, #4, ne
	b.ne	LBB0_7
; %bb.1:
	mov	x24, sp
Lloh14:
	adrp	x26, _MKV_MAX_STRING_SIZE@GOTPAGE
Lloh15:
	ldr	x26, [x26, _MKV_MAX_STRING_SIZE@GOTPAGEOFF]
	ldr	w8, [x26]
	add	w8, w8, #1
	mov	x9, x8
Lloh16:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh17:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x22, x9, x8
	mov	sp, x22
	ldr	w3, [x26]
	cmp	w3, w21
	b.ge	LBB0_3
; %bb.2:
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	bl	_LOG_DEBUG
	ldr	w21, [x26]
LBB0_3:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	_READ_BYTES
	cmp	x0, w21, sxtw
	b.ne	LBB0_11
; %bb.4:
	strb	wzr, [x22, x0]
Lloh20:
	adrp	x1, l_.str.1@PAGE
Lloh21:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x2, x22
	bl	_LOG_FORMAT
	ldr	w8, [x25]
	cmp	w8, w20
	b.ne	LBB0_6
; %bb.5:
	ldr	w0, [x23, #24]
Lloh22:
	adrp	x8, _MKV_CODECID_MAX@GOTPAGE
Lloh23:
	ldr	x8, [x8, _MKV_CODECID_MAX@GOTPAGEOFF]
Lloh24:
	ldr	x8, [x8]
	sub	x2, x8, #1
	mov	x1, x22
	bl	_strncpy
LBB0_6:
Lloh25:
	adrp	x8, _VC_CONTAINER_SUCCESS@GOTPAGE
Lloh26:
	ldr	x8, [x8, _VC_CONTAINER_SUCCESS@GOTPAGEOFF]
Lloh27:
	ldr	x0, [x8]
	mov	sp, x24
	b	LBB0_19
LBB0_7:
Lloh28:
	adrp	x8, _MKV_ELEMENT_ID_TRACK_CODEC_PRIVATE@GOTPAGE
Lloh29:
	ldr	x8, [x8, _MKV_ELEMENT_ID_TRACK_CODEC_PRIVATE@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	cmp	w8, w20
	b.ne	LBB0_12
; %bb.8:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	_vc_container_track_allocate_extradata
Lloh31:
	adrp	x8, _VC_CONTAINER_SUCCESS@GOTPAGE
Lloh32:
	ldr	x8, [x8, _VC_CONTAINER_SUCCESS@GOTPAGEOFF]
Lloh33:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_19
; %bb.9:
	ldr	x8, [x22]
	ldr	x1, [x8, #8]
	mov	x0, x19
	mov	x2, x21
	bl	_READ_BYTES
	ldr	x8, [x22]
	str	x0, [x8]
	ldur	x8, [x29, #-72]
Lloh34:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh35:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh36:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_21
; %bb.10:
	mov	x0, x19
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_STREAM_STATUS
LBB0_11:
	mov	x0, x19
	bl	_STREAM_STATUS
	mov	sp, x24
	b	LBB0_19
LBB0_12:
	sub	x2, x29, #80
	mov	x0, x19
	mov	x1, x21
	bl	_mkv_read_element_data_uint
Lloh37:
	adrp	x8, _VC_CONTAINER_SUCCESS@GOTPAGE
Lloh38:
	ldr	x8, [x8, _VC_CONTAINER_SUCCESS@GOTPAGEOFF]
Lloh39:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_19
; %bb.13:
	cmp	w20, #128
	b.eq	LBB0_17
; %bb.14:
	cmp	w20, #130
	b.eq	LBB0_18
; %bb.15:
	cmp	w20, #129
	b.ne	LBB0_19
; %bb.16:
	ldur	x8, [x29, #-80]
	str	x8, [x23, #16]
	b	LBB0_19
LBB0_17:
	ldur	x8, [x29, #-80]
	str	x8, [x23, #8]
	b	LBB0_19
LBB0_18:
	ldur	x8, [x29, #-80]
	str	x8, [x23]
LBB0_19:
	ldur	x8, [x29, #-72]
Lloh40:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh41:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh42:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_21
; %bb.20:
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_21:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.cfi_endproc
                                        ; -- End function
	.comm	_VC_CONTAINER_SUCCESS,8,3       ; @VC_CONTAINER_SUCCESS
	.comm	_MKV_ELEMENT_ID_NAME,4,2        ; @MKV_ELEMENT_ID_NAME
	.comm	_MKV_ELEMENT_ID_LANGUAGE,4,2    ; @MKV_ELEMENT_ID_LANGUAGE
	.comm	_MKV_ELEMENT_ID_TRACK_CODEC_ID,4,2 ; @MKV_ELEMENT_ID_TRACK_CODEC_ID
	.comm	_MKV_ELEMENT_ID_TRACK_CODEC_NAME,4,2 ; @MKV_ELEMENT_ID_TRACK_CODEC_NAME
	.comm	_MKV_MAX_STRING_SIZE,4,2        ; @MKV_MAX_STRING_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"string truncated (%i>%i)"

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

	.comm	_MKV_CODECID_MAX,8,3            ; @MKV_CODECID_MAX
	.comm	_MKV_ELEMENT_ID_TRACK_CODEC_PRIVATE,4,2 ; @MKV_ELEMENT_ID_TRACK_CODEC_PRIVATE
	.no_dead_strip	_mkv_read_subelements_track_entry
.subsections_via_symbols
