	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function asuscom_interrupt
_asuscom_interrupt:                     ## @asuscom_interrupt
	.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	%rsi, %r13
	leaq	4(%rsi), %rdi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_spin_lock_irqsave
	movl	8(%r13), %esi
	movl	12(%r13), %edi
	movq	_HSCX_ISTA@GOTPCREL(%rip), %r12
	movq	(%r12), %rdx
	addq	$64, %rdx
	callq	_readreg
	movq	%rax, %rbx
	movq	_ISAC_ISTA@GOTPCREL(%rip), %r14
	movq	_L1_DEB_ISAC@GOTPCREL(%rip), %r15
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_hscx_int_main
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	12(%r13), %edi
	movl	16(%r13), %esi
	movq	(%r14), %rdx
	callq	_readreg
	movq	%rax, %rbx
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_isac_interrupt
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=2
	movl	8(%r13), %esi
	movl	12(%r13), %edi
	movq	(%r12), %rdx
	addq	$64, %rdx
	callq	_readreg
	testq	%rax, %rax
	jne	LBB0_7
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=2
	movl	12(%r13), %edi
	movl	16(%r13), %esi
	movq	(%r14), %rdx
	callq	_readreg
	testq	%rax, %rax
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=2
	movq	%rax, %rbx
	movl	(%r15), %eax
	testl	%eax, (%r13)
	je	LBB0_4
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=2
	movq	%r13, %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_debugl1
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%rax, %rbx
	movq	_L1_DEB_HSCX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r13)
	je	LBB0_1
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r13, %rdi
	leaq	L_.str(%rip), %rsi
	callq	_debugl1
	jmp	LBB0_1
LBB0_12:
	movl	8(%r13), %esi
	movl	12(%r13), %edi
	movq	_HSCX_MASK@GOTPCREL(%rip), %r14
	movq	(%r14), %rdx
	movl	$255, %ecx
	callq	_writereg
	movl	8(%r13), %esi
	movl	12(%r13), %edi
	movq	(%r14), %rdx
	addq	$64, %rdx
	movl	$255, %ecx
	callq	_writereg
	movl	12(%r13), %edi
	movl	16(%r13), %esi
	movq	_ISAC_MASK@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdx
	movl	$255, %ecx
	callq	_writereg
	movl	12(%r13), %edi
	movl	16(%r13), %esi
	movq	(%rbx), %rdx
	xorl	%ecx, %ecx
	callq	_writereg
	movl	8(%r13), %esi
	movl	12(%r13), %edi
	movq	(%r14), %rdx
	xorl	%ecx, %ecx
	callq	_writereg
	movl	8(%r13), %esi
	movl	12(%r13), %edi
	movq	(%r14), %rdx
	addq	$64, %rdx
	xorl	%ecx, %ecx
	callq	_writereg
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_unlock_irqrestore
	movq	_IRQ_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	_HSCX_ISTA,8,3                  ## @HSCX_ISTA
	.comm	_ISAC_ISTA,8,3                  ## @ISAC_ISTA
	.comm	_L1_DEB_HSCX,4,2                ## @L1_DEB_HSCX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"HSCX IntStat after IntRoutine"

	.comm	_L1_DEB_ISAC,4,2                ## @L1_DEB_ISAC
