	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mp4_write_box_soun
_mp4_write_box_soun:                    ## @mp4_write_box_soun
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	(%rdi), %rax
	movq	8(%rdi), %rcx
	movq	(%rcx), %r13
	movq	(%r13), %rcx
	movq	(%rax,%rcx,8), %r12
	leaq	L_.str(%rip), %rbx
	xorl	%esi, %esi
	movq	%rbx, %rdx
	callq	_WRITE_U8
	movq	%r15, %rdi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	callq	_WRITE_U8
	movq	%r15, %rdi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	callq	_WRITE_U8
	movq	%r15, %rdi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	callq	_WRITE_U8
	movq	%r15, %rdi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	callq	_WRITE_U8
	movq	%r15, %rdi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	callq	_WRITE_U8
	leaq	L_.str.1(%rip), %rdx
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_WRITE_U16
	movq	8(%r13), %rax
	movq	_MP4_BRAND_QT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	(%r12), %rax
	xorl	%r14d, %r14d
	cmpl	$129, (%rax)
	sete	%r14b
	leaq	L_.str.2(%rip), %rdx
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_WRITE_U16
	leaq	L_.str.3(%rip), %rdx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_WRITE_U16
	leaq	L_.str.4(%rip), %rbx
	jmp	LBB0_3
LBB0_1:
	xorl	%r14d, %r14d
	movq	%r15, %rdi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	callq	_WRITE_U32
LBB0_3:
	movq	%r15, %rdi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	callq	_WRITE_U32
	movq	(%r12), %rax
	movq	8(%rax), %rax
	movl	(%rax), %esi
	leaq	L_.str.5(%rip), %rdx
	movq	%r15, %rdi
	callq	_WRITE_U16
	leaq	L_.str.6(%rip), %rdx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_WRITE_U16
	leaq	L_.str.7(%rip), %rdx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_WRITE_U16
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_WRITE_U16
	movq	(%r12), %rax
	movq	8(%rax), %rax
	movl	4(%rax), %esi
	shll	$16, %esi
	leaq	L_.str.8(%rip), %rdx
	movq	%r15, %rdi
	callq	_WRITE_U32
	testb	%r14b, %r14b
	je	LBB0_6
## %bb.4:
	movq	_MP4_BRAND_QT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, 8(%r13)
	jne	LBB0_6
## %bb.5:
	leaq	L_.str.9(%rip), %rdx
	movq	%r15, %rdi
	movl	$1024, %esi                     ## imm = 0x400
	callq	_WRITE_U32
	leaq	L_.str.10(%rip), %rdx
	movq	%r15, %rdi
	movl	$1536, %esi                     ## imm = 0x600
	callq	_WRITE_U32
	leaq	L_.str.11(%rip), %rdx
	movq	%r15, %rdi
	movl	$2, %esi
	callq	_WRITE_U32
	leaq	L_.str.12(%rip), %rdx
	movq	%r15, %rdi
	movl	$2, %esi
	callq	_WRITE_U32
LBB0_6:
	movq	(%r12), %rax
	movl	(%rax), %eax
	addl	$-128, %eax
	cmpl	$5, %eax
	ja	LBB0_12
## %bb.7:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_11:
	movq	_MP4_BOX_TYPE_ESDS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mp4_write_box                  ## TAILCALL
LBB0_8:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mp4_write_box_soun_damr        ## TAILCALL
LBB0_12:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_STREAM_STATUS                  ## TAILCALL
LBB0_10:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mp4_write_box_soun_devc        ## TAILCALL
LBB0_9:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mp4_write_box_soun_dawp        ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_10
	.long	L0_0_set_9
	.long	L0_0_set_8
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"reserved"

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

	.comm	_MP4_BRAND_QT,8,3               ## @MP4_BRAND_QT
L_.str.2:                               ## @.str.2
	.asciz	"version"

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

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

L_.str.5:                               ## @.str.5
	.asciz	"channelcount"

L_.str.6:                               ## @.str.6
	.asciz	"samplesize"

L_.str.7:                               ## @.str.7
	.asciz	"pre_defined"

L_.str.8:                               ## @.str.8
	.asciz	"samplerate"

L_.str.9:                               ## @.str.9
	.asciz	"samples_per_packet"

L_.str.10:                              ## @.str.10
	.asciz	"bytes_per_packet"

L_.str.11:                              ## @.str.11
	.asciz	"bytes_per_frame"

