	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ad1848_set_recmask
_ad1848_set_recmask:                    ## @ad1848_set_recmask
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r13
	andl	(%rdi), %ebx
	movq	8(%rdi), %rax
	xorl	%ecx, %ecx
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	incq	%rdx
	movq	%rdx, %rcx
	cmpq	$32, %rdx
	je	LBB0_8
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rax,%rcx,4), %edx
	cmpq	%rdx, %rcx
	je	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	$1, %esi
	shll	%cl, %esi
	btl	%ecx, %ebx
	jae	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	notl	%esi
	andl	%esi, %ebx
	btsl	%edx, %ebx
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	4(%rax,%rcx,4), %esi
	leaq	1(%rcx), %rdx
	cmpq	%rsi, %rdx
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	incb	%cl
	movl	$1, %edi
	shll	%cl, %edi
	movzbl	%cl, %ecx
	btl	%ecx, %ebx
	jae	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	notl	%edi
	andl	%edi, %ebx
	btsl	%esi, %ebx
	jmp	LBB0_7
LBB0_8:
	leaq	20(%r13), %rdi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_spin_lock_irqsave
	movq	_soundpro@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_18
## %bb.9:
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_10 Depth=1
	incq	%rbx
	cmpq	$32, %rbx
	je	LBB0_17
LBB0_10:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_13 Depth 2
	movl	(%r13), %eax
	btl	%ebx, %eax
	jae	LBB0_16
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	_LEFT_CHN@GOTPCREL(%rip), %rax
	movslq	(%rax), %rcx
	movq	_RIGHT_CHN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %ecx
	jg	LBB0_16
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	xorl	%esi, %esi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	btl	%ebx, %edx
	setb	%sil
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	leaq	-1(%rcx), %r14
	shlq	$3, %rcx
	leaq	(%rcx,%rcx,2), %r15
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_13 Depth=2
	movslq	%eax, %rcx
	incq	%r14
	addq	$24, %r15
	cmpq	%rcx, %r14
	jge	LBB0_16
LBB0_13:                                ##   Parent Loop BB0_10 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	24(%r13), %rcx
	movq	(%rcx,%rbx,8), %rcx
	cmpq	$0, (%rcx,%r15)
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=2
	movq	%r13, %r12
	movl	8(%rcx,%r15), %r13d
	xorl	-44(%rbp), %r13d                ## 4-byte Folded Reload
	movl	12(%rcx,%r15), %esi
	movq	%r12, %rdi
	callq	_ad_read
	movq	24(%r12), %rcx
	movq	(%rcx,%rbx,8), %rdx
	movzbl	16(%rdx,%r15), %ecx
	shll	%cl, %r13d
	btrl	%ecx, %eax
	orl	%eax, %r13d
	movl	12(%rdx,%r15), %esi
	movzbl	%r13b, %edx
	movq	%r12, %r13
	movq	%r12, %rdi
	callq	_ad_write
	movq	_RIGHT_CHN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_15
LBB0_17:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_25
LBB0_18:
	movl	%ebx, %eax
	shrl	$31, %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%ebx, %eax
	shrl	$29, %eax
	andl	$1, %eax
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movl	%ebx, %eax
	shrl	$27, %eax
	andl	$1, %eax
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	movl	%ebx, %eax
	shrl	$25, %eax
	andl	$1, %eax
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	movl	%ebx, %eax
	shrl	$23, %eax
	andl	$1, %eax
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movl	%ebx, %r15d
	shrl	$21, %r15d
	andl	$1, %r15d
	movl	%ebx, %r12d
	shrl	$19, %r12d
	andl	$1, %r12d
	movl	%ebx, %r14d
	shrl	$17, %r14d
	andl	$1, %r14d
	movl	%ebx, %r11d
	shrl	$15, %r11d
	andl	$1, %r11d
	movl	%ebx, %r10d
	shrl	$13, %r10d
	andl	$1, %r10d
	movl	%ebx, %r9d
	shrl	$11, %r9d
	andl	$1, %r9d
	movl	%ebx, %r8d
	shrl	$9, %r8d
	andl	$1, %r8d
	movl	%ebx, %edi
	shrl	$7, %edi
	andl	$1, %edi
	movl	%ebx, %edx
	shrl	$5, %edx
	andl	$1, %edx
	movl	%ebx, %ecx
	shrl	$3, %ecx
	andl	$1, %ecx
	movl	%ebx, %eax
	shrl	%eax
	andl	$1, %eax
	movl	%ebx, %esi
	andl	$1, %esi
	btl	$2, %ebx
	adcl	%eax, %esi
	btl	$4, %ebx
	adcl	%ecx, %esi
	btl	$6, %ebx
	adcl	%edx, %esi
	btl	$8, %ebx
	adcl	%edi, %esi
	btl	$10, %ebx
	adcl	%r8d, %esi
	btl	$12, %ebx
	adcl	%r9d, %esi
	btl	$14, %ebx
	adcl	%r10d, %esi
	btl	$16, %ebx
	adcl	%r11d, %esi
	btl	$18, %ebx
	adcl	%r14d, %esi
	btl	$20, %ebx
	adcl	%r12d, %esi
	btl	$22, %ebx
	adcl	%r15d, %esi
	btl	$24, %ebx
	adcl	-68(%rbp), %esi                 ## 4-byte Folded Reload
	movq	%rbx, %rdx
	btl	$26, %edx
	adcl	-72(%rbp), %esi                 ## 4-byte Folded Reload
	btl	$28, %edx
	adcl	-76(%rbp), %esi                 ## 4-byte Folded Reload
	btl	$30, %edx
	adcl	-64(%rbp), %esi                 ## 4-byte Folded Reload
	movl	$128, %r12d
	addl	-44(%rbp), %esi                 ## 4-byte Folded Reload
	je	LBB0_19
