	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function rtl2832_wr_demod_reg
LCPI0_0:
	.long	0                               ## 0x0
	.long	1                               ## 0x1
	.long	2                               ## 0x2
	.long	3                               ## 0x3
LCPI0_1:
	.long	4                               ## 0x4
	.long	4                               ## 0x4
	.long	4                               ## 0x4
	.long	4                               ## 0x4
LCPI0_2:
	.long	1065353216                      ## 0x3f800000
	.long	1065353216                      ## 0x3f800000
	.long	1065353216                      ## 0x3f800000
	.long	1065353216                      ## 0x3f800000
LCPI0_3:
	.long	8                               ## 0x8
	.long	8                               ## 0x8
	.long	8                               ## 0x8
	.long	8                               ## 0x8
LCPI0_4:
	.long	12                              ## 0xc
	.long	12                              ## 0xc
	.long	12                              ## 0xc
	.long	12                              ## 0xc
LCPI0_5:
	.long	16                              ## 0x10
	.long	16                              ## 0x10
	.long	16                              ## 0x10
	.long	16                              ## 0x10
LCPI0_6:
	.byte	255                             ## 0xff
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	255                             ## 0xff
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	255                             ## 0xff
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	255                             ## 0xff
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_rtl2832_wr_demod_reg:                  ## @rtl2832_wr_demod_reg
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -100(%rbp)                ## 4-byte Spill
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	8(%rdi), %rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movq	_registers@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%esi, %rcx
	leaq	(%rcx,%rcx,2), %rcx
	movl	8(%rax,%rcx,4), %r13d
	movl	(%rax,%rcx,4), %r15d
	movl	4(%rax,%rcx,4), %eax
	movl	%r15d, %r14d
	sarl	$3, %r14d
	leal	1(%r14), %ebx
	movl	%r15d, %edi
	movl	%eax, -92(%rbp)                 ## 4-byte Spill
	subl	%eax, %edi
	callq	_REG_MASK
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	movl	(%r12), %edi
	leaq	-64(%rbp), %rdx
	movl	%r13d, -96(%rbp)                ## 4-byte Spill
	movl	%r13d, %esi
	movl	%ebx, -88(%rbp)                 ## 4-byte Spill
	movl	%ebx, %ecx
	callq	_regmap_bulk_read
	movl	%eax, %r13d
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	testl	%eax, %eax
	jne	LBB0_26
## %bb.1:
	movl	-84(%rbp), %r13d                ## 4-byte Reload
	movl	-92(%rbp), %r11d                ## 4-byte Reload
	testl	%r15d, %r15d
	movq	%r12, %rbx
	movl	-100(%rbp), %r9d                ## 4-byte Reload
	movl	-96(%rbp), %esi                 ## 4-byte Reload
	movl	-88(%rbp), %r12d                ## 4-byte Reload
	js	LBB0_24
## %bb.2:
	movq	%rbx, -112(%rbp)                ## 8-byte Spill
	movl	%esi, %ebx
	movl	%r12d, %esi
	xorl	%edx, %edx
	testl	%r14d, %r14d
	movl	$0, %r8d
	cmovgl	%r14d, %r8d
	leal	1(%r8), %r10d
	movd	%r14d, %xmm8
	cmpl	$7, %r8d
	jae	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	movl	%r13d, %r12d
	jmp	LBB0_11
LBB0_4:
	movl	%r10d, %eax
	andl	$2147483640, %eax               ## imm = 0x7FFFFFF8
	pshufd	$0, %xmm8, %xmm7                ## xmm7 = xmm8[0,0,0,0]
	leaq	-8(%rax), %rcx
	movq	%rcx, %rdx
	shrq	$3, %rdx
	incq	%rdx
	testq	%rcx, %rcx
	movl	%r13d, %r12d
	je	LBB0_5
