	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gmux_switchto
_gmux_switchto:                         ## @gmux_switchto
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edi, %eax
	movq	_apple_gmux_data@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	movl	%eax, (%rdi)
	movl	%eax, 4(%rdi)
	cmpq	$0, 16(%rdi)
	je	LBB0_2
## %bb.1:
	movl	%eax, 8(%rdi)
LBB0_2:
	callq	_gmux_write_switch_state
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_apple_gmux_data,8,3            ## @apple_gmux_data
	.no_dead_strip	_gmux_switchto
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gmux_switchto
_gmux_switchto:                         ; @gmux_switchto
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x8, x0
Lloh0:
	adrp	x9, _apple_gmux_data@GOTPAGE
Lloh1:
	ldr	x9, [x9, _apple_gmux_data@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x9]
	stp	w8, w8, [x0]
	ldr	x9, [x0, #16]
	cbz	x9, LBB0_2
; %bb.1:
	str	w8, [x0, #8]
LBB0_2:
	bl	_gmux_write_switch_state
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_apple_gmux_data,8,3            ; @apple_gmux_data
	.no_dead_strip	_gmux_switchto
.subsections_via_symbols
