	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stl_cd1400echintr
_stl_cd1400echintr:                     ## @stl_cd1400echintr
	.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
	movl	%esi, %r15d
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	movl	%r15d, %edx
	callq	_pr_debug
	movq	_SVRR@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	movl	%r15d, %esi
	callq	_outb
	movl	%r15d, %ebx
	movq	_EREG_DATA@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	%rbx, %rdi
	callq	_inb
	movl	%eax, %r12d
	movq	(%r13), %rdi
	subq	$-128, %rdi
	movl	%r15d, %esi
	callq	_outb
	movq	_EREG_DATA@GOTPCREL(%rip), %rax
	addq	(%rax), %rbx
	movq	%rbx, %rdi
	callq	_inb
	orb	%r12b, %al
	movq	_SVRR_RX@GOTPCREL(%rip), %rcx
	testb	%al, (%rcx)
	je	LBB0_1
## %bb.4:
	movq	%r14, %rdi
	movl	%r15d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_stl_cd1400rxisr                ## TAILCALL
LBB0_1:
	movq	_SVRR_TX@GOTPCREL(%rip), %rcx
	testb	%al, (%rcx)
	je	LBB0_2
## %bb.5:
	movq	%r14, %rdi
	movl	%r15d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_stl_cd1400txisr                ## TAILCALL
LBB0_2:
	movq	_SVRR_MDM@GOTPCREL(%rip), %rcx
	testb	%al, (%rcx)
	je	LBB0_3
## %bb.6:
	movq	%r14, %rdi
	movl	%r15d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_stl_cd1400mdmisr               ## TAILCALL
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"stl_cd1400echintr(panelp=%p,iobase=%x)\n"

	.comm	_SVRR,8,3                       ## @SVRR
	.comm	_EREG_DATA,8,3                  ## @EREG_DATA
	.comm	_SVRR_RX,1,0                    ## @SVRR_RX
	.comm	_SVRR_TX,1,0                    ## @SVRR_TX
	.comm	_SVRR_MDM,1,0                   ## @SVRR_MDM
	.no_dead_strip	_stl_cd1400echintr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stl_cd1400echintr
_stl_cd1400echintr:                     ; @stl_cd1400echintr
	.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	x20, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	mov	x2, x19
	bl	_pr_debug
Lloh2:
	adrp	x22, _SVRR@GOTPAGE
Lloh3:
	ldr	x22, [x22, _SVRR@GOTPAGEOFF]
	ldr	x0, [x22]
	mov	x1, x19
	bl	_outb
	mov	w23, w19
Lloh4:
	adrp	x24, _EREG_DATA@GOTPAGE
Lloh5:
	ldr	x24, [x24, _EREG_DATA@GOTPAGEOFF]
	ldr	x8, [x24]
	add	x0, x8, x23
	bl	_inb
	mov	x21, x0
	ldr	x8, [x22]
	add	x0, x8, #128
	mov	x1, x19
	bl	_outb
	ldr	x8, [x24]
	add	x0, x8, x23
	bl	_inb
	orr	w8, w0, w21
Lloh6:
	adrp	x9, _SVRR_RX@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SVRR_RX@GOTPAGEOFF]
	ldrb	w9, [x9]
	tst	w8, w9
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x20
	mov	x1, x19
	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
	b	_stl_cd1400rxisr
LBB0_2:
Lloh8:
	adrp	x9, _SVRR_TX@GOTPAGE
Lloh9:
	ldr	x9, [x9, _SVRR_TX@GOTPAGEOFF]
	ldrb	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	mov	x0, x20
	mov	x1, x19
	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
	b	_stl_cd1400txisr
LBB0_4:
Lloh10:
	adrp	x9, _SVRR_MDM@GOTPAGE
Lloh11:
	ldr	x9, [x9, _SVRR_MDM@GOTPAGEOFF]
	ldrb	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.5:
	mov	x0, x20
	mov	x1, x19
	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
	b	_stl_cd1400mdmisr
LBB0_6:
	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	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"stl_cd1400echintr(panelp=%p,iobase=%x)\n"

	.comm	_SVRR,8,3                       ; @SVRR
	.comm	_EREG_DATA,8,3                  ; @EREG_DATA
	.comm	_SVRR_RX,1,0                    ; @SVRR_RX
	.comm	_SVRR_TX,1,0                    ; @SVRR_TX
	.comm	_SVRR_MDM,1,0                   ; @SVRR_MDM
	.no_dead_strip	_stl_cd1400echintr
.subsections_via_symbols
