	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function juli_mute_put
_juli_mute_put:                         ## @juli_mute_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	callq	_snd_kcontrol_chip
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	*(%rax)
	movq	(%r15), %rcx
	cmpq	$0, (%rcx)
	movl	%eax, %r15d
	movl	(%rbx), %ebx
	movq	_GPIO_MUTE_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	je	LBB0_4
## %bb.1:
	cmpl	%eax, %ebx
	jne	LBB0_3
## %bb.2:
	notl	%ebx
	andl	%r15d, %ebx
	movl	16(%r14), %edi
	xorl	%esi, %esi
	movl	$1, %edx
	movl	$1, %ecx
	callq	_snd_akm4xxx_write
	jmp	LBB0_7
LBB0_4:
	cmpl	%eax, %ebx
	jne	LBB0_6
## %bb.5:
	orl	%r15d, %ebx
	movl	16(%r14), %edi
	xorl	%esi, %esi
	movl	$1, %edx
	movl	$3, %ecx
	callq	_snd_akm4xxx_write
	jmp	LBB0_7
LBB0_3:
	orl	%r15d, %ebx
	jmp	LBB0_7
LBB0_6:
	notl	%ebx
	andl	%r15d, %ebx
LBB0_7:
	xorl	%eax, %eax
	cmpl	%ebx, %r15d
	je	LBB0_9
## %bb.8:
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	*8(%r14)
	movl	$1, %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GPIO_MUTE_CONTROL,4,2          ## @GPIO_MUTE_CONTROL
	.no_dead_strip	_juli_mute_put
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function juli_mute_put
_juli_mute_put:                         ; @juli_mute_put
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x21, x1
	mov	x22, x0
	bl	_snd_kcontrol_chip
	mov	x19, x0
	ldr	x8, [x0]
	blr	x8
	mov	x20, x0
	ldr	x8, [x21]
	ldr	x10, [x8]
	ldr	w8, [x22]
Lloh0:
	adrp	x9, _GPIO_MUTE_CONTROL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _GPIO_MUTE_CONTROL@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	cbz	x10, LBB0_3
; %bb.1:
	b.ne	LBB0_7
; %bb.2:
	bic	w21, w20, w8
	ldr	w0, [x19, #16]
	mov	w1, #0
	mov	w2, #1
	mov	w3, #1
	b	LBB0_5
LBB0_3:
	b.ne	LBB0_10
; %bb.4:
	orr	w21, w8, w20
	ldr	w0, [x19, #16]
	mov	w1, #0
	mov	w2, #1
	mov	w3, #3
LBB0_5:
	bl	_snd_akm4xxx_write
	cmp	w20, w21
	b.ne	LBB0_8
LBB0_6:
	mov	w0, #0
	b	LBB0_9
LBB0_7:
	orr	w21, w8, w20
	cmp	w20, w21
	b.eq	LBB0_6
LBB0_8:
	ldr	x8, [x19, #8]
	mov	x0, x19
	mov	x1, x21
	blr	x8
	mov	w0, #1
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_10:
	bic	w21, w20, w8
	cmp	w20, w21
	b.eq	LBB0_6
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GPIO_MUTE_CONTROL,4,2          ; @GPIO_MUTE_CONTROL
	.no_dead_strip	_juli_mute_put
.subsections_via_symbols
