	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stl_sc26198intr
_stl_sc26198intr:                       ## @stl_sc26198intr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	_brd_lock@GOTPCREL(%rip), %rdi
	callq	_spin_lock
	leal	1(%rbx), %esi
	xorl	%edi, %edi
	callq	_outb
	movl	%ebx, %edi
	movq	_XP_IACK@GOTPCREL(%rip), %rax
	addq	(%rax), %rdi
	callq	_inb
	movq	(%r14), %rcx
	movq	_IVR_CHANMASK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	andl	%eax, %edx
	andl	$4, %ebx
	leal	(%rdx,%rbx,2), %edx
	movq	(%rcx,%rdx,8), %rdi
	movq	_IVR_RXDATA@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
## %bb.1:
	movl	%eax, %esi
	callq	_stl_sc26198rxisr
	jmp	LBB0_5
LBB0_2:
	movq	_IVR_TXDATA@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.3:
	callq	_stl_sc26198txisr
	jmp	LBB0_5
LBB0_4:
	movl	%eax, %esi
	callq	_stl_sc26198otherisr
LBB0_5:
	movq	_brd_lock@GOTPCREL(%rip), %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_spin_unlock                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_brd_lock,4,2                   ## @brd_lock
	.comm	_XP_IACK,8,3                    ## @XP_IACK
	.comm	_IVR_CHANMASK,4,2               ## @IVR_CHANMASK
	.comm	_IVR_RXDATA,4,2                 ## @IVR_RXDATA
	.comm	_IVR_TXDATA,4,2                 ## @IVR_TXDATA
	.no_dead_strip	_stl_sc26198intr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stl_sc26198intr
_stl_sc26198intr:                       ; @stl_sc26198intr
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x0, _brd_lock@GOTPAGE
Lloh1:
	ldr	x0, [x0, _brd_lock@GOTPAGEOFF]
	bl	_spin_lock
	add	w1, w19, #1
	mov	w0, #0
	bl	_outb
Lloh2:
	adrp	x8, _XP_IACK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _XP_IACK@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	add	x0, x8, w19, uxtw
	bl	_inb
	mov	x1, x0
Lloh5:
	adrp	x8, _IVR_CHANMASK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IVR_CHANMASK@GOTPAGEOFF]
	ldr	x9, [x20]
Lloh7:
	ldr	w8, [x8]
	and	w8, w8, w0
	lsl	w10, w19, #1
	and	w10, w10, #0x8
	add	w8, w8, w10
	ldr	x0, [x9, w8, uxtw #3]
Lloh8:
	adrp	x8, _IVR_RXDATA@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IVR_RXDATA@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	tst	w8, w1
	b.eq	LBB0_2
; %bb.1:
	bl	_stl_sc26198rxisr
	b	LBB0_5
LBB0_2:
Lloh11:
	adrp	x8, _IVR_TXDATA@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IVR_TXDATA@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	tst	w8, w1
	b.eq	LBB0_4
; %bb.3:
	bl	_stl_sc26198txisr
	b	LBB0_5
LBB0_4:
	bl	_stl_sc26198otherisr
LBB0_5:
Lloh14:
	adrp	x0, _brd_lock@GOTPAGE
Lloh15:
	ldr	x0, [x0, _brd_lock@GOTPAGEOFF]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_spin_unlock
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_brd_lock,4,2                   ; @brd_lock
	.comm	_XP_IACK,8,3                    ; @XP_IACK
	.comm	_IVR_CHANMASK,4,2               ; @IVR_CHANMASK
	.comm	_IVR_RXDATA,4,2                 ; @IVR_RXDATA
	.comm	_IVR_TXDATA,4,2                 ; @IVR_TXDATA
	.no_dead_strip	_stl_sc26198intr
.subsections_via_symbols
