	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mtk_mdp_vpu_register           ## -- Begin function mtk_mdp_vpu_register
	.p2align	4, 0x90
_mtk_mdp_vpu_register:                  ## @mtk_mdp_vpu_register
	.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
	callq	_platform_get_drvdata
	movq	%rax, %r14
	movl	8(%rax), %edi
	movq	_IPI_MDP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_mtk_mdp_vpu_ipi_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rcx
	xorl	%r8d, %r8d
	callq	_vpu_ipi_register
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	(%r14), %rdi
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edx
	callq	_dev_err
LBB0_2:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IPI_MDP,4,2                    ## @IPI_MDP
	.comm	_mtk_mdp_vpu_ipi_handler,4,2    ## @mtk_mdp_vpu_ipi_handler
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mdp_vpu"

L_.str.1:                               ## @.str.1
	.asciz	"vpu_ipi_registration fail status=%d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mtk_mdp_vpu_register           ; -- Begin function mtk_mdp_vpu_register
	.p2align	2
_mtk_mdp_vpu_register:                  ; @mtk_mdp_vpu_register
	.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	_platform_get_drvdata
	mov	x19, x0
	ldr	w0, [x0, #8]
Lloh0:
	adrp	x8, _IPI_MDP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IPI_MDP@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _mtk_mdp_vpu_ipi_handler@GOTPAGE
Lloh4:
	ldr	x8, [x8, _mtk_mdp_vpu_ipi_handler@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x3, l_.str@PAGE
Lloh7:
	add	x3, x3, l_.str@PAGEOFF
	mov	x4, #0
	bl	_vpu_ipi_register
	mov	x20, x0
	cbz	w0, LBB0_2
; %bb.1:
	ldr	x0, [x19]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x20
	bl	_dev_err
LBB0_2:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_IPI_MDP,4,2                    ; @IPI_MDP
	.comm	_mtk_mdp_vpu_ipi_handler,4,2    ; @mtk_mdp_vpu_ipi_handler
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mdp_vpu"

l_.str.1:                               ; @.str.1
	.asciz	"vpu_ipi_registration fail status=%d\n"

.subsections_via_symbols
