	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function isicom_put_char
_isicom_put_char:                       ## @isicom_put_char
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	8(%rdi), %rbx
	movq	16(%rbx), %r14
	movl	(%rdi), %esi
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	callq	_isicom_paranoia_check
	xorl	%r12d, %r12d
	testq	%rax, %rax
	jne	LBB0_4
## %bb.1:
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	_SERIAL_XMIT_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	decl	%ecx
	xorl	%r12d, %r12d
	cmpl	%ecx, (%rbx)
	jge	LBB0_3
## %bb.2:
	movq	8(%rbx), %rcx
	movslq	4(%rbx), %rdx
	leal	1(%rdx), %esi
	movl	%esi, 4(%rbx)
	movb	%r15b, (%rcx,%rdx)
	movl	(%rax), %eax
	decl	%eax
	andl	%eax, 4(%rbx)
	incl	(%rbx)
	movl	$1, %r12d
LBB0_3:
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
LBB0_4:
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"isicom_put_char"

	.comm	_SERIAL_XMIT_SIZE,4,2           ## @SERIAL_XMIT_SIZE
	.no_dead_strip	_isicom_put_char
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function isicom_put_char
_isicom_put_char:                       ; @isicom_put_char
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x21, x1
	ldr	x20, [x0, #8]
	ldr	x19, [x20, #16]
	ldr	w1, [x0]
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	bl	_isicom_paranoia_check
	cbz	x0, LBB0_2
; %bb.1:
	mov	w20, #0
	b	LBB0_6
LBB0_2:
	mov	x0, x19
	bl	_spin_lock_irqsave
	ldr	w9, [x20]
Lloh2:
	adrp	x8, _SERIAL_XMIT_SIZE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SERIAL_XMIT_SIZE@GOTPAGEOFF]
	ldr	w10, [x8]
	sub	w10, w10, #1
	cmp	w9, w10
	b.ge	LBB0_4
; %bb.3:
	ldr	x9, [x20, #8]
	ldrsw	x10, [x20, #4]
	add	w11, w10, #1
	str	w11, [x20, #4]
	strb	w21, [x9, x10]
	ldr	w8, [x8]
	sub	w8, w8, #1
	ldp	w10, w9, [x20]
	and	w8, w9, w8
	add	w9, w10, #1
	stp	w9, w8, [x20]
	mov	w20, #1
	b	LBB0_5
LBB0_4:
	mov	w20, #0
LBB0_5:
	mov	x0, x19
	bl	_spin_unlock_irqrestore
LBB0_6:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"isicom_put_char"

	.comm	_SERIAL_XMIT_SIZE,4,2           ; @SERIAL_XMIT_SIZE
	.no_dead_strip	_isicom_put_char
.subsections_via_symbols
