	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_optc2_get_optc_source          ## -- Begin function optc2_get_optc_source
	.p2align	4, 0x90
_optc2_get_optc_source:                 ## @optc2_get_optc_source
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	%rdx, %r15
	movq	%rsi, %r14
	callq	_DCN10TG_FROM_TG
	movq	_OPTC_DATA_SOURCE_SELECT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_OPTC_NUM_OF_INPUT_SEGMENT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_OPTC_SEG0_SRC_SEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_OPTC_SEG1_SRC_SEL@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%rbx, (%rsp)
	leaq	-28(%rbp), %rdx
	movq	%r15, %r8
	callq	_REG_GET_3
	xorl	%eax, %eax
	cmpl	$1, -28(%rbp)
	sete	%al
	incl	%eax
	movl	%eax, (%r14)
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OPTC_DATA_SOURCE_SELECT,4,2    ## @OPTC_DATA_SOURCE_SELECT
	.comm	_OPTC_NUM_OF_INPUT_SEGMENT,4,2  ## @OPTC_NUM_OF_INPUT_SEGMENT
	.comm	_OPTC_SEG0_SRC_SEL,4,2          ## @OPTC_SEG0_SRC_SEL
	.comm	_OPTC_SEG1_SRC_SEL,4,2          ## @OPTC_SEG1_SRC_SEL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_optc2_get_optc_source          ; -- Begin function optc2_get_optc_source
	.p2align	2
_optc2_get_optc_source:                 ; @optc2_get_optc_source
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x3
	mov	x20, x2
	mov	x21, x1
	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_NUM_OF_INPUT_SEGMENT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OPTC_NUM_OF_INPUT_SEGMENT@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _OPTC_SEG0_SRC_SEL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _OPTC_SEG0_SRC_SEL@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
Lloh9:
	adrp	x8, _OPTC_SEG1_SRC_SEL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _OPTC_SEG1_SRC_SEL@GOTPAGEOFF]
Lloh11:
	ldr	w5, [x8]
	add	x2, sp, #12
	mov	x4, x20
	mov	x6, x19
	bl	_REG_GET_3
	ldr	w8, [sp, #12]
	cmp	w8, #1
	mov	w8, #1
	cinc	w8, w8, eq
	str	w8, [x21]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.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_NUM_OF_INPUT_SEGMENT,4,2  ; @OPTC_NUM_OF_INPUT_SEGMENT
	.comm	_OPTC_SEG0_SRC_SEL,4,2          ; @OPTC_SEG0_SRC_SEL
	.comm	_OPTC_SEG1_SRC_SEL,4,2          ; @OPTC_SEG1_SRC_SEL
.subsections_via_symbols
