	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_optc2_set_gsl_source_select    ## -- Begin function optc2_set_gsl_source_select
	.p2align	4, 0x90
_optc2_set_gsl_source_select:           ## @optc2_set_gsl_source_select
	.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
	movl	%edx, %r14d
	movl	%esi, %ebx
	callq	_DCN10TG_FROM_TG
	decl	%ebx
	cmpl	$2, %ebx
	ja	LBB0_1
## %bb.2:
	movslq	%ebx, %rax
	leaq	l_switch.table.optc2_set_gsl_source_select(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	movq	_GSL_SOURCE_SELECT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	(%rax), %esi
	movl	%r14d, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_REG_UPDATE                     ## TAILCALL
LBB0_1:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GSL_SOURCE_SELECT,4,2          ## @GSL_SOURCE_SELECT
	.comm	_GSL0_READY_SOURCE_SEL,4,2      ## @GSL0_READY_SOURCE_SEL
	.comm	_GSL1_READY_SOURCE_SEL,4,2      ## @GSL1_READY_SOURCE_SEL
	.comm	_GSL2_READY_SOURCE_SEL,4,2      ## @GSL2_READY_SOURCE_SEL
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.optc2_set_gsl_source_select
l_switch.table.optc2_set_gsl_source_select:
	.quad	_GSL0_READY_SOURCE_SEL
	.quad	_GSL1_READY_SOURCE_SEL
	.quad	_GSL2_READY_SOURCE_SEL

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_optc2_set_gsl_source_select    ; -- Begin function optc2_set_gsl_source_select
	.p2align	2
_optc2_set_gsl_source_select:           ; @optc2_set_gsl_source_select
	.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, x2
	mov	x20, x1
	bl	_DCN10TG_FROM_TG
	sub	w8, w20, #1
	cmp	w8, #2
	b.hi	LBB0_2
; %bb.1:
Lloh0:
	adrp	x9, l_switch.table.optc2_set_gsl_source_select@PAGE
Lloh1:
	add	x9, x9, l_switch.table.optc2_set_gsl_source_select@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
Lloh2:
	adrp	x9, _GSL_SOURCE_SELECT@GOTPAGE
Lloh3:
	ldr	x9, [x9, _GSL_SOURCE_SELECT@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x9]
	ldr	w1, [x8]
	mov	x2, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_REG_UPDATE
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_GSL_SOURCE_SELECT,4,2          ; @GSL_SOURCE_SELECT
	.comm	_GSL0_READY_SOURCE_SEL,4,2      ; @GSL0_READY_SOURCE_SEL
	.comm	_GSL1_READY_SOURCE_SEL,4,2      ; @GSL1_READY_SOURCE_SEL
	.comm	_GSL2_READY_SOURCE_SEL,4,2      ; @GSL2_READY_SOURCE_SEL
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.optc2_set_gsl_source_select
l_switch.table.optc2_set_gsl_source_select:
	.quad	_GSL0_READY_SOURCE_SEL
	.quad	_GSL1_READY_SOURCE_SEL
	.quad	_GSL2_READY_SOURCE_SEL

.subsections_via_symbols
