	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_optc2_enable_crtc              ## -- Begin function optc2_enable_crtc
	.p2align	4, 0x90
_optc2_enable_crtc:                     ## @optc2_enable_crtc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_DCN10TG_FROM_TG
	movq	_OPTC_DATA_SOURCE_SELECT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_OPTC_SEG0_SRC_SEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	callq	_REG_UPDATE
	movq	_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_VTG0_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edx
	callq	_REG_UPDATE
	movq	_OTG_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_OTG_DISABLE_POINT_CNTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_OTG_MASTER_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$3, %edx
	movl	$1, %r8d
	callq	_REG_UPDATE_2
	movl	$1, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OPTC_DATA_SOURCE_SELECT,4,2    ## @OPTC_DATA_SOURCE_SELECT
	.comm	_OPTC_SEG0_SRC_SEL,4,2          ## @OPTC_SEG0_SRC_SEL
	.comm	_CONTROL,4,2                    ## @CONTROL
	.comm	_VTG0_ENABLE,4,2                ## @VTG0_ENABLE
	.comm	_OTG_CONTROL,4,2                ## @OTG_CONTROL
	.comm	_OTG_DISABLE_POINT_CNTL,4,2     ## @OTG_DISABLE_POINT_CNTL
	.comm	_OTG_MASTER_EN,4,2              ## @OTG_MASTER_EN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_optc2_enable_crtc              ; -- Begin function optc2_enable_crtc
	.p2align	2
_optc2_enable_crtc:                     ; @optc2_enable_crtc
	.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
	bl	_DCN10TG_FROM_TG
Lloh0:
	adrp	x8, _OPTC_DATA_SOURCE_SELECT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OPTC_DATA_SOURCE_SELECT@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _OPTC_SEG0_SRC_SEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OPTC_SEG0_SRC_SEL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ldr	w2, [x19]
	bl	_REG_UPDATE
Lloh6:
	adrp	x8, _CONTROL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CONTROL@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _VTG0_ENABLE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _VTG0_ENABLE@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	w2, #1
	bl	_REG_UPDATE
Lloh12:
	adrp	x8, _OTG_CONTROL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _OTG_CONTROL@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x8, _OTG_DISABLE_POINT_CNTL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _OTG_DISABLE_POINT_CNTL@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
Lloh18:
	adrp	x8, _OTG_MASTER_EN@GOTPAGE
Lloh19:
	ldr	x8, [x8, _OTG_MASTER_EN@GOTPAGEOFF]
Lloh20:
	ldr	w3, [x8]
	mov	w2, #3
	mov	w4, #1
	bl	_REG_UPDATE_2
	mov	w0, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_OPTC_DATA_SOURCE_SELECT,4,2    ; @OPTC_DATA_SOURCE_SELECT
	.comm	_OPTC_SEG0_SRC_SEL,4,2          ; @OPTC_SEG0_SRC_SEL
	.comm	_CONTROL,4,2                    ; @CONTROL
	.comm	_VTG0_ENABLE,4,2                ; @VTG0_ENABLE
	.comm	_OTG_CONTROL,4,2                ; @OTG_CONTROL
	.comm	_OTG_DISABLE_POINT_CNTL,4,2     ; @OTG_DISABLE_POINT_CNTL
	.comm	_OTG_MASTER_EN,4,2              ; @OTG_MASTER_EN
.subsections_via_symbols
