	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ascii_setwidth
_ascii_setwidth:                        ## @ascii_setwidth
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movslq	%edx, %rax
	imulq	$715827883, %rax, %rax          ## imm = 0x2AAAAAAB
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$34, %rax
	addl	%ecx, %eax
	movslq	(%rdi), %rcx
	movq	24(%rdi), %r8
	testl	%esi, %esi
	jle	LBB0_2
## %bb.1:
	addl	%ecx, %eax
LBB0_8:
	movl	$1000, %edx                     ## imm = 0x3E8
	cmpl	$1001, %eax                     ## imm = 0x3E9
	jge	LBB0_9
	jmp	LBB0_10
LBB0_2:
	je	LBB0_3
## %bb.6:
	xorl	%edx, %edx
	cmpl	%eax, %ecx
	jbe	LBB0_9
## %bb.7:
	movl	%ecx, %edx
	subl	%eax, %edx
	movl	%edx, %eax
	jmp	LBB0_8
LBB0_9:
	movl	%edx, %eax
LBB0_10:
	movl	%eax, (%rdi)
	movq	%rcx, 8(%rdi)
	movl	%eax, 16(%rdi)
	movl	%eax, (%r8)
	popq	%rbp
	retq
LBB0_3:
	addl	$23, %edx
	cmpl	$47, %edx
	jae	LBB0_4
## %bb.5:
	movq	8(%rdi), %rax
	jmp	LBB0_8
LBB0_4:
	movl	%eax, %eax
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ascii_setwidth
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ascii_setwidth
_ascii_setwidth:                        ; @ascii_setwidth
	.cfi_startproc
; %bb.0:
	mov	w8, #43691
	movk	w8, #10922, lsl #16
	smull	x8, w2, w8
	lsr	x9, x8, #63
	asr	x8, x8, #34
	add	w10, w8, w9
	ldrsw	x9, [x0]
	ldr	x8, [x0, #24]
	cmp	w1, #1
	b.lt	LBB0_4
; %bb.1:
	add	w10, w9, w10
LBB0_2:
	cmp	w10, #1001
	b.lt	LBB0_10
; %bb.3:
	mov	w10, #1000
	b	LBB0_10
LBB0_4:
	cbz	w1, LBB0_7
; %bb.5:
	cmp	w9, w10
	b.ls	LBB0_9
; %bb.6:
	sub	w10, w9, w10
	b	LBB0_2
LBB0_7:
	add	w11, w2, #23
	cmp	w11, #47
	b.hs	LBB0_2
; %bb.8:
	ldr	x10, [x0, #8]
                                        ; kill: def $w10 killed $w10 killed $x10 def $x10
	b	LBB0_2
LBB0_9:
	mov	w10, #0
LBB0_10:
	str	w10, [x0]
	str	x9, [x0, #8]
	str	w10, [x0, #16]
	str	w10, [x8]
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ascii_setwidth
.subsections_via_symbols
