	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gazel_interrupt
_gazel_interrupt:                       ## @gazel_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, %r14
	movq	%rsi, %rdi
	callq	_spin_lock_irqsave
	xorl	%r13d, %r13d
	movq	_ISAC_ISTA@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	_HSCX_ISTA@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_ReadHSCX
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_hscx_int_main
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_ReadISAC
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_isac_interrupt
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	orq	%rbx, %r15
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	leal	1(%r13), %eax
	cmpl	$4, %r13d
	movl	%eax, %r13d
	jb	LBB0_1
LBB0_7:
	movq	_HSCX_MASK@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$255, %ecx
	callq	_WriteHSCX
	movl	(%r15), %edx
	movq	%r14, %rdi
	movl	$1, %esi
	movl	$255, %ecx
	callq	_WriteHSCX
	movq	_ISAC_MASK@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r14, %rdi
	movl	$255, %edx
	callq	_WriteISAC
	movl	(%rbx), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_WriteISAC
	movl	(%r15), %edx
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	callq	_WriteHSCX
	movl	(%r15), %edx
	movq	%r14, %rdi
	movl	$1, %esi
	xorl	%ecx, %ecx
	callq	_WriteHSCX
	movq	%r14, %rdi
	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,4,2                  ## @HSCX_ISTA
	.comm	_ISAC_ISTA,4,2                  ## @ISAC_ISTA
	.comm	_HSCX_MASK,4,2                  ## @HSCX_MASK
	.comm	_ISAC_MASK,4,2                  ## @ISAC_MASK
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.comm	_MAXCOUNT,4,2                   ## @MAXCOUNT
	.no_dead_strip	_gazel_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gazel_interrupt
_gazel_interrupt:                       ; @gazel_interrupt
	.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
	mov	x0, x1
	bl	_spin_lock_irqsave
Lloh0:
	adrp	x22, _HSCX_ISTA@GOTPAGE
Lloh1:
	ldr	x22, [x22, _HSCX_ISTA@GOTPAGEOFF]
	ldr	w2, [x22]
	mov	x0, x19
	mov	w1, #1
	bl	_ReadHSCX
	mov	x20, x0
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	mov	x1, x20
	bl	_hscx_int_main
LBB0_2:
Lloh2:
	adrp	x23, _ISAC_ISTA@GOTPAGE
Lloh3:
	ldr	x23, [x23, _ISAC_ISTA@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x19
	bl	_ReadISAC
	mov	x21, x0
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x19
	mov	x1, x21
	bl	_isac_interrupt
LBB0_4:
	orr	x8, x20, x21
	cbz	x8, LBB0_24
; %bb.5:
	ldr	w2, [x22]
	mov	x0, x19
	mov	w1, #1
	bl	_ReadHSCX
	mov	x20, x0
	cbz	x0, LBB0_7
; %bb.6:
	mov	x0, x19
	mov	x1, x20
	bl	_hscx_int_main
LBB0_7:
	ldr	w1, [x23]
	mov	x0, x19
	bl	_ReadISAC
	mov	x21, x0
	cbz	x0, LBB0_9
; %bb.8:
	mov	x0, x19
	mov	x1, x21
	bl	_isac_interrupt
LBB0_9:
	orr	x8, x20, x21
	cbz	x8, LBB0_24
; %bb.10:
	ldr	w2, [x22]
	mov	x0, x19
	mov	w1, #1
	bl	_ReadHSCX
	mov	x20, x0
	cbz	x0, LBB0_12
; %bb.11:
	mov	x0, x19
	mov	x1, x20
	bl	_hscx_int_main
LBB0_12:
	ldr	w1, [x23]
	mov	x0, x19
	bl	_ReadISAC
	mov	x21, x0
	cbz	x0, LBB0_14
; %bb.13:
	mov	x0, x19
	mov	x1, x21
	bl	_isac_interrupt
LBB0_14:
	orr	x8, x20, x21
	cbz	x8, LBB0_24
; %bb.15:
	ldr	w2, [x22]
	mov	x0, x19
	mov	w1, #1
	bl	_ReadHSCX
	mov	x20, x0
	cbz	x0, LBB0_17
; %bb.16:
	mov	x0, x19
	mov	x1, x20
	bl	_hscx_int_main
LBB0_17:
	ldr	w1, [x23]
	mov	x0, x19
	bl	_ReadISAC
	mov	x21, x0
	cbz	x0, LBB0_19
; %bb.18:
	mov	x0, x19
	mov	x1, x21
	bl	_isac_interrupt
LBB0_19:
	orr	x8, x20, x21
	cbz	x8, LBB0_24
; %bb.20:
	ldr	w2, [x22]
	mov	x0, x19
	mov	w1, #1
	bl	_ReadHSCX
	cbz	x0, LBB0_22
; %bb.21:
	mov	x1, x0
	mov	x0, x19
	bl	_hscx_int_main
LBB0_22:
	ldr	w1, [x23]
	mov	x0, x19
	bl	_ReadISAC
	cbz	x0, LBB0_24
; %bb.23:
	mov	x1, x0
	mov	x0, x19
	bl	_isac_interrupt
LBB0_24:
Lloh4:
	adrp	x20, _HSCX_MASK@GOTPAGE
Lloh5:
	ldr	x20, [x20, _HSCX_MASK@GOTPAGEOFF]
	ldr	w2, [x20]
	mov	x0, x19
	mov	w1, #0
	mov	w3, #255
	bl	_WriteHSCX
	ldr	w2, [x20]
	mov	x0, x19
	mov	w1, #1
	mov	w3, #255
	bl	_WriteHSCX
Lloh6:
	adrp	x21, _ISAC_MASK@GOTPAGE
Lloh7:
	ldr	x21, [x21, _ISAC_MASK@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #255
	bl	_WriteISAC
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #0
	bl	_WriteISAC
	ldr	w2, [x20]
	mov	x0, x19
	mov	w1, #0
	mov	w3, #0
	bl	_WriteHSCX
	ldr	w2, [x20]
	mov	x0, x19
	mov	w1, #1
	mov	w3, #0
	bl	_WriteHSCX
	mov	x0, x19
	bl	_spin_unlock_irqrestore
Lloh8:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_HSCX_ISTA,4,2                  ; @HSCX_ISTA
	.comm	_ISAC_ISTA,4,2                  ; @ISAC_ISTA
	.comm	_HSCX_MASK,4,2                  ; @HSCX_MASK
	.comm	_ISAC_MASK,4,2                  ; @ISAC_MASK
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.comm	_MAXCOUNT,4,2                   ; @MAXCOUNT
	.no_dead_strip	_gazel_interrupt
.subsections_via_symbols
