	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_dp_phy_pattern_passthrough_mode
_set_dp_phy_pattern_passthrough_mode:   ## @set_dp_phy_pattern_passthrough_mode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_setup_panel_mode
	movq	_DP_LINK_FRAMING_CNTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_DP_IDLE_BS_INTERVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DP_VBID_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_DP_VID_ENHANCED_FRAME_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movl	$1, (%rsp)
	movl	$8192, %edx                     ## imm = 0x2000
	xorl	%r8d, %r8d
	callq	_REG_UPDATE_3
	movq	_DP_DPHY_SCRAM_CNTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_DPHY_SCRAMBLER_BS_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$511, %edx                      ## imm = 0x1FF
	callq	_REG_UPDATE
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_set_link_training_complete
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_enable_phy_bypass_mode
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_disable_prbs_mode              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DP_LINK_FRAMING_CNTL,4,2       ## @DP_LINK_FRAMING_CNTL
	.comm	_DP_IDLE_BS_INTERVAL,4,2        ## @DP_IDLE_BS_INTERVAL
	.comm	_DP_VBID_DISABLE,4,2            ## @DP_VBID_DISABLE
	.comm	_DP_VID_ENHANCED_FRAME_MODE,4,2 ## @DP_VID_ENHANCED_FRAME_MODE
	.comm	_DP_DPHY_SCRAM_CNTL,4,2         ## @DP_DPHY_SCRAM_CNTL
	.comm	_DPHY_SCRAMBLER_BS_COUNT,4,2    ## @DPHY_SCRAMBLER_BS_COUNT
	.no_dead_strip	_set_dp_phy_pattern_passthrough_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_dp_phy_pattern_passthrough_mode
_set_dp_phy_pattern_passthrough_mode:   ; @set_dp_phy_pattern_passthrough_mode
	.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, x0
	bl	_setup_panel_mode
Lloh0:
	adrp	x8, _DP_LINK_FRAMING_CNTL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DP_LINK_FRAMING_CNTL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _DP_IDLE_BS_INTERVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DP_IDLE_BS_INTERVAL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _DP_VBID_DISABLE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DP_VBID_DISABLE@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
Lloh9:
	adrp	x8, _DP_VID_ENHANCED_FRAME_MODE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DP_VID_ENHANCED_FRAME_MODE@GOTPAGEOFF]
Lloh11:
	ldr	w5, [x8]
	mov	w2, #8192
	mov	w4, #0
	mov	w6, #1
	bl	_REG_UPDATE_3
Lloh12:
	adrp	x8, _DP_DPHY_SCRAM_CNTL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DP_DPHY_SCRAM_CNTL@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x8, _DPHY_SCRAMBLER_BS_COUNT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _DPHY_SCRAMBLER_BS_COUNT@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	w2, #511
	bl	_REG_UPDATE
	mov	x0, x19
	mov	w1, #1
	bl	_set_link_training_complete
	mov	x0, x19
	mov	w1, #0
	bl	_enable_phy_bypass_mode
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_disable_prbs_mode
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.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	_DP_LINK_FRAMING_CNTL,4,2       ; @DP_LINK_FRAMING_CNTL
	.comm	_DP_IDLE_BS_INTERVAL,4,2        ; @DP_IDLE_BS_INTERVAL
	.comm	_DP_VBID_DISABLE,4,2            ; @DP_VBID_DISABLE
	.comm	_DP_VID_ENHANCED_FRAME_MODE,4,2 ; @DP_VID_ENHANCED_FRAME_MODE
	.comm	_DP_DPHY_SCRAM_CNTL,4,2         ; @DP_DPHY_SCRAM_CNTL
	.comm	_DPHY_SCRAMBLER_BS_COUNT,4,2    ; @DPHY_SCRAMBLER_BS_COUNT
	.no_dead_strip	_set_dp_phy_pattern_passthrough_mode
.subsections_via_symbols
