	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check
_check:                                 ## @check
	.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
	subq	$48, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_avio_seek
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$4, %edx
	callq	_avio_read
	cmpl	$3, %eax
	jg	LBB0_3
LBB0_1:
	movq	_CHECK_SEEK_FAILED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_9
LBB0_3:
	leaq	-48(%rbp), %rdi
	callq	_AV_RB32
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_ff_mpa_check_header
	testq	%rax, %rax
	js	LBB0_4
## %bb.5:
	leaq	-56(%rbp), %rdi
	movl	%ebx, %esi
	callq	_avpriv_mpegaudio_decode_header
	cmpl	$1, %eax
	jne	LBB0_6
LBB0_4:
	movq	_CHECK_WRONG_HEADER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_9
LBB0_6:
	testq	%r14, %r14
	je	LBB0_8
## %bb.7:
	movl	%ebx, (%r14)
LBB0_8:
	movl	-56(%rbp), %eax
LBB0_9:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-24(%rbp), %rcx
	jne	LBB0_11
## %bb.10:
	addq	$48, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
	.comm	_CHECK_SEEK_FAILED,4,2          ## @CHECK_SEEK_FAILED
	.comm	_CHECK_WRONG_HEADER,4,2         ## @CHECK_WRONG_HEADER
	.no_dead_strip	_check
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check
_check:                                 ; @check
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x2
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
Lloh3:
	adrp	x8, _SEEK_SET@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SEEK_SET@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	bl	_avio_seek
	tbnz	w0, #31, LBB0_2
; %bb.1:
	add	x1, sp, #8
	mov	x0, x20
	mov	w2, #4
	bl	_avio_read
	cmp	w0, #3
	b.gt	LBB0_3
LBB0_2:
Lloh6:
	adrp	x8, _CHECK_SEEK_FAILED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CHECK_SEEK_FAILED@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	b	LBB0_9
LBB0_3:
	add	x0, sp, #8
	bl	_AV_RB32
	mov	x20, x0
	bl	_ff_mpa_check_header
	tbnz	x0, #63, LBB0_5
; %bb.4:
	mov	x0, sp
	mov	x1, x20
	bl	_avpriv_mpegaudio_decode_header
	cmp	w0, #1
	b.ne	LBB0_6
LBB0_5:
Lloh9:
	adrp	x8, _CHECK_WRONG_HEADER@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CHECK_WRONG_HEADER@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	b	LBB0_9
LBB0_6:
	cbz	x19, LBB0_8
; %bb.7:
	str	w20, [x19]
LBB0_8:
	ldr	w0, [sp]
LBB0_9:
	ldr	x8, [sp, #24]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.10:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
	.comm	_CHECK_SEEK_FAILED,4,2          ; @CHECK_SEEK_FAILED
	.comm	_CHECK_WRONG_HEADER,4,2         ; @CHECK_WRONG_HEADER
	.no_dead_strip	_check
.subsections_via_symbols
