	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ch7017_mode_set
_ch7017_mode_set:                       ## @ch7017_mode_set
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r13
	leaq	L_.str(%rip), %rdi
	callq	_DRM_DEBUG_KMS
	movq	%r13, %rdi
	callq	_ch7017_dump_regs
	cmpl	$99999, (%r15)                  ## imm = 0x1869F
	movq	_CH7017_LVDS_CHANNEL_A@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	jg	LBB0_2
## %bb.1:
	movq	_CH7017_CHARGE_PUMP_LOW@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	movq	_CH7017_LVDS_PLL_FEED_BACK_DIVIDER_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$2, %eax
	shll	%cl, %eax
	movq	_CH7017_LVDS_PLL_FEEDBACK_DEFAULT_RESERVED@GOTPCREL(%rip), %rdx
	movl	$2, %esi
	movq	_CH7017_LVDS_PLL_FEED_FORWARD_DIVIDER_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$13, %edi
	shll	%cl, %edi
	orl	(%rdx), %eax
	movq	_CH7017_LVDS_PLL_VCO_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movq	_CH7017_LVDS_PLL_VCO_DEFAULT_RESERVED@GOTPCREL(%rip), %rdx
	shll	%cl, %esi
	orl	(%rdx), %esi
	movq	_CH7017_LVDS_PLL_POST_SCALE_DIV_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$3, %r12d
	shll	%cl, %r12d
	orl	%eax, %edi
	movl	%edi, -48(%rbp)                 ## 4-byte Spill
	orl	%esi, %r12d
	movq	_CH7017_LOOP_FILTER_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$1, %eax
	shll	%cl, %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_3
LBB0_2:
	movq	_CH7017_CHARGE_PUMP_HIGH@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_CH7017_LVDS_PLL_FEED_BACK_DIVIDER_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$2, %edx
	shll	%cl, %edx
	movq	_CH7017_LVDS_PLL_FEEDBACK_DEFAULT_RESERVED@GOTPCREL(%rip), %rcx
	movl	$2, %eax
	orl	(%rcx), %edx
	movq	_CH7017_LVDS_PLL_FEED_FORWARD_DIVIDER_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$3, %ebx
	movl	$3, %edi
	shll	%cl, %edi
	movq	_CH7017_LOOP_FILTER_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %ebx
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movq	_CH7017_LVDS_CHANNEL_B@GOTPCREL(%rip), %rcx
	orl	(%rcx), %esi
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	movq	_CH7017_LVDS_PLL_VCO_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	movq	_CH7017_LVDS_PLL_VCO_DEFAULT_RESERVED@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	orl	%edx, %edi
	movl	%edi, -48(%rbp)                 ## 4-byte Spill
	movq	_CH7017_LVDS_PLL_POST_SCALE_DIV_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$13, %r12d
	shll	%cl, %r12d
	orl	%eax, %r12d
