	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dvb_filter_get_ac3info         ## -- Begin function dvb_filter_get_ac3info
	.p2align	4, 0x90
_dvb_filter_get_ac3info:                ## @dvb_filter_get_ac3info
	.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
	movl	$-1, %r12d
	testl	%esi, %esi
	jle	LBB0_15
## %bb.1:
	movq	%rdx, %r15
	movl	%esi, %ebx
	movq	%rdi, %r13
	xorl	%r14d, %r14d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r14
	cmpl	%ebx, %r14d
	jge	LBB0_15
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$11, (%r13,%r14,4)
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$119, 4(%r13,%r14,4)
	jne	LBB0_4
## %bb.5:
	testl	%ecx, %ecx
	je	LBB0_7
## %bb.6:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	callq	_printk
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
LBB0_7:
	movl	%r14d, (%r15)
	leal	5(%r14), %eax
	cmpl	%ebx, %eax
	jge	LBB0_15
## %bb.8:
	movq	$0, 16(%r15)
	movl	16(%r13,%r14,4), %edx
	movq	_ac3_bitrates@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	%edx, %r12d
	shrl	%r12d
	andl	$31, %r12d
	movl	(%rax,%r12,4), %esi
	imull	$1000, %esi, %eax               ## imm = 0x3E8
	movl	%eax, 4(%r15)
	testl	%ecx, %ecx
	je	LBB0_10
## %bb.9:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	movl	%ecx, %ebx
	callq	_printk
	movl	%ebx, %ecx
LBB0_10:
	movl	16(%r13,%r14,4), %eax
	shrl	$6, %eax
	andl	$3, %eax
	movl	%eax, 8(%r15)
	movl	16(%r13,%r14,4), %ebx
	shrl	$6, %ebx
	andl	$3, %ebx
	movq	_freq@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	imull	$100, (%rax,%rbx,4), %esi
	movl	%esi, 8(%r15)
	testl	%ecx, %ecx
	je	LBB0_12
## %bb.11:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	movl	%ecx, %r14d
	callq	_printk
	movl	%r14d, %ecx
LBB0_12:
	movq	_ac3_frames@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%rbx,8), %rax
	cmpl	$1, %ebx
	sete	%dl
	andb	-44(%rbp), %dl                  ## 1-byte Folded Reload
	movzbl	%dl, %esi
	addl	(%rax,%r12,4), %esi
	addl	%esi, %esi
	movl	%esi, 12(%r15)
	testl	%ecx, %ecx
	je	LBB0_13
## %bb.14:
	leaq	L_.str.3(%rip), %rdi
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_printk
	jmp	LBB0_15
LBB0_13:
	xorl	%r12d, %r12d
LBB0_15:
	movl	%r12d, %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	"Audiostream: AC3"

	.comm	_ac3_bitrates,8,3               ## @ac3_bitrates
L_.str.1:                               ## @.str.1
	.asciz	"  BRate: %d kb/s"

	.comm	_freq,8,3                       ## @freq
L_.str.2:                               ## @.str.2
	.asciz	"  Freq: %d Hz\n"

	.comm	_ac3_frames,8,3                 ## @ac3_frames
L_.str.3:                               ## @.str.3
	.asciz	"  Framesize %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dvb_filter_get_ac3info         ; -- Begin function dvb_filter_get_ac3info
	.p2align	2
_dvb_filter_get_ac3info:                ; @dvb_filter_get_ac3info
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	cmp	w1, #1
	b.lt	LBB0_15
; %bb.1:
	mov	x19, x3
	mov	x20, x2
	mov	x22, x1
	mov	x21, x0
	mov	x23, #0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x23, x23, #1
	cmp	w23, w22
	b.ge	LBB0_15
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x21, x23, lsl #2]
	cmp	w8, #11
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x21, x23, lsl #2
	ldr	w8, [x8, #4]
	cmp	w8, #119
	b.ne	LBB0_2
; %bb.5:
	cbz	w19, LBB0_7
; %bb.6:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printk
LBB0_7:
	str	w23, [x20]
	add	w8, w23, #5
	cmp	w8, w22
	b.ge	LBB0_15
; %bb.8:
	str	xzr, [x20, #16]
	add	x23, x21, x23, lsl #2
	ldr	w21, [x23, #16]
Lloh2:
	adrp	x8, _ac3_bitrates@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ac3_bitrates@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	ubfx	x22, x21, #1, #5
	ldr	w8, [x8, x22, lsl #2]
	mov	w9, #1000
	mul	w9, w8, w9
	str	w9, [x20, #4]
	cbz	w19, LBB0_10
; %bb.9:
	str	x8, [sp]
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printk
LBB0_10:
	ldr	w8, [x23, #16]
	ubfx	w8, w8, #6, #2
	str	w8, [x20, #8]
	ldr	w8, [x23, #16]
	ubfx	x23, x8, #6, #2
Lloh7:
	adrp	x8, _freq@GOTPAGE
Lloh8:
	ldr	x8, [x8, _freq@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	ldr	w8, [x8, x23, lsl #2]
	mov	w9, #100
	mul	w8, w8, w9
	str	w8, [x20, #8]
	cbz	w19, LBB0_12
; %bb.11:
	str	x8, [sp]
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printk
LBB0_12:
Lloh12:
	adrp	x8, _ac3_frames@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ac3_frames@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	ldr	x8, [x8, x23, lsl #3]
	ldr	w8, [x8, x22, lsl #2]
	cmp	w23, #1
	cset	w9, eq
	and	w9, w21, w9
	add	w8, w8, w9
	lsl	w8, w8, #1
	str	w8, [x20, #12]
	cbz	w19, LBB0_14
; %bb.13:
	str	x8, [sp]
Lloh15:
	adrp	x0, l_.str.3@PAGE
Lloh16:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_printk
LBB0_14:
	mov	w0, #0
	b	LBB0_16
LBB0_15:
	mov	w0, #-1
LBB0_16:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Audiostream: AC3"

	.comm	_ac3_bitrates,8,3               ; @ac3_bitrates
l_.str.1:                               ; @.str.1
	.asciz	"  BRate: %d kb/s"

	.comm	_freq,8,3                       ; @freq
l_.str.2:                               ; @.str.2
	.asciz	"  Freq: %d Hz\n"

	.comm	_ac3_frames,8,3                 ; @ac3_frames
l_.str.3:                               ; @.str.3
	.asciz	"  Framesize %d\n"

.subsections_via_symbols