L_.str.12:                              ## @.str.12
	.asciz	"bytes_per_sample"

	.comm	_MP4_BOX_TYPE_ESDS,4,2          ## @MP4_BOX_TYPE_ESDS
	.no_dead_strip	_mp4_write_box_soun
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mp4_write_box_soun
_mp4_write_box_soun:                    ; @mp4_write_box_soun
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	ldp	x9, x8, [x0]
	ldr	x23, [x8]
	ldr	x8, [x23]
	ldr	x22, [x9, x8, lsl #3]
Lloh0:
	adrp	x20, l_.str@PAGE
Lloh1:
	add	x20, x20, l_.str@PAGEOFF
	mov	w1, #0
	mov	x2, x20
	bl	_WRITE_U8
	mov	x0, x19
	mov	w1, #0
	mov	x2, x20
	bl	_WRITE_U8
	mov	x0, x19
	mov	w1, #0
	mov	x2, x20
	bl	_WRITE_U8
	mov	x0, x19
	mov	w1, #0
	mov	x2, x20
	bl	_WRITE_U8
	mov	x0, x19
	mov	w1, #0
	mov	x2, x20
	bl	_WRITE_U8
	mov	x0, x19
	mov	w1, #0
	mov	x2, x20
	bl	_WRITE_U8
Lloh2:
	adrp	x2, l_.str.1@PAGE
Lloh3:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w1, #1
	bl	_WRITE_U16
	ldr	x8, [x23, #8]
Lloh4:
	adrp	x24, _MP4_BRAND_QT@GOTPAGE
Lloh5:
	ldr	x24, [x24, _MP4_BRAND_QT@GOTPAGEOFF]
	ldr	x9, [x24]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [x22]
	ldr	w8, [x8]
	cmp	w8, #129
	cset	w20, eq
Lloh6:
	adrp	x2, l_.str.2@PAGE
Lloh7:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	bl	_WRITE_U16
Lloh8:
	adrp	x2, l_.str.3@PAGE
Lloh9:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	w1, #0
	bl	_WRITE_U16
Lloh10:
	adrp	x21, l_.str.4@PAGE
Lloh11:
	add	x21, x21, l_.str.4@PAGEOFF
	b	LBB0_3
LBB0_2:
Lloh12:
	adrp	x21, l_.str@PAGE
Lloh13:
	add	x21, x21, l_.str@PAGEOFF
	mov	x0, x19
	mov	w1, #0
	mov	x2, x21
	bl	_WRITE_U32
	mov	w20, #0
LBB0_3:
	mov	x0, x19
	mov	w1, #0
	mov	x2, x21
	bl	_WRITE_U32
	ldr	x8, [x22]
	ldr	x8, [x8, #8]
	ldr	w1, [x8]
Lloh14:
	adrp	x2, l_.str.5@PAGE
Lloh15:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_WRITE_U16
Lloh16:
	adrp	x2, l_.str.6@PAGE
Lloh17:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x0, x19
	mov	w1, #0
	bl	_WRITE_U16
Lloh18:
	adrp	x2, l_.str.7@PAGE
Lloh19:
	add	x2, x2, l_.str.7@PAGEOFF
	mov	x0, x19
	mov	w1, #0
	bl	_WRITE_U16
Lloh20:
	adrp	x2, l_.str@PAGE
Lloh21:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	mov	w1, #0
	bl	_WRITE_U16
	ldr	x8, [x22]
	ldr	x8, [x8, #8]
	ldr	w8, [x8, #4]
	lsl	w1, w8, #16
Lloh22:
	adrp	x2, l_.str.8@PAGE
Lloh23:
	add	x2, x2, l_.str.8@PAGEOFF
	mov	x0, x19
	bl	_WRITE_U32
	cbz	w20, LBB0_6
; %bb.4:
	ldr	x8, [x23, #8]
	ldr	x9, [x24]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.5:
Lloh24:
	adrp	x2, l_.str.9@PAGE
Lloh25:
	add	x2, x2, l_.str.9@PAGEOFF
	mov	x0, x19
	mov	w1, #1024
	bl	_WRITE_U32
Lloh26:
	adrp	x2, l_.str.10@PAGE
Lloh27:
	add	x2, x2, l_.str.10@PAGEOFF
	mov	x0, x19
	mov	w1, #1536
	bl	_WRITE_U32
Lloh28:
	adrp	x2, l_.str.11@PAGE
Lloh29:
	add	x2, x2, l_.str.11@PAGEOFF
	mov	x0, x19
	mov	w1, #2
	bl	_WRITE_U32
Lloh30:
	adrp	x2, l_.str.12@PAGE
Lloh31:
	add	x2, x2, l_.str.12@PAGEOFF
	mov	x0, x19
	mov	w1, #2
	bl	_WRITE_U32
LBB0_6:
	ldr	x8, [x22]
	ldr	w8, [x8]
	sub	w8, w8, #128
	cmp	w8, #5
	b.hi	LBB0_10
; %bb.7:
Lloh32:
	adrp	x9, lJTI0_0@PAGE
Lloh33:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_8
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_8:
Lloh34:
	adrp	x8, _MP4_BOX_TYPE_ESDS@GOTPAGE
Lloh35:
	ldr	x8, [x8, _MP4_BOX_TYPE_ESDS@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
	mov	x0, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_mp4_write_box
LBB0_9:
	mov	x0, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_mp4_write_box_soun_damr
LBB0_10:
	mov	x0, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_STREAM_STATUS
LBB0_11:
	mov	x0, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_mp4_write_box_soun_devc
LBB0_12:
	mov	x0, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_mp4_write_box_soun_dawp
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_11-LBB0_8)>>2
	.byte	(LBB0_12-LBB0_8)>>2
	.byte	(LBB0_9-LBB0_8)>>2
	.byte	(LBB0_9-LBB0_8)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"reserved"

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

	.comm	_MP4_BRAND_QT,8,3               ; @MP4_BRAND_QT
l_.str.2:                               ; @.str.2
	.asciz	"version"

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

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

l_.str.5:                               ; @.str.5
	.asciz	"channelcount"

l_.str.6:                               ; @.str.6
	.asciz	"samplesize"

l_.str.7:                               ; @.str.7
	.asciz	"pre_defined"

l_.str.8:                               ; @.str.8
	.asciz	"samplerate"

l_.str.9:                               ; @.str.9
	.asciz	"samples_per_packet"

l_.str.10:                              ; @.str.10
	.asciz	"bytes_per_packet"

l_.str.11:                              ; @.str.11
	.asciz	"bytes_per_frame"

l_.str.12:                              ; @.str.12
	.asciz	"bytes_per_sample"

	.comm	_MP4_BOX_TYPE_ESDS,4,2          ; @MP4_BOX_TYPE_ESDS
	.no_dead_strip	_mp4_write_box_soun
.subsections_via_symbols
