	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_mute
_set_mute:                              ## @set_mute
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_CX18_AV_AUDIO_SERIAL2@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_3
## %bb.1:
	movq	%rbx, %rdi
	movl	$2051, %esi                     ## imm = 0x803
	callq	_cx18_av_read
	testl	%r14d, %r14d
	je	LBB0_2
## %bb.4:
	andl	$-17, %eax
	movq	%rbx, %rdi
	movl	$2051, %esi                     ## imm = 0x803
	movl	%eax, %edx
	movl	%eax, %ecx
	movl	$31, %r8d
	callq	_cx18_av_write_expect
	movq	%rbx, %rdi
	movl	$2259, %esi                     ## imm = 0x8D3
	movl	$31, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_cx18_av_write                  ## TAILCALL
LBB0_3:
	xorl	%ecx, %ecx
	testl	%r14d, %r14d
	setne	%cl
	addl	%ecx, %ecx
	movq	%rbx, %rdi
	movl	$2259, %esi                     ## imm = 0x8D3
	movl	$-3, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_cx18_av_and_or                 ## TAILCALL
LBB0_2:
	orl	$16, %eax
	movq	%rbx, %rdi
	movl	$2051, %esi                     ## imm = 0x803
	movl	%eax, %edx
	movl	%eax, %ecx
	movl	$31, %r8d
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_cx18_av_write_expect           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CX18_AV_AUDIO_SERIAL2,8,3      ## @CX18_AV_AUDIO_SERIAL2
	.no_dead_strip	_set_mute
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_mute
_set_mute:                              ; @set_mute
	.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	x20, x1
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _CX18_AV_AUDIO_SERIAL2@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CX18_AV_AUDIO_SERIAL2@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.le	LBB0_3
; %bb.1:
	mov	x0, x19
	mov	w1, #2051
	bl	_cx18_av_read
	cbz	w20, LBB0_4
; %bb.2:
	and	w2, w0, #0xffffffef
	mov	x0, x19
	mov	w1, #2051
	mov	x3, x2
	mov	w4, #31
	bl	_cx18_av_write_expect
	mov	x0, x19
	mov	w1, #2259
	mov	w2, #31
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_cx18_av_write
LBB0_3:
	cmp	w20, #0
	cset	w8, ne
	lsl	w3, w8, #1
	mov	x0, x19
	mov	w1, #2259
	mov	w2, #-3
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_cx18_av_and_or
LBB0_4:
	orr	w2, w0, #0x10
	mov	x0, x19
	mov	w1, #2051
	mov	x3, x2
	mov	w4, #31
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_cx18_av_write_expect
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CX18_AV_AUDIO_SERIAL2,8,3      ; @CX18_AV_AUDIO_SERIAL2
	.no_dead_strip	_set_mute
.subsections_via_symbols