## %bb.20:
	cmpl	$1, %esi
	je	LBB0_22
## %bb.21:
	movl	16(%r13), %eax
	notl	%eax
	andl	%eax, %edx
	movl	%edx, %eax
	andl	$1, %eax
	movl	%edx, %ecx
	shrl	%ecx
	andl	$1, %ecx
	btl	$2, %edx
	adcl	%eax, %ecx
	movl	%edx, %eax
	shrl	$3, %eax
	andl	$1, %eax
	btl	$4, %edx
	adcl	%ecx, %eax
	movl	%edx, %ecx
	shrl	$5, %ecx
	andl	$1, %ecx
	btl	$6, %edx
	adcl	%eax, %ecx
	movl	%edx, %eax
	shrl	$7, %eax
	andl	$1, %eax
	btl	$8, %edx
	adcl	%ecx, %eax
	movl	%edx, %ecx
	shrl	$9, %ecx
	andl	$1, %ecx
	btl	$10, %edx
	adcl	%eax, %ecx
	movl	%edx, %eax
	shrl	$11, %eax
	andl	$1, %eax
	btl	$12, %edx
	adcl	%ecx, %eax
	movl	%edx, %ecx
	shrl	$13, %ecx
	andl	$1, %ecx
	btl	$14, %edx
	adcl	%eax, %ecx
	movl	%edx, %eax
	shrl	$15, %eax
	andl	$1, %eax
	btl	$16, %edx
	adcl	%ecx, %eax
	movl	%edx, %ecx
	shrl	$17, %ecx
	andl	$1, %ecx
	btl	$18, %edx
	adcl	%eax, %ecx
	movl	%edx, %eax
	shrl	$19, %eax
	andl	$1, %eax
	btl	$20, %edx
	adcl	%ecx, %eax
	movl	%edx, %ecx
	shrl	$21, %ecx
	andl	$1, %ecx
	btl	$22, %edx
	adcl	%eax, %ecx
	movl	%edx, %eax
	shrl	$23, %eax
	andl	$1, %eax
	btl	$24, %edx
	adcl	%ecx, %eax
	movl	%edx, %ecx
	shrl	$25, %ecx
	andl	$1, %ecx
	btl	$26, %edx
	adcl	%eax, %ecx
	movl	%edx, %eax
	shrl	$27, %eax
	andl	$1, %eax
	btl	$28, %edx
	adcl	%ecx, %eax
	movl	%edx, %ecx
	shrl	$29, %ecx
	andl	$1, %ecx
	btl	$30, %edx
	adcl	%eax, %ecx
	movl	%edx, %eax
	shrl	$31, %eax
	addl	%ecx, %eax
	cmpl	$1, %eax
	jne	LBB0_19
LBB0_22:
	leal	-129(%rdx), %eax
	movl	$128, %ebx
	cmpl	$4, %eax
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	ja	LBB0_24
## %bb.23:
	cltq
	leaq	l_switch.table.ad1848_set_recmask(%rip), %rcx
	movl	(%rcx,%rax,4), %r12d
	movl	%edx, %ebx
	jmp	LBB0_24
LBB0_19:
	movl	$128, %ebx
	movq	-56(%rbp), %r14                 ## 8-byte Reload
