	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gsc_asic_intr                  ## -- Begin function gsc_asic_intr
	.p2align	4, 0x90
_gsc_asic_intr:                         ## @gsc_asic_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	_OFFSET_IRR@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	16(%rsi), %rdi
	callq	_gsc_readl
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movl	8(%r14), %esi
	leaq	L_.str(%rip), %rdi
	movq	%rax, %rdx
	callq	_DEBPRINTK
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	___ffs
	movq	(%r14), %rcx
	movslq	%eax, %r15
	movl	(%rcx,%r15,4), %edi
	callq	_generic_handle_irq
	movl	$-2, %eax
	movl	%r15d, %ecx
	roll	%cl, %eax
	cltq
	andq	%rax, %rbx
	jne	LBB0_3
	jmp	LBB0_4
LBB0_1:
	movq	_IRQ_NONE@GOTPCREL(%rip), %r12
LBB0_4:
	movl	(%r12), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OFFSET_IRR,8,3                 ## @OFFSET_IRR
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s intr, mask=0x%x\n"

	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gsc_asic_intr                  ; -- Begin function gsc_asic_intr
	.p2align	2
_gsc_asic_intr:                         ; @gsc_asic_intr
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	ldr	x8, [x1, #16]
Lloh0:
	adrp	x9, _OFFSET_IRR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _OFFSET_IRR@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_gsc_readl
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	ldr	w1, [x19, #8]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x20
	bl	_DEBPRINTK
	mov	w23, #1
Lloh5:
	adrp	x22, _IRQ_HANDLED@GOTPAGE
Lloh6:
	ldr	x22, [x22, _IRQ_HANDLED@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	___ffs
	mov	x21, x0
	ldr	x8, [x19]
	ldr	w0, [x8, w0, sxtw #2]
	bl	_generic_handle_irq
	lsl	w8, w23, w21
	mvn	w8, w8
	sxtw	x8, w8
	ands	x20, x20, x8
	b.ne	LBB0_2
	b	LBB0_4
LBB0_3:
Lloh7:
	adrp	x22, _IRQ_NONE@GOTPAGE
Lloh8:
	ldr	x22, [x22, _IRQ_NONE@GOTPAGEOFF]
LBB0_4:
	ldr	w0, [x22]
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_OFFSET_IRR,8,3                 ; @OFFSET_IRR
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s intr, mask=0x%x\n"

	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
.subsections_via_symbols
