	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_write_str                      ## -- Begin function write_str
	.p2align	4, 0x90
_write_str:                             ## @write_str
	.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
	movq	%rdi, %rbx
	movq	%rdi, %rax
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	testl	%edx, %edx
	jle	LBB0_18
## %bb.1:
	movq	%rsi, %r15
	movl	%edx, %r13d
	xorl	%r12d, %r12d
	leaq	LJTI0_0(%rip), %r14
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_5
LBB0_2:                                 ##   in Loop: Header=BB0_5 Depth=1
	movw	$29788, (%rbx)                  ## imm = 0x745C
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_5 Depth=1
	addq	$2, %rbx
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%r12
	cmpq	%r12, %r13
	je	LBB0_18
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%r15,%r12), %eax
	movsbl	%al, %edx
	leal	-8(%rdx), %ecx
	cmpl	$39, %ecx
	ja	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movslq	(%r14,%rcx,4), %rcx
	addq	%r14, %rcx
	jmpq	*%rcx
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movw	$25180, (%rbx)                  ## imm = 0x625C
	jmp	LBB0_3
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$92, %edx
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	movw	$23644, (%rbx)                  ## imm = 0x5C5C
	jmp	LBB0_3
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	cmpb	$32, %al
	jb	LBB0_17
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	movb	%al, (%rbx)
	incq	%rbx
	jmp	LBB0_4
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	movw	$28252, (%rbx)                  ## imm = 0x6E5C
	jmp	LBB0_3
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=1
	movw	$26204, (%rbx)                  ## imm = 0x665C
	jmp	LBB0_3
LBB0_14:                                ##   in Loop: Header=BB0_5 Depth=1
	movw	$29276, (%rbx)                  ## imm = 0x725C
	jmp	LBB0_3
LBB0_15:                                ##   in Loop: Header=BB0_5 Depth=1
	movw	$8796, (%rbx)                   ## imm = 0x225C
	jmp	LBB0_3
LBB0_16:                                ##   in Loop: Header=BB0_5 Depth=1
	movw	$12124, (%rbx)                  ## imm = 0x2F5C
	jmp	LBB0_3
LBB0_17:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str(%rip), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_sprintf
	cltq
	addq	%rax, %rbx
	jmp	LBB0_4
LBB0_18:
	subl	-48(%rbp), %ebx                 ## 4-byte Folded Reload
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_2
	.long	L0_0_set_12
	.long	L0_0_set_10
	.long	L0_0_set_13
	.long	L0_0_set_14
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_15
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_16
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\\u%04x"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_write_str                      ; -- Begin function write_str
	.p2align	2
_write_str:                             ; @write_str
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	mov	x22, x0
	cmp	w2, #1
	b.lt	LBB0_17
; %bb.1:
	mov	x20, x1
	mov	w23, w2
	mov	w12, #25180
	mov	w13, #29788
	mov	w27, #28252
	mov	w28, #26204
	mov	w21, #29276
	mov	w24, #8796
	mov	w25, #12124
	mov	x22, x19
Lloh0:
	adrp	x26, lJTI0_0@PAGE
Lloh1:
	add	x26, x26, lJTI0_0@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	strh	w13, [x22], #2
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x20, x20, #1
	subs	x23, x23, #1
	b.eq	LBB0_17
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldrsb	w8, [x20]
	sub	w9, w8, #8
	cmp	w9, #39
	b.hi	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	adr	x10, LBB0_2
	ldrb	w11, [x26, x9]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	strh	w12, [x22], #2
	b	LBB0_3
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	w8, #92
	b.ne	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w8, #23644
	strh	w8, [x22], #2
	b	LBB0_3
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	and	w8, w8, #0xff
	cmp	w8, #32
	b.lo	LBB0_16
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	strb	w8, [x22], #1
	b	LBB0_3
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	strh	w27, [x22], #2
	b	LBB0_3
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	strh	w28, [x22], #2
	b	LBB0_3
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	strh	w21, [x22], #2
	b	LBB0_3
LBB0_14:                                ;   in Loop: Header=BB0_4 Depth=1
	strh	w24, [x22], #2
	b	LBB0_3
LBB0_15:                                ;   in Loop: Header=BB0_4 Depth=1
	strh	w25, [x22], #2
	b	LBB0_3
LBB0_16:                                ;   in Loop: Header=BB0_4 Depth=1
	sxtb	w2, w8
	mov	x0, x22
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_sprintf
	mov	w13, #29788
	mov	w12, #25180
	add	x22, x22, w0, sxtw
	b	LBB0_3
LBB0_17:
	sub	w0, w22, w19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_14-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\\u%04x"

.subsections_via_symbols
