	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function process_audio_header_eacs
_process_audio_header_eacs:             ## @process_audio_header_eacs
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rdi), %rbx
	movq	8(%rdi), %r12
	cmpq	$0, 16(%r12)
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_avio_rb32
	jmp	LBB0_3
LBB0_2:
	movq	%rbx, %rdi
	callq	_avio_rl32
LBB0_3:
	movl	%eax, 24(%r12)
	movq	%rbx, %rdi
	callq	_avio_r8
	movl	%eax, (%r12)
	movq	%rbx, %rdi
	callq	_avio_r8
	movq	%rax, 8(%r12)
	movq	%rbx, %rdi
	callq	_avio_r8
	movq	%rax, %r15
	movq	%rbx, %rdi
	movl	$13, %esi
	callq	_avio_skip
	cmpl	$2, %r15d
	je	LBB0_11
## %bb.4:
	cmpl	$1, %r15d
	je	LBB0_13
## %bb.5:
	testl	%r15d, %r15d
	jne	LBB0_12
## %bb.6:
	movl	(%r12), %eax
	cmpl	$2, %eax
	je	LBB0_10
## %bb.7:
	cmpl	$1, %eax
	jne	LBB0_14
## %bb.8:
	movq	_AV_CODEC_ID_PCM_S8@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_13:
	movq	_AV_CODEC_ID_PCM_MULAW@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r12)
	movl	$1, (%r12)
	jmp	LBB0_14
LBB0_11:
	movq	_AV_CODEC_ID_ADPCM_IMA_EA_EACS@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_12:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%r15d, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_avpriv_request_sample          ## TAILCALL
LBB0_10:
	movq	_AV_CODEC_ID_PCM_S16LE@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %eax
	movl	%eax, 4(%r12)
LBB0_14:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_CODEC_ID_PCM_S8,4,2         ## @AV_CODEC_ID_PCM_S8
	.comm	_AV_CODEC_ID_PCM_S16LE,4,2      ## @AV_CODEC_ID_PCM_S16LE
	.comm	_AV_CODEC_ID_PCM_MULAW,4,2      ## @AV_CODEC_ID_PCM_MULAW
	.comm	_AV_CODEC_ID_ADPCM_IMA_EA_EACS,4,2 ## @AV_CODEC_ID_ADPCM_IMA_EA_EACS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"stream type; audio compression_type=%i"

	.no_dead_strip	_process_audio_header_eacs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function process_audio_header_eacs
_process_audio_header_eacs:             ; @process_audio_header_eacs
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x0
	ldp	x20, x22, [x0]
	ldr	x8, [x22, #16]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_avio_rb32
	b	LBB0_3
LBB0_2:
	mov	x0, x20
	bl	_avio_rl32
LBB0_3:
	str	w0, [x22, #24]
	mov	x0, x20
	bl	_avio_r8
	str	w0, [x22]
	mov	x0, x20
	bl	_avio_r8
	str	x0, [x22, #8]
	mov	x0, x20
	bl	_avio_r8
	mov	x21, x0
	mov	x0, x20
	mov	w1, #13
	bl	_avio_skip
	cmp	w21, #2
	b.eq	LBB0_10
; %bb.4:
	cmp	w21, #1
	b.eq	LBB0_9
; %bb.5:
	cbnz	w21, LBB0_11
; %bb.6:
	ldr	w8, [x22]
	cmp	w8, #2
	b.eq	LBB0_12
; %bb.7:
	cmp	w8, #1
	b.ne	LBB0_14
; %bb.8:
Lloh0:
	adrp	x8, _AV_CODEC_ID_PCM_S8@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_CODEC_ID_PCM_S8@GOTPAGEOFF]
	b	LBB0_13
LBB0_9:
Lloh2:
	adrp	x8, _AV_CODEC_ID_PCM_MULAW@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AV_CODEC_ID_PCM_MULAW@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	mov	w9, #1
	stp	w9, w8, [x22]
	b	LBB0_14
LBB0_10:
Lloh5:
	adrp	x8, _AV_CODEC_ID_ADPCM_IMA_EA_EACS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AV_CODEC_ID_ADPCM_IMA_EA_EACS@GOTPAGEOFF]
	b	LBB0_13
LBB0_11:
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_avpriv_request_sample
LBB0_12:
Lloh9:
	adrp	x8, _AV_CODEC_ID_PCM_S16LE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AV_CODEC_ID_PCM_S16LE@GOTPAGEOFF]
LBB0_13:
	ldr	w8, [x8]
	str	w8, [x22, #4]
LBB0_14:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_CODEC_ID_PCM_S8,4,2         ; @AV_CODEC_ID_PCM_S8
	.comm	_AV_CODEC_ID_PCM_S16LE,4,2      ; @AV_CODEC_ID_PCM_S16LE
	.comm	_AV_CODEC_ID_PCM_MULAW,4,2      ; @AV_CODEC_ID_PCM_MULAW
	.comm	_AV_CODEC_ID_ADPCM_IMA_EA_EACS,4,2 ; @AV_CODEC_ID_ADPCM_IMA_EA_EACS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"stream type; audio compression_type=%i"

	.no_dead_strip	_process_audio_header_eacs
.subsections_via_symbols
