	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function enable_auxclk
_enable_auxclk:                         ## @enable_auxclk
	.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	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_MGSL_MODE_HDLC@GOTPCREL(%rip), %r14
	movl	$130, %edx
	cmpq	(%r14), %rax
	jne	LBB0_3
## %bb.1:
	cmpl	$0, 8(%rbx)
	je	LBB0_3
## %bb.2:
	movq	_BIT2@GOTPCREL(%rip), %rax
	movzbl	(%rax), %edx
	orl	$130, %edx
LBB0_3:
	movq	_CHB@GOTPCREL(%rip), %r15
	movq	_MODE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r15), %rsi
	movq	%rbx, %rdi
	callq	_write_reg
	movq	_CCR0@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r15), %rsi
	movq	%rbx, %rdi
	movl	$192, %edx
	callq	_write_reg
	movq	_CCR1@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r15), %rsi
	movq	%rbx, %rdi
	movl	$23, %edx
	callq	_write_reg
	movq	(%rbx), %rax
	cmpq	(%r14), %rax
	jne	LBB0_5
## %bb.4:
	movl	$56, %edx
	cmpl	$0, 8(%rbx)
	jne	LBB0_6
LBB0_5:
	movl	$48, %edx
LBB0_6:
	movq	_CCR2@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r15), %rsi
	movq	%rbx, %rdi
	callq	_write_reg
	movq	_CCR4@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r15), %rsi
	movq	%rbx, %rdi
	movl	$80, %edx
	callq	_write_reg
	movq	(%rbx), %rax
	cmpq	(%r14), %rax
	jne	LBB0_8
## %bb.7:
	movl	8(%rbx), %edx
	testl	%edx, %edx
	jne	LBB0_9
LBB0_8:
	movl	$921600, %edx                   ## imm = 0xE1000
LBB0_9:
	movq	(%r15), %rsi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mgslpc_set_rate                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MGSL_MODE_HDLC,8,3             ## @MGSL_MODE_HDLC
	.comm	_BIT2,1,0                       ## @BIT2
	.comm	_CHB,8,3                        ## @CHB
	.comm	_MODE,8,3                       ## @MODE
	.comm	_CCR0,8,3                       ## @CCR0
	.comm	_CCR1,8,3                       ## @CCR1
	.comm	_CCR2,8,3                       ## @CCR2
	.comm	_CCR4,8,3                       ## @CCR4
	.no_dead_strip	_enable_auxclk
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function enable_auxclk
_enable_auxclk:                         ; @enable_auxclk
	.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, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x20, _MGSL_MODE_HDLC@GOTPAGE
Lloh1:
	ldr	x20, [x20, _MGSL_MODE_HDLC@GOTPAGEOFF]
	ldr	x9, [x20]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	ldr	w8, [x19, #8]
	mov	w2, #130
	cbz	w8, LBB0_4
; %bb.2:
Lloh2:
	adrp	x8, _BIT2@GOTPAGE
Lloh3:
	ldr	x8, [x8, _BIT2@GOTPAGEOFF]
	ldrb	w8, [x8]
	orr	w2, w8, w2
	b	LBB0_4
LBB0_3:
	mov	w2, #130
LBB0_4:
Lloh4:
	adrp	x21, _CHB@GOTPAGE
Lloh5:
	ldr	x21, [x21, _CHB@GOTPAGEOFF]
	ldr	x8, [x21]
Lloh6:
	adrp	x9, _MODE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MODE@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	x0, x19
	bl	_write_reg
	ldr	x8, [x21]
Lloh9:
	adrp	x9, _CCR0@GOTPAGE
Lloh10:
	ldr	x9, [x9, _CCR0@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	x0, x19
	mov	w2, #192
	bl	_write_reg
	ldr	x8, [x21]
Lloh12:
	adrp	x9, _CCR1@GOTPAGE
Lloh13:
	ldr	x9, [x9, _CCR1@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	x0, x19
	mov	w2, #23
	bl	_write_reg
	ldr	x8, [x19]
	ldr	x9, [x20]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.5:
	ldr	w8, [x19, #8]
	cbz	w8, LBB0_7
; %bb.6:
	mov	w2, #56
	b	LBB0_8
LBB0_7:
	mov	w2, #48
LBB0_8:
	ldr	x8, [x21]
Lloh15:
	adrp	x9, _CCR2@GOTPAGE
Lloh16:
	ldr	x9, [x9, _CCR2@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	x0, x19
	bl	_write_reg
	ldr	x8, [x21]
Lloh18:
	adrp	x9, _CCR4@GOTPAGE
Lloh19:
	ldr	x9, [x9, _CCR4@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	x0, x19
	mov	w2, #80
	bl	_write_reg
	ldr	x8, [x19]
	ldr	x9, [x20]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.9:
	ldr	w2, [x19, #8]
	cbnz	w2, LBB0_11
LBB0_10:
	mov	w2, #4096
	movk	w2, #14, lsl #16
LBB0_11:
	ldr	x1, [x21]
	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	_mgslpc_set_rate
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_MGSL_MODE_HDLC,8,3             ; @MGSL_MODE_HDLC
	.comm	_BIT2,1,0                       ; @BIT2
	.comm	_CHB,8,3                        ; @CHB
	.comm	_MODE,8,3                       ; @MODE
	.comm	_CCR0,8,3                       ; @CCR0
	.comm	_CCR1,8,3                       ; @CCR1
	.comm	_CCR2,8,3                       ; @CCR2
	.comm	_CCR4,8,3                       ; @CCR4
	.no_dead_strip	_enable_auxclk
.subsections_via_symbols
