	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bcm_lintc_intr
_bcm_lintc_intr:                        ## @bcm_lintc_intr
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movq	_cpuid@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_PCPU_GET
	movl	%eax, %r15d
	movq	_curthread@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %r12
	movl	%r15d, %edi
	callq	_BCM_LINTC_PENDING_REG
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_bcm_lintc_read_4
	movl	%eax, %ebx
	movq	_BCM_LINTC_PENDING_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	testl	%eax, %edx
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	je	LBB0_15
## %bb.1:
	movq	_BCM_LINTC_PMU_IRQ_MASK@GOTPCREL(%rip), %r14
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edi, %edi
	callq	_arm_irq_memory_barrier
	movl	%r15d, %edi
	callq	_BCM_LINTC_PENDING_REG
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_bcm_lintc_read_4
	movl	%eax, %ebx
	movq	_BCM_LINTC_PENDING_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	testl	%ebx, %edx
	je	LBB0_15
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_BCM_LINTC_TIMER0_IRQ_MASK@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_BCM_LINTC_TIMER0_IRQ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movq	%r12, %rdx
	callq	_bcm_lintc_irq_dispatch
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_BCM_LINTC_TIMER1_IRQ_MASK@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_BCM_LINTC_TIMER1_IRQ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movq	%r12, %rdx
	callq	_bcm_lintc_irq_dispatch
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_BCM_LINTC_TIMER2_IRQ_MASK@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_BCM_LINTC_TIMER2_IRQ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movq	%r12, %rdx
	callq	_bcm_lintc_irq_dispatch
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_BCM_LINTC_TIMER3_IRQ_MASK@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_BCM_LINTC_TIMER3_IRQ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movq	%r12, %rdx
	callq	_bcm_lintc_irq_dispatch
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_BCM_LINTC_GPU_IRQ_MASK@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_BCM_LINTC_GPU_IRQ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movq	%r12, %rdx
	callq	_bcm_lintc_irq_dispatch
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	testl	%ebx, (%r14)
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_BCM_LINTC_PMU_IRQ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movq	%r12, %rdx
	callq	_bcm_lintc_irq_dispatch
	jmp	LBB0_14
LBB0_15:
	notl	%edx
	andl	%ebx, %edx
	je	LBB0_17
## %bb.16:
	movl	(%r13), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_device_printf
	jmp	LBB0_20
LBB0_17:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	testl	%eax, -48(%rbp)                 ## 4-byte Folded Reload
	jne	LBB0_20
## %bb.18:
	movq	_bootverbose@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_20
## %bb.19:
	movl	(%r13), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_device_printf
LBB0_20:
	movq	_FILTER_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cpuid,4,2                      ## @cpuid
	.comm	_curthread,8,3                  ## @curthread
	.comm	_BCM_LINTC_PENDING_MASK,4,2     ## @BCM_LINTC_PENDING_MASK
	.comm	_BCM_LINTC_TIMER0_IRQ_MASK,4,2  ## @BCM_LINTC_TIMER0_IRQ_MASK
	.comm	_BCM_LINTC_TIMER0_IRQ,4,2       ## @BCM_LINTC_TIMER0_IRQ
	.comm	_BCM_LINTC_TIMER1_IRQ_MASK,4,2  ## @BCM_LINTC_TIMER1_IRQ_MASK
	.comm	_BCM_LINTC_TIMER1_IRQ,4,2       ## @BCM_LINTC_TIMER1_IRQ
	.comm	_BCM_LINTC_TIMER2_IRQ_MASK,4,2  ## @BCM_LINTC_TIMER2_IRQ_MASK
	.comm	_BCM_LINTC_TIMER2_IRQ,4,2       ## @BCM_LINTC_TIMER2_IRQ
	.comm	_BCM_LINTC_TIMER3_IRQ_MASK,4,2  ## @BCM_LINTC_TIMER3_IRQ_MASK
	.comm	_BCM_LINTC_TIMER3_IRQ,4,2       ## @BCM_LINTC_TIMER3_IRQ
	.comm	_BCM_LINTC_GPU_IRQ_MASK,4,2     ## @BCM_LINTC_GPU_IRQ_MASK
	.comm	_BCM_LINTC_GPU_IRQ,4,2          ## @BCM_LINTC_GPU_IRQ
	.comm	_BCM_LINTC_PMU_IRQ_MASK,4,2     ## @BCM_LINTC_PMU_IRQ_MASK
	.comm	_BCM_LINTC_PMU_IRQ,4,2          ## @BCM_LINTC_PMU_IRQ
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unknown interrupt(s) %x\n"

	.comm	_bootverbose,8,3                ## @bootverbose
