	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function audio_mute
_audio_mute:                            ## @audio_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
	movl	24(%rdi), %esi
	movl	%r14d, %edx
	callq	_audio_mux_gpio
	movq	16(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movl	(%rax), %edi
	movq	_V4L2_CID_AUDIO_MUTE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_v4l2_ctrl_find
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%rax, %rdi
	movl	%r14d, %esi
	callq	_v4l2_ctrl_s_ctrl
LBB0_3:
	movq	8(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movl	(%rax), %edi
	movq	_V4L2_CID_AUDIO_MUTE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_v4l2_ctrl_find
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%rax, %rdi
	movl	%r14d, %esi
	callq	_v4l2_ctrl_s_ctrl
LBB0_6:
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	movl	(%rax), %edi
	movq	_V4L2_CID_AUDIO_MUTE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_v4l2_ctrl_find
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	%rax, %rdi
	movl	%r14d, %esi
	callq	_v4l2_ctrl_s_ctrl
LBB0_9:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_CID_AUDIO_MUTE,4,2        ## @V4L2_CID_AUDIO_MUTE
	.no_dead_strip	_audio_mute
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function audio_mute
_audio_mute:                            ; @audio_mute
	.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	x19, x1
	mov	x20, x0
	ldr	w1, [x0, #24]
	mov	x2, x19
	bl	_audio_mux_gpio
	ldr	x8, [x20, #16]
Lloh0:
	adrp	x21, _V4L2_CID_AUDIO_MUTE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _V4L2_CID_AUDIO_MUTE@GOTPAGEOFF]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	w0, [x8]
	ldr	w1, [x21]
	bl	_v4l2_ctrl_find
	cbz	x0, LBB0_3
; %bb.2:
	mov	x1, x19
	bl	_v4l2_ctrl_s_ctrl
LBB0_3:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_6
; %bb.4:
	ldr	w0, [x8]
	ldr	w1, [x21]
	bl	_v4l2_ctrl_find
	cbz	x0, LBB0_6
; %bb.5:
	mov	x1, x19
	bl	_v4l2_ctrl_s_ctrl
LBB0_6:
	ldr	x8, [x20]
	cbz	x8, LBB0_9
; %bb.7:
	ldr	w0, [x8]
	ldr	w1, [x21]
	bl	_v4l2_ctrl_find
	cbz	x0, LBB0_9
; %bb.8:
	mov	x1, x19
	bl	_v4l2_ctrl_s_ctrl
LBB0_9:
	mov	w0, #0
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_CID_AUDIO_MUTE,4,2        ; @V4L2_CID_AUDIO_MUTE
	.no_dead_strip	_audio_mute
.subsections_via_symbols
