	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function serial_logchar
_serial_logchar:                        ## @serial_logchar
	.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	%ecx, %r15d
	movl	%edx, %r12d
	movq	%rdi, %r14
	movq	_serial_current_type@GOTPCREL(%rip), %r13
	cmpl	%esi, (%r13)
	je	LBB0_2
## %bb.1:
	movl	%esi, %ebx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_fprintf_unfiltered
	movl	%ebx, (%r13)
LBB0_2:
	movq	_serial_logbase@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	_logbase_ascii@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.3:
	movl	$32, %edi
	movq	%r14, %rsi
	callq	_fputc_unfiltered
LBB0_4:
	leal	-128(%r12), %eax
	cmpl	$3, %eax
	ja	LBB0_11
## %bb.5:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_6:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movl	%r15d, %edx
	jmp	LBB0_14
LBB0_11:
	movq	(%rbx), %rax
	movq	_logbase_hex@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_15
## %bb.12:
	movzbl	%r12b, %edx
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_13
LBB0_7:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_safe_strerror
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	jmp	LBB0_14
LBB0_8:
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_9
LBB0_10:
	leaq	L_.str.4(%rip), %rdi
LBB0_9:
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fputs_unfiltered               ## TAILCALL
LBB0_15:
	movq	_logbase_octal@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_17
## %bb.16:
	movzbl	%r12b, %edx
	leaq	L_.str.6(%rip), %rsi
LBB0_13:
	movq	%r14, %rdi
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fprintf_unfiltered             ## TAILCALL
LBB0_17:
	leal	-8(%r12), %eax
	cmpl	$5, %eax
	ja	LBB0_18