## %bb.6:
	movq	%rdx, %rdi
	andq	$-2, %rdi
	movdqa	LCPI0_0(%rip), %xmm3            ## xmm3 = [0,1,2,3]
	pxor	%xmm2, %xmm2
	xorl	%ecx, %ecx
	movdqa	LCPI0_1(%rip), %xmm9            ## xmm9 = [4,4,4,4]
	movdqa	LCPI0_2(%rip), %xmm6            ## xmm6 = [1065353216,1065353216,1065353216,1065353216]
	movdqa	LCPI0_3(%rip), %xmm10           ## xmm10 = [8,8,8,8]
	movdqa	LCPI0_4(%rip), %xmm11           ## xmm11 = [12,12,12,12]
	movdqa	LCPI0_5(%rip), %xmm12           ## xmm12 = [16,16,16,16]
	pxor	%xmm4, %xmm4
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm7, %xmm0
	psubd	%xmm3, %xmm0
	movdqa	%xmm0, %xmm5
	psubd	%xmm9, %xmm5
	movdqa	%xmm0, %xmm1
	pslld	$26, %xmm1
	paddd	%xmm6, %xmm1
	cvttps2dq	%xmm1, %xmm1
	pmulld	-64(%rbp,%rcx,4), %xmm1
	por	%xmm2, %xmm1
	pslld	$26, %xmm5
	paddd	%xmm6, %xmm5
	cvttps2dq	%xmm5, %xmm5
	pmulld	-48(%rbp,%rcx,4), %xmm5
	por	%xmm4, %xmm5
	movdqa	%xmm0, %xmm2
	psubd	%xmm10, %xmm2
	psubd	%xmm11, %xmm0
	pslld	$26, %xmm2
	paddd	%xmm6, %xmm2
	cvttps2dq	%xmm2, %xmm2
	pmulld	-32(%rbp,%rcx,4), %xmm2
	por	%xmm1, %xmm2
	pslld	$26, %xmm0
	paddd	%xmm6, %xmm0
	cvttps2dq	%xmm0, %xmm4
	pmulld	-16(%rbp,%rcx,4), %xmm4
	por	%xmm5, %xmm4
	addq	$16, %rcx
	paddd	%xmm12, %xmm3
	addq	$-2, %rdi
	jne	LBB0_7
## %bb.8:
	testb	$1, %dl
	je	LBB0_10
LBB0_9:
	psubd	%xmm3, %xmm7
	movdqa	%xmm7, %xmm0
	psubd	LCPI0_1(%rip), %xmm0
	pslld	$26, %xmm7
	movdqa	LCPI0_2(%rip), %xmm1            ## xmm1 = [1065353216,1065353216,1065353216,1065353216]
	paddd	%xmm1, %xmm7
	cvttps2dq	%xmm7, %xmm3
	pmulld	-64(%rbp,%rcx,4), %xmm3
	por	%xmm3, %xmm2
	pslld	$26, %xmm0
	paddd	%xmm1, %xmm0
	cvttps2dq	%xmm0, %xmm0
	pmulld	-48(%rbp,%rcx,4), %xmm0
	por	%xmm0, %xmm4
LBB0_10:
	por	%xmm4, %xmm2
	pshufd	$238, %xmm2, %xmm0              ## xmm0 = xmm2[2,3,2,3]
	por	%xmm2, %xmm0
	pshufd	$85, %xmm0, %xmm1               ## xmm1 = xmm0[1,1,1,1]
	por	%xmm0, %xmm1
	movd	%xmm1, %edx
	cmpq	%r10, %rax
	je	LBB0_13
LBB0_11:
	leal	(,%r14,8), %ecx
	leal	(,%rax,8), %edi
	subl	%edi, %ecx
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movl	-64(%rbp,%rax,4), %edi
	shll	%cl, %edi
	orl	%edi, %edx
	incq	%rax
	addl	$-8, %ecx
	cmpq	%rax, %r10
	jne	LBB0_12
LBB0_13:
	movl	%r12d, %eax
	movl	%r11d, %ecx
	shll	%cl, %eax
	andl	%r12d, %r9d
	shll	%cl, %r9d
	notl	%eax
	andl	%edx, %eax
	orl	%eax, %r9d
	cmpl	$7, %r8d
	jae	LBB0_15
