	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_attr
_set_attr:                              ## @set_attr
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%ebx, %ebx
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.1:
	movq	%rsi, %r15
	testq	%rsi, %rsi
	je	LBB0_12
## %bb.2:
	movq	%rdi, %r14
	movq	%r15, %rdi
	callq	___isAnsiSequence
	movq	%r15, %rbx
	testq	%rax, %rax
	je	LBB0_10
## %bb.3:
	movabsq	$137438953477, %r12             ## imm = 0x2000000005
	movq	%r15, %rbx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	callq	___isAnsiSequence
	testq	%rax, %rax
	je	LBB0_10
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	addq	$3, %rbx
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	-1(%rbx), %eax
	leal	-72(%rax), %ecx
	cmpb	$37, %cl
	ja	LBB0_6
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=2
	movzbl	%cl, %ecx
	btq	%rcx, %r12
	jb	LBB0_9
LBB0_6:                                 ##   in Loop: Header=BB0_5 Depth=2
	testb	%al, %al
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=2
	incq	%rbx
	jmp	LBB0_5
LBB0_10:
	movl	%ebx, %r12d
	subl	%r15d, %r12d
	testl	%r12d, %r12d
	jle	LBB0_12
## %bb.11:
	leaq	-44(%rbp), %r13
	movq	%r13, %rdi
	callq	_r_strbuf_init
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	%r12d, %edx
	callq	_r_strbuf_append_n
	movq	%r13, %rdi
	callq	_r_strbuf_get
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_r_str_constpool_get
	movl	%eax, 4(%r14)
	movq	%r13, %rdi
	callq	_r_strbuf_fini
LBB0_12:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_set_attr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_attr
_set_attr:                              ; @set_attr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, #0
	cbz	x0, LBB0_10
; %bb.1:
	mov	x21, x1
	cbz	x1, LBB0_10
; %bb.2:
	mov	x20, x0
	mov	x0, x21
	bl	___isAnsiSequence
	mov	x19, x21
	cbz	x0, LBB0_8
; %bb.3:
	mov	w22, #1
	mov	x23, #5
	movk	x23, #32, lsl #32
	mov	x19, x21
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	bl	___isAnsiSequence
	cbz	x0, LBB0_8
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	add	x19, x19, #3
LBB0_6:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldurb	w8, [x19, #-1]
	sub	w9, w8, #72
	cmp	w9, #37
	lsl	x9, x22, x9
	and	x9, x9, x23
	ccmp	x9, #0, #4, ls
	ccmp	w8, #0, #4, eq
	b.eq	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	add	x19, x19, #1
	b	LBB0_6
LBB0_8:
	sub	w22, w19, w21
	cmp	w22, #1
	b.lt	LBB0_10
; %bb.9:
	add	x0, sp, #12
	bl	_r_strbuf_init
	add	x0, sp, #12
	mov	x1, x21
	mov	x2, x22
	bl	_r_strbuf_append_n
	add	x0, sp, #12
	bl	_r_strbuf_get
	mov	x1, x0
	mov	x0, x20
	bl	_r_str_constpool_get
	str	w0, [x20, #4]
	add	x0, sp, #12
	bl	_r_strbuf_fini
LBB0_10:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_set_attr
.subsections_via_symbols
