	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function micro_rx_chars
_micro_rx_chars:                        ## @micro_rx_chars
	.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	%rdi, %r14
	movq	_UTSR1@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	8(%r14), %rdi
	callq	_readl
	movl	%eax, %ebx
	movq	_UTSR1_RNE@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_7
## %bb.1:
	movq	_UTSR1_PRE@GOTPCREL(%rip), %r13
	leaq	L_.str(%rip), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_UTDR@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	8(%r14), %rdi
	callq	_readl
	movl	%eax, %r15d
	movq	%r12, %rsi
	testl	%ebx, (%r13)
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.1(%rip), %rsi
	movq	_UTSR1_FRE@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.2(%rip), %rsi
	movq	_UTSR1_ROR@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_6
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r14), %edi
	callq	_dev_err
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_micro_process_char
	movq	_UTSR1@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	8(%r14), %rdi
	callq	_readl
	movl	%eax, %ebx
	movq	_UTSR1_RNE@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	jne	LBB0_2
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UTSR1,8,3                      ## @UTSR1
	.comm	_UTSR1_RNE,4,2                  ## @UTSR1_RNE
	.comm	_UTDR,8,3                       ## @UTDR
	.comm	_UTSR1_PRE,4,2                  ## @UTSR1_PRE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rx: parity error\n"

	.comm	_UTSR1_FRE,4,2                  ## @UTSR1_FRE
L_.str.1:                               ## @.str.1
	.asciz	"rx: framing error\n"

	.comm	_UTSR1_ROR,4,2                  ## @UTSR1_ROR
L_.str.2:                               ## @.str.2
	.asciz	"rx: overrun error\n"

	.no_dead_strip	_micro_rx_chars
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function micro_rx_chars
_micro_rx_chars:                        ; @micro_rx_chars
	.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	x8, [x0, #8]
Lloh0:
	adrp	x22, _UTSR1@GOTPAGE
Lloh1:
	ldr	x22, [x22, _UTSR1@GOTPAGEOFF]
	ldr	x9, [x22]
	add	x0, x9, x8
	bl	_readl
Lloh2:
	adrp	x23, _UTSR1_RNE@GOTPAGE
Lloh3:
	ldr	x23, [x23, _UTSR1_RNE@GOTPAGEOFF]
	ldr	w8, [x23]
	tst	w8, w0
	b.eq	LBB0_7
; %bb.1:
	mov	x20, x0
Lloh4:
	adrp	x24, _UTDR@GOTPAGE
Lloh5:
	ldr	x24, [x24, _UTDR@GOTPAGEOFF]
Lloh6:
	adrp	x25, _UTSR1_PRE@GOTPAGE
Lloh7:
	ldr	x25, [x25, _UTSR1_PRE@GOTPAGEOFF]
Lloh8:
	adrp	x26, l_.str@PAGE
Lloh9:
	add	x26, x26, l_.str@PAGEOFF
Lloh10:
	adrp	x27, _UTSR1_FRE@GOTPAGE
Lloh11:
	ldr	x27, [x27, _UTSR1_FRE@GOTPAGEOFF]
Lloh12:
	adrp	x28, l_.str.1@PAGE
Lloh13:
	add	x28, x28, l_.str.1@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	ldr	x9, [x24]
	add	x0, x9, x8
	bl	_readl
	mov	x21, x0
	ldr	w8, [x25]
	mov	x1, x26
	tst	w8, w20
	b.ne	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x27]
	mov	x1, x28
	tst	w8, w20
	b.ne	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh14:
	adrp	x8, _UTSR1_ROR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _UTSR1_ROR@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	adrp	x1, l_.str.2@PAGE
Lloh18:
	add	x1, x1, l_.str.2@PAGEOFF
	tst	w8, w20
	b.eq	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x19]
	bl	_dev_err
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_micro_process_char
	ldr	x8, [x19, #8]
	ldr	x9, [x22]
	add	x0, x9, x8
	bl	_readl
	mov	x20, x0
	ldr	w8, [x23]
	tst	w8, w0
	b.ne	LBB0_2
LBB0_7:
	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
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_UTSR1,8,3                      ; @UTSR1
	.comm	_UTSR1_RNE,4,2                  ; @UTSR1_RNE
	.comm	_UTDR,8,3                       ; @UTDR
	.comm	_UTSR1_PRE,4,2                  ; @UTSR1_PRE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rx: parity error\n"

	.comm	_UTSR1_FRE,4,2                  ; @UTSR1_FRE
l_.str.1:                               ; @.str.1
	.asciz	"rx: framing error\n"

	.comm	_UTSR1_ROR,4,2                  ; @UTSR1_ROR
l_.str.2:                               ; @.str.2
	.asciz	"rx: overrun error\n"

	.no_dead_strip	_micro_rx_chars
.subsections_via_symbols
