	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bcm_lintc_pic_attach
_bcm_lintc_pic_attach:                  ## @bcm_lintc_pic_attach
	.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, %r15
	movq	8(%rdi), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	(%rdi), %edi
	callq	_device_get_nameunit
	movq	%rax, %r14
	movq	_BCM_LINTC_NIRQS@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_16
## %bb.1:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	8(%rax), %r12
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, -8(%r12)
	leaq	-128(%rbx), %rax
	cmpq	$9, %rax
	ja	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$0, 4(%r12)
	movq	_INTR_ISRCF_IPI@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$0, 4(%r12)
	xorl	%r13d, %r13d
	jmp	LBB0_13
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$3, %edi
	callq	_BCM_LINTC_TCR_IRQ_EN_TIMER
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, 3088(%rcx)
	jmp	LBB0_11
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$2, %edi
	callq	_BCM_LINTC_TCR_IRQ_EN_TIMER
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, 3112(%rcx)
	jmp	LBB0_11
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %edi
	callq	_BCM_LINTC_TCR_IRQ_EN_TIMER
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, 3136(%rcx)
	jmp	LBB0_11
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edi, %edi
	callq	_BCM_LINTC_TCR_IRQ_EN_TIMER
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, 3160(%rcx)
	jmp	LBB0_11
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	$0, 3180(%rax)
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_INTR_ISRCF_PPI@GOTPCREL(%rip), %rax
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rax), %r13d
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r15), %esi
	movq	%r12, %rdi
	movl	%r13d, %edx
	leaq	L_.str(%rip), %rcx
	movq	%r14, %r8
	movq	%rbx, %r9
	callq	_intr_isrc_register
	testl	%eax, %eax
	jne	LBB0_19
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	addq	$24, %r12
	movq	_BCM_LINTC_NIRQS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jb	LBB0_2
	jmp	LBB0_16
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r13d, %r13d
	xorl	%edi, %edi
	callq	_BCM_LINTC_GIRR_IRQ_CORE
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, 3300(%rcx)
	jmp	LBB0_13
