	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function aiff_write_header
_aiff_write_header:                     ## @aiff_write_header
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	16(%rdi), %r9
	movq	24(%rdi), %r15
	movl	$-1, (%r15)
	movl	(%rdi), %eax
	testl	%eax, %eax
	jle	LBB0_7
## %bb.1:
	movq	8(%r12), %rcx
	movq	_AVMEDIA_TYPE_AUDIO@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	_AVMEDIA_TYPE_VIDEO@GOTPCREL(%rip), %rsi
	movq	(%rsi), %r8
	movl	$-1, %esi
	xorl	%ebx, %ebx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%r8, %rdi
	jne	LBB0_9
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	cmpq	%rbx, %rax
	je	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rcx,%rbx,8), %rdi
	movq	(%rdi), %rdi
	movq	(%rdi), %rdi
	testl	%esi, %esi
	jns	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rdx, %rdi
	jne	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, (%r15)
	movl	%ebx, %esi
	jmp	LBB0_5
LBB0_6:
	testl	%esi, %esi
	js	LBB0_7
## %bb.12:
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	movq	8(%r12), %rax
	movl	%esi, %ecx
	movq	(%rax,%rcx,8), %rax
	movq	(%rax), %rbx
	movq	8(%rbx), %r14
	testq	%r14, %r14
	je	LBB0_11
## %bb.13:
	movl	$78, %edi
	movl	$79, %esi
	movl	$78, %edx
	movl	$69, %ecx
	callq	_MKTAG
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	cmpq	%rax, %r14
	leaq	L_.str.4(%rip), %rax
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	leaq	L_.str.3(%rip), %r13
	cmoveq	%rax, %r13
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rbx
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	callq	_ffio_wfourcc
	movq	%r12, %rdi
	callq	_avio_tell
	movq	%rax, 24(%r15)
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_avio_wb32
	movq	%r12, %rdi
	movq	%rbx, %r12
	movq	%r13, %rsi
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	callq	_ffio_wfourcc
	cmpq	-48(%rbp), %r14                 ## 8-byte Folded Reload
	je	LBB0_17
## %bb.14:
	cmpl	$0, 16(%r13)
	je	LBB0_15
## %bb.16:
	leaq	L_.str.6(%rip), %rsi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_ffio_wfourcc
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_avio_wb32
	movq	%rbx, %rdi
	movl	$-1568648896, %esi              ## imm = 0xA2805140
	callq	_avio_wb32
LBB0_17:
	cmpl	$3, 20(%r13)
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	jl	LBB0_20
## %bb.18:
	cmpq	$0, 48(%r13)
	je	LBB0_20
## %bb.19:
	leaq	L_.str.7(%rip), %rsi
	movq	%rbx, %rdi
	callq	_ffio_wfourcc
	movq	%rbx, %rdi
	movl	$12, %esi
	callq	_avio_wb32
	movq	48(%r13), %rsi
	movq	%rbx, %rdi
	callq	_ff_mov_write_chan
LBB0_20:
	movl	$78, %edi
	movl	$65, %esi
	movl	$77, %edx
	movl	$69, %ecx
	callq	_MKTAG
	leaq	L_.str.8(%rip), %rsi
	movq	%r12, %rdi
	movq	%rax, %rdx
	callq	_put_meta
	movl	$65, %edi
	movl	$85, %esi
	movl	$84, %edx
	movl	$72, %ecx
	callq	_MKTAG
	leaq	L_.str.9(%rip), %rsi
	movq	%r12, %rdi
	movq	%rax, %rdx
	callq	_put_meta
	movl	$40, %edi
	movl	$99, %esi
	movl	$41, %edx
	movl	$32, %ecx
	callq	_MKTAG
	leaq	L_.str.10(%rip), %rsi
	movq	%r12, %rdi
	movq	%rax, %rdx
	callq	_put_meta
	movl	$65, %edi
	movl	$78, %esi
	movl	$78, %edx
	movl	$79, %ecx
	callq	_MKTAG
	leaq	L_.str.11(%rip), %rsi
	movq	%r12, %rdi
	movq	%rax, %rdx
	callq	_put_meta
	leaq	L_.str.12(%rip), %rsi
	movq	%rbx, %rdi
	callq	_ffio_wfourcc
	cmpq	-48(%rbp), %r14                 ## 8-byte Folded Reload
	movl	$18, %eax
	movl	$24, %esi
	cmovel	%eax, %esi
	movq	%rbx, %rdi
	callq	_avio_wb32
	movl	20(%r13), %esi
	movq	%rbx, %rdi
	callq	_avio_wb16
	movq	%rbx, %rdi
	callq	_avio_tell
	movq	%rax, 16(%r15)
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_avio_wb32
	movl	24(%r13), %esi
	testl	%esi, %esi
	jne	LBB0_23
