	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stl_sc26198setport
_stl_sc26198setport:                    ## @stl_sc26198setport
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_stl_brds@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rdi), %r8
	cmpq	$0, (%rax,%r8,8)
	je	LBB0_3
## %bb.1:
	movq	%rdi, %r13
	movl	$0, 8(%rdi)
	movl	(%rsi), %r10d
	movq	_IGNPAR@GOTPCREL(%rip), %rax
	testl	%r10d, (%rax)
	je	LBB0_4
## %bb.2:
	movq	_SR_RXPARITY@GOTPCREL(%rip), %rcx
	movq	_SR_RXFRAMING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	movq	_SR_RXOVERRUN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, 8(%r13)
	jmp	LBB0_5
LBB0_3:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	xorl	%eax, %eax
LBB0_5:
	movq	_IGNBRK@GOTPCREL(%rip), %rcx
	testl	%r10d, (%rcx)
	je	LBB0_7
## %bb.6:
	movq	_SR_RXBREAK@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, 8(%r13)
LBB0_7:
	movq	_SR_RXOVERRUN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%r13)
	movq	_INPCK@GOTPCREL(%rip), %rcx
	movq	_PARMRK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	testl	%r10d, %edx
	je	LBB0_9
## %bb.8:
	movq	_SR_RXPARITY@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_SR_RXFRAMING@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, 12(%r13)
LBB0_9:
	movq	_BRKINT@GOTPCREL(%rip), %rcx
	testl	%r10d, (%rcx)
	je	LBB0_11
## %bb.10:
	movq	_SR_RXBREAK@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, 12(%r13)
LBB0_11:
	movl	4(%rsi), %r11d
	movq	_CSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%r11d, %eax
	addl	$-128, %eax
	cmpl	$2, %eax
	ja	LBB0_13