LBB0_16:
	movl	(%r15), %edi
	callq	_ofw_bus_get_node
	movl	%eax, %edi
	callq	_OF_xref_from_node
	movq	%rax, %rbx
	movl	(%r15), %edi
	movq	%rax, %rsi
	callq	_intr_pic_register
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:
	movl	(%r15), %edi
	movq	_bcm_lintc_intr@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rsi
	movq	%r15, %rcx
	xorl	%r8d, %r8d
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_intr_pic_claim_root            ## TAILCALL
LBB0_18:
	movq	_ENXIO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_19:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_10
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_15
	.end_data_region
                                        ## -- End function
	.comm	_BCM_LINTC_NIRQS,8,3            ## @BCM_LINTC_NIRQS
	.comm	_INTR_ISRCF_PPI,4,2             ## @INTR_ISRCF_PPI
	.comm	_INTR_ISRCF_IPI,4,2             ## @INTR_ISRCF_IPI
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s,%u"

	.comm	_ENXIO,4,2                      ## @ENXIO
	.comm	_bcm_lintc_intr,4,2             ## @bcm_lintc_intr
	.no_dead_strip	_bcm_lintc_pic_attach
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bcm_lintc_pic_attach
_bcm_lintc_pic_attach:                  ; @bcm_lintc_pic_attach
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	ldr	x24, [x0, #8]
	ldr	w0, [x0]
	bl	_device_get_nameunit
Lloh0:
	adrp	x25, _BCM_LINTC_NIRQS@GOTPAGE
Lloh1:
	ldr	x25, [x25, _BCM_LINTC_NIRQS@GOTPAGEOFF]
	ldr	x8, [x25]
	cbz	x8, LBB0_14
; %bb.1:
	mov	x20, x0
	mov	x21, #0
	add	x22, x24, #8
Lloh2:
	adrp	x23, l_.str@PAGE
Lloh3:
	add	x23, x23, l_.str@PAGEOFF
Lloh4:
	adrp	x26, _INTR_ISRCF_PPI@GOTPAGE
Lloh5:
	ldr	x26, [x26, _INTR_ISRCF_PPI@GOTPAGEOFF]
Lloh6:
	adrp	x27, _INTR_ISRCF_IPI@GOTPAGE
Lloh7:
	ldr	x27, [x27, _INTR_ISRCF_IPI@GOTPAGEOFF]
Lloh8:
	adrp	x28, lJTI0_0@PAGE
Lloh9:
	add	x28, x28, lJTI0_0@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	stur	x21, [x22, #-8]
	sub	x8, x21, #128
	cmp	x8, #9
	b.hi	LBB0_7
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	adr	x9, LBB0_4
	ldrb	w10, [x28, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	str	wzr, [x22, #4]
	ldr	w2, [x27]
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w1, [x19]
	mov	x0, x22
	mov	x3, x23
	mov	x4, x20
	mov	x5, x21
	bl	_intr_isrc_register
	cbnz	w0, LBB0_17
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x21, x21, #1
	ldr	x8, [x25]
	add	x22, x22, #24
	cmp	x21, x8
	b.lo	LBB0_2
	b	LBB0_14
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	w2, #0
	str	wzr, [x22, #4]
	b	LBB0_5
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	w0, #3
	bl	_BCM_LINTC_TCR_IRQ_EN_TIMER
	str	x0, [x24, #3088]
	ldr	w2, [x26]
	b	LBB0_5
LBB0_9:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	w0, #2
	bl	_BCM_LINTC_TCR_IRQ_EN_TIMER
	str	x0, [x24, #3112]
	ldr	w2, [x26]
	b	LBB0_5
LBB0_10:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w0, #1
	bl	_BCM_LINTC_TCR_IRQ_EN_TIMER
	str	x0, [x24, #3136]
	ldr	w2, [x26]
	b	LBB0_5
LBB0_11:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w0, #0
	bl	_BCM_LINTC_TCR_IRQ_EN_TIMER
	str	x0, [x24, #3160]
	ldr	w2, [x26]
	b	LBB0_5
LBB0_12:                                ;   in Loop: Header=BB0_2 Depth=1
	str	wzr, [x24, #3180]
	ldr	w2, [x26]
	b	LBB0_5
LBB0_13:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w0, #0
	bl	_BCM_LINTC_GIRR_IRQ_CORE
	mov	w2, #0
	str	w0, [x24, #3300]
	b	LBB0_5
LBB0_14:
	ldr	w0, [x19]
	bl	_ofw_bus_get_node
	bl	_OF_xref_from_node
	mov	x20, x0
	ldr	w0, [x19]
	mov	x1, x20
	bl	_intr_pic_register
	cbz	x0, LBB0_16
; %bb.15:
	ldr	w0, [x19]
Lloh10:
	adrp	x8, _bcm_lintc_intr@GOTPAGE
Lloh11:
	ldr	x8, [x8, _bcm_lintc_intr@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	mov	x1, x20
	mov	x3, x19
	mov	w4, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_intr_pic_claim_root
LBB0_16:
Lloh13:
	adrp	x8, _ENXIO@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
LBB0_17:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_8-LBB0_4)>>2
	.byte	(LBB0_9-LBB0_4)>>2
	.byte	(LBB0_10-LBB0_4)>>2
	.byte	(LBB0_11-LBB0_4)>>2
	.byte	(LBB0_12-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_13-LBB0_4)>>2
                                        ; -- End function
	.comm	_BCM_LINTC_NIRQS,8,3            ; @BCM_LINTC_NIRQS
	.comm	_INTR_ISRCF_PPI,4,2             ; @INTR_ISRCF_PPI
	.comm	_INTR_ISRCF_IPI,4,2             ; @INTR_ISRCF_IPI
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s,%u"

	.comm	_ENXIO,4,2                      ; @ENXIO
	.comm	_bcm_lintc_intr,4,2             ; @bcm_lintc_intr
	.no_dead_strip	_bcm_lintc_pic_attach
.subsections_via_symbols
