	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipi_bitmap_handler             ## -- Begin function ipi_bitmap_handler
	.p2align	4, 0x90
_ipi_bitmap_handler:                    ## @ipi_bitmap_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, -32(%rbp)
	movq	_cpuid@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_PCPU_GET
	movl	%eax, %r14d
	xorl	%eax, %eax
	callq	_critical_enter
	movq	_curthread@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	incl	(%rbx)
	movq	8(%rbx), %r15
	leaq	-32(%rbp), %rax
	movq	%rax, 8(%rbx)
	movq	_cpuid_to_pcpu@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%r14d, %rcx
	movq	(%rax,%rcx,8), %rdi
	callq	_atomic_readandclear_int
	movl	%eax, %r14d
	movq	_IPI_PREEMPT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	btl	%eax, %r14d
	jae	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_sched_preempt
LBB0_2:
	movq	_IPI_HARDCLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	btl	%eax, %r14d
	jae	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	callq	_hardclockintr
LBB0_4:
	movq	%r15, 8(%rbx)
	decl	(%rbx)
	xorl	%eax, %eax
	callq	_critical_exit
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cpuid,4,2                      ## @cpuid
	.comm	_curthread,8,3                  ## @curthread
	.comm	_cpuid_to_pcpu,8,3              ## @cpuid_to_pcpu
	.comm	_IPI_PREEMPT,4,2                ## @IPI_PREEMPT
	.comm	_IPI_AST,4,2                    ## @IPI_AST
	.comm	_IPI_HARDCLOCK,4,2              ## @IPI_HARDCLOCK
	.comm	_ipi_ast_counts,8,3             ## @ipi_ast_counts
	.comm	_ipi_hardclock_counts,8,3       ## @ipi_hardclock_counts
	.comm	_ipi_preempt_counts,8,3         ## @ipi_preempt_counts
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipi_bitmap_handler             ; -- Begin function ipi_bitmap_handler
	.p2align	2
_ipi_bitmap_handler:                    ; @ipi_bitmap_handler
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	str	w0, [sp, #8]
Lloh0:
	adrp	x8, _cpuid@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cpuid@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_PCPU_GET
	mov	x20, x0
	bl	_critical_enter
Lloh3:
	adrp	x8, _curthread@GOTPAGE
Lloh4:
	ldr	x8, [x8, _curthread@GOTPAGEOFF]
Lloh5:
	ldr	x19, [x8]
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
	ldr	x21, [x19, #8]
	add	x8, sp, #8
	str	x8, [x19, #8]
Lloh6:
	adrp	x8, _cpuid_to_pcpu@GOTPAGE
Lloh7:
	ldr	x8, [x8, _cpuid_to_pcpu@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldr	x0, [x8, w20, sxtw #3]
	bl	_atomic_readandclear_int
	mov	x20, x0
Lloh9:
	adrp	x8, _IPI_PREEMPT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IPI_PREEMPT@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	lsr	w8, w0, w8
	tbz	w8, #0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_sched_preempt
LBB0_2:
Lloh12:
	adrp	x8, _IPI_HARDCLOCK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IPI_HARDCLOCK@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	lsr	w8, w20, w8
	tbz	w8, #0, LBB0_4
; %bb.3:
	bl	_hardclockintr
LBB0_4:
	str	x21, [x19, #8]
	ldr	w8, [x19]
	sub	w8, w8, #1
	str	w8, [x19]
	bl	_critical_exit
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_cpuid,4,2                      ; @cpuid
	.comm	_curthread,8,3                  ; @curthread
	.comm	_cpuid_to_pcpu,8,3              ; @cpuid_to_pcpu
	.comm	_IPI_PREEMPT,4,2                ; @IPI_PREEMPT
	.comm	_IPI_AST,4,2                    ; @IPI_AST
	.comm	_IPI_HARDCLOCK,4,2              ; @IPI_HARDCLOCK
	.comm	_ipi_ast_counts,8,3             ; @ipi_ast_counts
	.comm	_ipi_hardclock_counts,8,3       ; @ipi_hardclock_counts
	.comm	_ipi_preempt_counts,8,3         ; @ipi_preempt_counts
.subsections_via_symbols
