	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function change_speed
_change_speed:                          ## @change_speed
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movq	40(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_36
## %bb.1:
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_36
## %bb.2:
	movl	(%rax), %ebx
	movq	_CSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%ebx, %eax
	leal	-128(%rax), %ecx
	movl	$131, %edx
	subl	%eax, %edx
	movl	$138, %esi
	subl	%eax, %esi
	xorl	%r15d, %r15d
	cmpl	$3, %ecx
	cmovael	%r15d, %edx
	movl	$7, %r12d
	cmovbl	%esi, %r12d
	movq	_CSTOPB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%ebx, %eax
	movl	%edx, %r14d
	orl	$4, %r14d
	xorl	%ecx, %ecx
	testl	%eax, %eax
	setne	%cl
	cmovel	%edx, %r14d
	movq	_PARENB@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	movl	(%rdx), %edx
	andl	%ebx, %edx
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	setne	%dl
	je	LBB0_4
## %bb.3:
	movq	_UART_LCR_PARITY@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
LBB0_4:
	addl	%ecx, %r12d
	movb	%dl, %al
	movq	_PARODD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ebx, -48(%rbp)                 ## 4-byte Spill
	andl	%ebx, %ecx
	jne	LBB0_6
## %bb.5:
	movq	_UART_LCR_EPAR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r15d
LBB0_6:
	addl	%eax, %r12d
	callq	_tty_get_baud_rate
	movl	%eax, %ecx
	cmpl	$38400, %eax                    ## imm = 0x9600
	movl	%r15d, -64(%rbp)                ## 4-byte Spill
	je	LBB0_10
## %bb.7:
	cmpl	$134, %ecx
	je	LBB0_12
## %bb.8:
	testl	%ecx, %ecx
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	jne	LBB0_13
## %bb.9:
	movq	_BASE_BAUD@GOTPCREL(%rip), %rax
	movslq	(%rax), %rcx
	imulq	$458129845, %rcx, %r15          ## imm = 0x1B4E81B5
	movq	%r15, %rax
	shrq	$63, %rax
	sarq	$42, %r15
	addl	%eax, %r15d
	jmp	LBB0_17
LBB0_36:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	_BASE_BAUD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%eax, %eax
	cltq
	imulq	$2043701911, %rax, %r15         ## imm = 0x79D06A97
	movq	%r15, %rax
	shrq	$63, %rax
	sarq	$39, %r15
	addl	%eax, %r15d
	jmp	LBB0_14
LBB0_10:
	movq	_ASYNC_SPD_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	32(%r13), %eax
	movq	_ASYNC_SPD_CUST@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	jne	LBB0_13
## %bb.11:
	movl	4(%r13), %r15d
	jmp	LBB0_14
LBB0_13:
	movq	_BASE_BAUD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cltd
	idivl	%ecx
	movl	%eax, %r15d
LBB0_14:
	movq	_BASE_BAUD@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	testl	%r15d, %r15d
	jne	LBB0_16
## %bb.15:
	movslq	%eax, %rcx
	imulq	$458129845, %rcx, %r15          ## imm = 0x1B4E81B5
	movq	%r15, %rcx
	shrq	$63, %rcx
	sarq	$42, %r15
	addl	%ecx, %r15d
LBB0_16:
	cltd
	idivl	%r15d
	movq	40(%r13), %rdi
	movl	%eax, %esi
	movl	%eax, %edx
	callq	_tty_encode_baud_rate
	movl	(%rbx), %ecx
	movl	-48(%rbp), %edi                 ## 4-byte Reload
LBB0_17:
	movq	_HZ@GOTPCREL(%rip), %rax
	movslq	(%rax), %rsi
	imull	%r15d, %r12d
	imull	%esi, %r12d
	shll	$10, %r12d
	movl	%r12d, %eax
	cltd
	idivl	%ecx
	imulq	$1374389535, %rsi, %rcx         ## imm = 0x51EB851F
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$36, %rcx
	addl	%edx, %ecx
	addl	%eax, %ecx
	movl	%ecx, 8(%r13)
	movq	_CRTSCTS@GOTPCREL(%rip), %rcx
	movq	_ASYNC_CTS_FLOW@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%edi, (%rcx)
	je	LBB0_19
## %bb.18:
	orl	32(%r13), %eax
	movl	$16, -52(%rbp)                  ## 4-byte Folded Spill
	movb	$4, %r12b
	jmp	LBB0_20
LBB0_19:
	notl	%eax
	andl	32(%r13), %eax
	xorl	%r12d, %r12d
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
LBB0_20:
	movq	_CLOCAL@GOTPCREL(%rip), %rdx
	movq	_ASYNC_CHECK_CD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%edi, (%rdx)
	je	LBB0_22
## %bb.21:
	notl	%ecx
	andl	%ecx, %eax
	jmp	LBB0_23
LBB0_22:
	orl	%ecx, %eax
LBB0_23:
	movl	%eax, 32(%r13)
	movq	_UART_LSR_OE@GOTPCREL(%rip), %rcx
	movq	_UART_LSR_THRE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	movq	_UART_LSR_DR@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, 12(%r13)
	movq	40(%r13), %rdi
	callq	_I_INPCK
	testq	%rax, %rax
	je	LBB0_25
## %bb.24:
	movq	_UART_LSR_FE@GOTPCREL(%rip), %rax
	movq	_UART_LSR_PE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	orl	%ecx, 12(%r13)
LBB0_25:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	orl	%r14d, %eax
	movl	%eax, %ebx
	movq	40(%r13), %rdi
	callq	_I_BRKINT
	testq	%rax, %rax
	jne	LBB0_27
## %bb.26:
	movq	40(%r13), %rdi
	callq	_I_PARMRK
	testq	%rax, %rax
	je	LBB0_28
LBB0_27:
	movq	_UART_LSR_BI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 12(%r13)
LBB0_28:
	orl	-64(%rbp), %ebx                 ## 4-byte Folded Reload
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movl	$0, 16(%r13)
	movq	40(%r13), %rdi
	callq	_I_IGNBRK
	testq	%rax, %rax
	je	LBB0_31
## %bb.29:
	movq	_UART_LSR_BI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 16(%r13)
	orl	%eax, 12(%r13)
	movq	40(%r13), %rdi
	callq	_I_IGNPAR
	testq	%rax, %rax
	je	LBB0_31
## %bb.30:
	movq	_UART_LSR_PE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_UART_LSR_OE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_UART_LSR_FE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	orl	%eax, 16(%r13)
	orl	%eax, 12(%r13)
LBB0_31:
	movq	40(%r13), %rdi
	callq	_I_IXOFF
	movzbl	%r12b, %ecx
	orb	$-127, %r12b
	testq	%rax, %rax
	movzbl	%r12b, %r12d
	cmovel	%ecx, %r12d
	leaq	20(%r13), %rdi
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	callq	_spin_lock_irqsave
	movq	_UART_ESI_CMD1@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_ESI_SET_BAUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	callq	_serial_out
	movq	_UART_ESI_CMD2@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movl	%r15d, %edx
	sarl	$8, %edx
	movq	%r13, %rdi
	callq	_serial_out
	movl	(%rbx), %esi
	movzbl	%r15b, %edx
	movq	%r14, %r15
	movq	%r13, %rdi
	callq	_serial_out
	movl	(%r14), %esi
	movq	_ESI_WRITE_UART@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	callq	_serial_out
	movl	(%rbx), %esi
	movq	_UART_LCR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	callq	_serial_out
	movl	(%rbx), %esi
	movq	%r13, %rdi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_serial_out
	movl	(%r14), %esi
	movq	_ESI_SET_FLOW_CNTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	callq	_serial_out
	movl	(%rbx), %esi
	movzbl	%r12b, %edx
	movq	%r13, %rdi
	callq	_serial_out
	movl	(%rbx), %esi
	movq	%r13, %rdi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	callq	_serial_out
	movq	40(%r13), %rdi
	callq	_I_IXOFF
	testq	%rax, %rax
	je	LBB0_35
## %bb.32:
	movl	(%r15), %esi
	movq	_ESI_SET_FLOW_CHARS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	callq	_serial_out
	movl	(%rbx), %r14d
	movq	40(%r13), %rdi
	callq	_START_CHAR
	movq	%r13, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_serial_out
	movl	(%rbx), %r14d
	movq	40(%r13), %rdi
	callq	_STOP_CHAR
	movq	%r13, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_serial_out
	movl	(%rbx), %esi
	movq	%r13, %rdi
	movl	$16, %edx
	callq	_serial_out
	movl	(%rbx), %esi
	movq	%r13, %rdi
	movl	$33, %edx
	callq	_serial_out
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movq	_CSIZE@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	addl	$-128, %eax
	movl	$255, %edx
	cmpl	$3, %eax
	ja	LBB0_34
## %bb.33:
	cltq
	leaq	L_switch.table.change_speed(%rip), %rcx
	movl	(%rcx,%rax,4), %edx
LBB0_34:
	movl	(%rbx), %esi
	movq	%r13, %rdi
	callq	_serial_out
LBB0_35:
	movl	(%r15), %esi
	movq	_ESI_SET_FLOW_LVL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	callq	_serial_out
	movl	(%rbx), %esi
	movl	24(%r13), %edx
	sarl	$8, %edx
	movq	%r13, %rdi
	callq	_serial_out
	movl	(%rbx), %esi
	movl	24(%r13), %edx
	movq	%r13, %rdi
	callq	_serial_out
	movl	(%rbx), %esi
	movl	28(%r13), %edx
	sarl	$8, %edx
	movq	%r13, %rdi
	callq	_serial_out
	movl	(%rbx), %esi
	movl	28(%r13), %edx
	movq	%r13, %rdi
	callq	_serial_out
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CSIZE,4,2                      ## @CSIZE
	.comm	_CSTOPB,4,2                     ## @CSTOPB
	.comm	_PARENB,4,2                     ## @PARENB
	.comm	_UART_LCR_PARITY,4,2            ## @UART_LCR_PARITY
	.comm	_PARODD,4,2                     ## @PARODD
	.comm	_UART_LCR_EPAR,4,2              ## @UART_LCR_EPAR
	.comm	_ASYNC_SPD_MASK,4,2             ## @ASYNC_SPD_MASK
	.comm	_ASYNC_SPD_CUST,4,2             ## @ASYNC_SPD_CUST
	.comm	_BASE_BAUD,4,2                  ## @BASE_BAUD
	.comm	_HZ,4,2                         ## @HZ
	.comm	_CRTSCTS,4,2                    ## @CRTSCTS
	.comm	_ASYNC_CTS_FLOW,4,2             ## @ASYNC_CTS_FLOW
	.comm	_CLOCAL,4,2                     ## @CLOCAL
	.comm	_ASYNC_CHECK_CD,4,2             ## @ASYNC_CHECK_CD
	.comm	_UART_LSR_OE,4,2                ## @UART_LSR_OE
	.comm	_UART_LSR_THRE,4,2              ## @UART_LSR_THRE
	.comm	_UART_LSR_DR,4,2                ## @UART_LSR_DR
	.comm	_UART_LSR_FE,4,2                ## @UART_LSR_FE
	.comm	_UART_LSR_PE,4,2                ## @UART_LSR_PE
	.comm	_UART_LSR_BI,4,2                ## @UART_LSR_BI
	.comm	_UART_ESI_CMD1,4,2              ## @UART_ESI_CMD1
	.comm	_ESI_SET_BAUD,4,2               ## @ESI_SET_BAUD
	.comm	_UART_ESI_CMD2,4,2              ## @UART_ESI_CMD2
	.comm	_ESI_WRITE_UART,4,2             ## @ESI_WRITE_UART
	.comm	_UART_LCR,4,2                   ## @UART_LCR
	.comm	_ESI_SET_FLOW_CNTL,4,2          ## @ESI_SET_FLOW_CNTL
	.comm	_ESI_SET_FLOW_CHARS,4,2         ## @ESI_SET_FLOW_CHARS
	.comm	_ESI_SET_FLOW_LVL,4,2           ## @ESI_SET_FLOW_LVL
	.comm	_CMSPAR,4,2                     ## @CMSPAR
	.comm	_UART_LCR_SPAR,4,2              ## @UART_LCR_SPAR
	.no_dead_strip	_change_speed
	.section	__TEXT,__literal16,16byte_literals
	.p2align	2                               ## @switch.table.change_speed
L_switch.table.change_speed:
	.long	127                             ## 0x7f
	.long	127                             ## 0x7f
	.long	63                              ## 0x3f
	.long	31                              ## 0x1f

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function change_speed
_change_speed:                          ; @change_speed
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x0
	ldr	x0, [x0, #40]
	cbz	x0, LBB0_6
; %bb.1:
	ldr	x8, [x0]
	cbz	x8, LBB0_6
; %bb.2:
Lloh0:
	adrp	x9, _CSIZE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CSIZE@GOTPAGEOFF]
	ldr	w24, [x8]
Lloh2:
	ldr	w8, [x9]
	and	w8, w8, w24
	sub	w9, w8, #128
	mov	w10, #131
	sub	w10, w10, w8
	mov	w11, #138
	sub	w8, w11, w8
	cmp	w9, #3
	csel	w9, w10, wzr, lo
	mov	w10, #7
	csel	w8, w8, w10, lo
Lloh3:
	adrp	x10, _CSTOPB@GOTPAGE
Lloh4:
	ldr	x10, [x10, _CSTOPB@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	orr	w11, w9, #0x4
	tst	w10, w24
	csel	w22, w9, w11, eq
	cinc	w8, w8, ne
Lloh6:
	adrp	x9, _PARENB@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PARENB@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _UART_LCR_PARITY@GOTPAGE
Lloh10:
	ldr	x10, [x10, _UART_LCR_PARITY@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	tst	w9, w24
	csel	w23, wzr, w10, eq
	cinc	w20, w8, ne
Lloh12:
	adrp	x8, _PARODD@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PARODD@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _UART_LCR_EPAR@GOTPAGE
Lloh16:
	ldr	x9, [x9, _UART_LCR_EPAR@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	tst	w8, w24
	csel	w21, w9, wzr, eq
	bl	_tty_get_baud_rate
	mov	w8, #38400
	cmp	w0, w8
	b.eq	LBB0_8
; %bb.3:
	cmp	w0, #134
	b.eq	LBB0_7
; %bb.4:
	cbnz	w0, LBB0_10
; %bb.5:
Lloh18:
	adrp	x8, _BASE_BAUD@GOTPAGE
Lloh19:
	ldr	x8, [x8, _BASE_BAUD@GOTPAGEOFF]
Lloh20:
	ldrsw	x8, [x8]
	mov	w9, #33205
	movk	w9, #6990, lsl #16
	mul	x9, x8, x9
	lsr	x10, x9, #63
	asr	x9, x9, #42
	add	w26, w9, w10
	b	LBB0_12
LBB0_6:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_7:
Lloh21:
	adrp	x8, _BASE_BAUD@GOTPAGE
Lloh22:
	ldr	x8, [x8, _BASE_BAUD@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	lsl	w8, w8, #1
	mov	w9, #27287
	movk	w9, #31184, lsl #16
	smull	x8, w8, w9
	lsr	x9, x8, #63
	asr	x8, x8, #39
	add	w8, w8, w9
	b	LBB0_11
LBB0_8:
	ldr	w8, [x19, #32]
Lloh24:
	adrp	x9, _ASYNC_SPD_MASK@GOTPAGE
Lloh25:
	ldr	x9, [x9, _ASYNC_SPD_MASK@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh27:
	adrp	x9, _ASYNC_SPD_CUST@GOTPAGE
Lloh28:
	ldr	x9, [x9, _ASYNC_SPD_CUST@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_10
; %bb.9:
	ldr	w8, [x19, #4]
	b	LBB0_11
LBB0_10:
Lloh30:
	adrp	x8, _BASE_BAUD@GOTPAGE
Lloh31:
	ldr	x8, [x8, _BASE_BAUD@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	sdiv	w8, w8, w0
LBB0_11:
Lloh33:
	adrp	x25, _BASE_BAUD@GOTPAGE
Lloh34:
	ldr	x25, [x25, _BASE_BAUD@GOTPAGEOFF]
	ldrsw	x9, [x25]
	mov	w10, #33205
	movk	w10, #6990, lsl #16
	mul	x10, x9, x10
	lsr	x11, x10, #63
	asr	x10, x10, #42
	add	w10, w10, w11
	cmp	w8, #0
	csel	w26, w10, w8, eq
	sdiv	w1, w9, w26
	ldr	x0, [x19, #40]
	mov	x2, x1
	bl	_tty_encode_baud_rate
	ldr	w8, [x25]
LBB0_12:
Lloh35:
	adrp	x9, _HZ@GOTPAGE
Lloh36:
	ldr	x9, [x9, _HZ@GOTPAGEOFF]
Lloh37:
	ldrsw	x9, [x9]
	mul	w10, w20, w26
	mul	w10, w10, w9
	lsl	w10, w10, #10
	sdiv	w8, w10, w8
	mov	w10, #34079
	movk	w10, #20971, lsl #16
	mul	x9, x9, x10
	lsr	x10, x9, #63
	asr	x9, x9, #36
	add	w9, w9, w10
	add	w8, w8, w9
Lloh38:
	adrp	x9, _CRTSCTS@GOTPAGE
Lloh39:
	ldr	x9, [x9, _CRTSCTS@GOTPAGEOFF]
	str	w8, [x19, #8]
Lloh40:
	ldr	w9, [x9]
Lloh41:
	adrp	x8, _ASYNC_CTS_FLOW@GOTPAGE
Lloh42:
	ldr	x8, [x8, _ASYNC_CTS_FLOW@GOTPAGEOFF]
Lloh43:
	ldr	w8, [x8]
	tst	w9, w24
	b.eq	LBB0_14
; %bb.13:
	ldr	w9, [x19, #32]
	orr	w8, w9, w8
	mov	w20, #16
	mov	w27, #4
	b	LBB0_15
LBB0_14:
	mov	w27, #0
	mov	w20, #0
	ldr	w9, [x19, #32]
	bic	w8, w9, w8
LBB0_15:
Lloh44:
	adrp	x9, _CLOCAL@GOTPAGE
Lloh45:
	ldr	x9, [x9, _CLOCAL@GOTPAGEOFF]
Lloh46:
	ldr	w10, [x9]
Lloh47:
	adrp	x9, _ASYNC_CHECK_CD@GOTPAGE
Lloh48:
	ldr	x9, [x9, _ASYNC_CHECK_CD@GOTPAGEOFF]
Lloh49:
	ldr	w9, [x9]
	tst	w10, w24
	b.eq	LBB0_17
; %bb.16:
	bic	w8, w8, w9
	b	LBB0_18
LBB0_17:
	orr	w8, w8, w9
LBB0_18:
	str	w8, [x19, #32]
Lloh50:
	adrp	x28, _UART_LSR_OE@GOTPAGE
Lloh51:
	ldr	x28, [x28, _UART_LSR_OE@GOTPAGEOFF]
	orr	w22, w23, w22
	ldr	w8, [x28]
Lloh52:
	adrp	x9, _UART_LSR_THRE@GOTPAGE
Lloh53:
	ldr	x9, [x9, _UART_LSR_THRE@GOTPAGEOFF]
Lloh54:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh55:
	adrp	x9, _UART_LSR_DR@GOTPAGE
Lloh56:
	ldr	x9, [x9, _UART_LSR_DR@GOTPAGEOFF]
Lloh57:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x19, #12]
	ldr	x0, [x19, #40]
	bl	_I_INPCK
Lloh58:
	adrp	x25, _UART_LSR_PE@GOTPAGE
Lloh59:
	ldr	x25, [x25, _UART_LSR_PE@GOTPAGEOFF]
Lloh60:
	adrp	x23, _UART_LSR_FE@GOTPAGE
Lloh61:
	ldr	x23, [x23, _UART_LSR_FE@GOTPAGEOFF]
	cbz	x0, LBB0_20
; %bb.19:
	ldr	w8, [x23]
	ldr	w9, [x25]
	orr	w8, w9, w8
	ldr	w9, [x19, #12]
	orr	w8, w8, w9
	str	w8, [x19, #12]
LBB0_20:
	orr	w22, w22, w21
	ldr	x0, [x19, #40]
	bl	_I_BRKINT
Lloh62:
	adrp	x21, _UART_LSR_BI@GOTPAGE
Lloh63:
	ldr	x21, [x21, _UART_LSR_BI@GOTPAGEOFF]
	cbnz	x0, LBB0_22
; %bb.21:
	ldr	x0, [x19, #40]
	bl	_I_PARMRK
	cbz	x0, LBB0_23
LBB0_22:
	ldr	w8, [x21]
	ldr	w9, [x19, #12]
	orr	w8, w9, w8
	str	w8, [x19, #12]
LBB0_23:
	str	wzr, [x19, #16]
	ldr	x0, [x19, #40]
	bl	_I_IGNBRK
	cbz	x0, LBB0_26
; %bb.24:
	ldur	d0, [x19, #12]
	ld1r.2s	{ v1 }, [x21]
	orr.8b	v0, v0, v1
	stur	d0, [x19, #12]
	ldr	x0, [x19, #40]
	bl	_I_IGNPAR
	cbz	x0, LBB0_26
; %bb.25:
	ldr	w8, [x28]
	ldr	w9, [x25]
	orr	w8, w9, w8
	ldr	w9, [x23]
	orr	w8, w8, w9
	ldur	d0, [x19, #12]
	dup.2s	v1, w8
	orr.8b	v0, v0, v1
	stur	d0, [x19, #12]
LBB0_26:
	ldr	x0, [x19, #40]
	bl	_I_IXOFF
	mov	w8, #129
	orr	w8, w27, w8
	cmp	x0, #0
	csel	w23, w27, w8, eq
	add	x21, x19, #20
	mov	x0, x21
	bl	_spin_lock_irqsave
Lloh64:
	adrp	x28, _UART_ESI_CMD1@GOTPAGE
Lloh65:
	ldr	x28, [x28, _UART_ESI_CMD1@GOTPAGEOFF]
	ldr	w1, [x28]
Lloh66:
	adrp	x8, _ESI_SET_BAUD@GOTPAGE
Lloh67:
	ldr	x8, [x8, _ESI_SET_BAUD@GOTPAGEOFF]
Lloh68:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_serial_out
Lloh69:
	adrp	x27, _UART_ESI_CMD2@GOTPAGE
Lloh70:
	ldr	x27, [x27, _UART_ESI_CMD2@GOTPAGEOFF]
	ldr	w1, [x27]
	asr	w2, w26, #8
	mov	x0, x19
	bl	_serial_out
	ldr	w1, [x27]
	and	w2, w26, #0xff
	mov	x0, x19
	bl	_serial_out
	ldr	w1, [x28]
Lloh71:
	adrp	x8, _ESI_WRITE_UART@GOTPAGE
Lloh72:
	ldr	x8, [x8, _ESI_WRITE_UART@GOTPAGEOFF]
Lloh73:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_serial_out
	ldr	w1, [x27]
Lloh74:
	adrp	x8, _UART_LCR@GOTPAGE
Lloh75:
	ldr	x8, [x8, _UART_LCR@GOTPAGEOFF]
Lloh76:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_serial_out
	ldr	w1, [x27]
	mov	x0, x19
	mov	x2, x22
	bl	_serial_out
	ldr	w1, [x28]
Lloh77:
	adrp	x8, _ESI_SET_FLOW_CNTL@GOTPAGE
Lloh78:
	ldr	x8, [x8, _ESI_SET_FLOW_CNTL@GOTPAGEOFF]
Lloh79:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_serial_out
	ldr	w1, [x27]
	mov	x0, x19
	mov	x2, x23
	bl	_serial_out
	ldr	w1, [x27]
	mov	x0, x19
	mov	x2, x20
	bl	_serial_out
	ldr	x0, [x19, #40]
	bl	_I_IXOFF
	cbz	x0, LBB0_31
; %bb.27:
	ldr	w1, [x28]
Lloh80:
	adrp	x8, _ESI_SET_FLOW_CHARS@GOTPAGE
Lloh81:
	ldr	x8, [x8, _ESI_SET_FLOW_CHARS@GOTPAGEOFF]
Lloh82:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_serial_out
	ldr	w20, [x27]
	ldr	x0, [x19, #40]
	bl	_START_CHAR
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_serial_out
	ldr	w20, [x27]
	ldr	x0, [x19, #40]
	bl	_STOP_CHAR
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_serial_out
	ldr	w1, [x27]
	mov	x0, x19
	mov	w2, #16
	bl	_serial_out
	ldr	w1, [x27]
	mov	x0, x19
	mov	w2, #33
	bl	_serial_out
Lloh83:
	adrp	x8, _CSIZE@GOTPAGE
Lloh84:
	ldr	x8, [x8, _CSIZE@GOTPAGEOFF]
Lloh85:
	ldr	w8, [x8]
	and	w8, w8, w24
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_29
; %bb.28:
Lloh86:
	adrp	x9, l_switch.table.change_speed@PAGE
Lloh87:
	add	x9, x9, l_switch.table.change_speed@PAGEOFF
	ldr	w2, [x9, w8, sxtw #2]
	b	LBB0_30
LBB0_29:
	mov	w2, #255
LBB0_30:
	ldr	w1, [x27]
	mov	x0, x19
	bl	_serial_out
LBB0_31:
	ldr	w1, [x28]
Lloh88:
	adrp	x8, _ESI_SET_FLOW_LVL@GOTPAGE
Lloh89:
	ldr	x8, [x8, _ESI_SET_FLOW_LVL@GOTPAGEOFF]
Lloh90:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_serial_out
	ldr	w1, [x27]
	ldr	w8, [x19, #24]
	asr	w2, w8, #8
	mov	x0, x19
	bl	_serial_out
	ldr	w1, [x27]
	ldr	w2, [x19, #24]
	mov	x0, x19
	bl	_serial_out
	ldr	w1, [x27]
	ldr	w8, [x19, #28]
	asr	w2, w8, #8
	mov	x0, x19
	bl	_serial_out
	ldr	w1, [x27]
	ldr	w2, [x19, #28]
	mov	x0, x19
	bl	_serial_out
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_spin_unlock_irqrestore
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh60, Lloh61
	.loh AdrpLdrGot	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGot	Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGot	Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpAdd	Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.cfi_endproc
                                        ; -- End function
	.comm	_CSIZE,4,2                      ; @CSIZE
	.comm	_CSTOPB,4,2                     ; @CSTOPB
	.comm	_PARENB,4,2                     ; @PARENB
	.comm	_UART_LCR_PARITY,4,2            ; @UART_LCR_PARITY
	.comm	_PARODD,4,2                     ; @PARODD
	.comm	_UART_LCR_EPAR,4,2              ; @UART_LCR_EPAR
	.comm	_ASYNC_SPD_MASK,4,2             ; @ASYNC_SPD_MASK
	.comm	_ASYNC_SPD_CUST,4,2             ; @ASYNC_SPD_CUST
	.comm	_BASE_BAUD,4,2                  ; @BASE_BAUD
	.comm	_HZ,4,2                         ; @HZ
	.comm	_CRTSCTS,4,2                    ; @CRTSCTS
	.comm	_ASYNC_CTS_FLOW,4,2             ; @ASYNC_CTS_FLOW
	.comm	_CLOCAL,4,2                     ; @CLOCAL
	.comm	_ASYNC_CHECK_CD,4,2             ; @ASYNC_CHECK_CD
	.comm	_UART_LSR_OE,4,2                ; @UART_LSR_OE
	.comm	_UART_LSR_THRE,4,2              ; @UART_LSR_THRE
	.comm	_UART_LSR_DR,4,2                ; @UART_LSR_DR
	.comm	_UART_LSR_FE,4,2                ; @UART_LSR_FE
	.comm	_UART_LSR_PE,4,2                ; @UART_LSR_PE
	.comm	_UART_LSR_BI,4,2                ; @UART_LSR_BI
	.comm	_UART_ESI_CMD1,4,2              ; @UART_ESI_CMD1
	.comm	_ESI_SET_BAUD,4,2               ; @ESI_SET_BAUD
	.comm	_UART_ESI_CMD2,4,2              ; @UART_ESI_CMD2
	.comm	_ESI_WRITE_UART,4,2             ; @ESI_WRITE_UART
	.comm	_UART_LCR,4,2                   ; @UART_LCR
	.comm	_ESI_SET_FLOW_CNTL,4,2          ; @ESI_SET_FLOW_CNTL
	.comm	_ESI_SET_FLOW_CHARS,4,2         ; @ESI_SET_FLOW_CHARS
	.comm	_ESI_SET_FLOW_LVL,4,2           ; @ESI_SET_FLOW_LVL
	.comm	_CMSPAR,4,2                     ; @CMSPAR
	.comm	_UART_LCR_SPAR,4,2              ; @UART_LCR_SPAR
	.no_dead_strip	_change_speed
	.section	__TEXT,__literal16,16byte_literals
	.p2align	2                               ; @switch.table.change_speed
l_switch.table.change_speed:
	.long	127                             ; 0x7f
	.long	127                             ; 0x7f
	.long	63                              ; 0x3f
	.long	31                              ; 0x1f

.subsections_via_symbols
