	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_mpa_decode_header           ## -- Begin function ff_mpa_decode_header
	.p2align	4, 0x90
_ff_mpa_decode_header:                  ## @ff_mpa_decode_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	%r9, %rbx
	movq	%r8, %r14
	movq	%rcx, %r12
	movq	%rdx, %r15
	movq	%rsi, %r13
	movl	%edi, %esi
	leaq	-64(%rbp), %rdi
	callq	_avpriv_mpegaudio_decode_header
	movq	%rax, %rcx
	movl	$-1, %eax
	testq	%rcx, %rcx
	jne	LBB0_9
## %bb.1:
	movl	-64(%rbp), %eax
	cmpl	$2, %eax
	je	LBB0_4
## %bb.2:
	cmpl	$1, %eax
	jne	LBB0_5
## %bb.3:
	movq	_AV_CODEC_ID_MP1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movl	$384, %eax                      ## imm = 0x180
	jmp	LBB0_8
LBB0_4:
	movq	_AV_CODEC_ID_MP2@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movl	$1152, %eax                     ## imm = 0x480
	jmp	LBB0_8
LBB0_5:
	movl	(%rbx), %eax
	movq	_AV_CODEC_ID_MP3ADU@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_7
## %bb.6:
	movq	_AV_CODEC_ID_MP3@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
LBB0_7:
	cmpl	$0, -44(%rbp)
	movl	$1152, %ecx                     ## imm = 0x480
	movl	$576, %eax                      ## imm = 0x240
	cmovel	%ecx, %eax
LBB0_8:
	movl	%eax, (%r12)
	movl	-60(%rbp), %eax
	movl	%eax, (%r13)
	movl	-56(%rbp), %eax
	movl	%eax, (%r15)
	movl	-52(%rbp), %eax
	movl	%eax, (%r14)
	movl	-48(%rbp), %eax
LBB0_9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_CODEC_ID_MP1,4,2            ## @AV_CODEC_ID_MP1
	.comm	_AV_CODEC_ID_MP2,4,2            ## @AV_CODEC_ID_MP2
	.comm	_AV_CODEC_ID_MP3ADU,4,2         ## @AV_CODEC_ID_MP3ADU
	.comm	_AV_CODEC_ID_MP3,4,2            ## @AV_CODEC_ID_MP3
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_mpa_decode_header           ; -- Begin function ff_mpa_decode_header
	.p2align	2
_ff_mpa_decode_header:                  ; @ff_mpa_decode_header
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x23, x5
	mov	x19, x4
	mov	x22, x3
	mov	x20, x2
	mov	x21, x1
	mov	x1, x0
	add	x0, sp, #8
	bl	_avpriv_mpegaudio_decode_header
	cbz	x0, LBB0_2
; %bb.1:
	mov	w0, #-1
	b	LBB0_10
LBB0_2:
	ldr	w8, [sp, #8]
	cmp	w8, #2
	b.eq	LBB0_5
; %bb.3:
	cmp	w8, #1
	b.ne	LBB0_6
; %bb.4:
Lloh0:
	adrp	x8, _AV_CODEC_ID_MP1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_CODEC_ID_MP1@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x23]
	mov	w8, #384
	b	LBB0_9
LBB0_5:
Lloh3:
	adrp	x8, _AV_CODEC_ID_MP2@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AV_CODEC_ID_MP2@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x23]
	mov	w8, #1152
	b	LBB0_9
LBB0_6:
	ldr	w8, [x23]
Lloh6:
	adrp	x9, _AV_CODEC_ID_MP3ADU@GOTPAGE
Lloh7:
	ldr	x9, [x9, _AV_CODEC_ID_MP3ADU@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_8
; %bb.7:
Lloh9:
	adrp	x8, _AV_CODEC_ID_MP3@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AV_CODEC_ID_MP3@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x23]
LBB0_8:
	ldr	w8, [sp, #28]
	mov	w9, #576
	mov	w10, #1152
	cmp	w8, #0
	csel	w8, w10, w9, eq
LBB0_9:
	str	w8, [x22]
	ldp	w8, w9, [sp, #12]
	str	w8, [x21]
	str	w9, [x20]
	ldp	w8, w0, [sp, #20]
	str	w8, [x19]
LBB0_10:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_CODEC_ID_MP1,4,2            ; @AV_CODEC_ID_MP1
	.comm	_AV_CODEC_ID_MP2,4,2            ; @AV_CODEC_ID_MP2
	.comm	_AV_CODEC_ID_MP3ADU,4,2         ; @AV_CODEC_ID_MP3ADU
	.comm	_AV_CODEC_ID_MP3,4,2            ; @AV_CODEC_ID_MP3
.subsections_via_symbols
