	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dispc_runtime_resume
_dispc_runtime_resume:                  ## @dispc_runtime_resume
	.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	_dev_get_drvdata
	movq	%rax, %rbx
	movq	_DISPC_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$2, %edx
	movl	$1, %ecx
	callq	_REG_GET
	movq	_OMAP_DSS_LOAD_FRAME_ONLY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	__omap_dispc_initial_config
	movq	%rbx, %rdi
	callq	_dispc_errata_i734_wa
	movq	%rbx, %rdi
	callq	_dispc_restore_context
	movq	%rbx, %rdi
	callq	_dispc_restore_gamma_tables
LBB0_2:
	movl	$1, (%rbx)
	xorl	%eax, %eax
	callq	_smp_wmb
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DISPC_CONFIG,4,2               ## @DISPC_CONFIG
	.comm	_OMAP_DSS_LOAD_FRAME_ONLY,8,3   ## @OMAP_DSS_LOAD_FRAME_ONLY
	.no_dead_strip	_dispc_runtime_resume
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dispc_runtime_resume
_dispc_runtime_resume:                  ; @dispc_runtime_resume
	.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	_dev_get_drvdata
	mov	x19, x0
Lloh0:
	adrp	x8, _DISPC_CONFIG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DISPC_CONFIG@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w20, #1
	mov	w2, #2
	mov	w3, #1
	bl	_REG_GET
Lloh3:
	adrp	x8, _OMAP_DSS_LOAD_FRAME_ONLY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OMAP_DSS_LOAD_FRAME_ONLY@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	__omap_dispc_initial_config
	mov	x0, x19
	bl	_dispc_errata_i734_wa
	mov	x0, x19
	bl	_dispc_restore_context
	mov	x0, x19
	bl	_dispc_restore_gamma_tables
LBB0_2:
	str	w20, [x19]
	bl	_smp_wmb
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DISPC_CONFIG,4,2               ; @DISPC_CONFIG
	.comm	_OMAP_DSS_LOAD_FRAME_ONLY,8,3   ; @OMAP_DSS_LOAD_FRAME_ONLY
	.no_dead_strip	_dispc_runtime_resume
.subsections_via_symbols
