	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function re_fastputc
_re_fastputc:                           ## @re_fastputc
	.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	%rdi, %r14
	movl	%esi, %edi
	callq	_wcwidth
	movl	%eax, %ebx
	cmpl	$2, %eax
	jl	LBB0_4
## %bb.1:
	movl	%ebx, %r12d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	32(%r14), %rax
	addq	%r12, %rax
	cmpq	8(%r14), %rax
	jle	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	movl	$32, %esi
	callq	_re_fastputc
	jmp	LBB0_2
LBB0_4:
	movsbl	%r15b, %r15d
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_terminal__putc
	movq	(%r14), %rax
	movq	32(%r14), %rcx
	leaq	1(%rcx), %rdx
	movq	40(%r14), %rsi
	movq	(%rax,%rsi,8), %rax
	movq	%rdx, 32(%r14)
	movb	%r15b, (%rax,%rcx)
	cmpl	$2, %ebx
	jl	LBB0_7
## %bb.5:
	incl	%ebx
	movq	_MB_FILL_CHAR@GOTPCREL(%rip), %rax
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rax), %ecx
	movq	40(%r14), %rdx
	movq	(%r14), %rsi
	movq	32(%r14), %rdi
	movq	(%rsi,%rdx,8), %rdx
	leaq	1(%rdi), %rsi
	movq	%rsi, 32(%r14)
	movb	%cl, (%rdx,%rdi)
	decl	%ebx
	cmpl	$2, %ebx
	ja	LBB0_6
LBB0_7:
	movq	8(%r14), %rdx
	cmpq	%rdx, 32(%r14)
	jge	LBB0_9
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	$0, 32(%r14)
	movq	40(%r14), %rax
	incq	%rax
	movslq	16(%r14), %rcx
	cmpq	%rcx, %rax
	jae	LBB0_11
## %bb.10:
	movq	%rax, 40(%r14)
	movq	(%r14), %rax
	movq	24(%r14), %rcx
	leaq	1(%rcx), %rsi
	movq	%rsi, 24(%r14)
	movq	8(%rax,%rcx,8), %rdi
	jmp	LBB0_21
LBB0_11:
	movl	%ecx, %r8d
	movq	(%r14), %rcx
	movq	(%rcx), %rdi
	cmpl	$2, %r8d
	jl	LBB0_14
## %bb.12:
	leaq	-1(%r8), %r9
	leaq	-2(%r8), %rbx
	movl	%r9d, %esi
	andl	$3, %esi
	cmpq	$3, %rbx
	jae	LBB0_15
## %bb.13:
	movl	$1, %ebx
	testq	%rsi, %rsi
	jne	LBB0_18
	jmp	LBB0_19
LBB0_14:
	xorl	%eax, %eax
	jmp	LBB0_20
LBB0_15:
	andq	$-4, %r9
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%rcx,%rbx,8), %rax
	movq	%rax, (%rcx,%rbx,8)
	movq	(%r14), %rax
	movq	16(%rax,%rbx,8), %rcx
	movq	%rcx, 8(%rax,%rbx,8)
	movq	(%r14), %rax
	movq	24(%rax,%rbx,8), %rcx
	movq	%rcx, 16(%rax,%rbx,8)
	movq	(%r14), %rax
	movq	32(%rax,%rbx,8), %rcx
	movq	%rcx, 24(%rax,%rbx,8)
	movq	(%r14), %rcx
	addq	$4, %rbx
	cmpq	%rbx, %r9
	jne	LBB0_16
## %bb.17:
	incq	%rbx
	testq	%rsi, %rsi
	je	LBB0_19
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rcx,%rbx,8), %rax
	movq	%rax, -8(%rcx,%rbx,8)
	incq	%rbx
	movq	(%r14), %rcx
	decq	%rsi
	jne	LBB0_18
LBB0_19:
	decl	%r8d
	movslq	%r8d, %rax
LBB0_20:
	movq	%rdi, (%rcx,%rax,8)
LBB0_21:
	leaq	l_.str(%rip), %rsi
	callq	_re__copy_and_pad
	movq	_EL_HAS_AUTO_MARGINS@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_24
## %bb.22:
	movq	_EL_HAS_MAGIC_MARGINS@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_8
## %bb.23:
	movb	$8, %bl
	movb	$32, %al
	jmp	LBB0_25
LBB0_24:
	movb	$10, %bl
	movb	$13, %al
LBB0_25:
	movzbl	%al, %esi
	movq	%r14, %rdi
	callq	_terminal__putc
	movzbl	%bl, %esi
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_terminal__putc                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MB_FILL_CHAR,1,0               ## @MB_FILL_CHAR
	.section	__TEXT,__const
	.p2align	2                               ## @.str
