	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intr_irq_handler               ## -- Begin function intr_irq_handler
	.p2align	4, 0x90
_intr_irq_handler:                      ## @intr_irq_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_v_intr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_VM_CNT_INC
	movl	$-1, %edi
	callq	_arm_get_next_irq
	cmpl	$-1, %eax
	je	LBB0_5
## %bb.1:
	movl	%eax, %ebx
	movq	_intrcnt@GOTPCREL(%rip), %r15
	movq	_intr_events@GOTPCREL(%rip), %r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, %edi
	callq	_arm_get_next_irq
	movl	%eax, %ebx
	cmpl	$-1, %eax
	je	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movslq	%ebx, %rcx
	incl	(%rax,%rcx,4)
	movq	(%r12), %rax
	movq	(%rax,%rcx,8), %rdi
	movq	%r14, %rsi
	callq	_intr_event_handle
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, %edi
	callq	_arm_mask_irq
	jmp	LBB0_4
LBB0_5:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_v_intr,4,2                     ## @v_intr
	.comm	_intrcnt,8,3                    ## @intrcnt
	.comm	_intr_events,8,3                ## @intr_events
	.comm	_PMC_FN_USER_CALLCHAIN,4,2      ## @PMC_FN_USER_CALLCHAIN
	.comm	_TDP_CALLCHAIN,4,2              ## @TDP_CALLCHAIN
	.comm	_curthread,4,2                  ## @curthread
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intr_irq_handler               ; -- Begin function intr_irq_handler
	.p2align	2
_intr_irq_handler:                      ; @intr_irq_handler
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _v_intr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _v_intr@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_VM_CNT_INC
	mov	w0, #-1
	bl	_arm_get_next_irq
	cmn	w0, #1
	b.eq	LBB0_5
; %bb.1:
	mov	x20, x0
Lloh3:
	adrp	x21, _intrcnt@GOTPAGE
Lloh4:
	ldr	x21, [x21, _intrcnt@GOTPAGEOFF]
Lloh5:
	adrp	x22, _intr_events@GOTPAGE
Lloh6:
	ldr	x22, [x22, _intr_events@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	bl	_arm_get_next_irq
	mov	x20, x0
	cmn	w0, #1
	b.eq	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	sbfiz	x9, x20, #2, #32
	ldr	w10, [x8, x9]
	add	w10, w10, #1
	str	w10, [x8, x9]
	ldr	x8, [x22]
	ldr	x0, [x8, w20, sxtw #3]
	mov	x1, x19
	bl	_intr_event_handle
	cbz	x0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	bl	_arm_mask_irq
	b	LBB0_2
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_v_intr,4,2                     ; @v_intr
	.comm	_intrcnt,8,3                    ; @intrcnt
	.comm	_intr_events,8,3                ; @intr_events
	.comm	_PMC_FN_USER_CALLCHAIN,4,2      ; @PMC_FN_USER_CALLCHAIN
	.comm	_TDP_CALLCHAIN,4,2              ; @TDP_CALLCHAIN
	.comm	_curthread,4,2                  ; @curthread
.subsections_via_symbols