LBB0_3:
	movl	4(%r15), %r14d
	movl	8(%r15), %ebx
	movzbl	%r14b, %r15d
	movzbl	%bl, %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	shrl	$8, %r14d
	andl	$7, %r14d
	shrl	$5, %ebx
	andl	$56, %ebx
	orl	%r14d, %ebx
	movq	_CH7017_LVDS_POWER_DOWN_DEFAULT_RESERVED@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_ch7017_dpms
	movq	_CH7017_HORIZONTAL_ACTIVE_PIXEL_INPUT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	%r15d, %edx
	callq	_ch7017_write
	movq	_CH7017_HORIZONTAL_ACTIVE_PIXEL_OUTPUT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	%r15d, %edx
	callq	_ch7017_write
	movq	_CH7017_VERTICAL_ACTIVE_LINE_OUTPUT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	callq	_ch7017_write
	movq	_CH7017_ACTIVE_INPUT_LINE_OUTPUT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	%ebx, %edx
	callq	_ch7017_write
	movq	_CH7017_LVDS_PLL_VCO_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	%r12d, %edx
	callq	_ch7017_write
	movq	_CH7017_LVDS_PLL_FEEDBACK_DIV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	callq	_ch7017_write
	movq	_CH7017_LVDS_CONTROL_2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_ch7017_write
	movq	_CH7017_OUTPUTS_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	callq	_ch7017_write
	movq	_CH7017_LVDS_POWER_DOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	%r14d, %edx
	callq	_ch7017_write
	leaq	L_.str.1(%rip), %rdi
	callq	_DRM_DEBUG_KMS
	movq	%r13, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ch7017_dump_regs               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Registers before mode setting\n"

	.comm	_CH7017_LVDS_CHANNEL_A,4,2      ## @CH7017_LVDS_CHANNEL_A
	.comm	_CH7017_CHARGE_PUMP_LOW,4,2     ## @CH7017_CHARGE_PUMP_LOW
	.comm	_CH7017_LVDS_PLL_FEEDBACK_DEFAULT_RESERVED,4,2 ## @CH7017_LVDS_PLL_FEEDBACK_DEFAULT_RESERVED
	.comm	_CH7017_LVDS_PLL_FEED_BACK_DIVIDER_SHIFT,4,2 ## @CH7017_LVDS_PLL_FEED_BACK_DIVIDER_SHIFT
	.comm	_CH7017_LVDS_PLL_FEED_FORWARD_DIVIDER_SHIFT,4,2 ## @CH7017_LVDS_PLL_FEED_FORWARD_DIVIDER_SHIFT
	.comm	_CH7017_LVDS_PLL_VCO_DEFAULT_RESERVED,4,2 ## @CH7017_LVDS_PLL_VCO_DEFAULT_RESERVED
	.comm	_CH7017_LVDS_PLL_VCO_SHIFT,4,2  ## @CH7017_LVDS_PLL_VCO_SHIFT
	.comm	_CH7017_LVDS_PLL_POST_SCALE_DIV_SHIFT,4,2 ## @CH7017_LVDS_PLL_POST_SCALE_DIV_SHIFT
	.comm	_CH7017_LOOP_FILTER_SHIFT,4,2   ## @CH7017_LOOP_FILTER_SHIFT
	.comm	_CH7017_PHASE_DETECTOR_SHIFT,4,2 ## @CH7017_PHASE_DETECTOR_SHIFT
	.comm	_CH7017_CHARGE_PUMP_HIGH,4,2    ## @CH7017_CHARGE_PUMP_HIGH
	.comm	_CH7017_LVDS_CHANNEL_B,4,2      ## @CH7017_LVDS_CHANNEL_B
	.comm	_CH7017_LVDS_POWER_DOWN_DEFAULT_RESERVED,4,2 ## @CH7017_LVDS_POWER_DOWN_DEFAULT_RESERVED
	.comm	_CH7017_HORIZONTAL_ACTIVE_PIXEL_INPUT,4,2 ## @CH7017_HORIZONTAL_ACTIVE_PIXEL_INPUT
	.comm	_CH7017_HORIZONTAL_ACTIVE_PIXEL_OUTPUT,4,2 ## @CH7017_HORIZONTAL_ACTIVE_PIXEL_OUTPUT
	.comm	_CH7017_VERTICAL_ACTIVE_LINE_OUTPUT,4,2 ## @CH7017_VERTICAL_ACTIVE_LINE_OUTPUT
	.comm	_CH7017_ACTIVE_INPUT_LINE_OUTPUT,4,2 ## @CH7017_ACTIVE_INPUT_LINE_OUTPUT
	.comm	_CH7017_LVDS_PLL_VCO_CONTROL,4,2 ## @CH7017_LVDS_PLL_VCO_CONTROL
	.comm	_CH7017_LVDS_PLL_FEEDBACK_DIV,4,2 ## @CH7017_LVDS_PLL_FEEDBACK_DIV
	.comm	_CH7017_LVDS_CONTROL_2,4,2      ## @CH7017_LVDS_CONTROL_2
	.comm	_CH7017_OUTPUTS_ENABLE,4,2      ## @CH7017_OUTPUTS_ENABLE
	.comm	_CH7017_LVDS_POWER_DOWN,4,2     ## @CH7017_LVDS_POWER_DOWN
L_.str.1:                               ## @.str.1
	.asciz	"Registers after mode setting\n"

	.no_dead_strip	_ch7017_mode_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ch7017_mode_set
_ch7017_mode_set:                       ; @ch7017_mode_set
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DRM_DEBUG_KMS
	mov	x0, x19
	bl	_ch7017_dump_regs
	ldr	w9, [x22]
Lloh2:
	adrp	x8, _CH7017_LVDS_CHANNEL_A@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CH7017_LVDS_CHANNEL_A@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	mov	w10, #34463
	movk	w10, #1, lsl #16
	cmp	w9, w10
	b.gt	LBB0_2
; %bb.1:
Lloh5:
	adrp	x9, _CH7017_CHARGE_PUMP_LOW@GOTPAGE
