	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_uart16550_buffer_output
_snd_uart16550_buffer_output:           ## @snd_uart16550_buffer_output
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	cmpq	$0, 8(%rdi)
	jle	LBB0_2
## %bb.1:
	movq	%rdi, %rbx
	movzwl	(%rdi), %r14d
	movq	32(%rdi), %rax
	movl	(%rax,%r14,4), %edi
	movq	_UART_TX@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	24(%rbx), %rsi
	callq	_outb
	incl	16(%rbx)
	leal	1(%r14), %eax
	movq	_TX_BUFF_MASK@GOTPCREL(%rip), %rcx
	andw	(%rcx), %ax
	movw	%ax, (%rbx)
	decq	8(%rbx)
LBB0_2:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UART_TX,8,3                    ## @UART_TX
	.comm	_TX_BUFF_MASK,2,1               ## @TX_BUFF_MASK
	.no_dead_strip	_snd_uart16550_buffer_output
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_uart16550_buffer_output
_snd_uart16550_buffer_output:           ; @snd_uart16550_buffer_output
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0, #8]
	cmp	x8, #1
	b.lt	LBB0_2
; %bb.1:
	mov	x19, x0
	ldrh	w20, [x0]
	ldp	x9, x8, [x0, #24]
	ldr	w0, [x8, x20, lsl #2]
Lloh0:
	adrp	x8, _UART_TX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UART_TX@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x1, x8, x9
	bl	_outb
	ldr	w8, [x19, #16]
	add	w8, w8, #1
	str	w8, [x19, #16]
	add	w8, w20, #1
Lloh3:
	adrp	x9, _TX_BUFF_MASK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TX_BUFF_MASK@GOTPAGEOFF]
	ldrh	w9, [x9]
	and	w8, w9, w8
	strh	w8, [x19]
	ldr	x8, [x19, #8]
	sub	x8, x8, #1
	str	x8, [x19, #8]
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_UART_TX,8,3                    ; @UART_TX
	.comm	_TX_BUFF_MASK,2,1               ; @TX_BUFF_MASK
	.no_dead_strip	_snd_uart16550_buffer_output
.subsections_via_symbols
