	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function telespci_interrupt
_telespci_interrupt:                    ## @telespci_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rsi, %rdi
	callq	_spin_lock_irqsave
	movq	8(%r14), %rdi
	movq	_HSCX_ISTA@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$1, %esi
	callq	_readhscx
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_hscx_int_main
LBB0_2:
	movq	8(%r14), %rdi
	movq	_ISAC_ISTA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_readisac
	orl	%eax, %ebx
	je	LBB0_3
## %bb.4:
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_isac_interrupt
LBB0_6:
	movq	8(%r14), %rsi
	addq	$60, %rsi
	movl	$1879048192, %edi               ## imm = 0x70000000
	callq	_writel
	movq	8(%r14), %rdi
	movq	_HSCX_MASK@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	xorl	%esi, %esi
	movl	$255, %ecx
	callq	_writehscx
	movq	8(%r14), %rdi
	movl	(%r15), %edx
	movl	$1, %esi
	movl	$255, %ecx
	callq	_writehscx
	movq	8(%r14), %rdi
	movq	_ISAC_MASK@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movl	$255, %edx
	callq	_writeisac
	movq	8(%r14), %rdi
	movl	(%rbx), %esi
	xorl	%edx, %edx
	callq	_writeisac
	movq	8(%r14), %rdi
	movl	(%r15), %edx
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	callq	_writehscx
	movq	8(%r14), %rdi
	movl	(%r15), %edx
	movl	$1, %esi
	xorl	%ecx, %ecx
	callq	_writehscx
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rbx
	jmp	LBB0_7
LBB0_3:
	movq	_IRQ_NONE@GOTPCREL(%rip), %rbx
LBB0_7:
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	movl	(%rbx), %eax
	addq	$8, %rsp
	popq	%rbx
	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	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_HSCX_MASK,4,2                  ## @HSCX_MASK
	.comm	_ISAC_MASK,4,2                  ## @ISAC_MASK
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_telespci_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function telespci_interrupt
_telespci_interrupt:                    ; @telespci_interrupt
	.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, x1
	mov	x0, x1
	bl	_spin_lock_irqsave
	ldr	x0, [x19, #8]
Lloh0:
	adrp	x8, _HSCX_ISTA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HSCX_ISTA@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #1
	bl	_readhscx
	mov	x20, x0
	cbz	w0, LBB0_2
; %bb.1:
	mov	x0, x19
	mov	x1, x20
	bl	_hscx_int_main
LBB0_2:
	ldr	x0, [x19, #8]
Lloh3:
	adrp	x8, _ISAC_ISTA@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ISAC_ISTA@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_readisac
	orr	w8, w0, w20
	cbz	w8, LBB0_6
; %bb.3:
	mov	x1, x0
	cbz	w0, LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_isac_interrupt
LBB0_5:
	ldr	x8, [x19, #8]
	add	x1, x8, #60
	mov	w0, #1879048192
	bl	_writel
	ldr	x0, [x19, #8]
Lloh6:
	adrp	x20, _HSCX_MASK@GOTPAGE
Lloh7:
	ldr	x20, [x20, _HSCX_MASK@GOTPAGEOFF]
	ldr	w2, [x20]
	mov	w1, #0
	mov	w3, #255
	bl	_writehscx
	ldr	x0, [x19, #8]
	ldr	w2, [x20]
	mov	w1, #1
	mov	w3, #255
	bl	_writehscx
	ldr	x0, [x19, #8]
Lloh8:
	adrp	x21, _ISAC_MASK@GOTPAGE
Lloh9:
	ldr	x21, [x21, _ISAC_MASK@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	w2, #255
	bl	_writeisac
	ldr	x0, [x19, #8]
	ldr	w1, [x21]
	mov	w2, #0
	bl	_writeisac
	ldr	x0, [x19, #8]
	ldr	w2, [x20]
	mov	w1, #0
	mov	w3, #0
	bl	_writehscx
	ldr	x0, [x19, #8]
	ldr	w2, [x20]
	mov	w1, #1
	mov	w3, #0
	bl	_writehscx
Lloh10:
	adrp	x20, _IRQ_HANDLED@GOTPAGE
Lloh11:
	ldr	x20, [x20, _IRQ_HANDLED@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh12:
	adrp	x20, _IRQ_NONE@GOTPAGE
Lloh13:
	ldr	x20, [x20, _IRQ_NONE@GOTPAGEOFF]
LBB0_7:
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	ldr	w0, [x20]
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_HSCX_ISTA,4,2                  ; @HSCX_ISTA
	.comm	_ISAC_ISTA,4,2                  ; @ISAC_ISTA
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_HSCX_MASK,4,2                  ; @HSCX_MASK
	.comm	_ISAC_MASK,4,2                  ; @ISAC_MASK
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_telespci_interrupt
.subsections_via_symbols
