	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mkv_read_subelements_audio
_mkv_read_subelements_audio:            ## @mkv_read_subelements_audio
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	(%rax), %r14
	movq	_MKV_ELEMENT_ID_SAMPLING_FREQUENCY@GOTPCREL(%rip), %r12
	movq	_MKV_ELEMENT_ID_OUTPUT_SAMPLING_FREQUENCY@GOTPCREL(%rip), %r15
	cmpl	%esi, (%r12)
	je	LBB0_2
## %bb.1:
	cmpl	%ebx, (%r15)
	je	LBB0_2
## %bb.7:
	leaq	-40(%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_12
## %bb.8:
	cmpl	$129, %ebx
	je	LBB0_11
## %bb.9:
	cmpl	$128, %ebx
	jne	LBB0_12
## %bb.10:
	movq	-40(%rbp), %rcx
	movq	%rcx, 24(%r14)
	jmp	LBB0_12
LBB0_2:
	leaq	-40(%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_12
## %bb.3:
	cmpl	%ebx, (%r12)
	jne	LBB0_5
## %bb.4:
	movsd	-40(%rbp), %xmm0                ## xmm0 = mem[0],zero
	movsd	%xmm0, (%r14)
LBB0_5:
	cmpl	%ebx, (%r15)
	jne	LBB0_12
## %bb.6:
	movsd	-40(%rbp), %xmm0                ## xmm0 = mem[0],zero
	movsd	%xmm0, 8(%r14)
	jmp	LBB0_12
LBB0_11:
	movq	-40(%rbp), %rcx
	movq	%rcx, 16(%r14)
LBB0_12:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VC_CONTAINER_SUCCESS,8,3       ## @VC_CONTAINER_SUCCESS
	.comm	_MKV_ELEMENT_ID_SAMPLING_FREQUENCY,4,2 ## @MKV_ELEMENT_ID_SAMPLING_FREQUENCY
	.comm	_MKV_ELEMENT_ID_OUTPUT_SAMPLING_FREQUENCY,4,2 ## @MKV_ELEMENT_ID_OUTPUT_SAMPLING_FREQUENCY
	.no_dead_strip	_mkv_read_subelements_audio
.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_audio
_mkv_read_subelements_audio:            ; @mkv_read_subelements_audio
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x8, x2
	mov	x19, x1
	ldr	x9, [x0]
	ldr	x9, [x9]
	ldr	x9, [x9]
	ldr	x9, [x9]
	ldr	x20, [x9]
Lloh0:
	adrp	x22, _MKV_ELEMENT_ID_SAMPLING_FREQUENCY@GOTPAGE
Lloh1:
	ldr	x22, [x22, _MKV_ELEMENT_ID_SAMPLING_FREQUENCY@GOTPAGEOFF]
	ldr	w9, [x22]
Lloh2:
	adrp	x21, _MKV_ELEMENT_ID_OUTPUT_SAMPLING_FREQUENCY@GOTPAGE
Lloh3:
	ldr	x21, [x21, _MKV_ELEMENT_ID_OUTPUT_SAMPLING_FREQUENCY@GOTPAGEOFF]
	ldr	w10, [x21]
	cmp	w9, w1
	add	x2, sp, #8
	ccmp	w10, w1, #4, ne
	b.ne	LBB0_6
; %bb.1:
	mov	x1, x8
	bl	_mkv_read_element_data_float
Lloh4:
	adrp	x8, _VC_CONTAINER_SUCCESS@GOTPAGE
Lloh5:
	ldr	x8, [x8, _VC_CONTAINER_SUCCESS@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_11
; %bb.2:
	ldr	w8, [x22]
	cmp	w8, w19
	b.ne	LBB0_4
; %bb.3:
	ldr	d0, [sp, #8]
	str	d0, [x20]
LBB0_4:
	ldr	w8, [x21]
	cmp	w8, w19
	b.ne	LBB0_11
; %bb.5:
	ldr	d0, [sp, #8]
	str	d0, [x20, #8]
	b	LBB0_11
LBB0_6:
	mov	x1, x8
	bl	_mkv_read_element_data_uint
Lloh7:
	adrp	x8, _VC_CONTAINER_SUCCESS@GOTPAGE
Lloh8:
	ldr	x8, [x8, _VC_CONTAINER_SUCCESS@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_11
; %bb.7:
	cmp	w19, #129
	b.eq	LBB0_10
; %bb.8:
	cmp	w19, #128
	b.ne	LBB0_11
; %bb.9:
	ldr	x8, [sp, #8]
	str	x8, [x20, #24]
	b	LBB0_11
LBB0_10:
	ldr	x8, [sp, #8]
	str	x8, [x20, #16]
LBB0_11:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_VC_CONTAINER_SUCCESS,8,3       ; @VC_CONTAINER_SUCCESS
	.comm	_MKV_ELEMENT_ID_SAMPLING_FREQUENCY,4,2 ; @MKV_ELEMENT_ID_SAMPLING_FREQUENCY
	.comm	_MKV_ELEMENT_ID_OUTPUT_SAMPLING_FREQUENCY,4,2 ; @MKV_ELEMENT_ID_OUTPUT_SAMPLING_FREQUENCY
	.no_dead_strip	_mkv_read_subelements_audio
.subsections_via_symbols
