	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function send_ipack
_send_ipack:                            ## @send_ipack
	.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
	movl	(%rdi), %eax
	cmpl	$1, %eax
	je	LBB0_18
## %bb.1:
	cmpl	$2, %eax
	jne	LBB0_20
## %bb.2:
	cmpl	$10, 4(%rbx)
	jl	LBB0_20
## %bb.3:
	movl	16(%rbx), %eax
	movq	8(%rbx), %rdi
	movl	%eax, 12(%rdi)
	movl	$65530, %eax                    ## imm = 0xFFFA
	addl	4(%rbx), %eax
	movzbl	%ah, %eax
	movl	%eax, 16(%rdi)
	movl	$250, %eax
	addl	4(%rbx), %eax
	movzbl	%al, %eax
	movl	%eax, 20(%rdi)
	cmpl	$0, 32(%rbx)
	je	LBB0_4
## %bb.5:
	movl	16(%rbx), %eax
	movq	_PRIVATE_STREAM1@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_4
## %bb.6:
	movslq	32(%rdi), %r14
	movl	36(%rdi,%r14,4), %eax
	movl	%eax, %r13d
	andl	$248, %eax
	cmpl	$128, %eax
	jne	LBB0_7
## %bb.8:
	movl	$0, -44(%rbp)
	movl	44(%rdi,%r14,4), %edx
	shll	$8, %edx
	movl	48(%rdi,%r14,4), %r15d
	orl	%r15d, %edx
	movl	4(%rbx), %eax
	movl	%eax, %esi
	subl	%edx, %esi
	jle	LBB0_9
## %bb.10:
	leaq	(%rdi,%r14,4), %rax
	addq	$36, %rax
	movq	%rdx, %r12
	leal	(%rax,%rdx,4), %edi
	addl	$12, %edi
	leaq	-48(%rbp), %rdx
	xorl	%ecx, %ecx
	callq	_dvb_filter_get_ac3info
	testl	%eax, %eax
	je	LBB0_12
## %bb.11:
	movq	8(%rbx), %rdi
	jmp	LBB0_14
LBB0_18:
	cmpl	$8, 4(%rbx)
	jl	LBB0_20
## %bb.19:
	movl	16(%rbx), %eax
	movq	8(%rbx), %rdi
	movl	%eax, 12(%rdi)
	movl	$65530, %eax                    ## imm = 0xFFFA
	addl	4(%rbx), %eax
	movzbl	%ah, %eax
	movl	%eax, 16(%rdi)
	movl	$250, %eax
	addl	4(%rbx), %eax
	movzbl	%al, %eax
	movl	%eax, 20(%rdi)
	movl	4(%rbx), %esi
	movl	20(%rbx), %edx
	callq	*24(%rbx)
	movq	8(%rbx), %rax
	movl	$15, 24(%rax)
	movl	$7, 4(%rbx)
	jmp	LBB0_20
LBB0_4:
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
LBB0_14:
	movl	4(%rbx), %esi
	movl	20(%rbx), %edx
	callq	*24(%rbx)
	movq	8(%rbx), %rax
	movq	$128, 24(%rax)
	movl	$0, 32(%rax)
	movl	$9, 4(%rbx)
	cmpl	$0, 32(%rbx)
	je	LBB0_20
## %bb.15:
	movl	16(%rbx), %ecx
	movq	_PRIVATE_STREAM1@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_20
## %bb.16:
	movl	%r13d, %ecx
	andl	$248, %ecx
	cmpl	$128, %ecx
	jne	LBB0_20
## %bb.17:
	movl	$13, 4(%rbx)
	movl	%r13d, 36(%rax)
	movq	%r12, %rdx
	movzbl	%dh, %ecx
	movl	%ecx, 40(%rax)
	movzbl	%dl, %ecx
	movl	%ecx, 44(%rax)
	movl	$0, 48(%rax)
LBB0_20:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	xorl	%r12d, %r12d
	jmp	LBB0_14
LBB0_9:
                                        ## implicit-def: $ecx
	jmp	LBB0_13
LBB0_12:
	movl	4(%rbx), %eax
	movl	-48(%rbp), %ecx
	movq	8(%rbx), %rdi
	movq	%r12, %rdx
LBB0_13:
	movq	%rdx, %rsi
	addl	%r14d, %edx
	subl	%edx, %eax
	addl	$-12, %eax
	cltd
	idivl	%ecx
	incl	%eax
	movq	%rsi, %rdx
	movzbl	%dh, %ecx
	movl	%ecx, 44(%rdi,%r14,4)
	movzbl	%r15b, %ecx
	movl	%ecx, 48(%rdi,%r14,4)
	movl	%eax, 40(%rdi,%r14,4)
	imull	-48(%rbp), %eax
	movq	%rsi, %r12
	subl	4(%rbx), %r12d
	addl	%eax, %r12d
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_PRIVATE_STREAM1,4,2            ## @PRIVATE_STREAM1
	.no_dead_strip	_send_ipack
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function send_ipack
lCPI0_0:
	.long	128                             ; 0x80
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_send_ipack:                            ; @send_ipack
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	ldr	w8, [x0]
	cmp	w8, #1
	b.eq	LBB0_9
; %bb.1:
	cmp	w8, #2
	b.ne	LBB0_16