## %bb.21:
	movl	40(%r13), %edi
	callq	_av_get_bits_per_sample
	movl	%eax, %esi
	movl	%eax, 24(%r13)
	testl	%eax, %eax
	je	LBB0_22
LBB0_23:
	cmpl	$0, 16(%r13)
	jne	LBB0_25
## %bb.24:
	movl	20(%r13), %eax
	imull	%esi, %eax
	sarl	$3, %eax
	movl	%eax, 16(%r13)
LBB0_25:
	movq	%rbx, %rdi
	callq	_avio_wb16
	movl	32(%r13), %edi
	callq	_av_double2int
	movq	%rbx, %rdi
	callq	_avio_wb16
	movl	$1, %edi
	callq	_UINT64_C
	movq	%rbx, %rdi
	callq	_avio_wb64
	cmpq	-48(%rbp), %r14                 ## 8-byte Folded Reload
	je	LBB0_27
## %bb.26:
	movq	8(%r13), %rsi
	movq	%rbx, %rdi
	callq	_avio_wl32
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_avio_wb16
LBB0_27:
	movq	8(%r13), %r14
	movl	$81, %edi
	movl	$68, %esi
	movl	$77, %edx
	movl	$50, %ecx
	callq	_MKTAG
	cmpq	%rax, %r14
	je	LBB0_29
## %bb.28:
	movq	8(%r13), %r14
	movl	$81, %edi
	movl	$99, %esi
	movl	$108, %edx
	movl	$112, %ecx
	callq	_MKTAG
	cmpq	%rax, %r14
	jne	LBB0_31
LBB0_29:
	cmpl	$0, 28(%r13)
	je	LBB0_31
## %bb.30:
	leaq	L_.str.14(%rip), %rsi
	movq	%rbx, %rdi
	callq	_ffio_wfourcc
	movl	28(%r13), %esi
	movq	%rbx, %rdi
	callq	_avio_wb32
	movl	28(%r13), %edx
	movl	36(%r13), %esi
	movq	%rbx, %rdi
	callq	_avio_write
LBB0_31:
	leaq	L_.str.15(%rip), %rsi
	movq	%rbx, %rdi
	callq	_ffio_wfourcc
	movq	%rbx, %rdi
	callq	_avio_tell
	movq	%rax, 8(%r15)
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_avio_wb32
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_avio_wb32
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_avio_wb32
	movq	8(%r12), %rax
	movslq	(%r15), %rcx
	movq	(%rax,%rcx,8), %rdi
	movq	(%rdi), %rax
	movl	32(%rax), %ecx
	movl	$64, %esi
	movl	$1, %edx
	callq	_avpriv_set_pts_info
	movq	%rbx, %rdi
	callq	_avio_flush
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_10
LBB0_9:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
LBB0_10:
	movq	%r12, %rdi
	callq	_av_log
LBB0_11:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_15:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.5(%rip), %rdx
	jmp	LBB0_10
LBB0_22:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.13(%rip), %rdx
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_AVMEDIA_TYPE_AUDIO,8,3         ## @AVMEDIA_TYPE_AUDIO
	.comm	_AVMEDIA_TYPE_VIDEO,8,3         ## @AVMEDIA_TYPE_VIDEO
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"AIFF allows only one audio stream and a picture.\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"No audio stream present.\n"

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

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

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

L_.str.5:                               ## @.str.5
	.asciz	"block align not set\n"

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

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

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

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

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

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

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

L_.str.13:                              ## @.str.13
	.asciz	"could not compute bits per sample\n"

L_.str.14:                              ## @.str.14
	.asciz	"wave"

L_.str.15:                              ## @.str.15
	.asciz	"SSND"

	.no_dead_strip	_aiff_write_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function aiff_write_header
