	.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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	_MD2@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	%r14d, %esi
	callq	_read_reg
	movq	_BIT1@GOTPCREL(%rip), %rdx
	movq	_BIT0@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	addl	(%rdx), %ecx
	testl	%r15d, %r15d
	je	LBB0_2
## %bb.1:
	orl	%eax, %ecx
	movzbl	%cl, %edx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_write_reg
	movl	(%r12), %eax
	movb	(%rbx), %cl
	addb	%cl, %cl
	shll	%cl, %eax
	movq	8(%rbx), %rcx
	movq	(%rcx), %rcx
	orl	%eax, (%rcx)
	movq	%rbx, %rdi
	callq	_write_control_reg
	movl	$64, %r14d
	jmp	LBB0_3
LBB0_2:
	notl	%ecx
	andl	%ecx, %eax
	movzbl	%al, %edx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_write_reg
	xorl	%r14d, %r14d
LBB0_3:
	movq	_RXS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_write_reg
	movq	_TXS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_write_reg
	movl	4(%rbx), %eax
	testl	%eax, %eax
	movl	$3686400, %esi                  ## imm = 0x384000
	cmovnel	%eax, %esi
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_set_rate                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MD2,4,2                        ## @MD2
	.comm	_BIT1,4,2                       ## @BIT1
	.comm	_BIT0,4,2                       ## @BIT0
	.comm	_RXS,4,2                        ## @RXS
	.comm	_TXS,4,2                        ## @TXS
	.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	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	x19, x0
Lloh0:
	adrp	x8, _MD2@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MD2@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	mov	x1, x20
	bl	_read_reg
Lloh3:
	adrp	x8, _BIT1@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BIT1@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x22, _BIT0@GOTPAGE
Lloh7:
	ldr	x22, [x22, _BIT0@GOTPAGEOFF]
	ldr	w9, [x22]
	add	w8, w9, w8
	cbz	w21, LBB0_2
; %bb.1:
	orr	w8, w8, w0
	and	w2, w8, #0xff
	mov	x0, x19
	mov	x1, x20
	bl	_write_reg
	ldr	w8, [x22]
	ldr	w9, [x19]
	lsl	w9, w9, #1
	lsl	w8, w8, w9
	ldr	x9, [x19, #8]
	ldr	x9, [x9]
	ldr	w10, [x9]
	orr	w8, w10, w8
	str	w8, [x9]
	mov	x0, x19
	bl	_write_control_reg
	mov	w20, #64
	b	LBB0_3
LBB0_2:
	bic	w8, w0, w8
	and	w2, w8, #0xff
	mov	x0, x19
	mov	x1, x20
	bl	_write_reg
	mov	w20, #0
LBB0_3:
Lloh8:
	adrp	x8, _RXS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _RXS@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_write_reg
Lloh11:
	adrp	x8, _TXS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TXS@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_write_reg
	ldr	w8, [x19, #4]
	mov	w9, #16384
	movk	w9, #56, lsl #16
	cmp	w8, #0
	csel	w1, w9, w8, eq
	mov	x0, x19
	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
	b	_set_rate
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_MD2,4,2                        ; @MD2
	.comm	_BIT1,4,2                       ; @BIT1
	.comm	_BIT0,4,2                       ; @BIT0
	.comm	_RXS,4,2                        ; @RXS
	.comm	_TXS,4,2                        ; @TXS
	.no_dead_strip	_enable_loopback
.subsections_via_symbols
