	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function avc_ca_pmt
LCPI0_0:
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	31                              ## 0x1f
	.long	255                             ## 0xff
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_avc_ca_pmt
	.p2align	4, 0x90
_avc_ca_pmt:                            ## @avc_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
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	16(%rdi), %r13
	movq	_avc_debug@GOTPCREL(%rip), %rax
	movq	_AVC_DEBUG_APPLICATION_PMT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	andl	(%rax), %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_debug_pmt
LBB0_2:
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	leaq	4(%r14), %r15
	movq	%r15, %rdi
	callq	_mutex_lock
	movq	_AVC_CTYPE_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%r13)
	movq	_AVC_SUBUNIT_TYPE_TUNER@GOTPCREL(%rip), %rax
	movl	(%r14), %ecx
	orl	(%rax), %ecx
	movl	%ecx, (%r13)
	movq	_AVC_OPCODE_VENDOR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r13)
	movb	(%rbx), %al
	movq	_EN50221_LIST_MANAGEMENT_ONLY@GOTPCREL(%rip), %r14
	cmpb	(%r14), %al
	je	LBB0_4
## %bb.3:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_info
	movb	(%r14), %al
	movb	%al, (%rbx)
LBB0_4:
	movsbl	%al, %eax
	movzbl	4(%rbx), %ecx
	andl	$15, %ecx
	shll	$8, %ecx
	movsbl	5(%rbx), %r14d
	addl	%ecx, %r14d
	xorl	%ecx, %ecx
	testl	%r14d, %r14d
	setg	%cl
	subl	%ecx, %r14d
	movq	_SFE_VENDOR_DE_COMPANYID_0@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	8(%r13), %rdi
	movl	%ecx, (%rdi)
	movq	_SFE_VENDOR_DE_COMPANYID_1@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%rdi)
	movq	_SFE_VENDOR_DE_COMPANYID_2@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rdi)
	movq	_SFE_VENDOR_OPCODE_HOST2CA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 12(%rdi)
	movl	$0, 16(%rdi)
	movq	_SFE_VENDOR_TAG_CA_PMT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 20(%rdi)
	movl	$0, 24(%rdi)
	movl	%eax, 40(%rdi)
	movabsq	$8589934593, %rax               ## imm = 0x200000001
	movq	%rax, 44(%rdi)
	movl	$128, 52(%rdi)
	movsbl	1(%rbx), %eax
	movl	%eax, 60(%rdi)
	movsbl	2(%rbx), %eax
	movl	%eax, 64(%rdi)
	movsbl	3(%rbx), %eax
	movl	%eax, 68(%rdi)
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [0,0,31,255]
	movups	%xmm0, 72(%rdi)
	movl	%r14d, %eax
	sarl	$8, %eax
	movl	%eax, 88(%rdi)
	movzbl	%r14b, %eax
	movl	%eax, 92(%rdi)
	testl	%r14d, %r14d
	jle	LBB0_9
## %bb.5:
	movsbl	6(%rbx), %edx
	cmpl	$1, %edx
	je	LBB0_8
## %bb.6:
	cmpb	$4, %dl
	je	LBB0_8
## %bb.7:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_dev_err
	movq	8(%r13), %rdi
LBB0_8:
	addq	$96, %rdi
	leaq	7(%rbx), %rsi
	movl	%r14d, %edx
	callq	_memcpy
	leal	7(%r14), %r12d
	addl	$24, %r14d
	jmp	LBB0_10
LBB0_9:
	movl	$24, %r14d
	movl	$6, %r12d