_aiff_write_header:                     ; @aiff_write_header
	.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
	mov	x19, x0
	ldp	x20, x23, [x0, #16]
	mov	w8, #-1
	str	w8, [x23]
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_26
; %bb.1:
	mov	x9, #0
Lloh0:
	adrp	x11, _AVMEDIA_TYPE_AUDIO@GOTPAGE
Lloh1:
	ldr	x11, [x11, _AVMEDIA_TYPE_AUDIO@GOTPAGEOFF]
	ldr	x10, [x19, #8]
Lloh2:
	ldr	x11, [x11]
Lloh3:
	adrp	x12, _AVMEDIA_TYPE_VIDEO@GOTPAGE
Lloh4:
	ldr	x12, [x12, _AVMEDIA_TYPE_VIDEO@GOTPAGEOFF]
Lloh5:
	ldr	x13, [x12]
	mov	w12, #-1
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	x14, x13
	b.ne	LBB0_27
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x9, x9, #1
	cmp	x8, x9
	b.eq	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x14, [x10, x9, lsl #3]
	ldr	x14, [x14]
	ldr	x14, [x14]
	tbz	w12, #31, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	x14, x11
	b.ne	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	str	w9, [x23]
	mov	x12, x9
	b	LBB0_3
LBB0_7:
	tbnz	w12, #31, LBB0_26
; %bb.8:
	ldr	x8, [x19, #8]
	ldr	x8, [x8, w12, uxtw #3]
	ldr	x24, [x8]
	ldr	x25, [x24, #8]
	cbz	x25, LBB0_29
; %bb.9:
	mov	w0, #78
	mov	w1, #79
	mov	w2, #78
	mov	w3, #69
	bl	_MKTAG
	mov	x21, x0
Lloh6:
	adrp	x8, l_.str.3@PAGE
Lloh7:
	add	x8, x8, l_.str.3@PAGEOFF
Lloh8:
	adrp	x9, l_.str.4@PAGE
Lloh9:
	add	x9, x9, l_.str.4@PAGEOFF
	cmp	x25, x0
	csel	x22, x9, x8, eq
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_ffio_wfourcc
	mov	x0, x20
	bl	_avio_tell
	str	x0, [x23, #24]
	mov	x0, x20
	mov	w1, #0
	bl	_avio_wb32
	mov	x0, x20
	mov	x1, x22
	bl	_ffio_wfourcc
	cmp	x25, x21
	b.eq	LBB0_12
; %bb.10:
	ldr	w8, [x24, #16]
	cbz	w8, LBB0_30
; %bb.11:
Lloh12:
	adrp	x1, l_.str.6@PAGE
Lloh13:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x20
	bl	_ffio_wfourcc
	mov	x0, x20
	mov	w1, #4
	bl	_avio_wb32
	mov	x0, x20
	mov	w1, #20800
	movk	w1, #41600, lsl #16
	bl	_avio_wb32
LBB0_12:
	ldr	w8, [x24, #20]
	cmp	w8, #3
	b.lt	LBB0_15
; %bb.13:
	ldr	x8, [x24, #48]
	cbz	x8, LBB0_15
; %bb.14:
Lloh14:
	adrp	x1, l_.str.7@PAGE
Lloh15:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x20
	bl	_ffio_wfourcc
	mov	x0, x20
	mov	w1, #12
	bl	_avio_wb32
	ldr	x1, [x24, #48]
	mov	x0, x20
	bl	_ff_mov_write_chan
LBB0_15:
	mov	w0, #78
	mov	w1, #65
	mov	w2, #77
	mov	w3, #69
	bl	_MKTAG
	mov	x2, x0
Lloh16:
	adrp	x1, l_.str.8@PAGE
Lloh17:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x19
	bl	_put_meta
	mov	w0, #65
	mov	w1, #85
	mov	w2, #84
	mov	w3, #72
	bl	_MKTAG
	mov	x2, x0
Lloh18:
	adrp	x1, l_.str.9@PAGE
Lloh19:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x19
	bl	_put_meta
	mov	w0, #40
	mov	w1, #99
	mov	w2, #41
	mov	w3, #32
	bl	_MKTAG
	mov	x2, x0
Lloh20:
	adrp	x1, l_.str.10@PAGE
Lloh21:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x19
	bl	_put_meta
	mov	w0, #65
	mov	w1, #78
	mov	w2, #78
	mov	w3, #79
	bl	_MKTAG
	mov	x2, x0
Lloh22:
	adrp	x1, l_.str.11@PAGE
Lloh23:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x0, x19
	bl	_put_meta
Lloh24:
	adrp	x1, l_.str.12@PAGE
Lloh25:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x0, x20
	bl	_ffio_wfourcc
	cmp	x25, x21
	mov	w8, #24
	mov	w9, #18
	csel	w1, w9, w8, eq
	mov	x0, x20
	bl	_avio_wb32
	ldr	w1, [x24, #20]
	mov	x0, x20
	bl	_avio_wb16
	mov	x0, x20
	bl	_avio_tell
	str	x0, [x23, #16]
	mov	x0, x20
	mov	w1, #0
	bl	_avio_wb32
	ldr	w1, [x24, #24]
	cbnz	w1, LBB0_17
; %bb.16:
	ldr	w0, [x24, #40]
	bl	_av_get_bits_per_sample
	mov	x1, x0
	str	w0, [x24, #24]
	cbz	w0, LBB0_31
LBB0_17:
	ldr	w8, [x24, #16]
	cbnz	w8, LBB0_19
; %bb.18:
	ldr	w8, [x24, #20]
	mul	w8, w8, w1
	asr	w8, w8, #3
	str	w8, [x24, #16]
LBB0_19:
	mov	x0, x20
	bl	_avio_wb16
	ldr	w0, [x24, #32]
	bl	_av_double2int
	mov	x0, x20
	bl	_avio_wb16
	mov	w0, #1
	bl	_UINT64_C
	mov	x0, x20
	bl	_avio_wb64
	cmp	x25, x21
	b.eq	LBB0_21
; %bb.20:
	ldr	x1, [x24, #8]
	mov	x0, x20
	bl	_avio_wl32
	mov	x0, x20
	mov	w1, #0
	bl	_avio_wb16
LBB0_21:
	ldr	x21, [x24, #8]
	mov	w0, #81
	mov	w1, #68
	mov	w2, #77
	mov	w3, #50
	bl	_MKTAG
	cmp	x21, x0
	b.eq	LBB0_23
; %bb.22:
	ldr	x21, [x24, #8]
	mov	w0, #81
	mov	w1, #99
	mov	w2, #108
	mov	w3, #112
	bl	_MKTAG
	cmp	x21, x0
	b.ne	LBB0_25
LBB0_23:
	ldr	w8, [x24, #28]
	cbz	w8, LBB0_25
; %bb.24:
Lloh26:
	adrp	x1, l_.str.14@PAGE
Lloh27:
	add	x1, x1, l_.str.14@PAGEOFF
	mov	x0, x20
	bl	_ffio_wfourcc
	ldr	w1, [x24, #28]
	mov	x0, x20
	bl	_avio_wb32
	ldr	w1, [x24, #36]
	ldr	w2, [x24, #28]
	mov	x0, x20
	bl	_avio_write
LBB0_25:
Lloh28:
	adrp	x1, l_.str.15@PAGE
Lloh29:
	add	x1, x1, l_.str.15@PAGEOFF
	mov	x0, x20
	bl	_ffio_wfourcc
	mov	x0, x20
	bl	_avio_tell
	str	x0, [x23, #8]
	mov	x0, x20
	mov	w1, #0
	bl	_avio_wb32
	mov	x0, x20
	mov	w1, #0
	bl	_avio_wb32
	mov	x0, x20
	mov	w1, #0
	bl	_avio_wb32
	ldr	x8, [x19, #8]
	ldrsw	x9, [x23]
	ldr	x0, [x8, x9, lsl #3]
	ldr	x8, [x0]
	ldr	w3, [x8, #32]
	mov	w1, #64
	mov	w2, #1
	bl	_avpriv_set_pts_info
	mov	x0, x20
	bl	_avio_flush
	mov	w0, #0
	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_26:
Lloh30:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh31:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
Lloh33:
	adrp	x2, l_.str.1@PAGE
Lloh34:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_28
LBB0_27:
Lloh35:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh36:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
Lloh38:
	adrp	x2, l_.str@PAGE
Lloh39:
	add	x2, x2, l_.str@PAGEOFF
LBB0_28:
	mov	x0, x19
	bl	_av_log
LBB0_29:
Lloh40:
	adrp	x8, _EINVAL@GOTPAGE
Lloh41:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh42:
	ldr	w0, [x8]
	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	_AVERROR
LBB0_30:
Lloh43:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh44:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh45:
	ldr	w1, [x8]
Lloh46:
	adrp	x2, l_.str.5@PAGE
Lloh47:
	add	x2, x2, l_.str.5@PAGEOFF
	b	LBB0_28
LBB0_31:
Lloh48:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh49:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh50:
	ldr	w1, [x8]
Lloh51:
	adrp	x2, l_.str.13@PAGE
Lloh52:
	add	x2, x2, l_.str.13@PAGEOFF
	b	LBB0_28
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.cfi_endproc
                                        ; -- End function
	.comm	_AVMEDIA_TYPE_AUDIO,8,3         ; @AVMEDIA_TYPE_AUDIO
	.comm	_AVMEDIA_TYPE_VIDEO,8,3         ; @AVMEDIA_TYPE_VIDEO
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"AIFF allows only one audio stream and a picture.\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"No audio stream present.\n"

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

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

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

l_.str.5:                               ; @.str.5
	.asciz	"block align not set\n"

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

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

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

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

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

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

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

l_.str.13:                              ; @.str.13
	.asciz	"could not compute bits per sample\n"

l_.str.14:                              ; @.str.14
	.asciz	"wave"

l_.str.15:                              ; @.str.15
	.asciz	"SSND"

	.no_dead_strip	_aiff_write_header
.subsections_via_symbols