LBB0_24:
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_ad_read
	andl	$63, %eax
	orl	%r12d, %eax
	movzbl	%al, %edx
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_ad_write
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_ad_read
	andl	$63, %eax
	orl	%r12d, %eax
	movzbl	%al, %edx
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_ad_write
                                        ## kill: def $ebx killed $ebx def $rbx
LBB0_25:
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	movq	8(%r13), %rax
	xorl	%edx, %edx
	jmp	LBB0_26
	.p2align	4, 0x90
LBB0_32:                                ##   in Loop: Header=BB0_26 Depth=1
	incq	%rsi
	movq	%rsi, %rdx
	cmpq	$32, %rsi
	je	LBB0_33
LBB0_26:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rax,%rdx,4), %ecx
	cmpq	%rcx, %rdx
	je	LBB0_29
## %bb.27:                              ##   in Loop: Header=BB0_26 Depth=1
	movl	$1, %esi
	shll	%cl, %esi
	btl	%ecx, %ebx
	jae	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_26 Depth=1
	notl	%esi
	andl	%esi, %ebx
	btsl	%edx, %ebx
LBB0_29:                                ##   in Loop: Header=BB0_26 Depth=1
	movl	4(%rax,%rdx,4), %ecx
	leaq	1(%rdx), %rsi
	cmpq	%rcx, %rsi
	je	LBB0_32
## %bb.30:                              ##   in Loop: Header=BB0_26 Depth=1
	movl	$1, %edi
	shll	%cl, %edi
	btl	%ecx, %ebx
	jae	LBB0_32
## %bb.31:                              ##   in Loop: Header=BB0_26 Depth=1
	notl	%edi
	andl	%edi, %ebx
	incb	%dl
	btsl	%edx, %ebx
	jmp	LBB0_32
LBB0_33:
	movl	%ebx, 16(%r13)
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_soundpro,4,2                   ## @soundpro
	.comm	_LEFT_CHN,4,2                   ## @LEFT_CHN
	.comm	_RIGHT_CHN,4,2                  ## @RIGHT_CHN
	.no_dead_strip	_ad1848_set_recmask
	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.ad1848_set_recmask
l_switch.table.ad1848_set_recmask:
	.long	0                               ## 0x0
	.long	64                              ## 0x40
	.long	0                               ## 0x0
	.long	192                             ## 0xc0
	.long	64                              ## 0x40

.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 ad1848_set_recmask
lCPI0_0:
	.long	4294967270                      ; 0xffffffe6
	.long	4294967271                      ; 0xffffffe7
	.long	4294967272                      ; 0xffffffe8
	.long	4294967273                      ; 0xffffffe9
lCPI0_1:
	.long	4294967278                      ; 0xffffffee
	.long	4294967279                      ; 0xffffffef
	.long	4294967280                      ; 0xfffffff0
	.long	4294967281                      ; 0xfffffff1
lCPI0_2:
	.long	4294967266                      ; 0xffffffe2
	.long	4294967267                      ; 0xffffffe3
	.long	4294967268                      ; 0xffffffe4
	.long	4294967269                      ; 0xffffffe5
lCPI0_3:
	.long	4294967274                      ; 0xffffffea
	.long	4294967275                      ; 0xffffffeb
	.long	4294967276                      ; 0xffffffec
	.long	4294967277                      ; 0xffffffed
lCPI0_4:
	.long	4294967282                      ; 0xfffffff2
	.long	4294967283                      ; 0xfffffff3
	.long	4294967284                      ; 0xfffffff4
	.long	4294967285                      ; 0xfffffff5
lCPI0_5:
	.long	4294967286                      ; 0xfffffff6
	.long	4294967287                      ; 0xfffffff7
	.long	4294967288                      ; 0xfffffff8
	.long	4294967289                      ; 0xfffffff9
