	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vpu_dec_ipi_handler            ## -- Begin function vpu_dec_ipi_handler
	.p2align	4, 0x90
_vpu_dec_ipi_handler:                   ## @vpu_dec_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
	movq	%rdi, %rbx
	movq	16(%rdi), %r14
	movl	(%rdi), %edx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_mtk_vcodec_debug
	cmpq	$0, 8(%rbx)
	jne	LBB0_5
## %bb.1:
	movl	(%rbx), %edx
	leal	-128(%rdx), %eax
	cmpl	$4, %eax
	ja	LBB0_4
## %bb.2:
	cmpl	$2, %eax
	jne	LBB0_5
## %bb.3:
	movq	%rbx, %rdi
	callq	_handle_init_ack_msg
	jmp	LBB0_5
LBB0_4:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_mtk_vcodec_err
LBB0_5:
	movl	(%rbx), %edx
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_mtk_vcodec_debug
	movq	8(%rbx), %rax
	movq	%rax, (%r14)
	movl	$1, 8(%r14)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"+ id=%X"

L_.str.1:                               ## @.str.1
	.asciz	"invalid msg=%X"

L_.str.2:                               ## @.str.2
	.asciz	"- id=%X"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vpu_dec_ipi_handler            ; -- Begin function vpu_dec_ipi_handler
	.p2align	2
_vpu_dec_ipi_handler:                   ; @vpu_dec_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
	mov	x20, x0
	ldr	x19, [x0, #16]
	ldr	w2, [x0]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_mtk_vcodec_debug
	ldr	x8, [x20, #8]
	cbnz	x8, LBB0_5
; %bb.1:
	ldr	w2, [x20]
	sub	w8, w2, #128
	cmp	w8, #4
	b.hi	LBB0_4
; %bb.2:
	cmp	w8, #2
	b.ne	LBB0_5
; %bb.3:
	mov	x0, x20
	bl	_handle_init_ack_msg
	b	LBB0_5
LBB0_4:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_mtk_vcodec_err
LBB0_5:
	ldr	w2, [x20]
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_mtk_vcodec_debug
	ldr	x8, [x20, #8]
	str	x8, [x19]
	mov	w8, #1
	str	w8, [x19, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"+ id=%X"

l_.str.1:                               ; @.str.1
	.asciz	"invalid msg=%X"

l_.str.2:                               ; @.str.2
	.asciz	"- id=%X"

.subsections_via_symbols
