	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function asf_write_waveformatex
_asf_write_waveformatex:                ## @asf_write_waveformatex
	.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	%rsi, %rbx
	movq	%rdi, %r14
	movq	(%rsi), %rax
	movl	20(%rax), %edi
	callq	_codec_to_waveformat
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_WRITE_U16
	movq	(%rbx), %rax
	movq	8(%rax), %rax
	movl	12(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	callq	_WRITE_U16
	movq	(%rbx), %rax
	movq	8(%rax), %rax
	movl	8(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	movq	%r14, %rdi
	callq	_WRITE_U32
	movq	(%rbx), %rax
	movl	16(%rax), %esi
	leaq	L_.str.3(%rip), %rdx
	movq	%r14, %rdi
	callq	_WRITE_U32
	movq	(%rbx), %rax
	movq	8(%rax), %rax
	movl	4(%rax), %esi
	leaq	L_.str.4(%rip), %rdx
	movq	%r14, %rdi
	callq	_WRITE_U16
	movq	(%rbx), %rax
	movq	8(%rax), %rax
	movl	(%rax), %esi
	leaq	L_.str.5(%rip), %rdx
	movq	%r14, %rdi
	callq	_WRITE_U16
	movq	(%rbx), %rax
	movl	(%rax), %esi
	leaq	L_.str.6(%rip), %rdx
	movq	%r14, %rdi
	callq	_WRITE_U16
	movq	(%rbx), %rax
	movl	(%rax), %edx
	movl	4(%rax), %esi
	movq	%r14, %rdi
	callq	_WRITE_BYTES
	movq	_VC_CONTAINER_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Codec ID"

L_.str.1:                               ## @.str.1
	.asciz	"Number of Channels"

L_.str.2:                               ## @.str.2
	.asciz	"Samples per Second"

L_.str.3:                               ## @.str.3
	.asciz	"Average Number of Bytes Per Second"

L_.str.4:                               ## @.str.4
	.asciz	"Block Alignment"

L_.str.5:                               ## @.str.5
	.asciz	"Bits Per Sample"

L_.str.6:                               ## @.str.6
	.asciz	"Codec Specific Data Size"

	.comm	_VC_CONTAINER_SUCCESS,4,2       ## @VC_CONTAINER_SUCCESS
	.no_dead_strip	_asf_write_waveformatex
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function asf_write_waveformatex
_asf_write_waveformatex:                ; @asf_write_waveformatex
	.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	x20, x1
	mov	x19, x0
	ldr	x8, [x1]
	ldr	w0, [x8, #20]
	bl	_codec_to_waveformat
	mov	x1, x0
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_WRITE_U16
	ldr	x8, [x20]
	ldr	x8, [x8, #8]
	ldr	w1, [x8, #12]
Lloh2:
	adrp	x2, l_.str.1@PAGE
Lloh3:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_WRITE_U16
	ldr	x8, [x20]
	ldr	x8, [x8, #8]
	ldr	w1, [x8, #8]
Lloh4:
	adrp	x2, l_.str.2@PAGE
Lloh5:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_WRITE_U32
	ldr	x8, [x20]
	ldr	w1, [x8, #16]
Lloh6:
	adrp	x2, l_.str.3@PAGE
Lloh7:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_WRITE_U32
	ldr	x8, [x20]
	ldr	x8, [x8, #8]
	ldr	w1, [x8, #4]
Lloh8:
	adrp	x2, l_.str.4@PAGE
Lloh9:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_WRITE_U16
	ldr	x8, [x20]
	ldr	x8, [x8, #8]
	ldr	w1, [x8]
Lloh10:
	adrp	x2, l_.str.5@PAGE
Lloh11:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_WRITE_U16
	ldr	x8, [x20]
	ldr	w1, [x8]
Lloh12:
	adrp	x2, l_.str.6@PAGE
Lloh13:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_WRITE_U16
	ldr	x8, [x20]
	ldp	w2, w1, [x8]
	mov	x0, x19
	bl	_WRITE_BYTES
Lloh14:
	adrp	x8, _VC_CONTAINER_SUCCESS@GOTPAGE
Lloh15:
	ldr	x8, [x8, _VC_CONTAINER_SUCCESS@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Codec ID"

l_.str.1:                               ; @.str.1
	.asciz	"Number of Channels"

l_.str.2:                               ; @.str.2
	.asciz	"Samples per Second"

l_.str.3:                               ; @.str.3
	.asciz	"Average Number of Bytes Per Second"

l_.str.4:                               ; @.str.4
	.asciz	"Block Alignment"

l_.str.5:                               ; @.str.5
	.asciz	"Bits Per Sample"

l_.str.6:                               ; @.str.6
	.asciz	"Codec Specific Data Size"

	.comm	_VC_CONTAINER_SUCCESS,4,2       ; @VC_CONTAINER_SUCCESS
	.no_dead_strip	_asf_write_waveformatex
.subsections_via_symbols
