	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_optc1_get_crc                  ## -- Begin function optc1_get_crc
	.p2align	4, 0x90
_optc1_get_crc:                         ## @optc1_get_crc
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	$0, -32(%rbp)
	callq	_DCN10TG_FROM_TG
	movq	_OTG_CRC_CNTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_OTG_CRC_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-32(%rbp), %rdx
	callq	_REG_GET
	cmpq	$0, -32(%rbp)
	je	LBB0_1
## %bb.2:
	movq	_OTG_CRC0_DATA_RG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_CRC0_R_CR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CRC0_G_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdx
	movq	%r15, %r8
	callq	_REG_GET_2
	movq	_OTG_CRC0_DATA_B@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_CRC0_B_CB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdx
	callq	_REG_GET
	movl	$1, %eax
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OTG_CRC_CNTL,4,2               ## @OTG_CRC_CNTL
	.comm	_OTG_CRC_EN,4,2                 ## @OTG_CRC_EN
	.comm	_OTG_CRC0_DATA_RG,4,2           ## @OTG_CRC0_DATA_RG
	.comm	_CRC0_R_CR,4,2                  ## @CRC0_R_CR
	.comm	_CRC0_G_Y,4,2                   ## @CRC0_G_Y
	.comm	_OTG_CRC0_DATA_B,4,2            ## @OTG_CRC0_DATA_B
	.comm	_CRC0_B_CB,4,2                  ## @CRC0_B_CB
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_optc1_get_crc                  ; -- Begin function optc1_get_crc
	.p2align	2
_optc1_get_crc:                         ; @optc1_get_crc
	.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
	str	xzr, [sp, #8]
	bl	_DCN10TG_FROM_TG
Lloh0:
	adrp	x8, _OTG_CRC_CNTL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OTG_CRC_CNTL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _OTG_CRC_EN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OTG_CRC_EN@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x2, sp, #8
	bl	_REG_GET
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _OTG_CRC0_DATA_RG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _OTG_CRC0_DATA_RG@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _CRC0_R_CR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CRC0_R_CR@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _CRC0_G_Y@GOTPAGE
Lloh13:
	ldr	x8, [x8, _CRC0_G_Y@GOTPAGEOFF]
Lloh14:
	ldr	w3, [x8]
	mov	x2, x21
	mov	x4, x20
	bl	_REG_GET_2
Lloh15:
	adrp	x8, _OTG_CRC0_DATA_B@GOTPAGE
Lloh16:
	ldr	x8, [x8, _OTG_CRC0_DATA_B@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
Lloh18:
	adrp	x8, _CRC0_B_CB@GOTPAGE
Lloh19:
	ldr	x8, [x8, _CRC0_B_CB@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x2, x19
	bl	_REG_GET
	mov	w0, #1
	b	LBB0_3
LBB0_2:
	mov	w0, #0
LBB0_3:
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.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
	.cfi_endproc
                                        ; -- End function
	.comm	_OTG_CRC_CNTL,4,2               ; @OTG_CRC_CNTL
	.comm	_OTG_CRC_EN,4,2                 ; @OTG_CRC_EN
	.comm	_OTG_CRC0_DATA_RG,4,2           ; @OTG_CRC0_DATA_RG
	.comm	_CRC0_R_CR,4,2                  ; @CRC0_R_CR
	.comm	_CRC0_G_Y,4,2                   ; @CRC0_G_Y
	.comm	_OTG_CRC0_DATA_B,4,2            ; @OTG_CRC0_DATA_B
	.comm	_CRC0_B_CB,4,2                  ; @CRC0_B_CB
.subsections_via_symbols
