	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fdtv_ca_pmt
_fdtv_ca_pmt:                           ## @fdtv_ca_pmt
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rsi), %r11
	movl	12(%r11), %edx
	movl	$4, %ecx
	testb	$-128, %dl
	je	LBB0_11
## %bb.1:
	movq	%rdx, %r8
	andq	$127, %r8
	je	LBB0_2
## %bb.3:
	movl	%edx, %r10d
	andl	$127, %r10d
	leaq	-1(%r10), %rcx
	movl	%edx, %r9d
	andl	$3, %r9d
	cmpq	$3, %rcx
	jae	LBB0_5
## %bb.4:
	xorl	%edx, %edx
	movl	$4, %ecx
	jmp	LBB0_7
LBB0_2:
	xorl	%edx, %edx
	jmp	LBB0_11
LBB0_5:
	andl	$-4, %r10d
	negq	%r10
	xorl	%edx, %edx
	movl	$4, %esi
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	shll	$8, %edx
	addl	(%r11,%rsi,4), %edx
	shll	$8, %edx
	addl	4(%r11,%rsi,4), %edx
	shll	$8, %edx
	addl	8(%r11,%rsi,4), %edx
	shll	$8, %edx
	leaq	4(%rsi), %rcx
	addl	12(%r11,%rsi,4), %edx
	leaq	(%r10,%rsi), %rax
	addq	$4, %rax
	movq	%rcx, %rsi
	cmpq	$4, %rax
	jne	LBB0_6
LBB0_7:
	addq	$4, %r8
	testq	%r9, %r9
	je	LBB0_10
## %bb.8:
	leaq	(%r11,%rcx,4), %rcx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	shll	$8, %edx
	addl	(%rcx,%rsi,4), %edx
	incq	%rsi
	cmpq	%rsi, %r9
	jne	LBB0_9
LBB0_10:
	movq	%r8, %rcx
LBB0_11:
	leaq	(%r11,%rcx,4), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	popq	%rbp
	jmp	_avc_ca_pmt                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_fdtv_ca_pmt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fdtv_ca_pmt
_fdtv_ca_pmt:                           ; @fdtv_ca_pmt
	.cfi_startproc
; %bb.0:
	ldr	x8, [x1]
	ldr	w2, [x8, #12]
	tbz	w2, #7, LBB0_6
; %bb.1:
	and	x9, x2, #0x7f
	cbz	w9, LBB0_5
; %bb.2:
	add	x9, x9, #4
	add	x10, x8, #16
                                        ; kill: def $w2 killed $w2 killed $x2 def $x2
	and	x11, x2, #0x7f
	mov	w2, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x10], #4
	add	w2, w12, w2, lsl #8
	subs	x11, x11, #1
	b.ne	LBB0_3
; %bb.4:
	add	x1, x8, x9, lsl #2
                                        ; kill: def $w2 killed $w2 killed $x2
	b	_avc_ca_pmt
LBB0_5:
	mov	w2, #0
LBB0_6:
	mov	w9, #4
	add	x1, x8, x9, lsl #2
                                        ; kill: def $w2 killed $w2 killed $x2
	b	_avc_ca_pmt
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_fdtv_ca_pmt
.subsections_via_symbols