## %bb.14:
	xorl	%edx, %edx
	movl	%esi, %r12d
	movl	%ebx, %esi
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	jmp	LBB0_22
LBB0_15:
	movl	%r10d, %edx
	andl	$2147483640, %edx               ## imm = 0x7FFFFFF8
	pshufd	$0, %xmm8, %xmm12               ## xmm12 = xmm8[0,0,0,0]
	movd	%r9d, %xmm0
	pshufd	$0, %xmm0, %xmm2                ## xmm2 = xmm0[0,0,0,0]
	leaq	-8(%rdx), %rcx
	movq	%rcx, %rax
	shrq	$3, %rax
	incq	%rax
	testq	%rcx, %rcx
	movl	%esi, %r12d
	je	LBB0_16
## %bb.17:
	movq	%rax, %rdi
	andq	$-2, %rdi
	movdqa	LCPI0_0(%rip), %xmm14           ## xmm14 = [0,1,2,3]
	xorl	%ecx, %ecx
	movdqa	LCPI0_1(%rip), %xmm8            ## xmm8 = [4,4,4,4]
	movdqa	LCPI0_6(%rip), %xmm13           ## xmm13 = [255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0]
	movdqa	LCPI0_3(%rip), %xmm9            ## xmm9 = [8,8,8,8]
	movdqa	LCPI0_4(%rip), %xmm10           ## xmm10 = [12,12,12,12]
	movdqa	LCPI0_5(%rip), %xmm11           ## xmm11 = [16,16,16,16]
	movl	%ebx, %esi
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm12, %xmm5
	psubd	%xmm14, %xmm5
	movdqa	%xmm5, %xmm1
	psubd	%xmm8, %xmm1
	movdqa	%xmm5, %xmm3
	pslld	$3, %xmm3
	pslld	$3, %xmm1
	pshuflw	$254, %xmm3, %xmm7              ## xmm7 = xmm3[2,3,3,3,4,5,6,7]
	movdqa	%xmm2, %xmm0
	psrad	%xmm7, %xmm0
	pshufd	$238, %xmm3, %xmm7              ## xmm7 = xmm3[2,3,2,3]
	pshuflw	$254, %xmm7, %xmm4              ## xmm4 = xmm7[2,3,3,3,4,5,6,7]
	movdqa	%xmm2, %xmm6
	psrad	%xmm4, %xmm6
	pblendw	$15, %xmm0, %xmm6               ## xmm6 = xmm0[0,1,2,3],xmm6[4,5,6,7]
	pshuflw	$84, %xmm3, %xmm0               ## xmm0 = xmm3[0,1,1,1,4,5,6,7]
	movdqa	%xmm2, %xmm3
	psrad	%xmm0, %xmm3
	pshuflw	$84, %xmm7, %xmm0               ## xmm0 = xmm7[0,1,1,1,4,5,6,7]
	movdqa	%xmm2, %xmm4
	psrad	%xmm0, %xmm4
	pblendw	$15, %xmm3, %xmm4               ## xmm4 = xmm3[0,1,2,3],xmm4[4,5,6,7]
	pblendw	$204, %xmm6, %xmm4              ## xmm4 = xmm4[0,1],xmm6[2,3],xmm4[4,5],xmm6[6,7]
	pshuflw	$254, %xmm1, %xmm0              ## xmm0 = xmm1[2,3,3,3,4,5,6,7]
	movdqa	%xmm2, %xmm3
	psrad	%xmm0, %xmm3
	pshufd	$238, %xmm1, %xmm0              ## xmm0 = xmm1[2,3,2,3]
	pshuflw	$254, %xmm0, %xmm6              ## xmm6 = xmm0[2,3,3,3,4,5,6,7]
	movdqa	%xmm2, %xmm7
	psrad	%xmm6, %xmm7
	pblendw	$15, %xmm3, %xmm7               ## xmm7 = xmm3[0,1,2,3],xmm7[4,5,6,7]
	pshuflw	$84, %xmm1, %xmm1               ## xmm1 = xmm1[0,1,1,1,4,5,6,7]
	movdqa	%xmm2, %xmm3
	psrad	%xmm1, %xmm3
	pshuflw	$84, %xmm0, %xmm0               ## xmm0 = xmm0[0,1,1,1,4,5,6,7]
	movdqa	%xmm2, %xmm1
	psrad	%xmm0, %xmm1
	pblendw	$15, %xmm3, %xmm1               ## xmm1 = xmm3[0,1,2,3],xmm1[4,5,6,7]
	pblendw	$204, %xmm7, %xmm1              ## xmm1 = xmm1[0,1],xmm7[2,3],xmm1[4,5],xmm7[6,7]
	pand	%xmm13, %xmm4
	pand	%xmm13, %xmm1
	movdqa	%xmm4, -80(%rbp,%rcx,4)
	movdqa	%xmm1, -64(%rbp,%rcx,4)
	movdqa	%xmm5, %xmm0
	psubd	%xmm9, %xmm0
	psubd	%xmm10, %xmm5
	pslld	$3, %xmm0
	pslld	$3, %xmm5
	pshuflw	$254, %xmm0, %xmm1              ## xmm1 = xmm0[2,3,3,3,4,5,6,7]
	movdqa	%xmm2, %xmm3
	psrad	%xmm1, %xmm3
	pshufd	$238, %xmm0, %xmm1              ## xmm1 = xmm0[2,3,2,3]
	pshuflw	$254, %xmm1, %xmm4              ## xmm4 = xmm1[2,3,3,3,4,5,6,7]
	movdqa	%xmm2, %xmm6
	psrad	%xmm4, %xmm6
	pblendw	$15, %xmm3, %xmm6               ## xmm6 = xmm3[0,1,2,3],xmm6[4,5,6,7]
	pshuflw	$84, %xmm0, %xmm0               ## xmm0 = xmm0[0,1,1,1,4,5,6,7]
	movdqa	%xmm2, %xmm3
	psrad	%xmm0, %xmm3
	pshuflw	$84, %xmm1, %xmm0               ## xmm0 = xmm1[0,1,1,1,4,5,6,7]
	movdqa	%xmm2, %xmm1
	psrad	%xmm0, %xmm1
	pblendw	$15, %xmm3, %xmm1               ## xmm1 = xmm3[0,1,2,3],xmm1[4,5,6,7]
	pblendw	$204, %xmm6, %xmm1              ## xmm1 = xmm1[0,1],xmm6[2,3],xmm1[4,5],xmm6[6,7]
	pshuflw	$254, %xmm5, %xmm0              ## xmm0 = xmm5[2,3,3,3,4,5,6,7]
	movdqa	%xmm2, %xmm3
	psrad	%xmm0, %xmm3
	pshufd	$238, %xmm5, %xmm0              ## xmm0 = xmm5[2,3,2,3]
	pshuflw	$254, %xmm0, %xmm4              ## xmm4 = xmm0[2,3,3,3,4,5,6,7]
	movdqa	%xmm2, %xmm6
	psrad	%xmm4, %xmm6
	pblendw	$15, %xmm3, %xmm6               ## xmm6 = xmm3[0,1,2,3],xmm6[4,5,6,7]
	pshuflw	$84, %xmm5, %xmm3               ## xmm3 = xmm5[0,1,1,1,4,5,6,7]
	movdqa	%xmm2, %xmm4
	psrad	%xmm3, %xmm4
	pshuflw	$84, %xmm0, %xmm0               ## xmm0 = xmm0[0,1,1,1,4,5,6,7]
	movdqa	%xmm2, %xmm3
	psrad	%xmm0, %xmm3
	pblendw	$15, %xmm4, %xmm3               ## xmm3 = xmm4[0,1,2,3],xmm3[4,5,6,7]
	pblendw	$204, %xmm6, %xmm3              ## xmm3 = xmm3[0,1],xmm6[2,3],xmm3[4,5],xmm6[6,7]
	pand	%xmm13, %xmm1
	pand	%xmm13, %xmm3
	movdqa	%xmm1, -48(%rbp,%rcx,4)
	movdqa	%xmm3, -32(%rbp,%rcx,4)
	addq	$16, %rcx
	paddd	%xmm11, %xmm14
	addq	$-2, %rdi
	jne	LBB0_18
	jmp	LBB0_19
