	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function oma_read_probe
_oma_read_probe:                        ## @oma_read_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	(%rdi), %r14
	movl	8(%rdi), %eax
	movq	_ID3v2_HEADER_SIZE@GOTPCREL(%rip), %rcx
	xorl	%r15d, %r15d
	cmpl	(%rcx), %eax
	jb	LBB0_3
## %bb.1:
	movq	_ID3v2_EA3_MAGIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_ff_id3v2_match
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%r14, %rdi
	callq	_ff_id3v2_tag_len
	movl	%eax, %r15d
LBB0_3:
	leal	5(%r15), %eax
	cmpl	%eax, 8(%rbx)
	jae	LBB0_7
## %bb.4:
	testl	%r15d, %r15d
	je	LBB0_5
## %bb.6:
	movq	_AVPROBE_SCORE_EXTENSION@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ecx, %eax
	shrl	$31, %eax
	addl	%ecx, %eax
	sarl	%eax
	jmp	LBB0_11
LBB0_7:
	movl	%r15d, %eax
	leaq	(%r14,%rax,8), %rbx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	$3, %edx
	callq	_memcmp
	movl	%eax, %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	jne	LBB0_11
## %bb.8:
	cmpq	$0, 32(%rbx)
	jne	LBB0_11
## %bb.9:
	movq	40(%rbx), %rcx
	movq	_EA3_HEADER_SIZE@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	jne	LBB0_11
## %bb.10:
	movq	_AVPROBE_SCORE_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_11
LBB0_5:
	xorl	%eax, %eax
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ID3v2_HEADER_SIZE,4,2          ## @ID3v2_HEADER_SIZE
	.comm	_ID3v2_EA3_MAGIC,4,2            ## @ID3v2_EA3_MAGIC
	.comm	_AVPROBE_SCORE_EXTENSION,4,2    ## @AVPROBE_SCORE_EXTENSION
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EA3"

	.comm	_EA3_HEADER_SIZE,8,3            ## @EA3_HEADER_SIZE
	.comm	_AVPROBE_SCORE_MAX,4,2          ## @AVPROBE_SCORE_MAX
	.no_dead_strip	_oma_read_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function oma_read_probe
_oma_read_probe:                        ; @oma_read_probe
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
	ldr	x19, [x0]
	ldr	w8, [x0, #8]
Lloh0:
	adrp	x9, _ID3v2_HEADER_SIZE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ID3v2_HEADER_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	b.hs	LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_4
LBB0_2:
Lloh3:
	adrp	x8, _ID3v2_EA3_MAGIC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ID3v2_EA3_MAGIC@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ff_id3v2_match
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_ff_id3v2_tag_len
LBB0_4:
	ldr	w8, [x20, #8]
	add	w9, w0, #5
	cmp	w8, w9
	b.hs	LBB0_7
; %bb.5:
	cbz	w0, LBB0_10
; %bb.6:
Lloh6:
	adrp	x8, _AVPROBE_SCORE_EXTENSION@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AVPROBE_SCORE_EXTENSION@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w0, w8, #1
	b	LBB0_10
LBB0_7:
	add	x19, x19, w0, uxtw #3
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	w2, #3
	bl	_memcmp
	cbnz	w0, LBB0_9
; %bb.8:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_11
LBB0_9:
	mov	w0, #0
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_11:
	ldr	x8, [x19, #40]
Lloh11:
	adrp	x9, _EA3_HEADER_SIZE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _EA3_HEADER_SIZE@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
Lloh14:
	adrp	x10, _AVPROBE_SCORE_MAX@GOTPAGE
Lloh15:
	ldr	x10, [x10, _AVPROBE_SCORE_MAX@GOTPAGEOFF]
Lloh16:
	ldr	w10, [x10]
	cmp	x8, x9
	csel	w0, w10, wzr, eq
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_ID3v2_HEADER_SIZE,4,2          ; @ID3v2_HEADER_SIZE
	.comm	_ID3v2_EA3_MAGIC,4,2            ; @ID3v2_EA3_MAGIC
	.comm	_AVPROBE_SCORE_EXTENSION,4,2    ; @AVPROBE_SCORE_EXTENSION
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EA3"

	.comm	_EA3_HEADER_SIZE,8,3            ; @EA3_HEADER_SIZE
	.comm	_AVPROBE_SCORE_MAX,4,2          ; @AVPROBE_SCORE_MAX
	.no_dead_strip	_oma_read_probe
.subsections_via_symbols
