	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function kputc
_kputc:                                 ## @kputc
	.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
	movq	%rsi, %rbx
	movl	%edi, %r14d
	movl	(%rsi), %edi
	leal	1(%rdi), %ecx
	cmpl	4(%rsi), %ecx
	jge	LBB0_2
## %bb.1:
	movq	8(%rbx), %rax
	jmp	LBB0_3
LBB0_2:
	addl	$2, %edi
	movl	%edi, 4(%rbx)
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_kroundup32
	movq	8(%rbx), %rdi
	movl	4(%rbx), %esi
	callq	_realloc
	movq	%rax, 8(%rbx)
	movl	(%rbx), %edi
	leal	1(%rdi), %ecx
LBB0_3:
	movl	%ecx, (%rbx)
	movslq	%edi, %rcx
	movb	%r14b, (%rax,%rcx)
	movq	8(%rbx), %rax
	movslq	(%rbx), %rcx
	movb	$0, (%rax,%rcx)
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_kputc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function kputc
_kputc:                                 ; @kputc
	.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
	mov	x20, x1
	mov	x19, x0
	ldp	w8, w10, [x1]
	add	w9, w8, #1
	cmp	w9, w10
	b.ge	LBB0_2
; %bb.1:
	ldr	x0, [x20, #8]
	b	LBB0_3
LBB0_2:
	add	w0, w8, #2
	str	w0, [x20, #4]
	bl	_kroundup32
	ldr	x0, [x20, #8]
	ldr	w1, [x20, #4]
	bl	_realloc
	str	x0, [x20, #8]
	ldr	w8, [x20]
	add	w9, w8, #1
LBB0_3:
	str	w9, [x20]
	strb	w19, [x0, w8, sxtw]
	ldr	x8, [x20, #8]
	ldrsw	x9, [x20]
	strb	wzr, [x8, x9]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_kputc
.subsections_via_symbols