LBB0_5:
	movdqa	LCPI0_0(%rip), %xmm3            ## xmm3 = [0,1,2,3]
	pxor	%xmm2, %xmm2
	xorl	%ecx, %ecx
	pxor	%xmm4, %xmm4
	testb	$1, %dl
	jne	LBB0_9
	jmp	LBB0_10
LBB0_16:
	movdqa	LCPI0_0(%rip), %xmm14           ## xmm14 = [0,1,2,3]
	xorl	%ecx, %ecx
	movl	%ebx, %esi
LBB0_19:
	testb	$1, %al
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	je	LBB0_21
## %bb.20:
	psubd	%xmm14, %xmm12
	movdqa	%xmm12, %xmm1
	psubd	LCPI0_1(%rip), %xmm1
	pslld	$3, %xmm12
	pshuflw	$254, %xmm12, %xmm0             ## xmm0 = xmm12[2,3,3,3,4,5,6,7]
	movdqa	%xmm2, %xmm3
	psrad	%xmm0, %xmm3
	pshufd	$238, %xmm12, %xmm0             ## xmm0 = xmm12[2,3,2,3]
	pshuflw	$254, %xmm0, %xmm4              ## xmm4 = xmm0[2,3,3,3,4,5,6,7]
	movdqa	%xmm2, %xmm5
	psrad	%xmm4, %xmm5
	pshuflw	$84, %xmm12, %xmm4              ## xmm4 = xmm12[0,1,1,1,4,5,6,7]
	movdqa	%xmm2, %xmm6
	psrad	%xmm4, %xmm6
	pslld	$3, %xmm1
	pshuflw	$84, %xmm0, %xmm0               ## xmm0 = xmm0[0,1,1,1,4,5,6,7]
	movdqa	%xmm2, %xmm4
	psrad	%xmm0, %xmm4
	pblendw	$15, %xmm3, %xmm5               ## xmm5 = xmm3[0,1,2,3],xmm5[4,5,6,7]
	pshuflw	$254, %xmm1, %xmm0              ## xmm0 = xmm1[2,3,3,3,4,5,6,7]
	movdqa	%xmm2, %xmm3
	psrad	%xmm0, %xmm3
	pshufd	$238, %xmm1, %xmm0              ## xmm0 = xmm1[2,3,2,3]
	pshuflw	$254, %xmm0, %xmm8              ## xmm8 = xmm0[2,3,3,3,4,5,6,7]
	movdqa	%xmm2, %xmm7
	psrad	%xmm8, %xmm7
	pblendw	$15, %xmm6, %xmm4               ## xmm4 = xmm6[0,1,2,3],xmm4[4,5,6,7]
	pshuflw	$84, %xmm1, %xmm1               ## xmm1 = xmm1[0,1,1,1,4,5,6,7]
	movdqa	%xmm2, %xmm6
	psrad	%xmm1, %xmm6
	pblendw	$204, %xmm5, %xmm4              ## xmm4 = xmm4[0,1],xmm5[2,3],xmm4[4,5],xmm5[6,7]
	pshuflw	$84, %xmm0, %xmm0               ## xmm0 = xmm0[0,1,1,1,4,5,6,7]
	psrad	%xmm0, %xmm2
	pblendw	$15, %xmm3, %xmm7               ## xmm7 = xmm3[0,1,2,3],xmm7[4,5,6,7]
	pblendw	$15, %xmm6, %xmm2               ## xmm2 = xmm6[0,1,2,3],xmm2[4,5,6,7]
	pblendw	$204, %xmm7, %xmm2              ## xmm2 = xmm2[0,1],xmm7[2,3],xmm2[4,5],xmm7[6,7]
	movdqa	LCPI0_6(%rip), %xmm0            ## xmm0 = [255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0]
	pand	%xmm0, %xmm4
	pand	%xmm0, %xmm2
	movdqa	%xmm4, -80(%rbp,%rcx,4)
	movdqa	%xmm2, -64(%rbp,%rcx,4)
