	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hva_hw_runtime_resume          ## -- Begin function hva_hw_runtime_resume
	.p2align	4, 0x90
_hva_hw_runtime_resume:                 ## @hva_hw_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	callq	_dev_get_drvdata
	movq	%rax, %rbx
	movl	(%rax), %edi
	callq	_clk_prepare_enable
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	8(%rbx), %rdi
	movq	_HVA_PREFIX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_5
LBB0_2:
	movl	(%rbx), %edi
	movq	_CLK_RATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_clk_set_rate
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	_HVA_PREFIX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
LBB0_5:
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_3:
	xorl	%eax, %eax
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s     failed to prepare hva clk\n"

	.comm	_HVA_PREFIX,4,2                 ## @HVA_PREFIX
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_CLK_RATE,4,2                   ## @CLK_RATE
L_.str.1:                               ## @.str.1
	.asciz	"%s     failed to set clock frequency\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hva_hw_runtime_resume          ; -- Begin function hva_hw_runtime_resume
	.p2align	2
_hva_hw_runtime_resume:                 ; @hva_hw_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
	mov	x19, x0
	bl	_dev_get_drvdata
	mov	x20, x0
	ldr	w0, [x0]
	bl	_clk_prepare_enable
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x0, [x20, #8]
Lloh0:
	adrp	x8, _HVA_PREFIX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HVA_PREFIX@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_4
LBB0_2:
	ldr	w0, [x20]
Lloh5:
	adrp	x8, _CLK_RATE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CLK_RATE@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_clk_set_rate
	cbz	x0, LBB0_5
; %bb.3:
Lloh8:
	adrp	x8, _HVA_PREFIX@GOTPAGE
Lloh9:
	ldr	x8, [x8, _HVA_PREFIX@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
LBB0_4:
	bl	_dev_err
Lloh13:
	adrp	x8, _EINVAL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s     failed to prepare hva clk\n"

	.comm	_HVA_PREFIX,4,2                 ; @HVA_PREFIX
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_CLK_RATE,4,2                   ; @CLK_RATE
l_.str.1:                               ; @.str.1
	.asciz	"%s     failed to set clock frequency\n"

.subsections_via_symbols
