	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rs_interrupt_single
_rs_interrupt_single:                   ## @rs_interrupt_single
	.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
	movq	%rsi, %r12
	movq	_UART_ESI_SID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_serial_in
	movl	%eax, %r15d
	leaq	16(%r12), %r14
	movq	%r14, %rdi
	callq	_spin_lock
	cmpq	$0, 32(%r12)
	je	LBB0_1
## %bb.2:
	xorl	%ebx, %ebx
	testb	$4, %r15b
	je	LBB0_9
## %bb.3:
	movq	_UART_ESI_CMD1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ESI_GET_ERR_STAT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_serial_out
	movq	_UART_ESI_STAT1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_serial_in
	movl	%eax, %ebx
	movq	_UART_ESI_STAT2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_serial_in
	testb	$1, %bl
	jne	LBB0_4
## %bb.5:
	testb	$32, %bl
	jne	LBB0_6
LBB0_7:
	testb	$-128, %bl
	je	LBB0_9
LBB0_8:
	leaq	40(%r12), %rdi
	callq	_wake_up_interruptible
LBB0_9:
	movl	%r15d, %eax
	andl	$136, %eax
	movl	%ebx, %ecx
	andl	$28, %ecx
	orl	%eax, %ecx
	je	LBB0_14
## %bb.10:
	movl	(%r12), %eax
	movq	_ESP_STAT_DMA_RX@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_12
## %bb.11:
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_receive_chars_dma_done
	jmp	LBB0_14
LBB0_1:
	movq	_IRQ_NONE@GOTPCREL(%rip), %rbx
	jmp	LBB0_37
LBB0_4:
	movq	_ESP_STAT_RX_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r12)
	testb	$32, %bl
	je	LBB0_7
LBB0_6:
	movq	%r12, %rdi
	callq	_check_modem_status
	testb	$-128, %bl
	jne	LBB0_8
	jmp	LBB0_9
LBB0_12:
	movq	_ESP_STAT_DMA_TX@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_14
## %bb.13:
	movq	%r12, %rdi
	callq	_transmit_chars_dma_done
LBB0_14:
	movl	(%r12), %eax
	movq	_ESP_STAT_DMA_RX@GOTPCREL(%rip), %rbx
	movq	_ESP_STAT_DMA_TX@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	orl	(%rbx), %ecx
	testl	%eax, %ecx
	je	LBB0_15
LBB0_24:
	movl	(%r13), %eax
	orl	(%rbx), %eax
	testl	%eax, (%r12)
	jne	LBB0_36
## %bb.25:
	andl	$2, %r15d
	je	LBB0_36
## %bb.26:
	movl	4(%r12), %eax
	movq	_UART_IER_THRI@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	je	LBB0_36
## %bb.27:
	cmpq	$0, 8(%r12)
	jle	LBB0_29
## %bb.28:
	movq	32(%r12), %rdx
	cmpq	$0, (%rdx)
	je	LBB0_30
LBB0_29:
	notl	%ecx
	andl	%ecx, %eax
	movl	%eax, 4(%r12)
	movq	_UART_ESI_CMD1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ESI_SET_SRV_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_serial_out
	movq	_UART_ESI_CMD2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%r12), %edx
	movq	%r12, %rdi
	callq	_serial_out
LBB0_36:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%r12)
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rbx
LBB0_37:
	movq	%r14, %rdi
	callq	_spin_unlock
	movl	(%rbx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	testb	$1, %r15b
	jne	LBB0_17
## %bb.16:
	movq	_ESP_STAT_RX_TIMEOUT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_24
LBB0_17:
	movq	_UART_IER_RDI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%r12)
	je	LBB0_24
## %bb.18:
	movq	_UART_ESI_CMD1@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	_ESI_NO_COMMAND@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_serial_out
	movl	(%rbx), %esi
	movq	_ESI_GET_RX_AVAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_serial_out
	movq	_UART_ESI_STAT1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_serial_in
	movl	%eax, %ebx
	shll	$8, %ebx
	movq	_UART_ESI_STAT2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_serial_in
	orl	%eax, %ebx
	movq	32(%r12), %rdi
	movl	%ebx, %esi
	movq	_ESP_STAT_DMA_RX@GOTPCREL(%rip), %rbx
	callq	_tty_buffer_request_room
	testl	%eax, %eax
	je	LBB0_24