LBB0_21:
	cmpq	%r10, %rdx
	je	LBB0_24
LBB0_22:
	shll	$3, %r14d
	leal	(,%rdx,8), %ecx
	subl	%ecx, %r14d
	.p2align	4, 0x90
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	movl	%r9d, %eax
	movl	%r14d, %ecx
	sarl	%cl, %eax
	movzbl	%al, %ecx
	movl	%ecx, -80(%rbp,%rdx,4)
	incq	%rdx
	addl	$-8, %r14d
	cmpq	%rdx, %r10
	jne	LBB0_23
LBB0_24:
	movl	(%rbx), %edi
	leaq	-80(%rbp), %rdx
	movl	%r12d, %ecx
	callq	_regmap_bulk_write
	movl	%eax, %r13d
	testl	%eax, %eax
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	je	LBB0_25
LBB0_26:
	leaq	L_.str(%rip), %rsi
	movl	%r13d, %edx
	callq	_dev_dbg
LBB0_27:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_29
## %bb.28:
	movl	%r13d, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_25:
	xorl	%r13d, %r13d
	jmp	LBB0_27
LBB0_29:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_registers,8,3                  ## @registers
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed=%d\n"

	.no_dead_strip	_rtl2832_wr_demod_reg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function rtl2832_wr_demod_reg
