	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function psb_intel_lvds_mode_set
_psb_intel_lvds_mode_set:               ## @psb_intel_lvds_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
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movq	(%rsi), %rcx
	cmpq	(%rdx), %rcx
	jne	LBB0_2
## %bb.1:
	movq	8(%rsi), %rsi
	xorl	%ecx, %ecx
	cmpq	8(%rdx), %rsi
	je	LBB0_3
LBB0_2:
	movq	_PFIT_ENABLE@GOTPCREL(%rip), %rdx
	movq	_VERT_AUTO_SCALE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rdx), %ecx
	movq	_HORIZ_AUTO_SCALE@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movq	_VERT_INTERP_BILINEAR@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movq	_HORIZ_INTERP_BILINEAR@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
LBB0_3:
	xorl	%esi, %esi
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.4:
	movq	_PANEL_8TO6_DITHER_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
LBB0_5:
	orl	%ecx, %esi
	movq	_PFIT_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbp
	jmp	_REG_WRITE                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PFIT_ENABLE,4,2                ## @PFIT_ENABLE
	.comm	_VERT_AUTO_SCALE,4,2            ## @VERT_AUTO_SCALE
	.comm	_HORIZ_AUTO_SCALE,4,2           ## @HORIZ_AUTO_SCALE
	.comm	_VERT_INTERP_BILINEAR,4,2       ## @VERT_INTERP_BILINEAR
	.comm	_HORIZ_INTERP_BILINEAR,4,2      ## @HORIZ_INTERP_BILINEAR
	.comm	_PANEL_8TO6_DITHER_ENABLE,4,2   ## @PANEL_8TO6_DITHER_ENABLE
	.comm	_PFIT_CONTROL,4,2               ## @PFIT_CONTROL
	.no_dead_strip	_psb_intel_lvds_mode_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function psb_intel_lvds_mode_set
_psb_intel_lvds_mode_set:               ; @psb_intel_lvds_mode_set
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	x9, [x1]
	ldr	x10, [x2]
	cmp	x9, x10
	b.ne	LBB0_3
; %bb.1:
	ldr	x9, [x1, #8]
	ldr	x10, [x2, #8]
	cmp	x9, x10
	b.ne	LBB0_3
; %bb.2:
	mov	w9, #0
	b	LBB0_4
LBB0_3:
Lloh0:
	adrp	x9, _PFIT_ENABLE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PFIT_ENABLE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _VERT_AUTO_SCALE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _VERT_AUTO_SCALE@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh6:
	adrp	x10, _HORIZ_AUTO_SCALE@GOTPAGE
Lloh7:
	ldr	x10, [x10, _HORIZ_AUTO_SCALE@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	orr	w9, w9, w10
Lloh9:
	adrp	x10, _VERT_INTERP_BILINEAR@GOTPAGE
Lloh10:
	ldr	x10, [x10, _VERT_INTERP_BILINEAR@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	orr	w9, w9, w10
Lloh12:
	adrp	x10, _HORIZ_INTERP_BILINEAR@GOTPAGE
Lloh13:
	ldr	x10, [x10, _HORIZ_INTERP_BILINEAR@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	orr	w9, w9, w10
LBB0_4:
	ldr	x8, [x8]
Lloh15:
	adrp	x10, _PANEL_8TO6_DITHER_ENABLE@GOTPAGE
Lloh16:
	ldr	x10, [x10, _PANEL_8TO6_DITHER_ENABLE@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	cmp	x8, #0
	csel	w8, wzr, w10, eq
	orr	w1, w8, w9
Lloh18:
	adrp	x8, _PFIT_CONTROL@GOTPAGE
Lloh19:
	ldr	x8, [x8, _PFIT_CONTROL@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	b	_REG_WRITE
	.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
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_PFIT_ENABLE,4,2                ; @PFIT_ENABLE
	.comm	_VERT_AUTO_SCALE,4,2            ; @VERT_AUTO_SCALE
	.comm	_HORIZ_AUTO_SCALE,4,2           ; @HORIZ_AUTO_SCALE
	.comm	_VERT_INTERP_BILINEAR,4,2       ; @VERT_INTERP_BILINEAR
	.comm	_HORIZ_INTERP_BILINEAR,4,2      ; @HORIZ_INTERP_BILINEAR
	.comm	_PANEL_8TO6_DITHER_ENABLE,4,2   ; @PANEL_8TO6_DITHER_ENABLE
	.comm	_PFIT_CONTROL,4,2               ; @PFIT_CONTROL
	.no_dead_strip	_psb_intel_lvds_mode_set
.subsections_via_symbols
