	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mtk_mdp_vpu_ipi_handler
_mtk_mdp_vpu_ipi_handler:               ## @mtk_mdp_vpu_ipi_handler
	.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
	movl	(%rdi), %r14d
	movq	8(%rdi), %rbx
	movl	%r14d, (%rbx)
	movq	%rbx, %rdi
	callq	_vpu_to_ctx
	testl	%r14d, %r14d
	je	LBB0_1
## %bb.2:
	movl	(%rax), %edx
	movl	(%rbx), %r8d
	leaq	L_.str.1(%rip), %rsi
	xorl	%edi, %edi
	movl	%r14d, %ecx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_mtk_mdp_dbg                    ## TAILCALL
LBB0_1:
	movq	8(%rax), %rax
	movq	(%rax), %rdi
	leaq	L_.str(%rip), %rsi
	xorl	%edx, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_dev_err                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"handle unknown ipi msg:0x%x\n"

L_.str.1:                               ## @.str.1
	.asciz	"[%d]:msg 0x%x, failure:%d"

	.no_dead_strip	_mtk_mdp_vpu_ipi_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mtk_mdp_vpu_ipi_handler
_mtk_mdp_vpu_ipi_handler:               ; @mtk_mdp_vpu_ipi_handler
	.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
	ldr	w19, [x0]
	ldr	x20, [x0, #8]
	str	w19, [x20]
	mov	x0, x20
	bl	_vpu_to_ctx
	cbz	w19, LBB0_2
; %bb.1:
	ldr	w2, [x0]
Lloh0:
	adrp	x1, l_.str.1@PAGE
Lloh1:
	add	x1, x1, l_.str.1@PAGEOFF
	ldr	w4, [x20]
	mov	w0, #0
	mov	x3, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mtk_mdp_dbg
LBB0_2:
	ldr	x8, [x0, #8]
	ldr	x0, [x8]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_dev_err
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"handle unknown ipi msg:0x%x\n"

l_.str.1:                               ; @.str.1
	.asciz	"[%d]:msg 0x%x, failure:%d"

	.no_dead_strip	_mtk_mdp_vpu_ipi_handler
.subsections_via_symbols
