	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_optc2_set_gsl                  ## -- Begin function optc2_set_gsl
	.p2align	4, 0x90
_optc2_set_gsl:                         ## @optc2_set_gsl
	.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	%rsi, %rbx
	callq	_DCN10TG_FROM_TG
	movq	_OTG_GSL_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_OTG_GSL0_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	16(%rbx), %edx
	movq	_OTG_GSL1_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	12(%rbx), %r8d
	movq	_OTG_GSL2_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movl	8(%rbx), %r10d
	movq	_OTG_GSL_MASTER_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %r11d
	movl	(%rbx), %eax
	movl	4(%rbx), %r14d
	movq	_OTG_GSL_MASTER_MODE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ebx
	subq	$8, %rsp
	pushq	%rax
	pushq	%rbx
	pushq	%r14
	pushq	%r11
	pushq	%r10
	callq	_REG_UPDATE_5
	addq	$48, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OTG_GSL_CONTROL,4,2            ## @OTG_GSL_CONTROL
	.comm	_OTG_GSL0_EN,4,2                ## @OTG_GSL0_EN
	.comm	_OTG_GSL1_EN,4,2                ## @OTG_GSL1_EN
	.comm	_OTG_GSL2_EN,4,2                ## @OTG_GSL2_EN
	.comm	_OTG_GSL_MASTER_EN,4,2          ## @OTG_GSL_MASTER_EN
	.comm	_OTG_GSL_MASTER_MODE,4,2        ## @OTG_GSL_MASTER_MODE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_optc2_set_gsl                  ; -- Begin function optc2_set_gsl
	.p2align	2
_optc2_set_gsl:                         ; @optc2_set_gsl
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x1
	bl	_DCN10TG_FROM_TG
Lloh0:
	adrp	x8, _OTG_GSL_CONTROL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OTG_GSL_CONTROL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _OTG_GSL0_EN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OTG_GSL0_EN@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ldp	w4, w2, [x19, #12]
Lloh6:
	adrp	x8, _OTG_GSL1_EN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _OTG_GSL1_EN@GOTPAGEOFF]
Lloh8:
	adrp	x9, _OTG_GSL2_EN@GOTPAGE
Lloh9:
	ldr	x9, [x9, _OTG_GSL2_EN@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
Lloh11:
	ldr	w5, [x9]
	ldp	w9, w6, [x19, #4]
Lloh12:
	adrp	x8, _OTG_GSL_MASTER_EN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _OTG_GSL_MASTER_EN@GOTPAGEOFF]
Lloh14:
	ldr	w7, [x8]
Lloh15:
	adrp	x8, _OTG_GSL_MASTER_MODE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _OTG_GSL_MASTER_MODE@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	ldr	w10, [x19]
	stp	w8, w10, [sp, #4]
	str	w9, [sp]
	bl	_REG_UPDATE_5
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_OTG_GSL_CONTROL,4,2            ; @OTG_GSL_CONTROL
	.comm	_OTG_GSL0_EN,4,2                ; @OTG_GSL0_EN
	.comm	_OTG_GSL1_EN,4,2                ; @OTG_GSL1_EN
	.comm	_OTG_GSL2_EN,4,2                ; @OTG_GSL2_EN
	.comm	_OTG_GSL_MASTER_EN,4,2          ; @OTG_GSL_MASTER_EN
	.comm	_OTG_GSL_MASTER_MODE,4,2        ; @OTG_GSL_MASTER_MODE
.subsections_via_symbols