## %bb.19:
	movq	_dma_bytes@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	jne	LBB0_22
## %bb.20:
	movq	_ESP_STAT_USE_PIO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%r12)
	jne	LBB0_22
## %bb.21:
	cmpl	24(%r12), %eax
	jle	LBB0_22
## %bb.23:
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_receive_chars_dma
	jmp	LBB0_24
LBB0_22:
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_receive_chars_pio
	jmp	LBB0_24
LBB0_30:
	movq	_UART_ESI_CMD1@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	_ESI_NO_COMMAND@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_serial_out
	movl	(%rbx), %esi
	movq	_ESI_GET_TX_AVAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_serial_out
	movq	_UART_ESI_STAT1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_serial_in
	movl	%eax, %ebx
	shll	$8, %ebx
	movq	_UART_ESI_STAT2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_serial_in
	orl	%ebx, %eax
	movslq	%eax, %rsi
	movq	8(%r12), %rax
	cmpq	%rsi, %rax
	cmovll	%eax, %esi
	testl	%esi, %esi
	je	LBB0_36
## %bb.31:
	movq	_dma_bytes@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_34
## %bb.32:
	movq	_ESP_STAT_USE_PIO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	jne	LBB0_34
## %bb.33:
	cmpl	24(%r12), %esi
	jle	LBB0_34
## %bb.35:
	movq	%r12, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_transmit_chars_dma
	jmp	LBB0_36
LBB0_34:
	movq	%r12, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_transmit_chars_pio
	jmp	LBB0_36
	.cfi_endproc
                                        ## -- End function
	.comm	_UART_ESI_SID,4,2               ## @UART_ESI_SID
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_UART_ESI_CMD1,4,2              ## @UART_ESI_CMD1
	.comm	_ESI_GET_ERR_STAT,4,2           ## @ESI_GET_ERR_STAT
	.comm	_UART_ESI_STAT1,4,2             ## @UART_ESI_STAT1
	.comm	_UART_ESI_STAT2,4,2             ## @UART_ESI_STAT2
	.comm	_ESP_STAT_RX_TIMEOUT,4,2        ## @ESP_STAT_RX_TIMEOUT
	.comm	_ESP_STAT_DMA_RX,4,2            ## @ESP_STAT_DMA_RX
	.comm	_ESP_STAT_DMA_TX,4,2            ## @ESP_STAT_DMA_TX
	.comm	_UART_IER_RDI,4,2               ## @UART_IER_RDI
	.comm	_ESI_NO_COMMAND,4,2             ## @ESI_NO_COMMAND
	.comm	_ESI_GET_RX_AVAIL,4,2           ## @ESI_GET_RX_AVAIL
	.comm	_dma_bytes,8,3                  ## @dma_bytes
	.comm	_ESP_STAT_USE_PIO,4,2           ## @ESP_STAT_USE_PIO
	.comm	_UART_IER_THRI,4,2              ## @UART_IER_THRI
	.comm	_ESI_SET_SRV_MASK,4,2           ## @ESI_SET_SRV_MASK
	.comm	_UART_ESI_CMD2,4,2              ## @UART_ESI_CMD2
	.comm	_ESI_GET_TX_AVAIL,4,2           ## @ESI_GET_TX_AVAIL
	.comm	_jiffies,4,2                    ## @jiffies
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_rs_interrupt_single
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rs_interrupt_single
_rs_interrupt_single:                   ; @rs_interrupt_single
	.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	x20, x1