Lloh6:
	ldr	x9, [x9, _CH7017_CHARGE_PUMP_LOW@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w20, w9, w8
Lloh8:
	adrp	x8, _CH7017_LVDS_PLL_FEEDBACK_DEFAULT_RESERVED@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CH7017_LVDS_PLL_FEEDBACK_DEFAULT_RESERVED@GOTPAGEOFF]
Lloh10:
	adrp	x9, _CH7017_LVDS_PLL_FEED_BACK_DIVIDER_SHIFT@GOTPAGE
Lloh11:
	ldr	x9, [x9, _CH7017_LVDS_PLL_FEED_BACK_DIVIDER_SHIFT@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	ldr	w9, [x9]
	mov	w10, #2
	lsl	w9, w10, w9
Lloh14:
	adrp	x11, _CH7017_LVDS_PLL_FEED_FORWARD_DIVIDER_SHIFT@GOTPAGE
Lloh15:
	ldr	x11, [x11, _CH7017_LVDS_PLL_FEED_FORWARD_DIVIDER_SHIFT@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh16:
	ldr	w9, [x11]
	mov	w11, #13
	lsl	w9, w11, w9
Lloh17:
	adrp	x11, _CH7017_LVDS_PLL_VCO_DEFAULT_RESERVED@GOTPAGE
Lloh18:
	ldr	x11, [x11, _CH7017_LVDS_PLL_VCO_DEFAULT_RESERVED@GOTPAGEOFF]
	orr	w21, w8, w9
Lloh19:
	ldr	w8, [x11]
Lloh20:
	adrp	x9, _CH7017_LVDS_PLL_VCO_SHIFT@GOTPAGE
Lloh21:
	ldr	x9, [x9, _CH7017_LVDS_PLL_VCO_SHIFT@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	lsl	w9, w10, w9
	orr	w8, w9, w8
Lloh23:
	adrp	x9, _CH7017_LVDS_PLL_POST_SCALE_DIV_SHIFT@GOTPAGE
Lloh24:
	ldr	x9, [x9, _CH7017_LVDS_PLL_POST_SCALE_DIV_SHIFT@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	mov	w10, #3
	lsl	w9, w10, w9
	orr	w24, w8, w9
Lloh26:
	adrp	x8, _CH7017_LOOP_FILTER_SHIFT@GOTPAGE
Lloh27:
	ldr	x8, [x8, _CH7017_LOOP_FILTER_SHIFT@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	mov	w9, #1
	lsl	w23, w9, w8
	b	LBB0_3
LBB0_2:
Lloh29:
	adrp	x9, _CH7017_CHARGE_PUMP_HIGH@GOTPAGE
Lloh30:
	ldr	x9, [x9, _CH7017_CHARGE_PUMP_HIGH@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
Lloh32:
	adrp	x10, _CH7017_LVDS_PLL_FEEDBACK_DEFAULT_RESERVED@GOTPAGE
Lloh33:
	ldr	x10, [x10, _CH7017_LVDS_PLL_FEEDBACK_DEFAULT_RESERVED@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh34:
	ldr	w9, [x10]
Lloh35:
	adrp	x10, _CH7017_LVDS_PLL_FEED_BACK_DIVIDER_SHIFT@GOTPAGE
Lloh36:
	ldr	x10, [x10, _CH7017_LVDS_PLL_FEED_BACK_DIVIDER_SHIFT@GOTPAGEOFF]
Lloh37:
	ldr	w10, [x10]
	mov	w11, #2
	lsl	w10, w11, w10
	orr	w9, w10, w9
Lloh38:
	adrp	x10, _CH7017_LVDS_PLL_FEED_FORWARD_DIVIDER_SHIFT@GOTPAGE
Lloh39:
	ldr	x10, [x10, _CH7017_LVDS_PLL_FEED_FORWARD_DIVIDER_SHIFT@GOTPAGEOFF]
Lloh40:
	ldr	w10, [x10]
	mov	w12, #3
	lsl	w10, w12, w10
	orr	w21, w9, w10
Lloh41:
	adrp	x9, _CH7017_LOOP_FILTER_SHIFT@GOTPAGE
Lloh42:
	ldr	x9, [x9, _CH7017_LOOP_FILTER_SHIFT@GOTPAGEOFF]
Lloh43:
	ldr	w9, [x9]
	lsl	w23, w12, w9
Lloh44:
	adrp	x9, _CH7017_LVDS_CHANNEL_B@GOTPAGE
Lloh45:
	ldr	x9, [x9, _CH7017_LVDS_CHANNEL_B@GOTPAGEOFF]
Lloh46:
	ldr	w9, [x9]
	orr	w20, w8, w9
Lloh47:
	adrp	x8, _CH7017_LVDS_PLL_VCO_DEFAULT_RESERVED@GOTPAGE
Lloh48:
	ldr	x8, [x8, _CH7017_LVDS_PLL_VCO_DEFAULT_RESERVED@GOTPAGEOFF]
Lloh49:
	ldr	w8, [x8]
Lloh50:
	adrp	x9, _CH7017_LVDS_PLL_VCO_SHIFT@GOTPAGE
Lloh51:
	ldr	x9, [x9, _CH7017_LVDS_PLL_VCO_SHIFT@GOTPAGEOFF]
Lloh52:
	ldr	w9, [x9]
	lsl	w9, w11, w9
	orr	w8, w9, w8
Lloh53:
	adrp	x9, _CH7017_LVDS_PLL_POST_SCALE_DIV_SHIFT@GOTPAGE
Lloh54:
	ldr	x9, [x9, _CH7017_LVDS_PLL_POST_SCALE_DIV_SHIFT@GOTPAGEOFF]
Lloh55:
	ldr	w9, [x9]
	mov	w10, #13
	lsl	w9, w10, w9
	orr	w24, w8, w9
LBB0_3:
	ldp	w8, w9, [x22, #4]
	and	w25, w8, #0xff
	and	w26, w9, #0xff
	ubfx	w10, w8, #8, #3
	lsr	w9, w9, #5
	and	w27, w9, #0x38
	bfxil	w27, w8, #8, #3
Lloh56:
	adrp	x8, _CH7017_LVDS_POWER_DOWN_DEFAULT_RESERVED@GOTPAGE
Lloh57:
	ldr	x8, [x8, _CH7017_LVDS_POWER_DOWN_DEFAULT_RESERVED@GOTPAGEOFF]
Lloh58:
	ldr	w8, [x8]
	orr	w22, w8, w10
	mov	x0, x19
	mov	w1, #0
	bl	_ch7017_dpms
Lloh59:
	adrp	x8, _CH7017_HORIZONTAL_ACTIVE_PIXEL_INPUT@GOTPAGE
Lloh60:
	ldr	x8, [x8, _CH7017_HORIZONTAL_ACTIVE_PIXEL_INPUT@GOTPAGEOFF]
Lloh61:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x25
	bl	_ch7017_write
Lloh62:
	adrp	x8, _CH7017_HORIZONTAL_ACTIVE_PIXEL_OUTPUT@GOTPAGE
Lloh63:
	ldr	x8, [x8, _CH7017_HORIZONTAL_ACTIVE_PIXEL_OUTPUT@GOTPAGEOFF]
Lloh64:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x25
	bl	_ch7017_write
Lloh65:
	adrp	x8, _CH7017_VERTICAL_ACTIVE_LINE_OUTPUT@GOTPAGE
Lloh66:
	ldr	x8, [x8, _CH7017_VERTICAL_ACTIVE_LINE_OUTPUT@GOTPAGEOFF]
Lloh67:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x26
	bl	_ch7017_write
Lloh68:
	adrp	x8, _CH7017_ACTIVE_INPUT_LINE_OUTPUT@GOTPAGE
Lloh69:
	ldr	x8, [x8, _CH7017_ACTIVE_INPUT_LINE_OUTPUT@GOTPAGEOFF]
Lloh70:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x27
	bl	_ch7017_write
Lloh71:
	adrp	x8, _CH7017_LVDS_PLL_VCO_CONTROL@GOTPAGE
Lloh72:
	ldr	x8, [x8, _CH7017_LVDS_PLL_VCO_CONTROL@GOTPAGEOFF]
Lloh73:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x24
	bl	_ch7017_write
Lloh74:
	adrp	x8, _CH7017_LVDS_PLL_FEEDBACK_DIV@GOTPAGE
Lloh75:
	ldr	x8, [x8, _CH7017_LVDS_PLL_FEEDBACK_DIV@GOTPAGEOFF]
Lloh76:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x21
	bl	_ch7017_write
Lloh77:
	adrp	x8, _CH7017_LVDS_CONTROL_2@GOTPAGE
Lloh78:
	ldr	x8, [x8, _CH7017_LVDS_CONTROL_2@GOTPAGEOFF]
Lloh79:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x23
	bl	_ch7017_write
Lloh80:
	adrp	x8, _CH7017_OUTPUTS_ENABLE@GOTPAGE
Lloh81:
	ldr	x8, [x8, _CH7017_OUTPUTS_ENABLE@GOTPAGEOFF]
Lloh82:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_ch7017_write
Lloh83:
	adrp	x8, _CH7017_LVDS_POWER_DOWN@GOTPAGE
Lloh84:
	ldr	x8, [x8, _CH7017_LVDS_POWER_DOWN@GOTPAGEOFF]
Lloh85:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x22
	bl	_ch7017_write
Lloh86:
	adrp	x0, l_.str.1@PAGE
Lloh87:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_DRM_DEBUG_KMS
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_ch7017_dump_regs
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh12
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Registers before mode setting\n"

	.comm	_CH7017_LVDS_CHANNEL_A,4,2      ; @CH7017_LVDS_CHANNEL_A
	.comm	_CH7017_CHARGE_PUMP_LOW,4,2     ; @CH7017_CHARGE_PUMP_LOW
	.comm	_CH7017_LVDS_PLL_FEEDBACK_DEFAULT_RESERVED,4,2 ; @CH7017_LVDS_PLL_FEEDBACK_DEFAULT_RESERVED
	.comm	_CH7017_LVDS_PLL_FEED_BACK_DIVIDER_SHIFT,4,2 ; @CH7017_LVDS_PLL_FEED_BACK_DIVIDER_SHIFT
	.comm	_CH7017_LVDS_PLL_FEED_FORWARD_DIVIDER_SHIFT,4,2 ; @CH7017_LVDS_PLL_FEED_FORWARD_DIVIDER_SHIFT
	.comm	_CH7017_LVDS_PLL_VCO_DEFAULT_RESERVED,4,2 ; @CH7017_LVDS_PLL_VCO_DEFAULT_RESERVED
	.comm	_CH7017_LVDS_PLL_VCO_SHIFT,4,2  ; @CH7017_LVDS_PLL_VCO_SHIFT
	.comm	_CH7017_LVDS_PLL_POST_SCALE_DIV_SHIFT,4,2 ; @CH7017_LVDS_PLL_POST_SCALE_DIV_SHIFT
	.comm	_CH7017_LOOP_FILTER_SHIFT,4,2   ; @CH7017_LOOP_FILTER_SHIFT
	.comm	_CH7017_PHASE_DETECTOR_SHIFT,4,2 ; @CH7017_PHASE_DETECTOR_SHIFT
	.comm	_CH7017_CHARGE_PUMP_HIGH,4,2    ; @CH7017_CHARGE_PUMP_HIGH
	.comm	_CH7017_LVDS_CHANNEL_B,4,2      ; @CH7017_LVDS_CHANNEL_B
	.comm	_CH7017_LVDS_POWER_DOWN_DEFAULT_RESERVED,4,2 ; @CH7017_LVDS_POWER_DOWN_DEFAULT_RESERVED
	.comm	_CH7017_HORIZONTAL_ACTIVE_PIXEL_INPUT,4,2 ; @CH7017_HORIZONTAL_ACTIVE_PIXEL_INPUT
	.comm	_CH7017_HORIZONTAL_ACTIVE_PIXEL_OUTPUT,4,2 ; @CH7017_HORIZONTAL_ACTIVE_PIXEL_OUTPUT
	.comm	_CH7017_VERTICAL_ACTIVE_LINE_OUTPUT,4,2 ; @CH7017_VERTICAL_ACTIVE_LINE_OUTPUT
	.comm	_CH7017_ACTIVE_INPUT_LINE_OUTPUT,4,2 ; @CH7017_ACTIVE_INPUT_LINE_OUTPUT
	.comm	_CH7017_LVDS_PLL_VCO_CONTROL,4,2 ; @CH7017_LVDS_PLL_VCO_CONTROL
	.comm	_CH7017_LVDS_PLL_FEEDBACK_DIV,4,2 ; @CH7017_LVDS_PLL_FEEDBACK_DIV
	.comm	_CH7017_LVDS_CONTROL_2,4,2      ; @CH7017_LVDS_CONTROL_2
	.comm	_CH7017_OUTPUTS_ENABLE,4,2      ; @CH7017_OUTPUTS_ENABLE
	.comm	_CH7017_LVDS_POWER_DOWN,4,2     ; @CH7017_LVDS_POWER_DOWN
l_.str.1:                               ; @.str.1
	.asciz	"Registers after mode setting\n"

	.no_dead_strip	_ch7017_mode_set
.subsections_via_symbols
