	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vic_handle_irq_cascaded
_vic_handle_irq_cascaded:               ## @vic_handle_irq_cascaded
	.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, %r15
	callq	_irq_desc_get_chip
	movq	%rax, %r14
	movq	%r15, %rdi
	callq	_irq_desc_get_handler_data
	movq	%rax, %rbx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_chained_irq_enter
	movq	_VIC_IRQ_STATUS@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rdi
	addq	8(%rbx), %rdi
	callq	_readl_relaxed
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rdi
	callq	_ffs
	leaq	-1(%rax), %rsi
	movl	(%rbx), %edi
	callq	_irq_find_mapping
	movl	%eax, %edi
	callq	_generic_handle_irq
	jmp	LBB0_2
LBB0_3:
	movq	%r14, %rdi
	movq	%r15, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_chained_irq_exit               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_VIC_IRQ_STATUS,8,3             ## @VIC_IRQ_STATUS
	.no_dead_strip	_vic_handle_irq_cascaded
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vic_handle_irq_cascaded
_vic_handle_irq_cascaded:               ; @vic_handle_irq_cascaded
	.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
	bl	_irq_desc_get_chip
	mov	x20, x0
	mov	x0, x19
	bl	_irq_desc_get_handler_data
	mov	x21, x0
	mov	x0, x20
	mov	x1, x19
	bl	_chained_irq_enter
	ldr	x8, [x21, #8]
Lloh0:
	adrp	x22, _VIC_IRQ_STATUS@GOTPAGE
Lloh1:
	ldr	x22, [x22, _VIC_IRQ_STATUS@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x22]
	add	x0, x9, x8
	bl	_readl_relaxed
	cbz	x0, LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	bl	_ffs
	sub	x1, x0, #1
	ldr	w0, [x21]
	bl	_irq_find_mapping
	bl	_generic_handle_irq
	ldr	x8, [x21, #8]
	b	LBB0_1
LBB0_3:
	mov	x0, x20
	mov	x1, x19
	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
	b	_chained_irq_exit
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_VIC_IRQ_STATUS,8,3             ; @VIC_IRQ_STATUS
	.no_dead_strip	_vic_handle_irq_cascaded
.subsections_via_symbols
