	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_optc2_set_odm_bypass           ## -- Begin function optc2_set_odm_bypass
	.p2align	4, 0x90
_optc2_set_odm_bypass:                  ## @optc2_set_odm_bypass
	.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	%rsi, %r15
	movq	%rdi, %rbx
	callq	_DCN10TG_FROM_TG
	movq	%rax, %r14
	movq	_OPTC_DATA_SOURCE_SELECT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_OPTC_NUM_OF_INPUT_SEGMENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_OPTC_SEG0_SRC_SEL@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	(%rbx), %r9d
	movq	_OPTC_SEG1_SRC_SEL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	pushq	$15
	pushq	%rax
	callq	_REG_SET_3
	addq	$16, %rsp
	movq	_OTG_H_TIMING_CNTL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	xorl	%esi, %esi
	callq	_REG_WRITE
	movq	%r15, %rdi
	callq	_optc1_is_two_pixels_per_containter
	movl	(%rbx), %edi
	movq	_OTG_H_TIMING_DIV_BY2@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edx
	callq	_REG_UPDATE
	movq	_OPTC_MEMORY_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_OPTC_MEM_SEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	callq	_REG_SET
	movl	$1, (%r14)
	addq	$8, %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
	.comm	_OTG_H_TIMING_CNTL,4,2          ## @OTG_H_TIMING_CNTL
	.comm	_OTG_H_TIMING_DIV_BY2,4,2       ## @OTG_H_TIMING_DIV_BY2
	.comm	_OPTC_MEMORY_CONFIG,4,2         ## @OPTC_MEMORY_CONFIG
	.comm	_OPTC_MEM_SEL,4,2               ## @OPTC_MEM_SEL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_optc2_set_odm_bypass           ; -- Begin function optc2_set_odm_bypass
	.p2align	2
_optc2_set_odm_bypass:                  ; @optc2_set_odm_bypass
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x20, x0
	bl	_DCN10TG_FROM_TG
	mov	x21, x0
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:
	adrp	x9, _OPTC_SEG0_SRC_SEL@GOTPAGE
Lloh6:
	ldr	x9, [x9, _OPTC_SEG0_SRC_SEL@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
Lloh8:
	ldr	w4, [x9]
	ldr	w5, [x20]
Lloh9:
	adrp	x8, _OPTC_SEG1_SRC_SEL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _OPTC_SEG1_SRC_SEL@GOTPAGEOFF]
Lloh11:
	ldr	w6, [x8]
	mov	w1, #0
	mov	w3, #0
	mov	w7, #15
	bl	_REG_SET_3
Lloh12:
	adrp	x20, _OTG_H_TIMING_CNTL@GOTPAGE
Lloh13:
	ldr	x20, [x20, _OTG_H_TIMING_CNTL@GOTPAGEOFF]
	ldr	w0, [x20]
	mov	w1, #0
	bl	_REG_WRITE
	mov	x0, x19
	bl	_optc1_is_two_pixels_per_containter
	mov	x2, x0
	ldr	w0, [x20]
Lloh14:
	adrp	x8, _OTG_H_TIMING_DIV_BY2@GOTPAGE
Lloh15:
	ldr	x8, [x8, _OTG_H_TIMING_DIV_BY2@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	bl	_REG_UPDATE
Lloh17:
	adrp	x8, _OPTC_MEMORY_CONFIG@GOTPAGE
Lloh18:
	ldr	x8, [x8, _OPTC_MEMORY_CONFIG@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
Lloh20:
	adrp	x8, _OPTC_MEM_SEL@GOTPAGE
Lloh21:
	ldr	x8, [x8, _OPTC_MEM_SEL@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
	mov	w1, #0
	mov	w3, #0
	bl	_REG_SET
	mov	w8, #1
	str	w8, [x21]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.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
	.comm	_OTG_H_TIMING_CNTL,4,2          ; @OTG_H_TIMING_CNTL
	.comm	_OTG_H_TIMING_DIV_BY2,4,2       ; @OTG_H_TIMING_DIV_BY2
	.comm	_OPTC_MEMORY_CONFIG,4,2         ; @OPTC_MEMORY_CONFIG
	.comm	_OPTC_MEM_SEL,4,2               ; @OPTC_MEM_SEL
.subsections_via_symbols
