	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wm_mute_get
_wm_mute_get:                           ## @wm_mute_get
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_snd_kcontrol_chip
	movl	(%rbx), %ecx
	cmpl	$256, %ecx                      ## imm = 0x100
	jl	LBB0_13
## %bb.1:
	movzbl	%cl, %r8d
	movq	%rcx, %r15
	shrq	$8, %r15
	movq	(%rax), %rax
	movq	(%rax), %r9
	movq	(%r14), %rax
	cmpl	$2048, %ecx                     ## imm = 0x800
	jae	LBB0_3
## %bb.2:
	xorl	%esi, %esi
	jmp	LBB0_8
LBB0_3:
	leaq	(%rax,%r15,4), %rsi
	leaq	(%r9,%r8,4), %rdx
	leaq	(%r15,%r8), %rdi
	leaq	(%r9,%rdi,4), %rdi
	cmpq	%rdi, %rax
	setb	%r11b
	cmpq	%rsi, %rdx
	setb	%r14b
	movq	_WM_VOL_MUTE@GOTPCREL(%rip), %rdi
	leaq	4(%rdi), %rdx
	cmpq	%rdx, %rax
	setb	%dl
	cmpq	%rdi, %rsi
	seta	%r10b
	xorl	%esi, %esi
	testb	%r14b, %r11b
	jne	LBB0_8
## %bb.4:
	andb	%r10b, %dl
	jne	LBB0_8
## %bb.5:
	movl	%r15d, %esi
	andl	$-8, %esi
	movd	(%rdi), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	leaq	(%r9,%r8,4), %rdx
	addq	$16, %rdx
	shrq	$6, %rcx
	andl	$-32, %ecx
	xorl	%edi, %edi
	pxor	%xmm1, %xmm1
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	-16(%rdx,%rdi), %xmm2
	movdqu	(%rdx,%rdi), %xmm3
	pand	%xmm0, %xmm2
	pand	%xmm0, %xmm3
	pcmpeqd	%xmm1, %xmm2
	psrld	$31, %xmm2
	pcmpeqd	%xmm1, %xmm3
	psrld	$31, %xmm3
	movdqu	%xmm2, (%rax,%rdi)
	movdqu	%xmm3, 16(%rax,%rdi)
	addq	$32, %rdi
	cmpq	%rdi, %rcx
	jne	LBB0_6
## %bb.7:
	cmpq	%r15, %rsi
	je	LBB0_13
LBB0_8:
	movq	%rsi, %rcx
	notq	%rcx
	testb	$1, %r15b
	je	LBB0_10
## %bb.9:
	leaq	(%rsi,%r8), %r10
	movq	_WM_VOL_MUTE@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	xorl	%edx, %edx
	andl	(%r9,%r10,4), %edi
	sete	%dl
	movl	%edx, (%rax,%rsi,4)
	orq	$1, %rsi
LBB0_10:
	addq	%r15, %rcx
	je	LBB0_13
## %bb.11:
	leaq	(%r9,%r8,4), %rcx
	addq	$4, %rcx
	movq	_WM_VOL_MUTE@GOTPCREL(%rip), %rdx
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rdx), %edi
	xorl	%ebx, %ebx
	andl	-4(%rcx,%rsi,4), %edi
	sete	%bl
	movl	%ebx, (%rax,%rsi,4)
	movl	(%rdx), %edi
	xorl	%ebx, %ebx
	andl	(%rcx,%rsi,4), %edi
	sete	%bl
	movl	%ebx, 4(%rax,%rsi,4)
	addq	$2, %rsi
	cmpq	%rsi, %r15
	jne	LBB0_12
LBB0_13:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WM_VOL_MUTE,4,2                ## @WM_VOL_MUTE
	.no_dead_strip	_wm_mute_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wm_mute_get
_wm_mute_get:                           ; @wm_mute_get
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	bl	_snd_kcontrol_chip
	ldr	w13, [x20]
	cmp	w13, #256
	b.lt	LBB0_10
; %bb.1:
	and	x10, x13, #0xff
	lsr	x9, x13, #8
	ldr	x8, [x0]
	ldr	x12, [x8]
	ldr	x11, [x19]
Lloh0:
	adrp	x8, _WM_VOL_MUTE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WM_VOL_MUTE@GOTPAGEOFF]
	cmp	w13, #1, lsl #12                ; =4096
	b.hs	LBB0_3
; %bb.2:
	mov	x13, #0
	b	LBB0_8
LBB0_3:
	mov	x13, #0
	add	x15, x11, x9, lsl #2
	add	x16, x12, x10, lsl #2
	add	x14, x9, x10
	add	x17, x12, x14, lsl #2
	add	x14, x8, #4
	cmp	x11, x14
	ccmp	x15, x8, #0, lo
	cset	w14, hi
	cmp	x16, x15
	ccmp	x11, x17, #2, lo
	b.lo	LBB0_8
; %bb.4:
	tbnz	w14, #0, LBB0_8
; %bb.5:
	ld1r.4s	{ v0 }, [x8]
	and	x13, x9, #0xfffff0
	add	x14, x11, #32
	add	x15, x12, x10, lsl #2
	add	x15, x15, #32
	movi.4s	v1, #1
	mov	x16, x13
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q2, q3, [x15, #-32]
	ldp	q4, q5, [x15], #64
	and.16b	v2, v0, v2
	and.16b	v3, v0, v3
	and.16b	v4, v0, v4
	and.16b	v5, v0, v5
	cmeq.4s	v2, v2, #0
	and.16b	v2, v2, v1
	cmeq.4s	v3, v3, #0
	and.16b	v3, v3, v1
	cmeq.4s	v4, v4, #0
	and.16b	v4, v4, v1
	cmeq.4s	v5, v5, #0
	stp	q2, q3, [x14, #-32]
	and.16b	v2, v5, v1
	stp	q4, q2, [x14], #64
	subs	x16, x16, #16
	b.ne	LBB0_6
; %bb.7:
	cmp	x13, x9
	b.eq	LBB0_10
LBB0_8:
	add	x10, x13, x10
	add	x10, x12, x10, lsl #2
	add	x11, x11, x13, lsl #2
	sub	x9, x9, x13
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x10], #4
	ldr	w13, [x8]
	tst	w13, w12
	cset	w12, eq
	str	w12, [x11], #4
	subs	x9, x9, #1
	b.ne	LBB0_9
LBB0_10:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_WM_VOL_MUTE,4,2                ; @WM_VOL_MUTE
	.no_dead_strip	_wm_mute_get
.subsections_via_symbols