Lloh0:
	adrp	x8, _UART_ESI_SID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UART_ESI_SID@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_serial_in
	mov	x21, x0
	add	x19, x20, #16
	mov	x0, x19
	bl	_spin_lock
	ldr	x8, [x20, #32]
	cbz	x8, LBB0_3
; %bb.1:
	tbnz	w21, #2, LBB0_4
; %bb.2:
	mov	w22, #0
	b	LBB0_8
LBB0_3:
Lloh3:
	adrp	x20, _IRQ_NONE@GOTPAGE
Lloh4:
	ldr	x20, [x20, _IRQ_NONE@GOTPAGEOFF]
	b	LBB0_22
LBB0_4:
Lloh5:
	adrp	x8, _UART_ESI_CMD1@GOTPAGE
Lloh6:
	ldr	x8, [x8, _UART_ESI_CMD1@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x8, _ESI_GET_ERR_STAT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ESI_GET_ERR_STAT@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_serial_out
Lloh11:
	adrp	x8, _UART_ESI_STAT1@GOTPAGE
Lloh12:
	ldr	x8, [x8, _UART_ESI_STAT1@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_serial_in
	mov	x22, x0
Lloh14:
	adrp	x8, _UART_ESI_STAT2@GOTPAGE
Lloh15:
	ldr	x8, [x8, _UART_ESI_STAT2@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_serial_in
	tbnz	w22, #0, LBB0_11
; %bb.5:
	tbnz	w22, #5, LBB0_12
LBB0_6:
	tbz	w22, #7, LBB0_8
LBB0_7:
	add	x0, x20, #40
	bl	_wake_up_interruptible
LBB0_8:
	mov	w8, #136
	and	w8, w21, w8
	and	w9, w22, #0x1c
Lloh17:
	adrp	x23, _ESP_STAT_DMA_RX@GOTPAGE
Lloh18:
	ldr	x23, [x23, _ESP_STAT_DMA_RX@GOTPAGEOFF]
Lloh19:
	adrp	x24, _ESP_STAT_DMA_TX@GOTPAGE
Lloh20:
	ldr	x24, [x24, _ESP_STAT_DMA_TX@GOTPAGEOFF]
	orr	w8, w8, w9
	cbz	w8, LBB0_15
; %bb.9:
	ldr	w8, [x20]
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_13
; %bb.10:
	mov	x0, x20
	mov	x1, x22
	bl	_receive_chars_dma_done
	b	LBB0_15
LBB0_11:
Lloh21:
	adrp	x8, _ESP_STAT_RX_TIMEOUT@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ESP_STAT_RX_TIMEOUT@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
	tbz	w22, #5, LBB0_6
LBB0_12:
	mov	x0, x20
	bl	_check_modem_status
	tbnz	w22, #7, LBB0_7
	b	LBB0_8
LBB0_13:
	ldr	w9, [x24]
	tst	w9, w8
	b.eq	LBB0_15
; %bb.14:
	mov	x0, x20
	bl	_transmit_chars_dma_done
LBB0_15:
	ldr	w8, [x20]
	ldr	w9, [x23]
	ldr	w10, [x24]
	orr	w9, w10, w9
	tst	w9, w8
	b.eq	LBB0_23
LBB0_16:
	ldr	w8, [x20]
	ldr	w9, [x23]
	ldr	w10, [x24]
	orr	w9, w10, w9
	and	w8, w9, w8
	and	w9, w21, #0x2
	cmp	w8, #0
	ccmp	w9, #0, #4, eq
	b.eq	LBB0_21
; %bb.17:
	ldr	w8, [x20, #4]
Lloh24:
	adrp	x9, _UART_IER_THRI@GOTPAGE
Lloh25:
	ldr	x9, [x9, _UART_IER_THRI@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_21
; %bb.18:
	ldr	x10, [x20, #8]
	cmp	x10, #1
	b.lt	LBB0_20
; %bb.19:
	ldr	x10, [x20, #32]
	ldr	x10, [x10]
	cbz	x10, LBB0_32
LBB0_20:
	bic	w8, w8, w9
	str	w8, [x20, #4]
Lloh27:
	adrp	x8, _UART_ESI_CMD1@GOTPAGE
Lloh28:
	ldr	x8, [x8, _UART_ESI_CMD1@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
Lloh30:
	adrp	x8, _ESI_SET_SRV_MASK@GOTPAGE
Lloh31:
	ldr	x8, [x8, _ESI_SET_SRV_MASK@GOTPAGEOFF]
Lloh32:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_serial_out
Lloh33:
	adrp	x8, _UART_ESI_CMD2@GOTPAGE
Lloh34:
	ldr	x8, [x8, _UART_ESI_CMD2@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
	ldr	w2, [x20, #4]
	mov	x0, x20
	bl	_serial_out
LBB0_21:
Lloh36:
	adrp	x8, _jiffies@GOTPAGE
Lloh37:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
	str	w8, [x20, #20]
Lloh39:
	adrp	x20, _IRQ_HANDLED@GOTPAGE
Lloh40:
	ldr	x20, [x20, _IRQ_HANDLED@GOTPAGEOFF]
LBB0_22:
	mov	x0, x19
	bl	_spin_unlock
	ldr	w0, [x20]
	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
LBB0_23:
	tbnz	w21, #0, LBB0_25
; %bb.24:
Lloh41:
	adrp	x9, _ESP_STAT_RX_TIMEOUT@GOTPAGE
Lloh42:
	ldr	x9, [x9, _ESP_STAT_RX_TIMEOUT@GOTPAGEOFF]
Lloh43:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_16
LBB0_25:
	ldr	w8, [x20, #4]
Lloh44:
	adrp	x9, _UART_IER_RDI@GOTPAGE
Lloh45:
	ldr	x9, [x9, _UART_IER_RDI@GOTPAGEOFF]
Lloh46:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_16
; %bb.26:
Lloh47:
	adrp	x22, _UART_ESI_CMD1@GOTPAGE
Lloh48:
	ldr	x22, [x22, _UART_ESI_CMD1@GOTPAGEOFF]
	ldr	w1, [x22]
Lloh49:
	adrp	x8, _ESI_NO_COMMAND@GOTPAGE
Lloh50:
	ldr	x8, [x8, _ESI_NO_COMMAND@GOTPAGEOFF]
Lloh51:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_serial_out
	ldr	w1, [x22]
Lloh52:
	adrp	x8, _ESI_GET_RX_AVAIL@GOTPAGE
Lloh53:
	ldr	x8, [x8, _ESI_GET_RX_AVAIL@GOTPAGEOFF]
Lloh54:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_serial_out
Lloh55:
	adrp	x8, _UART_ESI_STAT1@GOTPAGE
Lloh56:
	ldr	x8, [x8, _UART_ESI_STAT1@GOTPAGEOFF]
Lloh57:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_serial_in
	mov	x22, x0
Lloh58:
	adrp	x8, _UART_ESI_STAT2@GOTPAGE
Lloh59:
	ldr	x8, [x8, _UART_ESI_STAT2@GOTPAGEOFF]
Lloh60:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_serial_in
	orr	w1, w0, w22, lsl #8
	ldr	x0, [x20, #32]
	bl	_tty_buffer_request_room
	cbz	w0, LBB0_16
; %bb.27:
	mov	x1, x0
Lloh61:
	adrp	x8, _dma_bytes@GOTPAGE
Lloh62:
	ldr	x8, [x8, _dma_bytes@GOTPAGEOFF]
Lloh63:
	ldr	x8, [x8]
	cbnz	x8, LBB0_31
; %bb.28:
	ldr	w8, [x20]
Lloh64:
	adrp	x9, _ESP_STAT_USE_PIO@GOTPAGE
Lloh65:
	ldr	x9, [x9, _ESP_STAT_USE_PIO@GOTPAGEOFF]
Lloh66:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_31
; %bb.29:
	ldr	w8, [x20, #24]
	cmp	w1, w8
	b.le	LBB0_31
; %bb.30:
	mov	x0, x20
	bl	_receive_chars_dma
	b	LBB0_16
LBB0_31:
	mov	x0, x20
	bl	_receive_chars_pio
	b	LBB0_16
LBB0_32:
Lloh67:
	adrp	x21, _UART_ESI_CMD1@GOTPAGE
Lloh68:
	ldr	x21, [x21, _UART_ESI_CMD1@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh69:
	adrp	x8, _ESI_NO_COMMAND@GOTPAGE
Lloh70:
	ldr	x8, [x8, _ESI_NO_COMMAND@GOTPAGEOFF]
Lloh71:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_serial_out
	ldr	w1, [x21]
Lloh72:
	adrp	x8, _ESI_GET_TX_AVAIL@GOTPAGE
Lloh73:
	ldr	x8, [x8, _ESI_GET_TX_AVAIL@GOTPAGEOFF]
Lloh74:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_serial_out
Lloh75:
	adrp	x8, _UART_ESI_STAT1@GOTPAGE
Lloh76:
	ldr	x8, [x8, _UART_ESI_STAT1@GOTPAGEOFF]
Lloh77:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_serial_in
	mov	x21, x0
Lloh78:
	adrp	x8, _UART_ESI_STAT2@GOTPAGE
Lloh79:
	ldr	x8, [x8, _UART_ESI_STAT2@GOTPAGEOFF]
Lloh80:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_serial_in
	orr	w8, w0, w21, lsl #8
	ldr	x9, [x20, #8]
	cmp	x9, w8, sxtw
	csel	w1, w9, w8, lt
	cbz	w1, LBB0_21
; %bb.33:
Lloh81:
	adrp	x8, _dma_bytes@GOTPAGE
Lloh82:
	ldr	x8, [x8, _dma_bytes@GOTPAGEOFF]
Lloh83:
	ldr	x8, [x8]
	cbnz	x8, LBB0_37
; %bb.34:
	ldr	w8, [x20]
Lloh84:
	adrp	x9, _ESP_STAT_USE_PIO@GOTPAGE
Lloh85:
	ldr	x9, [x9, _ESP_STAT_USE_PIO@GOTPAGEOFF]
Lloh86:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_37
; %bb.35:
	ldr	w8, [x20, #24]
	cmp	w1, w8
	b.le	LBB0_37
; %bb.36:
	mov	x0, x20
	bl	_transmit_chars_dma
	b	LBB0_21
LBB0_37:
	mov	x0, x20
	bl	_transmit_chars_pio
	b	LBB0_21
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGot	Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.cfi_endproc
                                        ; -- End function
	.comm	_UART_ESI_SID,4,2               ; @UART_ESI_SID
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_UART_ESI_CMD1,4,2              ; @UART_ESI_CMD1
	.comm	_ESI_GET_ERR_STAT,4,2           ; @ESI_GET_ERR_STAT
	.comm	_UART_ESI_STAT1,4,2             ; @UART_ESI_STAT1
	.comm	_UART_ESI_STAT2,4,2             ; @UART_ESI_STAT2
	.comm	_ESP_STAT_RX_TIMEOUT,4,2        ; @ESP_STAT_RX_TIMEOUT
	.comm	_ESP_STAT_DMA_RX,4,2            ; @ESP_STAT_DMA_RX
	.comm	_ESP_STAT_DMA_TX,4,2            ; @ESP_STAT_DMA_TX
	.comm	_UART_IER_RDI,4,2               ; @UART_IER_RDI
	.comm	_ESI_NO_COMMAND,4,2             ; @ESI_NO_COMMAND
	.comm	_ESI_GET_RX_AVAIL,4,2           ; @ESI_GET_RX_AVAIL
	.comm	_dma_bytes,8,3                  ; @dma_bytes
	.comm	_ESP_STAT_USE_PIO,4,2           ; @ESP_STAT_USE_PIO
	.comm	_UART_IER_THRI,4,2              ; @UART_IER_THRI
	.comm	_ESI_SET_SRV_MASK,4,2           ; @ESI_SET_SRV_MASK
	.comm	_UART_ESI_CMD2,4,2              ; @UART_ESI_CMD2
	.comm	_ESI_GET_TX_AVAIL,4,2           ; @ESI_GET_TX_AVAIL
	.comm	_jiffies,4,2                    ; @jiffies
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_rs_interrupt_single
.subsections_via_symbols