lCPI0_0:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.long	2                               ; 0x2
	.long	3                               ; 0x3
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_rtl2832_wr_demod_reg:                  ; @rtl2832_wr_demod_reg
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x23, x2
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	ldr	x19, [x0, #8]
Lloh3:
	adrp	x8, _registers@GOTPAGE
Lloh4:
	ldr	x8, [x8, _registers@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	mov	w9, #12
	smaddl	x8, w1, w9, x8
	ldp	w26, w21, [x8, #4]
	ldr	w28, [x8]
	asr	w27, w28, #3
	add	w22, w27, #1
	sub	w0, w28, w26
	bl	_REG_MASK
	mov	x24, x0
	ldr	w0, [x20]
	add	x2, sp, #24
	mov	x1, x21
	mov	x3, x22
	bl	_regmap_bulk_read
	mov	x25, x0
	cbnz	w0, LBB0_17
; %bb.1:
	tbnz	w28, #31, LBB0_16
; %bb.2:
	cmp	w27, #0
	csel	w8, w27, wzr, gt
	add	w10, w8, #1
	dup.4s	v0, w27
	adrp	x11, lCPI0_0@PAGE
	lsl	w9, w27, #3
	cmp	w8, #15
	b.hs	LBB0_4
; %bb.3:
	mov	x12, #0
	mov	w13, #0
	b	LBB0_7
LBB0_4:
	and	x12, x10, #0x7ffffff0
	add	x13, sp, #24
	add	x13, x13, #32
	movi.2d	v1, #0000000000000000
	movi.4s	v2, #4
	ldr	q3, [x11, lCPI0_0@PAGEOFF]
	movi.4s	v4, #8
	movi.4s	v5, #12
	movi.4s	v6, #16
	mov	x14, x12
	movi.2d	v7, #0000000000000000
	movi.2d	v16, #0000000000000000
	movi.2d	v17, #0000000000000000
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q18, q19, [x13, #-32]
	ldp	q20, q21, [x13], #64
	sub.4s	v22, v0, v3
	sub.4s	v23, v22, v2
	sub.4s	v24, v22, v4
	sub.4s	v25, v22, v5
	shl.4s	v22, v22, #3
	shl.4s	v23, v23, #3
	shl.4s	v24, v24, #3
	shl.4s	v25, v25, #3
	ushl.4s	v18, v18, v22
	ushl.4s	v19, v19, v23
	ushl.4s	v20, v20, v24
	ushl.4s	v21, v21, v25
	orr.16b	v1, v18, v1
	orr.16b	v7, v19, v7
	orr.16b	v16, v20, v16
	orr.16b	v17, v21, v17
	add.4s	v3, v3, v6
	subs	x14, x14, #16
	b.ne	LBB0_5
; %bb.6:
	orr.16b	v1, v7, v1
	orr.16b	v1, v16, v1
	orr.16b	v1, v17, v1
	ext.16b	v2, v1, v1, #8
	orr.8b	v1, v1, v2
	fmov	w13, s1
	mov.s	w14, v1[1]
	orr	w13, w13, w14
	cmp	x12, x10
	b.eq	LBB0_9
LBB0_7:
	sub	w14, w9, w12, lsl #3
	add	x15, sp, #24
	add	x15, x15, x12, lsl #2
	sub	x12, x8, x12
	add	x12, x12, #1
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w16, [x15], #4
	lsl	w16, w16, w14
	orr	w13, w16, w13
	sub	w14, w14, #8
	subs	x12, x12, #1
	b.ne	LBB0_8
LBB0_9:
	lsl	w12, w24, w26
	bic	w12, w13, w12
	and	w13, w24, w23
	lsl	w13, w13, w26
	orr	w12, w12, w13
	cmp	w8, #15
	b.hs	LBB0_11
; %bb.10:
	mov	x13, #0
	b	LBB0_14
LBB0_11:
	and	x13, x10, #0x7ffffff0
	dup.4s	v1, w12
	add	x14, sp, #8
	add	x14, x14, #32
	ldr	q2, [x11, lCPI0_0@PAGEOFF]
	movi.4s	v3, #4
	movi.4s	v4, #8
	movi.4s	v5, #12
	movi.2d	v6, #0x0000ff000000ff
	movi.4s	v7, #16
	mov	x11, x13
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	sub.4s	v16, v0, v2
	sub.4s	v17, v16, v3
	sub.4s	v18, v16, v4
	sub.4s	v19, v16, v5
	shl.4s	v16, v16, #3
	shl.4s	v17, v17, #3
	shl.4s	v18, v18, #3
	shl.4s	v19, v19, #3
	neg.4s	v16, v16
	sshl.4s	v16, v1, v16
	neg.4s	v17, v17
	sshl.4s	v17, v1, v17
	neg.4s	v18, v18
	sshl.4s	v18, v1, v18
	neg.4s	v19, v19
	sshl.4s	v19, v1, v19
	and.16b	v16, v16, v6
	and.16b	v17, v17, v6
	and.16b	v18, v18, v6
	and.16b	v19, v19, v6
	stp	q16, q17, [x14, #-32]
	stp	q18, q19, [x14], #64
	add.4s	v2, v2, v7
	subs	x11, x11, #16
	b.ne	LBB0_12
; %bb.13:
	cmp	x13, x10
	b.eq	LBB0_16
LBB0_14:
	sub	w9, w9, w13, lsl #3
	add	x10, sp, #8
	add	x10, x10, x13, lsl #2
	sub	x8, x8, x13
	add	x8, x8, #1
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	asr	w11, w12, w9
	and	w11, w11, #0xff
	str	w11, [x10], #4
	sub	w9, w9, #8
	subs	x8, x8, #1
	b.ne	LBB0_15
LBB0_16:
	ldr	w0, [x20]
	add	x2, sp, #8
	mov	x1, x21
	mov	x3, x22
	bl	_regmap_bulk_write
	mov	x25, x0
	cbz	w0, LBB0_18
LBB0_17:
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x25
	bl	_dev_dbg
LBB0_18:
	ldr	x8, [sp, #40]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_20
; %bb.19:
	mov	x0, x25
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_20:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_registers,8,3                  ; @registers
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed=%d\n"

	.no_dead_strip	_rtl2832_wr_demod_reg
.subsections_via_symbols