LBB0_10:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	cmpl	%edi, %r12d
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	jl	LBB0_12
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_12 Depth=1
	movl	%eax, %r12d
	cmpl	%edi, %r12d
	jge	LBB0_18
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movslq	%r12d, %rax
	movsbl	(%rbx,%rax), %esi
	movq	8(%r13), %rcx
	movslq	%r14d, %rdx
	movl	%esi, (%rcx,%rdx,4)
	movsbl	1(%rbx,%rax), %esi
	movl	%esi, 4(%rcx,%rdx,4)
	movsbl	2(%rbx,%rax), %esi
	movl	%esi, 8(%rcx,%rdx,4)
	movzbl	3(%rbx,%rax), %esi
	andl	$15, %esi
	shll	$8, %esi
	movsbl	4(%rbx,%rax), %r15d
	addl	%esi, %r15d
	addq	$5, %rax
	xorl	%esi, %esi
	testl	%r15d, %r15d
	setg	%sil
	subl	%esi, %r15d
	movl	%r15d, %esi
	sarl	$8, %esi
	movl	%esi, 12(%rcx,%rdx,4)
	movzbl	%r15b, %esi
	leal	5(%rdx), %r14d
	movl	%esi, 16(%rcx,%rdx,4)
	testl	%r15d, %r15d
	jle	LBB0_11
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movsbl	(%rbx,%rax), %edx
	cmpl	$1, %edx
	je	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=1
	cmpb	$4, %dl
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_dev_err
LBB0_16:                                ##   in Loop: Header=BB0_12 Depth=1
	movl	%r15d, %eax
	movslq	%r14d, %r14
	movl	$4, %ecx
	subq	%r14, %rcx
	cmpq	%rax, %rcx
	jb	LBB0_22
## %bb.17:                              ##   in Loop: Header=BB0_12 Depth=1
	addl	$6, %r12d
	leaq	(,%r14,4), %rdi
	addq	8(%r13), %rdi
	movslq	%r12d, %r12
	leaq	(%rbx,%r12), %rsi
	movl	%r15d, %edx
	callq	_memcpy
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	addl	%r15d, %r12d
	addl	%r15d, %r14d
	cmpl	%edi, %r12d
	jl	LBB0_12
LBB0_18:
	leal	4(%r14), %r15d
	movq	8(%r13), %rsi
	movl	$130, 28(%rsi)
	leal	-6(%r14), %eax
	movzbl	%al, %ecx
	sarl	$8, %eax
	movl	%eax, 32(%rsi)
	movl	%ecx, 36(%rsi)
	leal	-11(%r14), %eax
	movl	%eax, 56(%rsi)
	movl	48(%rsi), %edx
	addq	$40, %rsi
	decl	%edx
	xorl	%edi, %edi
	callq	_crc32_be
	movl	%eax, %ecx
	movzbl	%ah, %edx
	movzbl	%al, %esi
	shrl	$24, %eax
	movq	8(%r13), %rdi
	movslq	%r14d, %rbx
	movl	%eax, (%rdi,%rbx,4)
	shrl	$16, %ecx
	movzbl	%cl, %eax
	movl	%eax, 4(%rdi,%rbx,4)
	movl	%edx, 8(%rdi,%rbx,4)
	movl	%esi, 12(%rdi,%rbx,4)
	movq	%r13, %rdi
	movl	%r15d, %esi
	callq	_pad_operands
	addl	$7, %ebx
	movl	%ebx, %edi
	movl	$4, %esi
	callq	_ALIGN
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, 12(%rdi)
	callq	_avc_write
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_23
## %bb.19:
	movl	(%r13), %edx
	movq	_AVC_RESPONSE_ACCEPTED@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edx
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_24
## %bb.20:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_dev_err
	movq	_EACCES@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_24
LBB0_22:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_23:
	movq	-64(%rbp), %r14                 ## 8-byte Reload
LBB0_24:
	movq	%r14, %rdi
	callq	_mutex_unlock
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_avc_debug,4,2                  ## @avc_debug
	.comm	_AVC_DEBUG_APPLICATION_PMT,4,2  ## @AVC_DEBUG_APPLICATION_PMT
	.comm	_AVC_CTYPE_CONTROL,4,2          ## @AVC_CTYPE_CONTROL
	.comm	_AVC_SUBUNIT_TYPE_TUNER,4,2     ## @AVC_SUBUNIT_TYPE_TUNER
	.comm	_AVC_OPCODE_VENDOR,4,2          ## @AVC_OPCODE_VENDOR
	.comm	_EN50221_LIST_MANAGEMENT_ONLY,1,0 ## @EN50221_LIST_MANAGEMENT_ONLY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"forcing list_management to ONLY\n"

	.comm	_SFE_VENDOR_DE_COMPANYID_0,4,2  ## @SFE_VENDOR_DE_COMPANYID_0
	.comm	_SFE_VENDOR_DE_COMPANYID_1,4,2  ## @SFE_VENDOR_DE_COMPANYID_1
	.comm	_SFE_VENDOR_DE_COMPANYID_2,4,2  ## @SFE_VENDOR_DE_COMPANYID_2
	.comm	_SFE_VENDOR_OPCODE_HOST2CA,4,2  ## @SFE_VENDOR_OPCODE_HOST2CA
	.comm	_SFE_VENDOR_TAG_CA_PMT,4,2      ## @SFE_VENDOR_TAG_CA_PMT
