	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mp4_read_box_soun_damr
_mp4_read_box_soun_damr:                ## @mp4_read_box_soun_damr
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	8(%rdi), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %r14
	leaq	L_.str(%rip), %rsi
	callq	_MP4_SKIP_FOURCC
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_MP4_SKIP_U8
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_MP4_SKIP_U8
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_MP4_SKIP_U8
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	callq	_MP4_SKIP_U8
	movq	(%r14), %rcx
	movq	8(%rcx), %rax
	movl	$1, (%rax)
	movq	(%rcx), %rdx
	movq	_VC_CONTAINER_CODEC_AMRNB@GOTPCREL(%rip), %rsi
	movl	$8000, %ecx                     ## imm = 0x1F40
	cmpq	(%rsi), %rdx
	je	LBB0_2
## %bb.1:
	movq	_VC_CONTAINER_CODEC_AMRWB@GOTPCREL(%rip), %rsi
	movl	$16000, %ecx                    ## imm = 0x3E80
	cmpq	(%rsi), %rdx
	jne	LBB0_3
LBB0_2:
	movl	%ecx, 4(%rax)
LBB0_3:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_STREAM_STATUS                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"vendor"

L_.str.1:                               ## @.str.1
	.asciz	"version"

L_.str.2:                               ## @.str.2
	.asciz	"mode_set"

L_.str.3:                               ## @.str.3
	.asciz	"mode_change_period"

L_.str.4:                               ## @.str.4
	.asciz	"frame_per_second"

	.comm	_VC_CONTAINER_CODEC_AMRNB,8,3   ## @VC_CONTAINER_CODEC_AMRNB
	.comm	_VC_CONTAINER_CODEC_AMRWB,8,3   ## @VC_CONTAINER_CODEC_AMRWB
	.no_dead_strip	_mp4_read_box_soun_damr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mp4_read_box_soun_damr
_mp4_read_box_soun_damr:                ; @mp4_read_box_soun_damr
	.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
	ldp	x9, x8, [x0]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x20, [x9, x8, lsl #3]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_MP4_SKIP_FOURCC
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_MP4_SKIP_U8
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_MP4_SKIP_U8
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_MP4_SKIP_U8
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_MP4_SKIP_U8
	ldr	x9, [x20]
	mov	w10, #1
	ldp	x9, x8, [x9]
	str	w10, [x8]
Lloh10:
	adrp	x10, _VC_CONTAINER_CODEC_AMRNB@GOTPAGE
Lloh11:
	ldr	x10, [x10, _VC_CONTAINER_CODEC_AMRNB@GOTPAGEOFF]
Lloh12:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_2
; %bb.1:
	mov	w9, #8000
	b	LBB0_4
LBB0_2:
Lloh13:
	adrp	x10, _VC_CONTAINER_CODEC_AMRWB@GOTPAGE
Lloh14:
	ldr	x10, [x10, _VC_CONTAINER_CODEC_AMRWB@GOTPAGEOFF]
Lloh15:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_5
; %bb.3:
	mov	w9, #16000
LBB0_4:
	str	w9, [x8, #4]
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_STREAM_STATUS
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"vendor"

l_.str.1:                               ; @.str.1
	.asciz	"version"

l_.str.2:                               ; @.str.2
	.asciz	"mode_set"

l_.str.3:                               ; @.str.3
	.asciz	"mode_change_period"

l_.str.4:                               ; @.str.4
	.asciz	"frame_per_second"

	.comm	_VC_CONTAINER_CODEC_AMRNB,8,3   ; @VC_CONTAINER_CODEC_AMRNB
	.comm	_VC_CONTAINER_CODEC_AMRWB,8,3   ; @VC_CONTAINER_CODEC_AMRWB
	.no_dead_strip	_mp4_read_box_soun_damr
.subsections_via_symbols
