	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rcar_lvds_disable
_rcar_lvds_disable:                     ## @rcar_lvds_disable
	.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
	callq	_bridge_to_rcar_lvds
	movq	%rax, %rbx
	movq	24(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	_drm_panel_disable
	movq	24(%rbx), %rdi
	callq	_drm_panel_unprepare
LBB0_2:
	movq	_LVDCR0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_rcar_lvds_write
	movq	_LVDCR1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_rcar_lvds_write
	movq	_LVDPLLCR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_rcar_lvds_write
	cmpq	$0, 16(%rbx)
	je	LBB0_5
## %bb.3:
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.4:
	movq	(%rdi), %rax
	callq	*(%rax)
LBB0_5:
	movl	(%rbx), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_clk_disable_unprepare          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_LVDCR0,4,2                     ## @LVDCR0
	.comm	_LVDCR1,4,2                     ## @LVDCR1
	.comm	_LVDPLLCR,4,2                   ## @LVDPLLCR
	.no_dead_strip	_rcar_lvds_disable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rcar_lvds_disable
_rcar_lvds_disable:                     ; @rcar_lvds_disable
	.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
	bl	_bridge_to_rcar_lvds
	mov	x19, x0
	ldr	x0, [x0, #24]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_drm_panel_disable
	ldr	x0, [x19, #24]
	bl	_drm_panel_unprepare
LBB0_2:
Lloh0:
	adrp	x8, _LVDCR0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LVDCR0@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_rcar_lvds_write
Lloh3:
	adrp	x8, _LVDCR1@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LVDCR1@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_rcar_lvds_write
Lloh6:
	adrp	x8, _LVDPLLCR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _LVDPLLCR@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_rcar_lvds_write
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_5
; %bb.3:
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_5
; %bb.4:
	ldr	x8, [x0]
	ldr	x8, [x8]
	blr	x8
LBB0_5:
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_clk_disable_unprepare
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LVDCR0,4,2                     ; @LVDCR0
	.comm	_LVDCR1,4,2                     ; @LVDCR1
	.comm	_LVDPLLCR,4,2                   ; @LVDPLLCR
	.no_dead_strip	_rcar_lvds_disable
.subsections_via_symbols
