	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_opp1_set_dyn_expansion         ## -- Begin function opp1_set_dyn_expansion
	.p2align	4, 0x90
_opp1_set_dyn_expansion:                ## @opp1_set_dyn_expansion
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %ebx
	movl	%edx, %r14d
	callq	_TO_DCN10_OPP
	movq	_FMT_DYNAMIC_EXP_CNTL@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	_FMT_DYNAMIC_EXP_EN@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_FMT_DYNAMIC_EXP_MODE@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	callq	_REG_UPDATE_2
	movq	_SIGNAL_TYPE_HDMI_TYPE_A@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	je	LBB0_4
## %bb.1:
	movq	_SIGNAL_TYPE_DISPLAY_PORT@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	je	LBB0_4
## %bb.2:
	movq	_SIGNAL_TYPE_DISPLAY_PORT_MST@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	je	LBB0_4
## %bb.3:
	movq	_SIGNAL_TYPE_VIRTUAL@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_5
LBB0_4:
	addl	$-128, %r14d
	cmpl	$2, %r14d
	ja	LBB0_5
## %bb.6:
	movslq	%r14d, %rax
	leaq	l_switch.table.opp1_set_dyn_expansion(%rip), %rcx
	movl	(%rcx,%rax,4), %r8d
	movl	(%r15), %edi
	movl	(%r12), %esi
	movl	(%r13), %ecx
	movl	$1, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_REG_UPDATE_2                   ## TAILCALL
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FMT_DYNAMIC_EXP_CNTL,4,2       ## @FMT_DYNAMIC_EXP_CNTL
	.comm	_FMT_DYNAMIC_EXP_EN,4,2         ## @FMT_DYNAMIC_EXP_EN
	.comm	_FMT_DYNAMIC_EXP_MODE,4,2       ## @FMT_DYNAMIC_EXP_MODE
	.comm	_SIGNAL_TYPE_HDMI_TYPE_A,4,2    ## @SIGNAL_TYPE_HDMI_TYPE_A
	.comm	_SIGNAL_TYPE_DISPLAY_PORT,4,2   ## @SIGNAL_TYPE_DISPLAY_PORT
	.comm	_SIGNAL_TYPE_DISPLAY_PORT_MST,4,2 ## @SIGNAL_TYPE_DISPLAY_PORT_MST
	.comm	_SIGNAL_TYPE_VIRTUAL,4,2        ## @SIGNAL_TYPE_VIRTUAL
	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.opp1_set_dyn_expansion
l_switch.table.opp1_set_dyn_expansion:
	.long	1                               ## 0x1
	.long	0                               ## 0x0
	.long	0                               ## 0x0

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_opp1_set_dyn_expansion         ; -- Begin function opp1_set_dyn_expansion
	.p2align	2
_opp1_set_dyn_expansion:                ; @opp1_set_dyn_expansion
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x3
	mov	x19, x2
	bl	_TO_DCN10_OPP
Lloh0:
	adrp	x21, _FMT_DYNAMIC_EXP_CNTL@GOTPAGE
Lloh1:
	ldr	x21, [x21, _FMT_DYNAMIC_EXP_CNTL@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh2:
	adrp	x22, _FMT_DYNAMIC_EXP_EN@GOTPAGE
Lloh3:
	ldr	x22, [x22, _FMT_DYNAMIC_EXP_EN@GOTPAGEOFF]
	ldr	w1, [x22]
Lloh4:
	adrp	x23, _FMT_DYNAMIC_EXP_MODE@GOTPAGE
Lloh5:
	ldr	x23, [x23, _FMT_DYNAMIC_EXP_MODE@GOTPAGEOFF]
	ldr	w3, [x23]
	mov	w2, #0
	mov	w4, #0
	bl	_REG_UPDATE_2
Lloh6:
	adrp	x8, _SIGNAL_TYPE_HDMI_TYPE_A@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SIGNAL_TYPE_HDMI_TYPE_A@GOTPAGEOFF]
Lloh8:
	adrp	x9, _SIGNAL_TYPE_DISPLAY_PORT@GOTPAGE
Lloh9:
	ldr	x9, [x9, _SIGNAL_TYPE_DISPLAY_PORT@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	ldr	w9, [x9]
Lloh12:
	adrp	x10, _SIGNAL_TYPE_DISPLAY_PORT_MST@GOTPAGE
Lloh13:
	ldr	x10, [x10, _SIGNAL_TYPE_DISPLAY_PORT_MST@GOTPAGEOFF]
Lloh14:
	adrp	x11, _SIGNAL_TYPE_VIRTUAL@GOTPAGE
Lloh15:
	ldr	x11, [x11, _SIGNAL_TYPE_VIRTUAL@GOTPAGEOFF]
Lloh16:
	ldr	w10, [x10]
Lloh17:
	ldr	w11, [x11]
	cmp	w8, w20
	ccmp	w9, w20, #4, ne
	ccmp	w10, w20, #4, ne
	ccmp	w11, w20, #4, ne
	b.ne	LBB0_3
; %bb.1:
	sub	w8, w19, #128
	cmp	w8, #2
	b.hi	LBB0_3
; %bb.2:
Lloh18:
	adrp	x9, l_switch.table.opp1_set_dyn_expansion@PAGE
Lloh19:
	add	x9, x9, l_switch.table.opp1_set_dyn_expansion@PAGEOFF
	ldr	w4, [x9, w8, sxtw #2]
	ldr	w0, [x21]
	ldr	w1, [x22]
	ldr	w3, [x23]
	mov	w2, #1
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_REG_UPDATE_2
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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh16
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_FMT_DYNAMIC_EXP_CNTL,4,2       ; @FMT_DYNAMIC_EXP_CNTL
	.comm	_FMT_DYNAMIC_EXP_EN,4,2         ; @FMT_DYNAMIC_EXP_EN
	.comm	_FMT_DYNAMIC_EXP_MODE,4,2       ; @FMT_DYNAMIC_EXP_MODE
	.comm	_SIGNAL_TYPE_HDMI_TYPE_A,4,2    ; @SIGNAL_TYPE_HDMI_TYPE_A
	.comm	_SIGNAL_TYPE_DISPLAY_PORT,4,2   ; @SIGNAL_TYPE_DISPLAY_PORT
	.comm	_SIGNAL_TYPE_DISPLAY_PORT_MST,4,2 ; @SIGNAL_TYPE_DISPLAY_PORT_MST
	.comm	_SIGNAL_TYPE_VIRTUAL,4,2        ; @SIGNAL_TYPE_VIRTUAL
	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.opp1_set_dyn_expansion
l_switch.table.opp1_set_dyn_expansion:
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.long	0                               ; 0x0

.subsections_via_symbols
