	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_optc1_enable_optc_clock        ## -- Begin function optc1_enable_optc_clock
	.p2align	4, 0x90
_optc1_enable_optc_clock:               ## @optc1_enable_optc_clock
	.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
	movl	%esi, %ebx
	callq	_DCN10TG_FROM_TG
	testl	%ebx, %ebx
	je	LBB0_2
## %bb.1:
	movq	_OPTC_INPUT_CLOCK_CONTROL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	_OPTC_INPUT_CLK_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_OPTC_INPUT_CLK_GATE_DIS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$1, %edx
	movl	$1, %r8d
	callq	_REG_UPDATE_2
	movl	(%rbx), %edi
	movq	_OPTC_INPUT_CLK_ON@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edx
	movl	$1, %ecx
	movl	$1000, %r8d                     ## imm = 0x3E8
	callq	_REG_WAIT
	movq	_OTG_CLOCK_CONTROL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	_OTG_CLOCK_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_OTG_CLOCK_GATE_DIS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$1, %edx
	movl	$1, %r8d
	callq	_REG_UPDATE_2
	movl	(%rbx), %edi
	movq	_OTG_CLOCK_ON@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edx
	movl	$1, %ecx
	movl	$1000, %r8d                     ## imm = 0x3E8
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_REG_WAIT                       ## TAILCALL
LBB0_2:
	movq	_OTG_CLOCK_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_OTG_CLOCK_GATE_DIS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_OTG_CLOCK_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	callq	_REG_UPDATE_2
	movq	_OPTC_INPUT_CLOCK_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_OPTC_INPUT_CLK_GATE_DIS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_OPTC_INPUT_CLK_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_REG_UPDATE_2                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_OPTC_INPUT_CLOCK_CONTROL,4,2   ## @OPTC_INPUT_CLOCK_CONTROL
	.comm	_OPTC_INPUT_CLK_EN,4,2          ## @OPTC_INPUT_CLK_EN
	.comm	_OPTC_INPUT_CLK_GATE_DIS,4,2    ## @OPTC_INPUT_CLK_GATE_DIS
	.comm	_OPTC_INPUT_CLK_ON,4,2          ## @OPTC_INPUT_CLK_ON
	.comm	_OTG_CLOCK_CONTROL,4,2          ## @OTG_CLOCK_CONTROL
	.comm	_OTG_CLOCK_EN,4,2               ## @OTG_CLOCK_EN
	.comm	_OTG_CLOCK_GATE_DIS,4,2         ## @OTG_CLOCK_GATE_DIS
	.comm	_OTG_CLOCK_ON,4,2               ## @OTG_CLOCK_ON
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_optc1_enable_optc_clock        ; -- Begin function optc1_enable_optc_clock
	.p2align	2
_optc1_enable_optc_clock:               ; @optc1_enable_optc_clock
	.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, x1
	bl	_DCN10TG_FROM_TG
	cbz	w19, LBB0_2
; %bb.1:
Lloh0:
	adrp	x19, _OPTC_INPUT_CLOCK_CONTROL@GOTPAGE
Lloh1:
	ldr	x19, [x19, _OPTC_INPUT_CLOCK_CONTROL@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh2:
	adrp	x8, _OPTC_INPUT_CLK_EN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _OPTC_INPUT_CLK_EN@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x8, _OPTC_INPUT_CLK_GATE_DIS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _OPTC_INPUT_CLK_GATE_DIS@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
	mov	w2, #1
	mov	w4, #1
	bl	_REG_UPDATE_2
	ldr	w0, [x19]
Lloh8:
	adrp	x8, _OPTC_INPUT_CLK_ON@GOTPAGE
Lloh9:
	ldr	x8, [x8, _OPTC_INPUT_CLK_ON@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	w2, #1
	mov	w3, #1
	mov	w4, #1000
	bl	_REG_WAIT
Lloh11:
	adrp	x19, _OTG_CLOCK_CONTROL@GOTPAGE
Lloh12:
	ldr	x19, [x19, _OTG_CLOCK_CONTROL@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh13:
	adrp	x8, _OTG_CLOCK_EN@GOTPAGE
Lloh14:
	ldr	x8, [x8, _OTG_CLOCK_EN@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
Lloh16:
	adrp	x8, _OTG_CLOCK_GATE_DIS@GOTPAGE
Lloh17:
	ldr	x8, [x8, _OTG_CLOCK_GATE_DIS@GOTPAGEOFF]
Lloh18:
	ldr	w3, [x8]
	mov	w2, #1
	mov	w4, #1
	bl	_REG_UPDATE_2
	ldr	w0, [x19]
Lloh19:
	adrp	x8, _OTG_CLOCK_ON@GOTPAGE
Lloh20:
	ldr	x8, [x8, _OTG_CLOCK_ON@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	w2, #1
	mov	w3, #1
	mov	w4, #1000
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_REG_WAIT
LBB0_2:
Lloh22:
	adrp	x8, _OTG_CLOCK_CONTROL@GOTPAGE
Lloh23:
	ldr	x8, [x8, _OTG_CLOCK_CONTROL@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
Lloh25:
	adrp	x8, _OTG_CLOCK_GATE_DIS@GOTPAGE
Lloh26:
	ldr	x8, [x8, _OTG_CLOCK_GATE_DIS@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
Lloh28:
	adrp	x8, _OTG_CLOCK_EN@GOTPAGE
Lloh29:
	ldr	x8, [x8, _OTG_CLOCK_EN@GOTPAGEOFF]
Lloh30:
	ldr	w3, [x8]
	mov	w2, #0
	mov	w4, #0
	bl	_REG_UPDATE_2
Lloh31:
	adrp	x8, _OPTC_INPUT_CLOCK_CONTROL@GOTPAGE
Lloh32:
	ldr	x8, [x8, _OPTC_INPUT_CLOCK_CONTROL@GOTPAGEOFF]
Lloh33:
	ldr	w0, [x8]
Lloh34:
	adrp	x8, _OPTC_INPUT_CLK_GATE_DIS@GOTPAGE
Lloh35:
	ldr	x8, [x8, _OPTC_INPUT_CLK_GATE_DIS@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
Lloh37:
	adrp	x8, _OPTC_INPUT_CLK_EN@GOTPAGE
Lloh38:
	ldr	x8, [x8, _OPTC_INPUT_CLK_EN@GOTPAGEOFF]
Lloh39:
	ldr	w3, [x8]
	mov	w2, #0
	mov	w4, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_REG_UPDATE_2
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_OPTC_INPUT_CLOCK_CONTROL,4,2   ; @OPTC_INPUT_CLOCK_CONTROL
	.comm	_OPTC_INPUT_CLK_EN,4,2          ; @OPTC_INPUT_CLK_EN
	.comm	_OPTC_INPUT_CLK_GATE_DIS,4,2    ; @OPTC_INPUT_CLK_GATE_DIS
	.comm	_OPTC_INPUT_CLK_ON,4,2          ; @OPTC_INPUT_CLK_ON
	.comm	_OTG_CLOCK_CONTROL,4,2          ; @OTG_CLOCK_CONTROL
	.comm	_OTG_CLOCK_EN,4,2               ; @OTG_CLOCK_EN
	.comm	_OTG_CLOCK_GATE_DIS,4,2         ; @OTG_CLOCK_GATE_DIS
	.comm	_OTG_CLOCK_ON,4,2               ; @OTG_CLOCK_ON
.subsections_via_symbols
