	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function enable_loopback
_enable_loopback:                       ## @enable_loopback
	.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
	movq	%rdi, %rbx
	movq	_SCR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	%r14d, %esi
	callq	_rd_reg16
	movzwl	%ax, %eax
	movq	_BIT2@GOTPCREL(%rip), %rcx
	movzwl	(%rcx), %edx
	orl	%eax, %edx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_wr_reg16
	movq	(%rbx), %rax
	movq	_MGSL_MODE_ASYNC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	movq	_CCR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$73, %edx
	callq	_wr_reg8
	movl	8(%rbx), %eax
	testl	%eax, %eax
	movl	$3686400, %esi                  ## imm = 0x384000
	cmovnel	%eax, %esi
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_set_rate                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SCR,4,2                        ## @SCR
	.comm	_BIT2,4,2                       ## @BIT2
	.comm	_MGSL_MODE_ASYNC,8,3            ## @MGSL_MODE_ASYNC
	.comm	_CCR,4,2                        ## @CCR
	.no_dead_strip	_enable_loopback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function enable_loopback
_enable_loopback:                       ; @enable_loopback
	.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, x0
Lloh0:
	adrp	x8, _SCR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SCR@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	mov	x1, x20
	bl	_rd_reg16
	and	w8, w0, #0xffff
Lloh3:
	adrp	x9, _BIT2@GOTPAGE
Lloh4:
	ldr	x9, [x9, _BIT2@GOTPAGEOFF]
	ldrh	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x19
	mov	x1, x20
	bl	_wr_reg16
	ldr	x8, [x19]
Lloh5:
	adrp	x9, _MGSL_MODE_ASYNC@GOTPAGE
Lloh6:
	ldr	x9, [x9, _MGSL_MODE_ASYNC@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh8:
	adrp	x8, _CCR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CCR@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #73
	bl	_wr_reg8
	ldr	w8, [x19, #8]
	mov	w9, #16384
	movk	w9, #56, lsl #16
	cmp	w8, #0
	csel	w1, w9, w8, eq
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_set_rate
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_SCR,4,2                        ; @SCR
	.comm	_BIT2,4,2                       ; @BIT2
	.comm	_MGSL_MODE_ASYNC,8,3            ; @MGSL_MODE_ASYNC
	.comm	_CCR,4,2                        ; @CCR
	.no_dead_strip	_enable_loopback
.subsections_via_symbols
