	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function flac_probe
_flac_probe:                            ## @flac_probe
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rdi
	callq	_AV_RB16
	andl	$65534, %eax                    ## imm = 0xFFFE
	cmpl	$65528, %eax                    ## imm = 0xFFF8
	jne	LBB0_1
## %bb.13:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_raw_flac_probe                 ## TAILCALL
LBB0_1:
	xorl	%r14d, %r14d
	cmpl	$21, 8(%rbx)
	jl	LBB0_12
## %bb.2:
	movq	(%rbx), %rdi
	movl	16(%rdi), %r13d
	addq	$20, %rdi
	callq	_AV_RB24
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	(%rbx), %rdi
	addq	$32, %rdi
	callq	_AV_RB16
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	(%rbx), %rdi
	addq	$40, %rdi
	callq	_AV_RB16
	movl	%eax, %r12d
	movq	(%rbx), %rdi
	addq	$72, %rdi
	callq	_AV_RB24
	movl	%eax, %r15d
	movq	(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	movl	$4, %edx
	callq	_memcmp
	testq	%rax, %rax
	jne	LBB0_12
## %bb.3:
	movl	%r15d, %edx
	movl	%r12d, %ecx
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	movl	-48(%rbp), %r12d                ## 4-byte Reload
	andl	$127, %r13d
	movq	_FLAC_METADATA_TYPE_STREAMINFO@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	jne	LBB0_10
## %bb.4:
	movq	_FLAC_STREAMINFO_SIZE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	jne	LBB0_10
## %bb.5:
	cmpl	$16, %r15d
	jl	LBB0_10
## %bb.6:
	cmpl	%r15d, %ecx
	jl	LBB0_10
## %bb.7:
	cmpl	$16, %edx
	jb	LBB0_10
## %bb.8:
	cmpl	$10485615, %edx                 ## imm = 0x9FFF6F
	jg	LBB0_10
## %bb.9:
	movq	_AVPROBE_SCORE_MAX@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_10:
	movq	_AVPROBE_SCORE_EXTENSION@GOTPCREL(%rip), %rax
LBB0_11:
	movl	(%rax), %r14d
LBB0_12:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fLaC"

	.comm	_FLAC_METADATA_TYPE_STREAMINFO,4,2 ## @FLAC_METADATA_TYPE_STREAMINFO
	.comm	_FLAC_STREAMINFO_SIZE,4,2       ## @FLAC_STREAMINFO_SIZE
	.comm	_AVPROBE_SCORE_MAX,4,2          ## @AVPROBE_SCORE_MAX
	.comm	_AVPROBE_SCORE_EXTENSION,4,2    ## @AVPROBE_SCORE_EXTENSION
	.no_dead_strip	_flac_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function flac_probe
_flac_probe:                            ; @flac_probe
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	ldr	x0, [x0]
	bl	_AV_RB16
	and	w8, w0, #0xfffe
	mov	w9, #65528
	cmp	w8, w9
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_raw_flac_probe
LBB0_2:
	ldr	w8, [x19, #8]
	cmp	w8, #21
	b.lt	LBB0_4
; %bb.3:
	ldr	x8, [x19]
	ldr	w24, [x8, #16]
	add	x0, x8, #20
	bl	_AV_RB24
	mov	x20, x0
	ldr	x8, [x19]
	add	x0, x8, #32
	bl	_AV_RB16
	mov	x21, x0
	ldr	x8, [x19]
	add	x0, x8, #40
	bl	_AV_RB16
	mov	x22, x0
	ldr	x8, [x19]
	add	x0, x8, #72
	bl	_AV_RB24
	mov	x23, x0
	ldr	x0, [x19]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #4
	bl	_memcmp
	cbz	x0, LBB0_6
LBB0_4:
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_6:
	and	w8, w24, #0x7f
Lloh2:
	adrp	x9, _FLAC_METADATA_TYPE_STREAMINFO@GOTPAGE
Lloh3:
	ldr	x9, [x9, _FLAC_METADATA_TYPE_STREAMINFO@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_8
; %bb.7:
Lloh5:
	adrp	x8, _FLAC_STREAMINFO_SIZE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FLAC_STREAMINFO_SIZE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w20, w8
	ccmp	w21, #16, #8, eq
	ccmp	w22, w21, #8, ge
	ccmp	w23, #16, #0, ge
	mov	w8, #65391
	movk	w8, #159, lsl #16
	ccmp	w23, w8, #0, hs
	b.le	LBB0_10
LBB0_8:
Lloh8:
	adrp	x8, _AVPROBE_SCORE_EXTENSION@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AVPROBE_SCORE_EXTENSION@GOTPAGEOFF]
LBB0_9:
	ldr	w0, [x8]
	b	LBB0_5
LBB0_10:
Lloh10:
	adrp	x8, _AVPROBE_SCORE_MAX@GOTPAGE
Lloh11:
	ldr	x8, [x8, _AVPROBE_SCORE_MAX@GOTPAGEOFF]
	b	LBB0_9
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fLaC"

	.comm	_FLAC_METADATA_TYPE_STREAMINFO,4,2 ; @FLAC_METADATA_TYPE_STREAMINFO
	.comm	_FLAC_STREAMINFO_SIZE,4,2       ; @FLAC_STREAMINFO_SIZE
	.comm	_AVPROBE_SCORE_MAX,4,2          ; @AVPROBE_SCORE_MAX
	.comm	_AVPROBE_SCORE_EXTENSION,4,2    ; @AVPROBE_SCORE_EXTENSION
	.no_dead_strip	_flac_probe
.subsections_via_symbols