## %bb.27:
	leaq	LJTI0_1(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_20:
	leaq	L_.str.8(%rip), %rdi
	jmp	LBB0_9
LBB0_18:
	cmpl	$92, %r12d
	jne	LBB0_26
## %bb.19:
	leaq	L_.str.7(%rip), %rdi
	jmp	LBB0_9
LBB0_24:
	leaq	L_.str.12(%rip), %rdi
	jmp	LBB0_9
LBB0_22:
	leaq	L_.str.10(%rip), %rdi
	jmp	LBB0_9
LBB0_25:
	leaq	L_.str.13(%rip), %rdi
	jmp	LBB0_9
LBB0_21:
	leaq	L_.str.9(%rip), %rdi
	jmp	LBB0_9
LBB0_23:
	leaq	L_.str.11(%rip), %rdi
	jmp	LBB0_9
LBB0_26:
	movl	%r12d, %edi
	callq	_isprint
	testl	%eax, %eax
	leaq	L_.str.15(%rip), %rax
	leaq	L_.str.14(%rip), %rsi
	cmoveq	%rax, %rsi
	movzbl	%r12b, %edx
	jmp	LBB0_13
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_10
.set L0_1_set_20, LBB0_20-LJTI0_1
.set L0_1_set_24, LBB0_24-LJTI0_1
.set L0_1_set_22, LBB0_22-LJTI0_1
.set L0_1_set_25, LBB0_25-LJTI0_1
.set L0_1_set_21, LBB0_21-LJTI0_1
.set L0_1_set_23, LBB0_23-LJTI0_1
LJTI0_1:
	.long	L0_1_set_20
	.long	L0_1_set_24
	.long	L0_1_set_22
	.long	L0_1_set_25
	.long	L0_1_set_21
	.long	L0_1_set_23
	.end_data_region
                                        ## -- End function
	.comm	_serial_current_type,4,2        ## @serial_current_type
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n%c "

	.comm	_serial_logbase,8,3             ## @serial_logbase
	.comm	_logbase_ascii,8,3              ## @logbase_ascii
L_.str.1:                               ## @.str.1
	.asciz	"<Timeout: %d seconds>"

L_.str.2:                               ## @.str.2
	.asciz	"<Error: %s>"

	.comm	_errno,4,2                      ## @errno
L_.str.3:                               ## @.str.3
	.asciz	"<Eof>"

L_.str.4:                               ## @.str.4
	.asciz	"<Break>"

	.comm	_logbase_hex,8,3                ## @logbase_hex
L_.str.5:                               ## @.str.5
	.asciz	"%02x"

	.comm	_logbase_octal,8,3              ## @logbase_octal
L_.str.6:                               ## @.str.6
	.asciz	"%03o"

L_.str.7:                               ## @.str.7
	.asciz	"\\\\"

L_.str.8:                               ## @.str.8
	.asciz	"\\b"

L_.str.9:                               ## @.str.9
	.asciz	"\\f"

L_.str.10:                              ## @.str.10
	.asciz	"\\n"

L_.str.11:                              ## @.str.11
	.asciz	"\\r"

L_.str.12:                              ## @.str.12
	.asciz	"\\t"

L_.str.13:                              ## @.str.13
	.asciz	"\\v"

L_.str.14:                              ## @.str.14
	.asciz	"%c"

L_.str.15:                              ## @.str.15
	.asciz	"\\x%02x"

	.no_dead_strip	_serial_logchar
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function serial_logchar
_serial_logchar:                        ; @serial_logchar
	.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	x21, x3
	mov	x20, x2
	mov	x19, x0
Lloh0:
	adrp	x23, _serial_current_type@GOTPAGE
Lloh1:
	ldr	x23, [x23, _serial_current_type@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, w1
	b.eq	LBB0_2
; %bb.1:
	mov	x22, x1
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x22
	bl	_fprintf_unfiltered
	str	w22, [x23]
LBB0_2:
Lloh4:
	adrp	x22, _serial_logbase@GOTPAGE
Lloh5:
	ldr	x22, [x22, _serial_logbase@GOTPAGEOFF]
	ldr	x8, [x22]
Lloh6:
	adrp	x9, _logbase_ascii@GOTPAGE
Lloh7:
	ldr	x9, [x9, _logbase_ascii@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_4
; %bb.3:
	mov	w0, #32
	mov	x1, x19
	bl	_fputc_unfiltered
LBB0_4:
	sub	w8, w20, #128
	cmp	w8, #3
	b.hi	LBB0_7
; %bb.5:
Lloh9:
	adrp	x9, lJTI0_0@PAGE
Lloh10:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_6
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_6:
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	b	LBB0_16
LBB0_7:
	ldr	x8, [x22]
Lloh13:
	adrp	x9, _logbase_hex@GOTPAGE
Lloh14:
	ldr	x9, [x9, _logbase_hex@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.8:
	and	w2, w20, #0xff
Lloh16:
	adrp	x1, l_.str.5@PAGE
Lloh17:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_15
LBB0_9:
Lloh18:
	adrp	x8, _errno@GOTPAGE
Lloh19:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	bl	_safe_strerror
	mov	x2, x0
Lloh21:
	adrp	x1, l_.str.2@PAGE
Lloh22:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_15
LBB0_10:
Lloh23:
	adrp	x0, l_.str.3@PAGE
Lloh24:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_12
LBB0_11:
Lloh25:
	adrp	x0, l_.str.4@PAGE
Lloh26:
	add	x0, x0, l_.str.4@PAGEOFF
LBB0_12:
	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	_fputs_unfiltered
LBB0_13:
Lloh27:
	adrp	x9, _logbase_octal@GOTPAGE
Lloh28:
	ldr	x9, [x9, _logbase_octal@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_17
; %bb.14:
	and	w2, w20, #0xff
Lloh30:
	adrp	x1, l_.str.6@PAGE
Lloh31:
	add	x1, x1, l_.str.6@PAGEOFF
LBB0_15:
	mov	x0, x19
LBB0_16:
	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	_fprintf_unfiltered
LBB0_17:
	sub	w8, w20, #8
	cmp	w8, #5
	b.hi	LBB0_20
; %bb.18:
Lloh32:
	adrp	x9, lJTI0_1@PAGE
Lloh33:
	add	x9, x9, lJTI0_1@PAGEOFF
	adr	x10, LBB0_19
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_19:
Lloh34:
	adrp	x0, l_.str.8@PAGE
Lloh35:
	add	x0, x0, l_.str.8@PAGEOFF
	b	LBB0_12
LBB0_20:
	cmp	w20, #92
	b.ne	LBB0_27
; %bb.21:
Lloh36:
	adrp	x0, l_.str.7@PAGE
Lloh37:
	add	x0, x0, l_.str.7@PAGEOFF
	b	LBB0_12
LBB0_22:
Lloh38:
	adrp	x0, l_.str.12@PAGE
Lloh39:
	add	x0, x0, l_.str.12@PAGEOFF
	b	LBB0_12
LBB0_23:
Lloh40:
	adrp	x0, l_.str.10@PAGE
Lloh41:
	add	x0, x0, l_.str.10@PAGEOFF
	b	LBB0_12
LBB0_24:
Lloh42:
	adrp	x0, l_.str.13@PAGE
Lloh43:
	add	x0, x0, l_.str.13@PAGEOFF
	b	LBB0_12
LBB0_25:
Lloh44:
	adrp	x0, l_.str.9@PAGE
Lloh45:
	add	x0, x0, l_.str.9@PAGEOFF
	b	LBB0_12
LBB0_26:
Lloh46:
	adrp	x0, l_.str.11@PAGE
Lloh47:
	add	x0, x0, l_.str.11@PAGEOFF
	b	LBB0_12
LBB0_27:
	mov	x0, x20
	bl	_isprint
Lloh48:
	adrp	x8, l_.str.14@PAGE
Lloh49:
	add	x8, x8, l_.str.14@PAGEOFF
Lloh50:
	adrp	x9, l_.str.15@PAGE
Lloh51:
	add	x9, x9, l_.str.15@PAGEOFF
	cmp	w0, #0
	csel	x1, x9, x8, eq
	and	w2, w20, #0xff
	b	LBB0_15
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh48, Lloh49
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_6-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_10-LBB0_6)>>2
	.byte	(LBB0_11-LBB0_6)>>2
lJTI0_1:
	.byte	(LBB0_19-LBB0_19)>>2
	.byte	(LBB0_22-LBB0_19)>>2
	.byte	(LBB0_23-LBB0_19)>>2
	.byte	(LBB0_24-LBB0_19)>>2
	.byte	(LBB0_25-LBB0_19)>>2
	.byte	(LBB0_26-LBB0_19)>>2
                                        ; -- End function
	.comm	_serial_current_type,4,2        ; @serial_current_type
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n%c "

	.comm	_serial_logbase,8,3             ; @serial_logbase
	.comm	_logbase_ascii,8,3              ; @logbase_ascii
l_.str.1:                               ; @.str.1
	.asciz	"<Timeout: %d seconds>"

l_.str.2:                               ; @.str.2
	.asciz	"<Error: %s>"

	.comm	_errno,4,2                      ; @errno
l_.str.3:                               ; @.str.3
	.asciz	"<Eof>"

l_.str.4:                               ; @.str.4
	.asciz	"<Break>"

	.comm	_logbase_hex,8,3                ; @logbase_hex
l_.str.5:                               ; @.str.5
	.asciz	"%02x"

	.comm	_logbase_octal,8,3              ; @logbase_octal
l_.str.6:                               ; @.str.6
	.asciz	"%03o"

l_.str.7:                               ; @.str.7
	.asciz	"\\\\"

l_.str.8:                               ; @.str.8
	.asciz	"\\b"

l_.str.9:                               ; @.str.9
	.asciz	"\\f"

l_.str.10:                              ; @.str.10
	.asciz	"\\n"

l_.str.11:                              ; @.str.11
	.asciz	"\\r"

l_.str.12:                              ; @.str.12
	.asciz	"\\t"

l_.str.13:                              ; @.str.13
	.asciz	"\\v"

l_.str.14:                              ; @.str.14
	.asciz	"%c"

l_.str.15:                              ; @.str.15
	.asciz	"\\x%02x"

	.no_dead_strip	_serial_logchar
.subsections_via_symbols
