	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function automute_mode_put
_automute_mode_put:                     ## @automute_mode_put
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	callq	_snd_kcontrol_chip
	movq	(%rax), %rdx
	movq	(%rbx), %rcx
	movl	(%rcx), %ecx
	cmpl	$2, %ecx
	je	LBB0_13
## %bb.1:
	cmpl	$1, %ecx
	je	LBB0_6
## %bb.2:
	testl	%ecx, %ecx
	jne	LBB0_18
## %bb.3:
	cmpl	$0, (%rdx)
	jne	LBB0_19
## %bb.4:
	cmpl	$0, 4(%rdx)
	je	LBB0_5
LBB0_19:
	movq	$0, (%rdx)
	jmp	LBB0_20
LBB0_13:
	cmpl	$0, 12(%rdx)
	je	LBB0_18
## %bb.14:
	cmpl	$0, 8(%rdx)
	je	LBB0_18
## %bb.15:
	cmpl	$0, (%rdx)
	je	LBB0_17
## %bb.16:
	xorl	%ecx, %ecx
	cmpl	$0, 4(%rdx)
	jne	LBB0_21
LBB0_17:
	movabsq	$4294967297, %rcx               ## imm = 0x100000001
	movq	%rcx, (%rdx)
	jmp	LBB0_20
LBB0_6:
	cmpl	$0, 8(%rdx)
	je	LBB0_10
## %bb.7:
	cmpl	$0, 4(%rdx)
	je	LBB0_8
LBB0_9:
	movq	$1, (%rdx)
LBB0_20:
	movq	%rax, %rdi
	callq	_call_update_outputs
	movl	$1, %ecx
	jmp	LBB0_21
LBB0_10:
	cmpl	$0, 12(%rdx)
	je	LBB0_18
## %bb.11:
	xorl	%ecx, %ecx
	cmpl	$0, 4(%rdx)
	jne	LBB0_21
## %bb.12:
	movl	$1, 4(%rdx)
	jmp	LBB0_20
LBB0_18:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	subl	(%rax), %ecx
LBB0_21:
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_8:
	xorl	%ecx, %ecx
	cmpl	$0, (%rdx)
	jne	LBB0_21
	jmp	LBB0_9
LBB0_5:
	xorl	%ecx, %ecx
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_automute_mode_put
.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 automute_mode_put
lCPI0_0:
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_automute_mode_put:                     ; @automute_mode_put
	.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
	bl	_snd_kcontrol_chip
	ldr	x8, [x0]
	ldr	x9, [x19]
	ldr	w9, [x9]
	cmp	w9, #2
	b.eq	LBB0_6
; %bb.1:
	cmp	w9, #1
	b.eq	LBB0_11
; %bb.2:
	cbnz	w9, LBB0_19
; %bb.3:
	ldr	w9, [x8]
	cbnz	w9, LBB0_5
; %bb.4:
	ldr	w9, [x8, #4]
	cbz	w9, LBB0_21
LBB0_5:
	str	xzr, [x8]
	b	LBB0_15
LBB0_6:
	ldr	w9, [x8, #12]
	cbz	w9, LBB0_19
; %bb.7:
	ldr	w9, [x8, #8]
	cbz	w9, LBB0_19
; %bb.8:
	ldr	w9, [x8]
	cbz	w9, LBB0_10
; %bb.9:
	ldr	w9, [x8, #4]
	cbnz	w9, LBB0_21
LBB0_10:
	movi.2s	v0, #1
	b	LBB0_14
LBB0_11:
	ldr	w9, [x8, #8]
	cbz	w9, LBB0_16
; %bb.12:
	ldr	w9, [x8, #4]
	cbz	w9, LBB0_20
LBB0_13:
Lloh0:
	adrp	x9, lCPI0_0@PAGE
Lloh1:
	ldr	d0, [x9, lCPI0_0@PAGEOFF]
LBB0_14:
	str	d0, [x8]
LBB0_15:
	bl	_call_update_outputs
	mov	w0, #1
	b	LBB0_22
LBB0_16:
	ldr	w9, [x8, #12]
	cbz	w9, LBB0_19
; %bb.17:
	ldr	w9, [x8, #4]
	cbnz	w9, LBB0_21
; %bb.18:
	mov	w9, #1
	str	w9, [x8, #4]
	b	LBB0_15
LBB0_19:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_22
LBB0_20:
	ldr	w9, [x8]
	cbz	w9, LBB0_13
LBB0_21:
	mov	w0, #0
LBB0_22:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdr	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_automute_mode_put
.subsections_via_symbols
