	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sun4i_frontend_runtime_resume
_sun4i_frontend_runtime_resume:         ## @sun4i_frontend_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_dev_get_drvdata
	movq	%rax, %rbx
	movl	12(%rax), %edi
	movl	$300000000, %esi                ## imm = 0x11E1A300
	callq	_clk_set_rate
	movl	16(%rbx), %edi
	callq	_clk_prepare_enable
	movl	12(%rbx), %edi
	callq	_clk_prepare_enable
	movl	8(%rbx), %edi
	callq	_clk_prepare_enable
	movl	4(%rbx), %edi
	callq	_reset_control_reset
	movl	%eax, %r15d
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	jmp	LBB0_3
LBB0_2:
	movl	(%rbx), %edi
	movq	_SUN4I_FRONTEND_EN_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SUN4I_FRONTEND_EN_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ecx, %edx
	callq	_regmap_update_bits
	movq	%rbx, %rdi
	callq	_sun4i_frontend_scaler_init
LBB0_3:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Couldn't reset our device\n"

	.comm	_SUN4I_FRONTEND_EN_REG,4,2      ## @SUN4I_FRONTEND_EN_REG
	.comm	_SUN4I_FRONTEND_EN_EN,4,2       ## @SUN4I_FRONTEND_EN_EN
	.no_dead_strip	_sun4i_frontend_runtime_resume
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sun4i_frontend_runtime_resume
_sun4i_frontend_runtime_resume:         ; @sun4i_frontend_runtime_resume
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x0
	bl	_dev_get_drvdata
	mov	x19, x0
	ldr	w0, [x0, #12]
	mov	w1, #41728
	movk	w1, #4577, lsl #16
	bl	_clk_set_rate
	ldr	w0, [x19, #16]
	bl	_clk_prepare_enable
	ldr	w0, [x19, #12]
	bl	_clk_prepare_enable
	ldr	w0, [x19, #8]
	bl	_clk_prepare_enable
	ldr	w0, [x19, #4]
	bl	_reset_control_reset
	mov	x21, x0
	cbz	w0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	b	LBB0_3
LBB0_2:
	ldr	w0, [x19]
Lloh2:
	adrp	x8, _SUN4I_FRONTEND_EN_REG@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SUN4I_FRONTEND_EN_REG@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x8, _SUN4I_FRONTEND_EN_EN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SUN4I_FRONTEND_EN_EN@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x3, x2
	bl	_regmap_update_bits
	mov	x0, x19
	bl	_sun4i_frontend_scaler_init
LBB0_3:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Couldn't reset our device\n"

	.comm	_SUN4I_FRONTEND_EN_REG,4,2      ; @SUN4I_FRONTEND_EN_REG
	.comm	_SUN4I_FRONTEND_EN_EN,4,2       ; @SUN4I_FRONTEND_EN_EN
	.no_dead_strip	_sun4i_frontend_runtime_resume
.subsections_via_symbols