l_.str:
	.space	4

	.comm	_EL_HAS_AUTO_MARGINS,8,3        ## @EL_HAS_AUTO_MARGINS
	.comm	_EL_HAS_MAGIC_MARGINS,8,3       ## @EL_HAS_MAGIC_MARGINS
	.no_dead_strip	_re_fastputc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function re_fastputc
_re_fastputc:                           ; @re_fastputc
	.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	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_wcwidth
	mov	x21, x0
	cmp	w0, #2
	b.lt	LBB0_4
; %bb.1:
	mov	w22, w21
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #32]
	ldr	x9, [x19, #8]
	add	x8, x8, x22
	cmp	x8, x9
	b.le	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	mov	w1, #32
	bl	_re_fastputc
	b	LBB0_2
LBB0_4:
	mov	x0, x19
	mov	x1, x20
	bl	_terminal__putc
	ldr	x8, [x19]
	ldp	x10, x9, [x19, #32]
	ldr	x8, [x8, x9, lsl #3]
	add	x9, x10, #1
	str	x9, [x19, #32]
	strb	w20, [x8, x10]
	cmp	w21, #2
	b.lt	LBB0_7
; %bb.5:
	add	w8, w21, #1
Lloh0:
	adrp	x9, _MB_FILL_CHAR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MB_FILL_CHAR@GOTPAGEOFF]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x9]
	ldr	x11, [x19]
	ldp	x13, x12, [x19, #32]
	ldr	x11, [x11, x12, lsl #3]
	add	x12, x13, #1
	str	x12, [x19, #32]
	strb	w10, [x11, x13]
	sub	w8, w8, #1
	cmp	w8, #2
	b.hi	LBB0_6
LBB0_7:
	ldr	x8, [x19, #32]
	ldr	x2, [x19, #8]
	cmp	x8, x2
	b.ge	LBB0_9
LBB0_8:
	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
LBB0_9:
	str	xzr, [x19, #32]
	ldr	x8, [x19, #40]
	add	x8, x8, #1
	ldrsw	x9, [x19, #16]
	cmp	x8, x9
	b.hs	LBB0_11
; %bb.10:
	str	x8, [x19, #40]
	ldr	x8, [x19]
	ldr	x9, [x19, #24]
	add	x9, x9, #1
	str	x9, [x19, #24]
	ldr	x0, [x8, x9, lsl #3]
	b	LBB0_16
LBB0_11:
	and	x9, x9, #0xffffffff
	ldr	x8, [x19]
	ldr	x0, [x8]
	cmp	w9, #2
	b.lt	LBB0_15
; %bb.12:
	mov	x10, #0
	lsl	x11, x9, #3
	sub	x11, x11, #8
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	add	x8, x8, x10
	ldr	x12, [x8, #8]
	str	x12, [x8]
	ldr	x8, [x19]
	add	x10, x10, #8
	cmp	x11, x10
	b.ne	LBB0_13
; %bb.14:
	sub	w9, w9, #1
	sxtw	x9, w9
	str	x0, [x8, x9, lsl #3]
	b	LBB0_16
LBB0_15:
	mov	x9, #0
	str	x0, [x8, xzr, lsl #3]
LBB0_16:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_re__copy_and_pad
Lloh4:
	adrp	x8, _EL_HAS_AUTO_MARGINS@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EL_HAS_AUTO_MARGINS@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	cbz	x8, LBB0_19
; %bb.17:
Lloh7:
	adrp	x8, _EL_HAS_MAGIC_MARGINS@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EL_HAS_MAGIC_MARGINS@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	cbz	x8, LBB0_8
; %bb.18:
	mov	w20, #8
	mov	w1, #32
	b	LBB0_20
LBB0_19:
	mov	w20, #10
	mov	w1, #13
LBB0_20:
	mov	x0, x19
	bl	_terminal__putc
	mov	x0, x19
	mov	x1, 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
	b	_terminal__putc
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_MB_FILL_CHAR,1,0               ; @MB_FILL_CHAR
	.section	__TEXT,__const
	.p2align	2                               ; @.str
l_.str:
	.space	4

	.comm	_EL_HAS_AUTO_MARGINS,8,3        ; @EL_HAS_AUTO_MARGINS
	.comm	_EL_HAS_MAGIC_MARGINS,8,3       ; @EL_HAS_MAGIC_MARGINS
	.no_dead_strip	_re_fastputc
.subsections_via_symbols