; %bb.2:
	ldr	w8, [x19, #4]
	cmp	w8, #10
	b.lt	LBB0_16
; %bb.3:
	ldr	w8, [x19, #16]
	ldr	x0, [x19, #8]
	str	w8, [x0, #12]
	ldr	w8, [x19, #4]
	mov	w9, #65530
	add	w8, w8, w9
	ubfx	w8, w8, #8, #8
	str	w8, [x0, #16]
	ldr	w8, [x19, #4]
	add	w8, w8, #250
	and	w8, w8, #0xff
	str	w8, [x0, #20]
	ldr	w8, [x19, #32]
Lloh0:
	adrp	x20, _PRIVATE_STREAM1@GOTPAGE
Lloh1:
	ldr	x20, [x20, _PRIVATE_STREAM1@GOTPAGEOFF]
	cbz	w8, LBB0_11
; %bb.4:
	ldr	w8, [x19, #16]
	ldr	w9, [x20]
	cmp	w8, w9
	b.ne	LBB0_11
; %bb.5:
	ldr	w23, [x0, #32]
	add	w8, w23, #9
	add	x9, x0, w8, sxtw #2
	ldr	w21, [x9]
	and	w8, w21, #0xf8
	cmp	w8, #128
	b.ne	LBB0_17
; %bb.6:
	str	wzr, [sp, #12]
	add	w25, w23, #11
	ldr	w8, [x0, w25, sxtw #2]
	add	w26, w23, #12
	ldr	w24, [x0, w26, sxtw #2]
	orr	w22, w24, w8, lsl #8
	ldr	w8, [x19, #4]
	subs	w1, w8, w22
	b.le	LBB0_18
; %bb.7:
	add	w8, w9, w22, lsl #2
	add	w0, w8, #12
	add	x2, sp, #8
	mov	w3, #0
	bl	_dvb_filter_get_ac3info
	cbz	w0, LBB0_19
; %bb.8:
	ldr	x0, [x19, #8]
	b	LBB0_12
LBB0_9:
	ldr	w8, [x19, #4]
	cmp	w8, #8
	b.lt	LBB0_16
; %bb.10:
	ldr	w8, [x19, #16]
	ldr	x0, [x19, #8]
	str	w8, [x0, #12]
	ldr	w8, [x19, #4]
	mov	w9, #65530
	add	w8, w8, w9
	ubfx	w8, w8, #8, #8
	str	w8, [x0, #16]
	ldr	w8, [x19, #4]
	add	w8, w8, #250
	and	w8, w8, #0xff
	str	w8, [x0, #20]
	ldr	x8, [x19, #24]
	ldr	w1, [x19, #4]
	ldr	w2, [x19, #20]
	blr	x8
	ldr	x8, [x19, #8]
	mov	w9, #15
	str	w9, [x8, #24]
	mov	w8, #7
	str	w8, [x19, #4]
	b	LBB0_16
LBB0_11:
	mov	w22, #0
	mov	w21, #0
LBB0_12:
	ldr	x8, [x19, #24]
	ldr	w1, [x19, #4]
	ldr	w2, [x19, #20]
	blr	x8
	ldr	x8, [x19, #8]
Lloh2:
	adrp	x9, lCPI0_0@PAGE
Lloh3:
	ldr	d0, [x9, lCPI0_0@PAGEOFF]
	str	d0, [x8, #24]
	str	wzr, [x8, #32]
	mov	w9, #9
	str	w9, [x19, #4]
	ldr	w9, [x19, #32]
	cbz	w9, LBB0_16
; %bb.13:
	ldr	w9, [x19, #16]
	ldr	w10, [x20]
	cmp	w9, w10
	b.ne	LBB0_16
; %bb.14:
	and	w9, w21, #0xf8
	cmp	w9, #128
	b.ne	LBB0_16
; %bb.15:
	mov	w9, #13
	str	w9, [x19, #4]
	ubfx	w9, w22, #8, #8
	stp	w21, w9, [x8, #36]
	and	w9, w22, #0xff
	stp	w9, wzr, [x8, #44]
LBB0_16:
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_17:
	mov	w22, #0
	b	LBB0_12
LBB0_18:
                                        ; implicit-def: $w9
	b	LBB0_20
LBB0_19:
	ldr	w8, [x19, #4]
	ldr	w9, [sp, #8]
	ldr	x0, [x19, #8]
LBB0_20:
	sxtw	x10, w25
	sxtw	x11, w26
	add	w12, w23, w22
	sub	w8, w8, w12
	sub	w8, w8, #12
	sdiv	w8, w8, w9
	add	w8, w8, #1
	ubfx	w9, w22, #8, #8
	str	w9, [x0, x10, lsl #2]
	and	w9, w24, #0xff
	str	w9, [x0, x11, lsl #2]
	add	w9, w23, #10
	str	w8, [x0, w9, sxtw #2]
	ldr	w9, [sp, #8]
	ldr	w10, [x19, #4]
	sub	w10, w22, w10
	madd	w22, w9, w8, w10
	b	LBB0_12
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdr	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_PRIVATE_STREAM1,4,2            ; @PRIVATE_STREAM1
	.no_dead_strip	_send_ipack
.subsections_via_symbols
