	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sbbc_uart_putc
_sbbc_uart_putc:                        ## @sbbc_uart_putc
	.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	%esi, %r13d
	movq	%rdi, %r12
	movl	(%rdi), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	4(%rdi), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_sbbc_solcons@GOTPCREL(%rip), %r15
	movl	(%r15), %ebx
	movq	_cons_out_wrptr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SBBC_CONS_OFF
	addl	%eax, %ebx
	movl	%ebx, %edi
	callq	_SBBC_SRAM_READ_4
	movl	%eax, %r14d
	movl	(%r15), %edi
	addl	%eax, %edi
	movl	%r13d, %esi
	callq	_SBBC_SRAM_WRITE_1
	movq	%r12, %rdi
	callq	_uart_barrier
	incl	%r14d
	movl	(%r15), %ebx
	movq	_cons_out_end@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SBBC_CONS_OFF
	addl	%eax, %ebx
	movl	%ebx, %edi
	callq	_SBBC_SRAM_READ_4
	cmpl	%eax, %r14d
	jne	LBB0_2
## %bb.1:
	movl	(%r15), %ebx
	movq	_cons_out_begin@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SBBC_CONS_OFF
	addl	%eax, %ebx
	movl	%ebx, %edi
	callq	_SBBC_SRAM_READ_4
	movl	%eax, %r14d
LBB0_2:
	movl	(%r15), %ebx
	movq	_cons_out_wrptr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SBBC_CONS_OFF
	addl	%eax, %ebx
	movl	%ebx, %edi
	movl	%r14d, %esi
	callq	_SBBC_SRAM_WRITE_4
	movq	%r12, %rdi
	callq	_uart_barrier
	movq	_sbbc_solscir@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_SBBC_SRAM_READ_4
	movq	_SBBC_SRAM_CONS_OUT@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_SBBC_SRAM_WRITE_4
	movq	%r12, %rdi
	callq	_uart_barrier
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sbbc_send_intr                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_sbbc_solcons,4,2               ## @sbbc_solcons
	.comm	_cons_out_wrptr,4,2             ## @cons_out_wrptr
	.comm	_cons_out_end,4,2               ## @cons_out_end
	.comm	_cons_out_begin,4,2             ## @cons_out_begin
	.comm	_sbbc_solscir,4,2               ## @sbbc_solscir
	.comm	_SBBC_SRAM_CONS_OUT,4,2         ## @SBBC_SRAM_CONS_OUT
	.no_dead_strip	_sbbc_uart_putc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sbbc_uart_putc
_sbbc_uart_putc:                        ; @sbbc_uart_putc
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x22, x1
	mov	x21, x0
	ldp	w20, w19, [x0]
Lloh0:
	adrp	x24, _sbbc_solcons@GOTPAGE
Lloh1:
	ldr	x24, [x24, _sbbc_solcons@GOTPAGEOFF]
	ldr	w23, [x24]
Lloh2:
	adrp	x25, _cons_out_wrptr@GOTPAGE
Lloh3:
	ldr	x25, [x25, _cons_out_wrptr@GOTPAGEOFF]
	ldr	w0, [x25]
	bl	_SBBC_CONS_OFF
	add	w0, w0, w23
	bl	_SBBC_SRAM_READ_4
	mov	x23, x0
	ldr	w8, [x24]
	add	w0, w8, w0
	mov	x1, x22
	bl	_SBBC_SRAM_WRITE_1
	mov	x0, x21
	bl	_uart_barrier
	add	w22, w23, #1
	ldr	w23, [x24]
Lloh4:
	adrp	x8, _cons_out_end@GOTPAGE
Lloh5:
	ldr	x8, [x8, _cons_out_end@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	bl	_SBBC_CONS_OFF
	add	w0, w0, w23
	bl	_SBBC_SRAM_READ_4
	cmp	w22, w0
	b.ne	LBB0_2
; %bb.1:
	ldr	w22, [x24]
Lloh7:
	adrp	x8, _cons_out_begin@GOTPAGE
Lloh8:
	ldr	x8, [x8, _cons_out_begin@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	bl	_SBBC_CONS_OFF
	add	w0, w0, w22
	bl	_SBBC_SRAM_READ_4
	mov	x22, x0
LBB0_2:
	ldr	w23, [x24]
	ldr	w0, [x25]
	bl	_SBBC_CONS_OFF
	add	w0, w0, w23
	mov	x1, x22
	bl	_SBBC_SRAM_WRITE_4
	mov	x0, x21
	bl	_uart_barrier
Lloh10:
	adrp	x8, _sbbc_solscir@GOTPAGE
Lloh11:
	ldr	x8, [x8, _sbbc_solscir@GOTPAGEOFF]
Lloh12:
	ldr	w22, [x8]
	mov	x0, x22
	bl	_SBBC_SRAM_READ_4
Lloh13:
	adrp	x8, _SBBC_SRAM_CONS_OUT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SBBC_SRAM_CONS_OUT@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	orr	w1, w8, w0
	mov	x0, x22
	bl	_SBBC_SRAM_WRITE_4
	mov	x0, x21
	bl	_uart_barrier
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_sbbc_send_intr
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_sbbc_solcons,4,2               ; @sbbc_solcons
	.comm	_cons_out_wrptr,4,2             ; @cons_out_wrptr
	.comm	_cons_out_end,4,2               ; @cons_out_end
	.comm	_cons_out_begin,4,2             ; @cons_out_begin
	.comm	_sbbc_solscir,4,2               ; @sbbc_solscir
	.comm	_SBBC_SRAM_CONS_OUT,4,2         ; @SBBC_SRAM_CONS_OUT
	.no_dead_strip	_sbbc_uart_putc
.subsections_via_symbols