L_.str.1:                               ## @.str.1
	.asciz	"invalid pmt_cmd_id %d\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.2:                               ## @.str.2
	.asciz	"invalid pmt_cmd_id %d at stream level\n"

	.comm	_AVC_RESPONSE_ACCEPTED,4,2      ## @AVC_RESPONSE_ACCEPTED
L_.str.3:                               ## @.str.3
	.asciz	"CA PMT failed with response 0x%x\n"

	.comm	_EACCES,4,2                     ## @EACCES
.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 avc_ca_pmt
lCPI0_0:
	.long	1                               ; 0x1
	.long	2                               ; 0x2
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4
lCPI0_1:
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	31                              ; 0x1f
	.long	255                             ; 0xff
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_avc_ca_pmt
	.p2align	2
_avc_ca_pmt:                            ; @avc_ca_pmt
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x2
	mov	x23, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _avc_debug@GOTPAGE
Lloh1:
	ldr	x8, [x8, _avc_debug@GOTPAGEOFF]
	ldr	x21, [x0, #16]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _AVC_DEBUG_APPLICATION_PMT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _AVC_DEBUG_APPLICATION_PMT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	and	w0, w9, w8
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x23
	mov	x1, x22
	bl	_debug_pmt
LBB0_2:
	add	x19, x20, #4
	mov	x0, x19
	bl	_mutex_lock
Lloh6:
	adrp	x8, _AVC_CTYPE_CONTROL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AVC_CTYPE_CONTROL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _AVC_SUBUNIT_TYPE_TUNER@GOTPAGE
Lloh10:
	ldr	x9, [x9, _AVC_SUBUNIT_TYPE_TUNER@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	ldr	w10, [x20]
	orr	w9, w10, w9
	str	w9, [x21]
Lloh12:
	adrp	x9, _AVC_OPCODE_VENDOR@GOTPAGE
Lloh13:
	ldr	x9, [x9, _AVC_OPCODE_VENDOR@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	stp	w9, w8, [x21, #16]
	ldrb	w8, [x23]
Lloh15:
	adrp	x24, _EN50221_LIST_MANAGEMENT_ONLY@GOTPAGE
Lloh16:
	ldr	x24, [x24, _EN50221_LIST_MANAGEMENT_ONLY@GOTPAGEOFF]
	ldrb	w9, [x24]
	cmp	w8, w9
	b.eq	LBB0_4
; %bb.3:
	ldr	w0, [x20, #8]
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_info
	ldrb	w8, [x24]
	strb	w8, [x23]
LBB0_4:
	sxtb	w9, w8
	ldrb	w8, [x23, #4]
	and	w8, w8, #0xf
	ldrsb	w10, [x23, #5]
	add	w8, w10, w8, lsl #8
	cmp	w8, #0
	cset	w10, gt
Lloh19:
	adrp	x11, _SFE_VENDOR_DE_COMPANYID_0@GOTPAGE
Lloh20:
	ldr	x11, [x11, _SFE_VENDOR_DE_COMPANYID_0@GOTPAGEOFF]
	sub	w24, w8, w10
Lloh21:
	ldr	w10, [x11]
	ldr	x8, [x21, #8]
	str	w10, [x8]
Lloh22:
	adrp	x10, _SFE_VENDOR_DE_COMPANYID_1@GOTPAGE
Lloh23:
	ldr	x10, [x10, _SFE_VENDOR_DE_COMPANYID_1@GOTPAGEOFF]
Lloh24:
	ldr	w10, [x10]
Lloh25:
	adrp	x11, _SFE_VENDOR_DE_COMPANYID_2@GOTPAGE
Lloh26:
	ldr	x11, [x11, _SFE_VENDOR_DE_COMPANYID_2@GOTPAGEOFF]
Lloh27:
	ldr	w11, [x11]
	stp	w10, w11, [x8, #4]
Lloh28:
	adrp	x10, _SFE_VENDOR_OPCODE_HOST2CA@GOTPAGE
Lloh29:
	ldr	x10, [x10, _SFE_VENDOR_OPCODE_HOST2CA@GOTPAGEOFF]
Lloh30:
	ldr	w10, [x10]
Lloh31:
	adrp	x11, _SFE_VENDOR_TAG_CA_PMT@GOTPAGE
Lloh32:
	ldr	x11, [x11, _SFE_VENDOR_TAG_CA_PMT@GOTPAGEOFF]
	stp	w10, wzr, [x8, #12]
Lloh33:
	ldr	w10, [x11]
	stp	w10, wzr, [x8, #20]
	str	w9, [x8, #40]
Lloh34:
	adrp	x9, lCPI0_0@PAGE
Lloh35:
	ldr	d0, [x9, lCPI0_0@PAGEOFF]
	stur	d0, [x8, #44]
	mov	w9, #128
	str	w9, [x8, #52]
	ldrsb	w9, [x23, #1]
	str	w9, [x8, #60]
	ldrsb	w9, [x23, #2]
	str	w9, [x8, #64]
	ldrsb	w9, [x23, #3]
	str	w9, [x8, #68]
Lloh36:
	adrp	x9, lCPI0_1@PAGE
Lloh37:
	ldr	q0, [x9, lCPI0_1@PAGEOFF]
	stur	q0, [x8, #72]
	asr	w9, w24, #8
	and	w10, w24, #0xff
	stp	w9, w10, [x8, #88]
	cmp	w24, #1
	b.lt	LBB0_17
; %bb.5:
	ldrb	w9, [x23, #6]
	cmp	w9, #1
	b.eq	LBB0_8
; %bb.6:
	cmp	w9, #4
	b.eq	LBB0_8
; %bb.7:
	sxtb	w2, w9
	ldr	w0, [x20, #8]
Lloh38:
	adrp	x1, l_.str.1@PAGE
Lloh39:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_err
	ldr	x8, [x21, #8]
LBB0_8:
	add	x0, x8, #96
	add	x1, x23, #7
	mov	x2, x24
	bl	_memcpy
	add	w8, w24, #7
	add	w9, w24, #24
	cmp	w8, w22
	b.ge	LBB0_18
LBB0_9:
	mov	w27, #4
Lloh40:
	adrp	x24, l_.str.2@PAGE
Lloh41:
	add	x24, x24, l_.str.2@PAGEOFF
	b	LBB0_12
LBB0_10:                                ;   in Loop: Header=BB0_12 Depth=1
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	mov	x9, x26
	cmp	w8, w22
	b.ge	LBB0_19
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	sxtw	x28, w8
	add	x8, x23, x28
	ldrsb	w10, [x8]
	ldr	x11, [x21, #8]
	sxtw	x12, w9
	add	x9, x11, w9, sxtw #2
	str	w10, [x9]
	ldrsb	w10, [x8, #1]
	str	w10, [x9, #4]
	ldrsb	w10, [x8, #2]
	str	w10, [x9, #8]
	ldrb	w10, [x8, #3]
	and	w10, w10, #0xf
	ldrsb	w8, [x8, #4]
	add	w10, w8, w10, lsl #8
	add	x8, x28, #5
	cmp	w10, #0
	cset	w11, gt
	sub	w25, w10, w11
	asr	w10, w25, #8
	and	w11, w25, #0xff
	add	x26, x12, #5
	stp	w10, w11, [x9, #12]
	cmp	w25, #1
	b.lt	LBB0_10
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	ldrb	w8, [x23, x8]
	cmp	w8, #1
	ccmp	w8, #4, #4, ne
	b.eq	LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=1
	sxtb	w2, w8
	ldr	w0, [x20, #8]
	mov	x1, x24
	bl	_dev_err
LBB0_15:                                ;   in Loop: Header=BB0_12 Depth=1
	sub	x8, x27, x26
	cmp	x8, w25, uxtw
	b.lo	LBB0_22
; %bb.16:                               ;   in Loop: Header=BB0_12 Depth=1
	add	x28, x28, #6
	ldr	x8, [x21, #8]
	add	x0, x8, x26, lsl #2
	add	x1, x23, x28
	mov	x2, x25
	bl	_memcpy
	add	w8, w25, w28
	add	w26, w25, w26
	b	LBB0_11
LBB0_17:
	mov	w9, #24
	mov	w8, #6
	cmp	w8, w22
	b.lt	LBB0_9
LBB0_18:
	mov	x26, x9
LBB0_19:
	add	w22, w26, #4
	ldr	x8, [x21, #8]
	mov	w9, #130
	sub	w10, w26, #6
	asr	w11, w10, #8
	stp	w9, w11, [x8, #28]
	and	w9, w10, #0xff
	str	w9, [x8, #36]
	sub	w9, w26, #11
	str	w9, [x8, #56]
	add	x1, x8, #40
	ldr	w8, [x8, #48]
	sub	w2, w8, #1
	mov	w0, #0
	bl	_crc32_be
	lsr	w8, w0, #24
	ldr	x9, [x21, #8]
	add	x9, x9, w26, sxtw #2
	ubfx	w10, w0, #16, #8
	stp	w8, w10, [x9]
	ubfx	w8, w0, #8, #8
	and	w10, w0, #0xff
	stp	w8, w10, [x9, #8]
	mov	x0, x21
	mov	x1, x22
	bl	_pad_operands
	add	w0, w26, #7
	mov	w1, #4
	bl	_ALIGN
	str	w0, [x20, #12]
	mov	x0, x20
	bl	_avc_write
	mov	x22, x0
	tbnz	w0, #31, LBB0_24
; %bb.20:
	ldr	w2, [x21]
Lloh42:
	adrp	x8, _AVC_RESPONSE_ACCEPTED@GOTPAGE
Lloh43:
	ldr	x8, [x8, _AVC_RESPONSE_ACCEPTED@GOTPAGEOFF]
Lloh44:
	ldr	w8, [x8]
	cmp	w2, w8
	b.eq	LBB0_24
; %bb.21:
	ldr	w0, [x20, #8]
Lloh45:
	adrp	x1, l_.str.3@PAGE
Lloh46:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_dev_err
Lloh47:
	adrp	x8, _EACCES@GOTPAGE
Lloh48:
	ldr	x8, [x8, _EACCES@GOTPAGEOFF]
	b	LBB0_23
LBB0_22:
Lloh49:
	adrp	x8, _EINVAL@GOTPAGE
Lloh50:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_23:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_24:
	mov	x0, x19
	bl	_mutex_unlock
	mov	x0, x22
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdr	Lloh36, Lloh37
	.loh AdrpLdr	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh49, Lloh50
	.cfi_endproc
                                        ; -- End function
	.comm	_avc_debug,4,2                  ; @avc_debug
	.comm	_AVC_DEBUG_APPLICATION_PMT,4,2  ; @AVC_DEBUG_APPLICATION_PMT
	.comm	_AVC_CTYPE_CONTROL,4,2          ; @AVC_CTYPE_CONTROL
	.comm	_AVC_SUBUNIT_TYPE_TUNER,4,2     ; @AVC_SUBUNIT_TYPE_TUNER
	.comm	_AVC_OPCODE_VENDOR,4,2          ; @AVC_OPCODE_VENDOR
	.comm	_EN50221_LIST_MANAGEMENT_ONLY,1,0 ; @EN50221_LIST_MANAGEMENT_ONLY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"forcing list_management to ONLY\n"

	.comm	_SFE_VENDOR_DE_COMPANYID_0,4,2  ; @SFE_VENDOR_DE_COMPANYID_0
	.comm	_SFE_VENDOR_DE_COMPANYID_1,4,2  ; @SFE_VENDOR_DE_COMPANYID_1
	.comm	_SFE_VENDOR_DE_COMPANYID_2,4,2  ; @SFE_VENDOR_DE_COMPANYID_2
	.comm	_SFE_VENDOR_OPCODE_HOST2CA,4,2  ; @SFE_VENDOR_OPCODE_HOST2CA
	.comm	_SFE_VENDOR_TAG_CA_PMT,4,2      ; @SFE_VENDOR_TAG_CA_PMT
l_.str.1:                               ; @.str.1
	.asciz	"invalid pmt_cmd_id %d\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.2:                               ; @.str.2
	.asciz	"invalid pmt_cmd_id %d at stream level\n"

	.comm	_AVC_RESPONSE_ACCEPTED,4,2      ; @AVC_RESPONSE_ACCEPTED
l_.str.3:                               ; @.str.3
	.asciz	"CA PMT failed with response 0x%x\n"

	.comm	_EACCES,4,2                     ; @EACCES
.subsections_via_symbols
