	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vpu_ipi_handler
_vpu_ipi_handler:                       ## @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
	movq	%rdi, %rbx
	movq	24(%rdi), %r14
	movq	(%r14), %rdx
	movq	_IPI_MAX@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	jae	LBB0_4
## %bb.1:
	movq	16(%rbx), %rcx
	movq	%rdx, %rax
	shlq	$4, %rax
	movq	8(%rcx,%rax), %r8
	testq	%r8, %r8
	je	LBB0_4
## %bb.2:
	movl	8(%r14), %esi
	movl	12(%r14), %edi
	movl	(%rcx,%rax), %edx
	callq	*%r8
	movq	(%r14), %rax
	movq	_IPI_VPU_INIT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jbe	LBB0_5
## %bb.3:
	movq	(%rbx), %rcx
	movl	$1, (%rcx,%rax,4)
	addq	$12, %rbx
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_wake_up                        ## TAILCALL
LBB0_4:
	movl	8(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_dev_err                        ## TAILCALL
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IPI_MAX,8,3                    ## @IPI_MAX
	.comm	_IPI_VPU_INIT,8,3               ## @IPI_VPU_INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"No such ipi id = %d\n"

	.no_dead_strip	_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 vpu_ipi_handler
_vpu_ipi_handler:                       ; @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
	mov	x19, x0
	ldr	x20, [x0, #24]
	ldr	x2, [x20]
Lloh0:
	adrp	x8, _IPI_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IPI_MAX@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x2, x8
	b.hs	LBB0_4
; %bb.1:
	ldr	x9, [x19, #16]
	add	x8, x9, x2, lsl #4
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_4
; %bb.2:
	ldp	w1, w0, [x20, #8]
	lsl	x10, x2, #4
	ldr	w2, [x9, x10]
	blr	x8
	ldr	x8, [x20]
Lloh3:
	adrp	x9, _IPI_VPU_INIT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IPI_VPU_INIT@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ls	LBB0_5
; %bb.3:
	ldr	x9, [x19], #12
	mov	w10, #1
	str	w10, [x9, x8, lsl #2]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_wake_up
LBB0_4:
	ldr	w0, [x19, #8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_dev_err
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_IPI_MAX,8,3                    ; @IPI_MAX
	.comm	_IPI_VPU_INIT,8,3               ; @IPI_VPU_INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No such ipi id = %d\n"

	.no_dead_strip	_vpu_ipi_handler
.subsections_via_symbols