## %bb.12:
	cltq
	leaq	l_switch.table.stl_sc26198setport(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	jmp	LBB0_14
LBB0_13:
	movq	_MR1_CS8@GOTPCREL(%rip), %rax
LBB0_14:
	movq	_CSTOPB@GOTPCREL(%rip), %rcx
	testl	%r11d, (%rcx)
	jne	LBB0_16
## %bb.15:
	movq	_MR2_STOP1@GOTPCREL(%rip), %rdx
	jmp	LBB0_17
LBB0_16:
	movq	_MR2_STOP2@GOTPCREL(%rip), %rdx
LBB0_17:
	movq	_PARENB@GOTPCREL(%rip), %rcx
	testl	%r11d, (%rcx)
	je	LBB0_20
## %bb.18:
	movq	_PARODD@GOTPCREL(%rip), %rcx
	movq	_MR1_PARENB@GOTPCREL(%rip), %rbx
	movb	(%rbx), %r15b
	testl	%r11d, (%rcx)
	je	LBB0_21
## %bb.19:
	movq	_MR1_PARODD@GOTPCREL(%rip), %rcx
	jmp	LBB0_22
LBB0_20:
	movq	_MR1_PARNONE@GOTPCREL(%rip), %rcx
	movb	(%rcx), %r15b
	jmp	LBB0_23
LBB0_21:
	movq	_MR1_PAREVEN@GOTPCREL(%rip), %rcx
LBB0_22:
	orb	(%rcx), %r15b
LBB0_23:
	movb	(%rax), %r9b
	movb	(%rdx), %r14b
	movq	_CBAUD@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%ebx, %eax
	andl	%r11d, %eax
	movq	_CBAUDEX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, %eax
	je	LBB0_26
## %bb.24:
	notl	%ecx
	movl	%eax, %edx
	andl	%ecx, %edx
	leal	-5(%rdx), %edi
	cmpl	$-5, %edi
	ja	LBB0_27
## %bb.25:
	andl	%ecx, %r11d
	movl	%r11d, 4(%rsi)
	andl	%r11d, %ebx
	movl	%ebx, %eax
	jmp	LBB0_28
LBB0_26:
	movl	%eax, %edx
	jmp	LBB0_28
LBB0_27:
	addl	$15, %edx
LBB0_28:
	movq	_stl_baudrates@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%edx, %edx
	movl	(%rcx,%rdx,4), %edx
	movq	_B38400@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	jne	LBB0_35
## %bb.29:
	movq	_ASYNC_SPD_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	andl	44(%r13), %ebx
	movq	_ASYNC_SPD_HI@GOTPCREL(%rip), %rcx
	movl	$57600, %eax                    ## imm = 0xE100
	cmpl	(%rcx), %ebx
	je	LBB0_36
## %bb.30:
	movq	_ASYNC_SPD_VHI@GOTPCREL(%rip), %rcx
	movl	$115200, %eax                   ## imm = 0x1C200
	cmpl	(%rcx), %ebx
	je	LBB0_36
## %bb.31:
	movq	_ASYNC_SPD_SHI@GOTPCREL(%rip), %rcx
	movl	$230400, %eax                   ## imm = 0x38400
	cmpl	(%rcx), %ebx
	je	LBB0_36
## %bb.32:
	movq	_ASYNC_SPD_WARP@GOTPCREL(%rip), %rcx
	movl	$460800, %eax                   ## imm = 0x70800
	cmpl	(%rcx), %ebx
	je	LBB0_36
## %bb.33:
	movq	_ASYNC_SPD_CUST@GOTPCREL(%rip), %rcx
	movl	%edx, %eax
	cmpl	(%rcx), %ebx
	jne	LBB0_36
## %bb.34:
	movl	16(%r13), %eax
	xorl	%edx, %edx
	divl	20(%r13)
	jmp	LBB0_36
LBB0_35:
	movl	%edx, %eax
LBB0_36:
	movq	_STL_SC26198MAXBAUD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	%ecx, %eax
	cmovbl	%eax, %ecx
	testl	%ecx, %ecx
	movl	%ecx, -68(%rbp)                 ## 4-byte Spill
	je	LBB0_42
## %bb.37:
	movq	_SC26198_NRBAUDS@GOTPCREL(%rip), %rax
	movzbl	(%rax), %ebx
	testq	%rbx, %rbx
	je	LBB0_42
## %bb.38:
	movq	_sc26198_baudtable@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_39:                                ## =>This Inner Loop Header: Depth=1
	cmpl	(%rdx,%rax,4), %ecx
	jbe	LBB0_43
## %bb.40:                              ##   in Loop: Header=BB0_39 Depth=1
	incq	%rax
	cmpb	%al, %bl
	jne	LBB0_39
	jmp	LBB0_44
LBB0_42:
	xorl	%ebx, %ebx
	jmp	LBB0_44
LBB0_43:
	movl	%eax, %ebx
LBB0_44:
	orb	%r9b, %r15b
	movq	_MR1_ERRBLOCK@GOTPCREL(%rip), %rcx
	movq	_MR2_RXFIFOHALF@GOTPCREL(%rip), %rax
	movq	_CLOCAL@GOTPCREL(%rip), %rdx
	testl	%r11d, (%rdx)
	je	LBB0_46
## %bb.45:
	movq	_ASYNC_CHECK_CD@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	notl	%edx
	andl	%edx, 44(%r13)
	xorl	%esi, %esi
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_47
LBB0_46:
	movq	_IOPR_DCDCOS@GOTPCREL(%rip), %rdx
	movb	(%rdx), %dl
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	_IR_IOPORT@GOTPCREL(%rip), %rdx
	movb	(%rdx), %sil
	movq	_ASYNC_CHECK_CD@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	%edx, 44(%r13)
LBB0_47:
	orb	(%rcx), %r15b
	orb	(%rax), %r14b
	movq	_IXON@GOTPCREL(%rip), %rax
	testl	%r10d, (%rax)
	je	LBB0_49
## %bb.48:
	movq	_MR0_SWFTX@GOTPCREL(%rip), %rcx
	movq	_MR0_SWFT@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	orb	(%rcx), %al
	movq	_IR_XONXOFF@GOTPCREL(%rip), %rcx
	orb	(%rcx), %sil
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_50
LBB0_49:
	movq	_IR_XONXOFF@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	xorl	%eax, %eax
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
LBB0_50:
	movq	_IXOFF@GOTPCREL(%rip), %rcx
	andl	(%rcx), %r10d
	movq	_MR0_SWFRX@GOTPCREL(%rip), %rcx
	movzbl	(%rcx), %r12d
	cmovel	%r10d, %r12d
	orb	%al, %r12b
	movq	_CRTSCTS@GOTPCREL(%rip), %rax
	andl	(%rax), %r11d
	movq	_MR1_AUTORTS@GOTPCREL(%rip), %rax
	movzbl	(%rax), %eax
	cmovel	%r11d, %eax
	movq	_MR2_AUTOCTS@GOTPCREL(%rip), %rcx
	movzbl	(%rcx), %ecx
	cmovel	%r11d, %ecx
	orb	%al, %r15b
	orb	%cl, %r14b
	movzbl	40(%r13), %esi
	movzbl	36(%r13), %edx
	movzbl	%r8b, %ecx
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_debug
	movzbl	%bl, %r8d
	movzbl	%r12b, %ebx
	movzbl	%r15b, %edx
	movl	%edx, -60(%rbp)                 ## 4-byte Spill
	movzbl	%r14b, %ecx
	movl	%ecx, -64(%rbp)                 ## 4-byte Spill
	leaq	L_.str.1(%rip), %rdi
	movl	%ebx, %esi
	movl	%r8d, -56(%rbp)                 ## 4-byte Spill
	xorl	%eax, %eax
	callq	_pr_debug
	movzbl	-44(%rbp), %r12d                ## 1-byte Folded Reload
	movl	-48(%rbp), %r14d                ## 4-byte Reload
	movzbl	%r14b, %edx
	movl	-52(%rbp), %r15d                ## 4-byte Reload
	movzbl	%r15b, %ecx
	leaq	L_.str.2(%rip), %rdi
	movl	%r12d, %esi
	xorl	%eax, %eax
	callq	_pr_debug
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movq	_VSTART@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movzbl	(%rax,%rcx), %ecx
	movq	_VSTOP@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movzbl	(%rax,%rdx), %edx
	leaq	L_.str.3(%rip), %rdi
	movl	%ecx, %esi
	movl	%edx, %r8d
	xorl	%eax, %eax
	callq	_pr_debug
	movq	_brd_lock@GOTPCREL(%rip), %rdi
	callq	_spin_lock_irqsave
	movq	(%r13), %rdi
	movl	32(%r13), %esi
	callq	_BRDENABLE
	movq	_IMR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_stl_sc26198setreg
	movq	_MR0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	%ebx, %edx
	callq	_stl_sc26198updatereg
	movq	_MR1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	callq	_stl_sc26198updatereg
	movq	_SCCR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CR_RXERRBLOCK@GOTPCREL(%rip), %rax
	movzbl	(%rax), %edx
	movq	%r13, %rdi
	callq	_stl_sc26198setreg
	movq	_MR2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	-64(%rbp), %edx                 ## 4-byte Reload
	callq	_stl_sc26198updatereg
	movq	_IOPIOR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_stl_sc26198getreg
	movq	_IPR_CHANGEMASK@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	notb	%cl
	andb	%al, %cl
	orb	%cl, %r12b
	movzbl	%r12b, %edx
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_stl_sc26198updatereg
	cmpl	$0, -68(%rbp)                   ## 4-byte Folded Reload
	movl	%r15d, %ebx
	je	LBB0_52
## %bb.51:
	movq	_TXCSR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	-56(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, %edx
	callq	_stl_sc26198setreg
	movq	_RXCSR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	%r15d, %edx
	callq	_stl_sc26198setreg
LBB0_52:
	movq	_XONCR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movq	8(%r15), %rax
	movq	_VSTART@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movzbl	(%rax,%rcx), %edx
	movq	%r13, %rdi
	callq	_stl_sc26198setreg
	movq	_XOFFCR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	8(%r15), %rax
	movq	_VSTOP@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movzbl	(%rax,%rcx), %edx
	movq	%r13, %rdi
	callq	_stl_sc26198setreg
	movq	_IPR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_stl_sc26198getreg
	movq	_IPR_DCD@GOTPCREL(%rip), %rdx
	movq	_TIOCM_CD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testb	%al, (%rdx)
	je	LBB0_54
## %bb.53:
	notl	%ecx
	andl	%ecx, 28(%r13)
	jmp	LBB0_55
LBB0_54:
	orl	%ecx, 28(%r13)
LBB0_55:
	movq	_IMR@GOTPCREL(%rip), %rax
	notb	%bl
	andb	24(%r13), %bl
	orb	%r14b, %bl
	movb	%bl, 24(%r13)
	movl	(%rax), %esi
	movzbl	%bl, %edx
	movq	%r13, %rdi
	callq	_stl_sc26198setreg
	movq	(%r13), %rdi
	callq	_BRDDISABLE
	movq	_brd_lock@GOTPCREL(%rip), %rdi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_stl_brds,8,3                   ## @stl_brds
	.comm	_IGNPAR,4,2                     ## @IGNPAR
	.comm	_SR_RXPARITY,4,2                ## @SR_RXPARITY
	.comm	_SR_RXFRAMING,4,2               ## @SR_RXFRAMING
	.comm	_SR_RXOVERRUN,4,2               ## @SR_RXOVERRUN
	.comm	_IGNBRK,4,2                     ## @IGNBRK
	.comm	_SR_RXBREAK,4,2                 ## @SR_RXBREAK
	.comm	_INPCK,4,2                      ## @INPCK
	.comm	_PARMRK,4,2                     ## @PARMRK
	.comm	_BRKINT,4,2                     ## @BRKINT
	.comm	_CSIZE,4,2                      ## @CSIZE
	.comm	_MR1_CS5,1,0                    ## @MR1_CS5
	.comm	_MR1_CS6,1,0                    ## @MR1_CS6
	.comm	_MR1_CS7,1,0                    ## @MR1_CS7
	.comm	_MR1_CS8,1,0                    ## @MR1_CS8
	.comm	_CSTOPB,4,2                     ## @CSTOPB
	.comm	_MR2_STOP2,1,0                  ## @MR2_STOP2
	.comm	_MR2_STOP1,1,0                  ## @MR2_STOP1
	.comm	_PARENB,4,2                     ## @PARENB
	.comm	_PARODD,4,2                     ## @PARODD
	.comm	_MR1_PARENB,1,0                 ## @MR1_PARENB
	.comm	_MR1_PARODD,1,0                 ## @MR1_PARODD
	.comm	_MR1_PAREVEN,1,0                ## @MR1_PAREVEN
	.comm	_MR1_PARNONE,1,0                ## @MR1_PARNONE
	.comm	_MR1_ERRBLOCK,1,0               ## @MR1_ERRBLOCK
	.comm	_MR2_RXFIFOHALF,1,0             ## @MR2_RXFIFOHALF
	.comm	_CBAUD,4,2                      ## @CBAUD
	.comm	_CBAUDEX,4,2                    ## @CBAUDEX
	.comm	_stl_baudrates,8,3              ## @stl_baudrates
	.comm	_B38400,4,2                     ## @B38400
	.comm	_ASYNC_SPD_MASK,4,2             ## @ASYNC_SPD_MASK
	.comm	_ASYNC_SPD_HI,4,2               ## @ASYNC_SPD_HI
	.comm	_ASYNC_SPD_VHI,4,2              ## @ASYNC_SPD_VHI
	.comm	_ASYNC_SPD_SHI,4,2              ## @ASYNC_SPD_SHI
	.comm	_ASYNC_SPD_WARP,4,2             ## @ASYNC_SPD_WARP
	.comm	_ASYNC_SPD_CUST,4,2             ## @ASYNC_SPD_CUST
	.comm	_STL_SC26198MAXBAUD,4,2         ## @STL_SC26198MAXBAUD
	.comm	_SC26198_NRBAUDS,1,0            ## @SC26198_NRBAUDS
	.comm	_sc26198_baudtable,8,3          ## @sc26198_baudtable
	.comm	_CLOCAL,4,2                     ## @CLOCAL
	.comm	_ASYNC_CHECK_CD,4,2             ## @ASYNC_CHECK_CD
	.comm	_IOPR_DCDCOS,1,0                ## @IOPR_DCDCOS
	.comm	_IR_IOPORT,1,0                  ## @IR_IOPORT
	.comm	_IXON,4,2                       ## @IXON
	.comm	_MR0_SWFTX,1,0                  ## @MR0_SWFTX
	.comm	_MR0_SWFT,1,0                   ## @MR0_SWFT
	.comm	_IR_XONXOFF,1,0                 ## @IR_XONXOFF
	.comm	_IXOFF,4,2                      ## @IXOFF
	.comm	_MR0_SWFRX,1,0                  ## @MR0_SWFRX
	.comm	_CRTSCTS,4,2                    ## @CRTSCTS
	.comm	_MR2_AUTOCTS,1,0                ## @MR2_AUTOCTS
	.comm	_MR1_AUTORTS,1,0                ## @MR1_AUTORTS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SETPORT: portnr=%d panelnr=%d brdnr=%d\n"

L_.str.1:                               ## @.str.1
	.asciz	"    mr0=%x mr1=%x mr2=%x clk=%x\n"

L_.str.2:                               ## @.str.2
	.asciz	"    iopr=%x imron=%x imroff=%x\n"

L_.str.3:                               ## @.str.3
	.asciz	"    schr1=%x schr2=%x schr3=%x schr4=%x\n"

	.comm	_VSTART,8,3                     ## @VSTART
	.comm	_VSTOP,8,3                      ## @VSTOP
	.comm	_brd_lock,4,2                   ## @brd_lock
	.comm	_IMR,4,2                        ## @IMR
	.comm	_MR0,4,2                        ## @MR0
	.comm	_MR1,4,2                        ## @MR1
	.comm	_SCCR,4,2                       ## @SCCR
	.comm	_CR_RXERRBLOCK,1,0              ## @CR_RXERRBLOCK
	.comm	_MR2,4,2                        ## @MR2
	.comm	_IOPIOR,4,2                     ## @IOPIOR
	.comm	_IPR_CHANGEMASK,1,0             ## @IPR_CHANGEMASK
	.comm	_TXCSR,4,2                      ## @TXCSR
	.comm	_RXCSR,4,2                      ## @RXCSR
	.comm	_XONCR,4,2                      ## @XONCR
	.comm	_XOFFCR,4,2                     ## @XOFFCR
	.comm	_IPR,4,2                        ## @IPR
	.comm	_IPR_DCD,1,0                    ## @IPR_DCD
	.comm	_TIOCM_CD,4,2                   ## @TIOCM_CD
	.no_dead_strip	_stl_sc26198setport
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.stl_sc26198setport
l_switch.table.stl_sc26198setport:
	.quad	_MR1_CS7
	.quad	_MR1_CS6
	.quad	_MR1_CS5

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stl_sc26198setport
_stl_sc26198setport:                    ; @stl_sc26198setport
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
Lloh0:
	adrp	x8, _stl_brds@GOTPAGE
Lloh1:
	ldr	x8, [x8, _stl_brds@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x8]
	ldr	x8, [x0]
	ldr	x9, [x9, x8, lsl #3]
	cbz	x9, LBB0_3
; %bb.1:
	mov	x19, x0
	str	wzr, [x0, #8]
	ldr	w9, [x1]
Lloh3:
	adrp	x10, _IGNPAR@GOTPAGE
Lloh4:
	ldr	x10, [x10, _IGNPAR@GOTPAGEOFF]
Lloh5:
	adrp	x13, _SR_RXOVERRUN@GOTPAGE
Lloh6:
	ldr	x13, [x13, _SR_RXOVERRUN@GOTPAGEOFF]
Lloh7:
	ldr	w12, [x10]
Lloh8:
	adrp	x10, _SR_RXPARITY@GOTPAGE
Lloh9:
	ldr	x10, [x10, _SR_RXPARITY@GOTPAGEOFF]
Lloh10:
	adrp	x11, _SR_RXFRAMING@GOTPAGE
Lloh11:
	ldr	x11, [x11, _SR_RXFRAMING@GOTPAGEOFF]
	tst	w12, w9
	b.eq	LBB0_4
; %bb.2:
	ldr	w12, [x10]
	ldr	w14, [x11]
	orr	w12, w14, w12
	ldr	w14, [x13]
	orr	w14, w12, w14
	str	w14, [x19, #8]
	b	LBB0_5
LBB0_3:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_4:
	mov	w14, #0
LBB0_5:
Lloh12:
	adrp	x12, _IGNBRK@GOTPAGE
Lloh13:
	ldr	x12, [x12, _IGNBRK@GOTPAGEOFF]
Lloh14:
	ldr	w15, [x12]
Lloh15:
	adrp	x12, _SR_RXBREAK@GOTPAGE
Lloh16:
	ldr	x12, [x12, _SR_RXBREAK@GOTPAGEOFF]
	tst	w15, w9
	b.eq	LBB0_7
; %bb.6:
	ldr	w15, [x12]
	orr	w14, w14, w15
	str	w14, [x19, #8]
LBB0_7:
	ldr	w13, [x13]
	str	w13, [x19, #12]
Lloh17:
	adrp	x14, _INPCK@GOTPAGE
Lloh18:
	ldr	x14, [x14, _INPCK@GOTPAGEOFF]
Lloh19:
	ldr	w14, [x14]
Lloh20:
	adrp	x15, _PARMRK@GOTPAGE
Lloh21:
	ldr	x15, [x15, _PARMRK@GOTPAGEOFF]
Lloh22:
	ldr	w15, [x15]
	orr	w14, w15, w14
	tst	w14, w9
	b.eq	LBB0_9
; %bb.8:
	ldr	w10, [x10]
	ldr	w11, [x11]
	orr	w10, w10, w13
	orr	w13, w10, w11
	str	w13, [x19, #12]
LBB0_9:
Lloh23:
	adrp	x10, _BRKINT@GOTPAGE
Lloh24:
	ldr	x10, [x10, _BRKINT@GOTPAGEOFF]
Lloh25:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_11
; %bb.10:
	ldr	w10, [x12]
	orr	w10, w13, w10
	str	w10, [x19, #12]
LBB0_11:
	ldr	w10, [x1, #4]
Lloh26:
	adrp	x11, _CSIZE@GOTPAGE
Lloh27:
	ldr	x11, [x11, _CSIZE@GOTPAGEOFF]
Lloh28:
	ldr	w11, [x11]
	and	w11, w11, w10
	sub	w11, w11, #128
	cmp	w11, #2
	b.hi	LBB0_13
; %bb.12:
Lloh29:
	adrp	x12, l_switch.table.stl_sc26198setport@PAGE
Lloh30:
	add	x12, x12, l_switch.table.stl_sc26198setport@PAGEOFF
	ldr	x11, [x12, w11, sxtw #3]
	b	LBB0_14
LBB0_13:
Lloh31:
	adrp	x11, _MR1_CS8@GOTPAGE
Lloh32:
	ldr	x11, [x11, _MR1_CS8@GOTPAGEOFF]
LBB0_14:
Lloh33:
	adrp	x12, _CSTOPB@GOTPAGE
Lloh34:
	ldr	x12, [x12, _CSTOPB@GOTPAGEOFF]
Lloh35:
	ldr	w12, [x12]
Lloh36:
	adrp	x13, _MR2_STOP1@GOTPAGE
Lloh37:
	ldr	x13, [x13, _MR2_STOP1@GOTPAGEOFF]
Lloh38:
	adrp	x14, _MR2_STOP2@GOTPAGE
Lloh39:
	ldr	x14, [x14, _MR2_STOP2@GOTPAGEOFF]
	tst	w12, w10
	csel	x14, x13, x14, eq
Lloh40:
	adrp	x12, _PARENB@GOTPAGE
Lloh41:
	ldr	x12, [x12, _PARENB@GOTPAGEOFF]
Lloh42:
	ldr	w12, [x12]
	tst	w12, w10
	b.eq	LBB0_17
; %bb.15:
Lloh43:
	adrp	x12, _PARODD@GOTPAGE
Lloh44:
	ldr	x12, [x12, _PARODD@GOTPAGEOFF]
Lloh45:
	ldr	w13, [x12]
Lloh46:
	adrp	x12, _MR1_PARENB@GOTPAGE
Lloh47:
	ldr	x12, [x12, _MR1_PARENB@GOTPAGEOFF]
	ldrb	w12, [x12]
	tst	w13, w10
	b.eq	LBB0_18
; %bb.16:
Lloh48:
	adrp	x13, _MR1_PARODD@GOTPAGE
Lloh49:
	ldr	x13, [x13, _MR1_PARODD@GOTPAGEOFF]
	b	LBB0_19
LBB0_17:
Lloh50:
	adrp	x12, _MR1_PARNONE@GOTPAGE
Lloh51:
	ldr	x12, [x12, _MR1_PARNONE@GOTPAGEOFF]
	ldrb	w12, [x12]
	b	LBB0_20
LBB0_18:
Lloh52:
	adrp	x13, _MR1_PAREVEN@GOTPAGE
Lloh53:
	ldr	x13, [x13, _MR1_PAREVEN@GOTPAGEOFF]
LBB0_19:
	ldrb	w13, [x13]
	orr	w12, w13, w12
LBB0_20:
	ldrb	w13, [x11]
	ldrb	w11, [x14]
Lloh54:
	adrp	x14, _CBAUD@GOTPAGE
Lloh55:
	ldr	x14, [x14, _CBAUD@GOTPAGEOFF]
Lloh56:
	ldr	w16, [x14]
	and	w15, w16, w10
Lloh57:
	adrp	x14, _CBAUDEX@GOTPAGE
Lloh58:
	ldr	x14, [x14, _CBAUDEX@GOTPAGEOFF]
Lloh59:
	ldr	w17, [x14]
	tst	w15, w17
	b.eq	LBB0_23
; %bb.21:
	bic	w14, w15, w17
	sub	w0, w14, #5
	cmn	w0, #5
	b.hi	LBB0_24
; %bb.22:
	mvn	w15, w17
	and	w10, w10, w15
	str	w10, [x1, #4]
	and	w15, w10, w16
	b	LBB0_25
LBB0_23:
	mov	x14, x15
	b	LBB0_25
LBB0_24:
	add	w14, w14, #15
LBB0_25:
Lloh60:
	adrp	x16, _stl_baudrates@GOTPAGE
Lloh61:
	ldr	x16, [x16, _stl_baudrates@GOTPAGEOFF]
Lloh62:
	ldr	x16, [x16]
	ldr	w14, [x16, w14, uxtw #2]
Lloh63:
	adrp	x16, _B38400@GOTPAGE
Lloh64:
	ldr	x16, [x16, _B38400@GOTPAGEOFF]
Lloh65:
	ldr	w16, [x16]
	cmp	w15, w16
	b.ne	LBB0_36
; %bb.26:
	ldr	w15, [x19, #44]
Lloh66:
	adrp	x16, _ASYNC_SPD_MASK@GOTPAGE
Lloh67:
	ldr	x16, [x16, _ASYNC_SPD_MASK@GOTPAGEOFF]
Lloh68:
	ldr	w16, [x16]
	and	w15, w16, w15
Lloh69:
	adrp	x16, _ASYNC_SPD_HI@GOTPAGE
Lloh70:
	ldr	x16, [x16, _ASYNC_SPD_HI@GOTPAGEOFF]
Lloh71:
	ldr	w16, [x16]
	cmp	w15, w16
	b.ne	LBB0_28
; %bb.27:
	mov	w14, #57600
	b	LBB0_36
LBB0_28:
Lloh72:
	adrp	x16, _ASYNC_SPD_VHI@GOTPAGE
Lloh73:
	ldr	x16, [x16, _ASYNC_SPD_VHI@GOTPAGEOFF]
Lloh74:
	ldr	w16, [x16]
	cmp	w15, w16
	b.ne	LBB0_30
; %bb.29:
	mov	w14, #49664
	movk	w14, #1, lsl #16
	b	LBB0_36
LBB0_30:
Lloh75:
	adrp	x16, _ASYNC_SPD_SHI@GOTPAGE
Lloh76:
	ldr	x16, [x16, _ASYNC_SPD_SHI@GOTPAGEOFF]
Lloh77:
	ldr	w16, [x16]
	cmp	w15, w16
	b.ne	LBB0_32
; %bb.31:
	mov	w14, #33792
	movk	w14, #3, lsl #16
	b	LBB0_36
LBB0_32:
Lloh78:
	adrp	x16, _ASYNC_SPD_WARP@GOTPAGE
Lloh79:
	ldr	x16, [x16, _ASYNC_SPD_WARP@GOTPAGEOFF]
Lloh80:
	ldr	w16, [x16]
	cmp	w15, w16
	b.ne	LBB0_34
; %bb.33:
	mov	w14, #2048
	movk	w14, #7, lsl #16
	b	LBB0_36
LBB0_34:
Lloh81:
	adrp	x16, _ASYNC_SPD_CUST@GOTPAGE
Lloh82:
	ldr	x16, [x16, _ASYNC_SPD_CUST@GOTPAGEOFF]
Lloh83:
	ldr	w16, [x16]
	cmp	w15, w16
	b.ne	LBB0_36
; %bb.35:
	ldp	w14, w15, [x19, #16]
	udiv	w14, w14, w15
LBB0_36:
Lloh84:
	adrp	x15, _MR1_ERRBLOCK@GOTPAGE
Lloh85:
	ldr	x15, [x15, _MR1_ERRBLOCK@GOTPAGEOFF]
Lloh86:
	adrp	x16, _MR2_RXFIFOHALF@GOTPAGE
Lloh87:
	ldr	x16, [x16, _MR2_RXFIFOHALF@GOTPAGEOFF]
Lloh88:
	adrp	x17, _STL_SC26198MAXBAUD@GOTPAGE
Lloh89:
	ldr	x17, [x17, _STL_SC26198MAXBAUD@GOTPAGEOFF]
Lloh90:
	ldr	w17, [x17]
	cmp	w14, w17
	csel	w27, w14, w17, lo
	cbz	w27, LBB0_42
; %bb.37:
Lloh91:
	adrp	x14, _SC26198_NRBAUDS@GOTPAGE
Lloh92:
	ldr	x14, [x14, _SC26198_NRBAUDS@GOTPAGEOFF]
	ldrb	w14, [x14]
	cbz	w14, LBB0_42
; %bb.38:
	mov	w28, #0
Lloh93:
	adrp	x17, _sc26198_baudtable@GOTPAGE
Lloh94:
	ldr	x17, [x17, _sc26198_baudtable@GOTPAGEOFF]
Lloh95:
	ldr	x17, [x17]
LBB0_39:                                ; =>This Inner Loop Header: Depth=1
	and	x0, x28, #0xff
	ldr	w0, [x17, x0, lsl #2]
	cmp	w27, w0
	b.ls	LBB0_43
; %bb.40:                               ;   in Loop: Header=BB0_39 Depth=1
	add	w28, w28, #1
	cmp	w14, w28, uxtb
	b.hi	LBB0_39
; %bb.41:
	mov	x28, x14
	b	LBB0_43
LBB0_42:
	mov	w28, #0
LBB0_43:
	orr	w12, w12, w13
	ldrb	w13, [x15]
	ldrb	w14, [x16]
Lloh96:
	adrp	x15, _CLOCAL@GOTPAGE
Lloh97:
	ldr	x15, [x15, _CLOCAL@GOTPAGEOFF]
Lloh98:
	ldr	w15, [x15]
	tst	w15, w10
	b.eq	LBB0_45
; %bb.44:
	mov	w20, #0
	mov	w26, #0
Lloh99:
	adrp	x15, _ASYNC_CHECK_CD@GOTPAGE
Lloh100:
	ldr	x15, [x15, _ASYNC_CHECK_CD@GOTPAGEOFF]
Lloh101:
	ldr	w15, [x15]
	ldr	w16, [x19, #44]
	bic	w15, w16, w15
	b	LBB0_46
LBB0_45:
Lloh102:
	adrp	x15, _IOPR_DCDCOS@GOTPAGE
Lloh103:
	ldr	x15, [x15, _IOPR_DCDCOS@GOTPAGEOFF]
	ldrb	w26, [x15]
Lloh104:
	adrp	x15, _IR_IOPORT@GOTPAGE
Lloh105:
	ldr	x15, [x15, _IR_IOPORT@GOTPAGEOFF]
	ldrb	w20, [x15]
Lloh106:
	adrp	x15, _ASYNC_CHECK_CD@GOTPAGE
Lloh107:
	ldr	x15, [x15, _ASYNC_CHECK_CD@GOTPAGEOFF]
Lloh108:
	ldr	w15, [x15]
	ldr	w16, [x19, #44]
	orr	w15, w16, w15
LBB0_46:
	str	w15, [x19, #44]
	orr	w12, w12, w13
	orr	w11, w14, w11
Lloh109:
	adrp	x13, _IXON@GOTPAGE
Lloh110:
	ldr	x13, [x13, _IXON@GOTPAGEOFF]
Lloh111:
	ldr	w13, [x13]
	tst	w13, w9
	str	x1, [sp, #24]                   ; 8-byte Folded Spill
	b.eq	LBB0_48
; %bb.47:
	mov	w22, #0
Lloh112:
	adrp	x13, _MR0_SWFTX@GOTPAGE
Lloh113:
	ldr	x13, [x13, _MR0_SWFTX@GOTPAGEOFF]
	ldrb	w13, [x13]
Lloh114:
	adrp	x14, _MR0_SWFT@GOTPAGE
Lloh115:
	ldr	x14, [x14, _MR0_SWFT@GOTPAGEOFF]
	ldrb	w14, [x14]
	orr	w13, w14, w13
Lloh116:
	adrp	x14, _IR_XONXOFF@GOTPAGE
Lloh117:
	ldr	x14, [x14, _IR_XONXOFF@GOTPAGEOFF]
	ldrb	w14, [x14]
	orr	w20, w14, w20
	b	LBB0_49
LBB0_48:
	mov	w13, #0
Lloh118:
	adrp	x14, _IR_XONXOFF@GOTPAGE
Lloh119:
	ldr	x14, [x14, _IR_XONXOFF@GOTPAGEOFF]
	ldrb	w22, [x14]
LBB0_49:
Lloh120:
	adrp	x14, _IXOFF@GOTPAGE
Lloh121:
	ldr	x14, [x14, _IXOFF@GOTPAGEOFF]
Lloh122:
	ldr	w14, [x14]
Lloh123:
	adrp	x15, _MR0_SWFRX@GOTPAGE
Lloh124:
	ldr	x15, [x15, _MR0_SWFRX@GOTPAGEOFF]
	ldrb	w15, [x15]
	tst	w14, w9
	csel	w9, wzr, w15, eq
	orr	w23, w9, w13
Lloh125:
	adrp	x9, _CRTSCTS@GOTPAGE
Lloh126:
	ldr	x9, [x9, _CRTSCTS@GOTPAGEOFF]
Lloh127:
	adrp	x13, _MR2_AUTOCTS@GOTPAGE
Lloh128:
	ldr	x13, [x13, _MR2_AUTOCTS@GOTPAGEOFF]
Lloh129:
	ldr	w9, [x9]
	ldrb	w13, [x13]
Lloh130:
	adrp	x14, _MR1_AUTORTS@GOTPAGE
Lloh131:
	ldr	x14, [x14, _MR1_AUTORTS@GOTPAGEOFF]
	ldrb	w14, [x14]
	tst	w9, w10
	csel	w9, wzr, w14, eq
	orr	w24, w12, w9
	csel	w9, wzr, w13, eq
	orr	w21, w11, w9
	ldrb	w1, [x19, #40]
	ldrb	w2, [x19, #36]
	and	w3, w8, #0xff
Lloh132:
	adrp	x0, l_.str@PAGE
Lloh133:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_debug
	mov	x8, x28
	and	x8, x8, #0xff
	str	x8, [sp]
	and	w25, w23, #0xff
	and	w24, w24, #0xff
	and	w23, w21, #0xff
Lloh134:
	adrp	x0, l_.str.1@PAGE
Lloh135:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x25
	mov	x2, x24
	mov	x3, x23
	bl	_pr_debug
	str	w20, [sp, #20]                  ; 4-byte Folded Spill
	and	w2, w20, #0xff
Lloh136:
	adrp	x0, l_.str.2@PAGE
Lloh137:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x26
	mov	x20, x22
	mov	x3, x22
	bl	_pr_debug
	ldr	x21, [sp, #24]                  ; 8-byte Folded Reload
	ldr	x8, [x21, #8]
Lloh138:
	adrp	x9, _VSTART@GOTPAGE
Lloh139:
	ldr	x9, [x9, _VSTART@GOTPAGEOFF]
Lloh140:
	ldr	x9, [x9]
	ldrb	w1, [x8, x9]
Lloh141:
	adrp	x9, _VSTOP@GOTPAGE
Lloh142:
	ldr	x9, [x9, _VSTOP@GOTPAGEOFF]
Lloh143:
	ldr	x9, [x9]
	ldrb	w2, [x8, x9]
	str	x2, [sp]
Lloh144:
	adrp	x0, l_.str.3@PAGE
Lloh145:
	add	x0, x0, l_.str.3@PAGEOFF
                                        ; kill: def $w2 killed $w2 killed $x2
	mov	x3, x1
	bl	_pr_debug
Lloh146:
	adrp	x0, _brd_lock@GOTPAGE
Lloh147:
	ldr	x0, [x0, _brd_lock@GOTPAGEOFF]
	bl	_spin_lock_irqsave
	ldr	x0, [x19]
	ldr	w1, [x19, #32]
	bl	_BRDENABLE
Lloh148:
	adrp	x22, _IMR@GOTPAGE
Lloh149:
	ldr	x22, [x22, _IMR@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #0
	bl	_stl_sc26198setreg
Lloh150:
	adrp	x8, _MR0@GOTPAGE
Lloh151:
	ldr	x8, [x8, _MR0@GOTPAGEOFF]
Lloh152:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x25
	bl	_stl_sc26198updatereg
Lloh153:
	adrp	x8, _MR1@GOTPAGE
Lloh154:
	ldr	x8, [x8, _MR1@GOTPAGEOFF]
Lloh155:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x24
	bl	_stl_sc26198updatereg
Lloh156:
	adrp	x8, _SCCR@GOTPAGE
Lloh157:
	ldr	x8, [x8, _SCCR@GOTPAGEOFF]
Lloh158:
	ldr	w1, [x8]
Lloh159:
	adrp	x8, _CR_RXERRBLOCK@GOTPAGE
Lloh160:
	ldr	x8, [x8, _CR_RXERRBLOCK@GOTPAGEOFF]
	ldrb	w2, [x8]
	mov	x0, x19
	bl	_stl_sc26198setreg
Lloh161:
	adrp	x8, _MR2@GOTPAGE
Lloh162:
	ldr	x8, [x8, _MR2@GOTPAGEOFF]
Lloh163:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x23
	bl	_stl_sc26198updatereg
Lloh164:
	adrp	x8, _IOPIOR@GOTPAGE
Lloh165:
	ldr	x8, [x8, _IOPIOR@GOTPAGEOFF]
Lloh166:
	ldr	w23, [x8]
	mov	x0, x19
	mov	x1, x23
	bl	_stl_sc26198getreg
Lloh167:
	adrp	x8, _IPR_CHANGEMASK@GOTPAGE
Lloh168:
	ldr	x8, [x8, _IPR_CHANGEMASK@GOTPAGEOFF]
	ldrb	w8, [x8]
	bic	w8, w0, w8
	orr	w2, w8, w26
	mov	x0, x19
	mov	x1, x23
	bl	_stl_sc26198updatereg
	cbz	w27, LBB0_51
; %bb.50:
Lloh169:
	adrp	x8, _TXCSR@GOTPAGE
Lloh170:
	ldr	x8, [x8, _TXCSR@GOTPAGEOFF]
Lloh171:
	ldr	w1, [x8]
	mov	x23, x22
	and	w22, w28, #0xff
	mov	x0, x19
	mov	x2, x22
	bl	_stl_sc26198setreg
Lloh172:
	adrp	x8, _RXCSR@GOTPAGE
Lloh173:
	ldr	x8, [x8, _RXCSR@GOTPAGEOFF]
Lloh174:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x22
	mov	x22, x23
	bl	_stl_sc26198setreg
LBB0_51:
Lloh175:
	adrp	x8, _XONCR@GOTPAGE
Lloh176:
	ldr	x8, [x8, _XONCR@GOTPAGEOFF]
Lloh177:
	ldr	w1, [x8]
	ldr	x8, [x21, #8]
Lloh178:
	adrp	x9, _VSTART@GOTPAGE
Lloh179:
	ldr	x9, [x9, _VSTART@GOTPAGEOFF]
Lloh180:
	ldr	x9, [x9]
	ldrb	w2, [x8, x9]
	mov	x0, x19
	bl	_stl_sc26198setreg
Lloh181:
	adrp	x8, _XOFFCR@GOTPAGE
Lloh182:
	ldr	x8, [x8, _XOFFCR@GOTPAGEOFF]
Lloh183:
	ldr	w1, [x8]
	ldr	x8, [x21, #8]
Lloh184:
	adrp	x9, _VSTOP@GOTPAGE
Lloh185:
	ldr	x9, [x9, _VSTOP@GOTPAGEOFF]
Lloh186:
	ldr	x9, [x9]
	ldrb	w2, [x8, x9]
	mov	x0, x19
	bl	_stl_sc26198setreg
Lloh187:
	adrp	x8, _IPR@GOTPAGE
Lloh188:
	ldr	x8, [x8, _IPR@GOTPAGEOFF]
Lloh189:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_stl_sc26198getreg
Lloh190:
	adrp	x8, _IPR_DCD@GOTPAGE
Lloh191:
	ldr	x8, [x8, _IPR_DCD@GOTPAGEOFF]
	ldrb	w9, [x8]
Lloh192:
	adrp	x8, _TIOCM_CD@GOTPAGE
Lloh193:
	ldr	x8, [x8, _TIOCM_CD@GOTPAGEOFF]
Lloh194:
	ldr	w8, [x8]
	tst	w9, w0
	b.eq	LBB0_53
; %bb.52:
	ldr	w9, [x19, #28]
	bic	w8, w9, w8
	b	LBB0_54
LBB0_53:
	ldr	w9, [x19, #28]
	orr	w8, w9, w8
LBB0_54:
	str	w8, [x19, #28]
	ldr	w9, [sp, #20]                   ; 4-byte Folded Reload
	ldrb	w8, [x19, #24]
	bic	w8, w8, w20
	orr	w8, w8, w9
	strb	w8, [x19, #24]
	ldr	w1, [x22]
	and	w2, w8, #0xff
	mov	x0, x19
	bl	_stl_sc26198setreg
	ldr	x0, [x19]
	bl	_BRDDISABLE
Lloh195:
	adrp	x0, _brd_lock@GOTPAGE
Lloh196:
	ldr	x0, [x0, _brd_lock@GOTPAGEOFF]
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_spin_unlock_irqrestore
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.loh AdrpLdrGot	Lloh86, Lloh87
	.loh AdrpLdrGot	Lloh84, Lloh85
	.loh AdrpLdrGot	Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh96, Lloh97, Lloh98
	.loh AdrpLdrGotLdr	Lloh99, Lloh100, Lloh101
	.loh AdrpLdrGotLdr	Lloh106, Lloh107, Lloh108
	.loh AdrpLdrGot	Lloh104, Lloh105
	.loh AdrpLdrGot	Lloh102, Lloh103
	.loh AdrpLdrGotLdr	Lloh109, Lloh110, Lloh111
	.loh AdrpLdrGot	Lloh116, Lloh117
	.loh AdrpLdrGot	Lloh114, Lloh115
	.loh AdrpLdrGot	Lloh112, Lloh113
	.loh AdrpLdrGot	Lloh118, Lloh119
	.loh AdrpLdrGot	Lloh167, Lloh168
	.loh AdrpLdrGotLdr	Lloh164, Lloh165, Lloh166
	.loh AdrpLdrGotLdr	Lloh161, Lloh162, Lloh163
	.loh AdrpLdrGot	Lloh159, Lloh160
	.loh AdrpLdrGotLdr	Lloh156, Lloh157, Lloh158
	.loh AdrpLdrGotLdr	Lloh153, Lloh154, Lloh155
	.loh AdrpLdrGotLdr	Lloh150, Lloh151, Lloh152
	.loh AdrpLdrGot	Lloh148, Lloh149
	.loh AdrpLdrGot	Lloh146, Lloh147
	.loh AdrpAdd	Lloh144, Lloh145
	.loh AdrpLdrGotLdr	Lloh141, Lloh142, Lloh143
	.loh AdrpLdrGotLdr	Lloh138, Lloh139, Lloh140
	.loh AdrpAdd	Lloh136, Lloh137
	.loh AdrpAdd	Lloh134, Lloh135
	.loh AdrpAdd	Lloh132, Lloh133
	.loh AdrpLdrGot	Lloh130, Lloh131
	.loh AdrpLdrGot	Lloh127, Lloh128
	.loh AdrpLdrGotLdr	Lloh125, Lloh126, Lloh129
	.loh AdrpLdrGot	Lloh123, Lloh124
	.loh AdrpLdrGotLdr	Lloh120, Lloh121, Lloh122
	.loh AdrpLdrGotLdr	Lloh172, Lloh173, Lloh174
	.loh AdrpLdrGotLdr	Lloh169, Lloh170, Lloh171
	.loh AdrpLdrGotLdr	Lloh192, Lloh193, Lloh194
	.loh AdrpLdrGot	Lloh190, Lloh191
	.loh AdrpLdrGotLdr	Lloh187, Lloh188, Lloh189
	.loh AdrpLdrGotLdr	Lloh184, Lloh185, Lloh186
	.loh AdrpLdrGotLdr	Lloh181, Lloh182, Lloh183
	.loh AdrpLdrGotLdr	Lloh178, Lloh179, Lloh180
	.loh AdrpLdrGotLdr	Lloh175, Lloh176, Lloh177
	.loh AdrpLdrGot	Lloh195, Lloh196
	.cfi_endproc
                                        ; -- End function
	.comm	_stl_brds,8,3                   ; @stl_brds
	.comm	_IGNPAR,4,2                     ; @IGNPAR
	.comm	_SR_RXPARITY,4,2                ; @SR_RXPARITY
	.comm	_SR_RXFRAMING,4,2               ; @SR_RXFRAMING
	.comm	_SR_RXOVERRUN,4,2               ; @SR_RXOVERRUN
	.comm	_IGNBRK,4,2                     ; @IGNBRK
	.comm	_SR_RXBREAK,4,2                 ; @SR_RXBREAK
	.comm	_INPCK,4,2                      ; @INPCK
	.comm	_PARMRK,4,2                     ; @PARMRK
	.comm	_BRKINT,4,2                     ; @BRKINT
	.comm	_CSIZE,4,2                      ; @CSIZE
	.comm	_MR1_CS5,1,0                    ; @MR1_CS5
	.comm	_MR1_CS6,1,0                    ; @MR1_CS6
	.comm	_MR1_CS7,1,0                    ; @MR1_CS7
	.comm	_MR1_CS8,1,0                    ; @MR1_CS8
	.comm	_CSTOPB,4,2                     ; @CSTOPB
	.comm	_MR2_STOP2,1,0                  ; @MR2_STOP2
	.comm	_MR2_STOP1,1,0                  ; @MR2_STOP1
	.comm	_PARENB,4,2                     ; @PARENB
	.comm	_PARODD,4,2                     ; @PARODD
	.comm	_MR1_PARENB,1,0                 ; @MR1_PARENB
	.comm	_MR1_PARODD,1,0                 ; @MR1_PARODD
	.comm	_MR1_PAREVEN,1,0                ; @MR1_PAREVEN
	.comm	_MR1_PARNONE,1,0                ; @MR1_PARNONE
	.comm	_MR1_ERRBLOCK,1,0               ; @MR1_ERRBLOCK
	.comm	_MR2_RXFIFOHALF,1,0             ; @MR2_RXFIFOHALF
	.comm	_CBAUD,4,2                      ; @CBAUD
	.comm	_CBAUDEX,4,2                    ; @CBAUDEX
	.comm	_stl_baudrates,8,3              ; @stl_baudrates
	.comm	_B38400,4,2                     ; @B38400
	.comm	_ASYNC_SPD_MASK,4,2             ; @ASYNC_SPD_MASK
	.comm	_ASYNC_SPD_HI,4,2               ; @ASYNC_SPD_HI
	.comm	_ASYNC_SPD_VHI,4,2              ; @ASYNC_SPD_VHI
	.comm	_ASYNC_SPD_SHI,4,2              ; @ASYNC_SPD_SHI
	.comm	_ASYNC_SPD_WARP,4,2             ; @ASYNC_SPD_WARP
	.comm	_ASYNC_SPD_CUST,4,2             ; @ASYNC_SPD_CUST
	.comm	_STL_SC26198MAXBAUD,4,2         ; @STL_SC26198MAXBAUD
	.comm	_SC26198_NRBAUDS,1,0            ; @SC26198_NRBAUDS
	.comm	_sc26198_baudtable,8,3          ; @sc26198_baudtable
	.comm	_CLOCAL,4,2                     ; @CLOCAL
	.comm	_ASYNC_CHECK_CD,4,2             ; @ASYNC_CHECK_CD
	.comm	_IOPR_DCDCOS,1,0                ; @IOPR_DCDCOS
	.comm	_IR_IOPORT,1,0                  ; @IR_IOPORT
	.comm	_IXON,4,2                       ; @IXON
	.comm	_MR0_SWFTX,1,0                  ; @MR0_SWFTX
	.comm	_MR0_SWFT,1,0                   ; @MR0_SWFT
	.comm	_IR_XONXOFF,1,0                 ; @IR_XONXOFF
	.comm	_IXOFF,4,2                      ; @IXOFF
	.comm	_MR0_SWFRX,1,0                  ; @MR0_SWFRX
	.comm	_CRTSCTS,4,2                    ; @CRTSCTS
	.comm	_MR2_AUTOCTS,1,0                ; @MR2_AUTOCTS
	.comm	_MR1_AUTORTS,1,0                ; @MR1_AUTORTS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SETPORT: portnr=%d panelnr=%d brdnr=%d\n"

l_.str.1:                               ; @.str.1
	.asciz	"    mr0=%x mr1=%x mr2=%x clk=%x\n"

l_.str.2:                               ; @.str.2
	.asciz	"    iopr=%x imron=%x imroff=%x\n"

l_.str.3:                               ; @.str.3
	.asciz	"    schr1=%x schr2=%x schr3=%x schr4=%x\n"

	.comm	_VSTART,8,3                     ; @VSTART
	.comm	_VSTOP,8,3                      ; @VSTOP
	.comm	_brd_lock,4,2                   ; @brd_lock
	.comm	_IMR,4,2                        ; @IMR
	.comm	_MR0,4,2                        ; @MR0
	.comm	_MR1,4,2                        ; @MR1
	.comm	_SCCR,4,2                       ; @SCCR
	.comm	_CR_RXERRBLOCK,1,0              ; @CR_RXERRBLOCK
	.comm	_MR2,4,2                        ; @MR2
	.comm	_IOPIOR,4,2                     ; @IOPIOR
	.comm	_IPR_CHANGEMASK,1,0             ; @IPR_CHANGEMASK
	.comm	_TXCSR,4,2                      ; @TXCSR
	.comm	_RXCSR,4,2                      ; @RXCSR
	.comm	_XONCR,4,2                      ; @XONCR
	.comm	_XOFFCR,4,2                     ; @XOFFCR
	.comm	_IPR,4,2                        ; @IPR
	.comm	_IPR_DCD,1,0                    ; @IPR_DCD
	.comm	_TIOCM_CD,4,2                   ; @TIOCM_CD
	.no_dead_strip	_stl_sc26198setport
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.stl_sc26198setport
l_switch.table.stl_sc26198setport:
	.quad	_MR1_CS7
	.quad	_MR1_CS6
	.quad	_MR1_CS5

.subsections_via_symbols