L_.str.1:                               ## @.str.1
	.asciz	"ISAC IntStat after IntRoutine"

	.comm	_HSCX_MASK,8,3                  ## @HSCX_MASK
	.comm	_ISAC_MASK,8,3                  ## @ISAC_MASK
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_asuscom_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function asuscom_interrupt
_asuscom_interrupt:                     ; @asuscom_interrupt
	.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	x20, x1
	add	x19, x1, #4
	mov	x0, x19
	bl	_spin_lock_irqsave
	ldp	w1, w0, [x20, #8]
Lloh0:
	adrp	x24, _HSCX_ISTA@GOTPAGE
Lloh1:
	ldr	x24, [x24, _HSCX_ISTA@GOTPAGEOFF]
	ldr	x8, [x24]
	add	x2, x8, #64
	bl	_readreg
	mov	x23, x0
Lloh2:
	adrp	x25, _ISAC_ISTA@GOTPAGE
Lloh3:
	ldr	x25, [x25, _ISAC_ISTA@GOTPAGEOFF]
Lloh4:
	adrp	x26, _L1_DEB_ISAC@GOTPAGE
Lloh5:
	ldr	x26, [x26, _L1_DEB_ISAC@GOTPAGEOFF]
Lloh6:
	adrp	x21, l_.str.1@PAGE
Lloh7:
	add	x21, x21, l_.str.1@PAGEOFF
Lloh8:
	adrp	x27, _L1_DEB_HSCX@GOTPAGE
Lloh9:
	ldr	x27, [x27, _L1_DEB_HSCX@GOTPAGEOFF]
Lloh10:
	adrp	x22, l_.str@PAGE
Lloh11:
	add	x22, x22, l_.str@PAGEOFF
LBB0_1:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
	cbz	x23, LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x20
	mov	x1, x23
	bl	_hscx_int_main
LBB0_3:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldp	w0, w1, [x20, #12]
	ldr	x2, [x25]
	bl	_readreg
	mov	x23, x0
LBB0_4:                                 ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cbz	x23, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=2
	mov	x0, x20
	mov	x1, x23
	bl	_isac_interrupt
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=2
	ldp	w1, w0, [x20, #8]
	ldr	x8, [x24]
	add	x2, x8, #64
	bl	_readreg
	cbnz	x0, LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=2
	ldp	w0, w1, [x20, #12]
	ldr	x2, [x25]
	bl	_readreg
	cbz	x0, LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=2
	mov	x23, x0
	ldr	w8, [x20]
	ldr	w9, [x26]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=2
	mov	x0, x20
	mov	x1, x21
	bl	_debugl1
	b	LBB0_4
LBB0_10:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x23, x0
	ldr	w8, [x20]
	ldr	w9, [x27]
	tst	w9, w8
	b.eq	LBB0_1
; %bb.11:                               ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x20
	mov	x1, x22
	bl	_debugl1
	b	LBB0_1
LBB0_12:
	ldp	w1, w0, [x20, #8]
Lloh12:
	adrp	x21, _HSCX_MASK@GOTPAGE
Lloh13:
	ldr	x21, [x21, _HSCX_MASK@GOTPAGEOFF]
	ldr	x2, [x21]
	mov	w3, #255
	bl	_writereg
	ldp	w1, w0, [x20, #8]
	ldr	x8, [x21]
	add	x2, x8, #64
	mov	w3, #255
	bl	_writereg
	ldp	w0, w1, [x20, #12]
Lloh14:
	adrp	x22, _ISAC_MASK@GOTPAGE
Lloh15:
	ldr	x22, [x22, _ISAC_MASK@GOTPAGEOFF]
	ldr	x2, [x22]
	mov	w3, #255
	bl	_writereg
	ldp	w0, w1, [x20, #12]
	ldr	x2, [x22]
	mov	w3, #0
	bl	_writereg
	ldp	w1, w0, [x20, #8]
	ldr	x2, [x21]
	mov	w3, #0
	bl	_writereg
	ldp	w1, w0, [x20, #8]
	ldr	x8, [x21]
	add	x2, x8, #64
	mov	w3, #0
	bl	_writereg
	mov	x0, x19
	bl	_spin_unlock_irqrestore
Lloh16:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh17:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	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 AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_HSCX_ISTA,8,3                  ; @HSCX_ISTA
	.comm	_ISAC_ISTA,8,3                  ; @ISAC_ISTA
	.comm	_L1_DEB_HSCX,4,2                ; @L1_DEB_HSCX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"HSCX IntStat after IntRoutine"

	.comm	_L1_DEB_ISAC,4,2                ; @L1_DEB_ISAC
l_.str.1:                               ; @.str.1
	.asciz	"ISAC IntStat after IntRoutine"

	.comm	_HSCX_MASK,8,3                  ; @HSCX_MASK
	.comm	_ISAC_MASK,8,3                  ; @ISAC_MASK
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_asuscom_interrupt
.subsections_via_symbols