lCPI0_6:
	.long	4294967290                      ; 0xfffffffa
	.long	4294967291                      ; 0xfffffffb
	.long	4294967292                      ; 0xfffffffc
	.long	4294967293                      ; 0xfffffffd
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_ad1848_set_recmask:                    ; @ad1848_set_recmask
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x19, x0
	mov	x8, #0
	ldr	w9, [x0]
	and	w20, w9, w1
	ldr	x9, [x0, #8]
	mov	w10, #1
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x9, x8, lsl #2]
	cmp	x8, x11
	lsl	w12, w10, w8
	and	w13, w20, w12
	ccmp	w13, #0, #4, ne
	bic	w12, w20, w12
	lsl	w11, w10, w11
	orr	w11, w11, w12
	csel	w20, w20, w11, eq
	add	x8, x8, #1
	cmp	x8, #32
	b.ne	LBB0_1
; %bb.2:
	add	x21, x19, #20
	mov	x0, x21
	bl	_spin_lock_irqsave
Lloh0:
	adrp	x8, _soundpro@GOTPAGE
Lloh1:
	ldr	x8, [x8, _soundpro@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_12
; %bb.3:
	str	x21, [sp, #8]                   ; 8-byte Folded Spill
	mov	x22, #0
Lloh3:
	adrp	x23, _LEFT_CHN@GOTPAGE
Lloh4:
	ldr	x23, [x23, _LEFT_CHN@GOTPAGEOFF]
Lloh5:
	adrp	x24, _RIGHT_CHN@GOTPAGE
Lloh6:
	ldr	x24, [x24, _RIGHT_CHN@GOTPAGEOFF]
	mov	w25, #1
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x22, x22, #1
	cmp	x22, #32
	b.eq	LBB0_11
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	ldr	w8, [x19]
	lsr	w8, w8, w22
	tbz	w8, #0, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldrsw	x9, [x23]
	ldr	w8, [x24]
	cmp	w9, w8
	b.gt	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	lsr	w10, w20, w22
	and	w26, w10, #0x1
	sub	x27, x9, #1
	add	x9, x9, x9, lsl #1
	lsl	x28, x9, #3
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=2
	add	x27, x27, #1
	add	x28, x28, #24
	cmp	x27, w8, sxtw
	b.ge	LBB0_4
LBB0_9:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x9, [x19, #24]
	ldr	x9, [x9, x22, lsl #3]
	ldr	x10, [x9, x28]
	cbz	x10, LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	add	x8, x9, x28
	ldp	w9, w1, [x8, #8]
	eor	w21, w9, w26
	mov	x0, x19
	bl	_ad_read
	ldr	x8, [x19, #24]
	ldr	x8, [x8, x22, lsl #3]
	add	x8, x8, x28
	ldp	w1, w9, [x8, #12]
	lsl	w8, w25, w9
	bic	w8, w0, w8
	lsl	w9, w21, w9
	orr	w8, w8, w9
	and	w2, w8, #0xff
	mov	x0, x19
	bl	_ad_write
	ldr	w8, [x24]
	b	LBB0_8
LBB0_11:
	ldr	x21, [sp, #8]                   ; 8-byte Folded Reload
	b	LBB0_19
LBB0_12:
Lloh7:
	adrp	x8, lCPI0_0@PAGE
Lloh8:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	dup.4s	v7, w20
	ushl.4s	v4, v7, v0
Lloh9:
	adrp	x8, lCPI0_1@PAGE
Lloh10:
	ldr	q1, [x8, lCPI0_1@PAGEOFF]
	ushl.4s	v5, v7, v1
Lloh11:
	adrp	x8, lCPI0_2@PAGE
Lloh12:
	ldr	q2, [x8, lCPI0_2@PAGEOFF]
	ushl.4s	v6, v7, v2
Lloh13:
	adrp	x8, lCPI0_3@PAGE
Lloh14:
	ldr	q3, [x8, lCPI0_3@PAGEOFF]
	ushl.4s	v16, v7, v3
	movi.4s	v17, #1
	and.16b	v16, v16, v17
	and.16b	v18, v6, v17
	and.16b	v19, v5, v17
	and.16b	v20, v4, v17
Lloh15:
	adrp	x8, lCPI0_4@PAGE
Lloh16:
	ldr	q4, [x8, lCPI0_4@PAGEOFF]
	ushl.4s	v6, v7, v4
Lloh17:
	adrp	x8, lCPI0_5@PAGE
Lloh18:
	ldr	q5, [x8, lCPI0_5@PAGEOFF]
	ushl.4s	v21, v7, v5
	and.16b	v21, v21, v17
	and.16b	v22, v6, v17
Lloh19:
	adrp	x8, lCPI0_6@PAGE
Lloh20:
	ldr	q6, [x8, lCPI0_6@PAGEOFF]
	ushl.4s	v7, v7, v6
	and.16b	v7, v7, v17
	ubfx	w8, w20, #2, #1
	ubfx	w9, w20, #1, #1
	and	w10, w20, #0x1
	add.4s	v17, v20, v19
	add.4s	v16, v18, v16
	add.4s	v16, v16, v17
	add.4s	v17, v22, v21
	add.4s	v16, v16, v17
	add.4s	v7, v16, v7
	addv.4s	s7, v7
	fmov	w11, s7
	add	w8, w11, w8
	add	w8, w8, w9
	add	w8, w8, w10
	adds	w8, w8, w20, lsr #31
	b.eq	LBB0_17
; %bb.13:
	cmp	w8, #1
	b.eq	LBB0_15
; %bb.14:
	ldr	w8, [x19, #16]
	bic	w20, w20, w8
	and	w8, w20, #0x1
	ubfx	w9, w20, #1, #1
	ubfx	w10, w20, #2, #1
	dup.4s	v7, w20
	ushl.4s	v6, v7, v6
	movi.4s	v16, #1
	and.16b	v6, v6, v16
	ushl.4s	v4, v7, v4
	ushl.4s	v5, v7, v5
	and.16b	v5, v5, v16
	and.16b	v4, v4, v16
	ushl.4s	v0, v7, v0
	ushl.4s	v1, v7, v1
	ushl.4s	v2, v7, v2
	ushl.4s	v3, v7, v3
	and.16b	v3, v3, v16
	and.16b	v2, v2, v16
	and.16b	v1, v1, v16
	and.16b	v0, v0, v16
	add.4s	v0, v0, v1
	add.4s	v1, v2, v3
	add.4s	v0, v1, v0
	add.4s	v1, v4, v5
	add.4s	v0, v0, v1
	add.4s	v0, v0, v6
	addv.4s	s0, v0
	fmov	w11, s0
	add	w10, w11, w10
	add	w9, w10, w9
	add	w8, w9, w8
	add	w8, w8, w20, lsr #31
	cmp	w8, #1
	b.ne	LBB0_17
LBB0_15:
	sub	w8, w20, #129
	cmp	w8, #4
	b.hi	LBB0_17
; %bb.16:
Lloh21:
	adrp	x9, l_switch.table.ad1848_set_recmask@PAGE
Lloh22:
	add	x9, x9, l_switch.table.ad1848_set_recmask@PAGEOFF
	ldr	w22, [x9, w8, sxtw #2]
	b	LBB0_18
LBB0_17:
	mov	w22, #128
	mov	w20, #128
LBB0_18:
	mov	x0, x19
	mov	w1, #0
	bl	_ad_read
	and	w8, w0, #0x3f
	orr	w8, w8, w22
	and	w2, w8, #0xff
	mov	x0, x19
	mov	w1, #0
	bl	_ad_write
	mov	x0, x19
	mov	w1, #1
	bl	_ad_read
	and	w8, w0, #0x3f
	orr	w8, w8, w22
	and	w2, w8, #0xff
	mov	x0, x19
	mov	w1, #1
	bl	_ad_write
LBB0_19:
	mov	x0, x21
	bl	_spin_unlock_irqrestore
	mov	x8, #0
	ldr	x9, [x19, #8]
	mov	w10, #1
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x9, x8, lsl #2]
	cmp	x8, x11
	lsl	w11, w10, w11
	and	w12, w11, w20
	ccmp	w12, #0, #4, ne
	bic	w11, w20, w11
	lsl	w12, w10, w8
	orr	w11, w11, w12
	csel	w20, w20, w11, eq
	add	x8, x8, #1
	cmp	x8, #32
	b.ne	LBB0_20
; %bb.21:
	str	w20, [x19, #16]
	mov	x0, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdr	Lloh19, Lloh20
	.loh AdrpAdrp	Lloh17, Lloh19
	.loh AdrpLdr	Lloh17, Lloh18
	.loh AdrpAdrp	Lloh15, Lloh17
	.loh AdrpLdr	Lloh15, Lloh16
	.loh AdrpAdrp	Lloh13, Lloh15
	.loh AdrpLdr	Lloh13, Lloh14
	.loh AdrpAdrp	Lloh11, Lloh13
	.loh AdrpLdr	Lloh11, Lloh12
	.loh AdrpAdrp	Lloh9, Lloh11
	.loh AdrpLdr	Lloh9, Lloh10
	.loh AdrpAdrp	Lloh7, Lloh9
	.loh AdrpLdr	Lloh7, Lloh8
	.loh AdrpAdd	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_soundpro,4,2                   ; @soundpro
	.comm	_LEFT_CHN,4,2                   ; @LEFT_CHN
	.comm	_RIGHT_CHN,4,2                  ; @RIGHT_CHN
	.no_dead_strip	_ad1848_set_recmask
	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.ad1848_set_recmask
l_switch.table.ad1848_set_recmask:
	.long	0                               ; 0x0
	.long	64                              ; 0x40
	.long	0                               ; 0x0
	.long	192                             ; 0xc0
	.long	64                              ; 0x40

.subsections_via_symbols
