	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ps_putchar
_ps_putchar:                            ## @ps_putchar
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	_PS_MARGINS@GOTPCREL(%rip), %rax
	movq	(%rdi), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	movl	$2, %esi
	callq	_ps_growbuf
	movq	(%rbx), %rax
	movslq	16(%rax), %rcx
	leaq	1(%rcx), %rdx
	movl	%edx, 16(%rax)
	movq	8(%rax), %rax
	movb	%r14b, (%rax,%rcx)
	movq	(%rbx), %rax
	movq	8(%rax), %rax
	movb	$0, 1(%rax,%rcx)
	jmp	LBB0_3
LBB0_1:
	movsbl	%r14b, %edi
	callq	_putchar
	movq	(%rbx), %rax
	incl	20(%rax)
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PS_MARGINS,4,2                 ## @PS_MARGINS
	.no_dead_strip	_ps_putchar
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ps_putchar
_ps_putchar:                            ; @ps_putchar
	.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
Lloh0:
	adrp	x8, _PS_MARGINS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PS_MARGINS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	x9, [x0]
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x19
	mov	w1, #2
	bl	_ps_growbuf
	ldr	x8, [x19]
	ldrsw	x9, [x8, #16]
	add	x10, x9, #1
	str	w10, [x8, #16]
	ldr	x8, [x8, #8]
	strb	w20, [x8, x9]
	ldr	x8, [x19]
	ldr	x8, [x8, #8]
	strb	wzr, [x8, x10]
	b	LBB0_3
LBB0_2:
	mov	x0, x20
	bl	_putchar
	ldr	x8, [x19]
	ldr	w9, [x8, #20]
	add	w9, w9, #1
	str	w9, [x8, #20]
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PS_MARGINS,4,2                 ; @PS_MARGINS
	.no_dead_strip	_ps_putchar
.subsections_via_symbols