L_.str.1:                               ## @.str.1
	.asciz	"Spurious interrupt detected\n"

	.comm	_FILTER_HANDLED,4,2             ## @FILTER_HANDLED
	.comm	_BCM_LINTC_MBOX0_IRQ_MASK,4,2   ## @BCM_LINTC_MBOX0_IRQ_MASK
	.no_dead_strip	_bcm_lintc_intr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bcm_lintc_intr
_bcm_lintc_intr:                        ; @bcm_lintc_intr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
Lloh0:
	adrp	x8, _cpuid@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cpuid@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_PCPU_GET
	mov	x20, x0
Lloh3:
	adrp	x8, _curthread@GOTPAGE
Lloh4:
	ldr	x8, [x8, _curthread@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	x21, [x8]
	bl	_BCM_LINTC_PENDING_REG
	mov	x1, x0
	mov	x0, x19
	bl	_bcm_lintc_read_4
	mov	x22, x0
Lloh6:
	adrp	x24, _BCM_LINTC_PENDING_MASK@GOTPAGE
Lloh7:
	ldr	x24, [x24, _BCM_LINTC_PENDING_MASK@GOTPAGEOFF]
	ldr	w8, [x24]
	ands	w9, w8, w0
	b.eq	LBB0_16
; %bb.1:
	str	w9, [sp, #12]                   ; 4-byte Folded Spill
Lloh8:
	adrp	x26, _BCM_LINTC_TIMER1_IRQ_MASK@GOTPAGE
Lloh9:
	ldr	x26, [x26, _BCM_LINTC_TIMER1_IRQ_MASK@GOTPAGEOFF]
Lloh10:
	adrp	x27, _BCM_LINTC_TIMER2_IRQ_MASK@GOTPAGE
Lloh11:
	ldr	x27, [x27, _BCM_LINTC_TIMER2_IRQ_MASK@GOTPAGEOFF]
Lloh12:
	adrp	x28, _BCM_LINTC_TIMER3_IRQ_MASK@GOTPAGE
Lloh13:
	ldr	x28, [x28, _BCM_LINTC_TIMER3_IRQ_MASK@GOTPAGEOFF]
Lloh14:
	adrp	x23, _BCM_LINTC_GPU_IRQ_MASK@GOTPAGE
Lloh15:
	ldr	x23, [x23, _BCM_LINTC_GPU_IRQ_MASK@GOTPAGEOFF]
Lloh16:
	adrp	x25, _BCM_LINTC_PMU_IRQ_MASK@GOTPAGE
Lloh17:
	ldr	x25, [x25, _BCM_LINTC_PMU_IRQ_MASK@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	w0, #0
	bl	_arm_irq_memory_barrier
	mov	x0, x20
	bl	_BCM_LINTC_PENDING_REG
	mov	x1, x0
	mov	x0, x19
	bl	_bcm_lintc_read_4
	mov	x22, x0
	ldr	w8, [x24]
	tst	w8, w0
	b.eq	LBB0_15
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
Lloh18:
	adrp	x8, _BCM_LINTC_TIMER0_IRQ_MASK@GOTPAGE
Lloh19:
	ldr	x8, [x8, _BCM_LINTC_TIMER0_IRQ_MASK@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh21:
	adrp	x8, _BCM_LINTC_TIMER0_IRQ@GOTPAGE
Lloh22:
	ldr	x8, [x8, _BCM_LINTC_TIMER0_IRQ@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x21
	bl	_bcm_lintc_irq_dispatch
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x26]
	tst	w8, w22
	b.eq	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh24:
	adrp	x8, _BCM_LINTC_TIMER1_IRQ@GOTPAGE
Lloh25:
	ldr	x8, [x8, _BCM_LINTC_TIMER1_IRQ@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x21
	bl	_bcm_lintc_irq_dispatch
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x27]
	tst	w8, w22
	b.eq	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh27:
	adrp	x8, _BCM_LINTC_TIMER2_IRQ@GOTPAGE
Lloh28:
	ldr	x8, [x8, _BCM_LINTC_TIMER2_IRQ@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x21
	bl	_bcm_lintc_irq_dispatch
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x28]
	tst	w8, w22
	b.eq	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
Lloh30:
	adrp	x8, _BCM_LINTC_TIMER3_IRQ@GOTPAGE
Lloh31:
	ldr	x8, [x8, _BCM_LINTC_TIMER3_IRQ@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x21
	bl	_bcm_lintc_irq_dispatch
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x23]
	tst	w8, w22
	b.eq	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
Lloh33:
	adrp	x8, _BCM_LINTC_GPU_IRQ@GOTPAGE
Lloh34:
	ldr	x8, [x8, _BCM_LINTC_GPU_IRQ@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x21
	bl	_bcm_lintc_irq_dispatch
LBB0_13:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x25]
	tst	w8, w22
	b.eq	LBB0_2
; %bb.14:                               ;   in Loop: Header=BB0_3 Depth=1
Lloh36:
	adrp	x8, _BCM_LINTC_PMU_IRQ@GOTPAGE
Lloh37:
	ldr	x8, [x8, _BCM_LINTC_PMU_IRQ@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x21
	bl	_bcm_lintc_irq_dispatch
	b	LBB0_2
LBB0_15:
	ldr	w9, [sp, #12]                   ; 4-byte Folded Reload
LBB0_16:
	bics	w8, w22, w8
	b.eq	LBB0_18
; %bb.17:
	ldr	w0, [x19]
	str	x8, [sp]
Lloh39:
	adrp	x1, l_.str@PAGE
Lloh40:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_20
LBB0_18:
Lloh41:
	adrp	x8, _bootverbose@GOTPAGE
Lloh42:
	ldr	x8, [x8, _bootverbose@GOTPAGEOFF]
Lloh43:
	ldr	x8, [x8]
	cmp	w9, #0
	ccmp	x8, #0, #4, eq
	b.eq	LBB0_21
; %bb.19:
	ldr	w0, [x19]
Lloh44:
	adrp	x1, l_.str.1@PAGE
Lloh45:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_20:
	bl	_device_printf
LBB0_21:
Lloh46:
	adrp	x8, _FILTER_HANDLED@GOTPAGE
Lloh47:
	ldr	x8, [x8, _FILTER_HANDLED@GOTPAGEOFF]
Lloh48:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.cfi_endproc
                                        ; -- End function
	.comm	_cpuid,4,2                      ; @cpuid
	.comm	_curthread,8,3                  ; @curthread
	.comm	_BCM_LINTC_PENDING_MASK,4,2     ; @BCM_LINTC_PENDING_MASK
	.comm	_BCM_LINTC_TIMER0_IRQ_MASK,4,2  ; @BCM_LINTC_TIMER0_IRQ_MASK
	.comm	_BCM_LINTC_TIMER0_IRQ,4,2       ; @BCM_LINTC_TIMER0_IRQ
	.comm	_BCM_LINTC_TIMER1_IRQ_MASK,4,2  ; @BCM_LINTC_TIMER1_IRQ_MASK
	.comm	_BCM_LINTC_TIMER1_IRQ,4,2       ; @BCM_LINTC_TIMER1_IRQ
	.comm	_BCM_LINTC_TIMER2_IRQ_MASK,4,2  ; @BCM_LINTC_TIMER2_IRQ_MASK
	.comm	_BCM_LINTC_TIMER2_IRQ,4,2       ; @BCM_LINTC_TIMER2_IRQ
	.comm	_BCM_LINTC_TIMER3_IRQ_MASK,4,2  ; @BCM_LINTC_TIMER3_IRQ_MASK
	.comm	_BCM_LINTC_TIMER3_IRQ,4,2       ; @BCM_LINTC_TIMER3_IRQ
	.comm	_BCM_LINTC_GPU_IRQ_MASK,4,2     ; @BCM_LINTC_GPU_IRQ_MASK
	.comm	_BCM_LINTC_GPU_IRQ,4,2          ; @BCM_LINTC_GPU_IRQ
	.comm	_BCM_LINTC_PMU_IRQ_MASK,4,2     ; @BCM_LINTC_PMU_IRQ_MASK
	.comm	_BCM_LINTC_PMU_IRQ,4,2          ; @BCM_LINTC_PMU_IRQ
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unknown interrupt(s) %x\n"

	.comm	_bootverbose,8,3                ; @bootverbose
l_.str.1:                               ; @.str.1
	.asciz	"Spurious interrupt detected\n"

	.comm	_FILTER_HANDLED,4,2             ; @FILTER_HANDLED
	.comm	_BCM_LINTC_MBOX0_IRQ_MASK,4,2   ; @BCM_LINTC_MBOX0_IRQ_MASK
	.no_dead_strip	_bcm_lintc_intr
.subsections_via_symbols
