	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_string_type
_get_string_type:                       ## @get_string_type
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movl	%esi, %r14d
	xorl	%ecx, %ecx
	testl	%esi, %esi
	jle	LBB0_3
## %bb.4:
	movq	%rdi, %r12
	movl	%r14d, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
                                        ##     Child Loop BB0_15 Depth 2
	movq	%r12, %rax
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movslq	%ecx, %r12
	movl	%r14d, %r13d
	subl	%r12d, %r13d
	leaq	(%rax,%r12,4), %rbx
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leal	(%r14,%r13), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_r_utf8_decode
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	incq	%r12
	decl	%r14d
	addq	$4, %rbx
	cmpq	-72(%rbp), %r12                 ## 8-byte Folded Reload
	jl	LBB0_6
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	%ecx, %ebx
	subl	%r14d, %ebx
	addl	%ecx, %eax
	subl	%r14d, %eax
	leal	2(%rax), %ecx
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	cmpl	%r14d, %ecx
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	jge	LBB0_13
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	movslq	%eax, %rdx
	cmpl	$0, (%r12,%rdx,4)
	jne	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	incl	%eax
	cltq
	cmpl	$0, (%r12,%rax,4)
	jne	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	movslq	%ecx, %rax
	cmpl	$0, (%r12,%rax,4)
	je	LBB0_12
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=1
	movb	$97, %r15b
LBB0_14:                                ##   in Loop: Header=BB0_5 Depth=1
	leaq	-48(%rbp), %r13
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_15 Depth=2
	leal	1(%rbx), %ecx
	movl	$2, %eax
	movb	$119, %r15b
	cmpl	%r14d, %ecx
	jge	LBB0_21
LBB0_18:                                ##   in Loop: Header=BB0_15 Depth=2
	addl	%eax, %ebx
LBB0_15:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpl	%r14d, %ebx
	jge	LBB0_21
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=2
	cmpb	$119, %r15b
	je	LBB0_17
## %bb.19:                              ##   in Loop: Header=BB0_15 Depth=2
	movslq	%ebx, %rax
	leaq	(%r12,%rax,4), %rdi
	movl	%r14d, %esi
	subl	%eax, %esi
	movq	%r13, %rdx
	callq	_r_utf8_decode
	cmpl	$2, %eax
	movzbl	%r15b, %r15d
	movl	$117, %ecx
	cmovgel	%ecx, %r15d
	testl	%eax, %eax
	jne	LBB0_18
## %bb.20:                              ##   in Loop: Header=BB0_5 Depth=1
	incl	%ebx
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	%ebx, %ecx
	cmpl	%r14d, %ebx
	jl	LBB0_5
	jmp	LBB0_22
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	movb	$119, %r15b
	jmp	LBB0_14
LBB0_1:
	movb	$63, %r15b
	jmp	LBB0_22
LBB0_3:
	xorl	%r15d, %r15d
LBB0_22:
	movsbl	%r15b, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_get_string_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_string_type
_get_string_type:                       ; @get_string_type
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	cbz	x0, LBB0_20
; %bb.1:
	mov	x19, x1
	cmp	w1, #1
	b.lt	LBB0_21
; %bb.2:
	mov	x20, x0
	mov	w24, #0
	mov	w21, #0
	mov	w22, #117
	mov	w23, w19
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
                                        ;     Child Loop BB0_14 Depth 2
	mov	w25, #0
	sxtw	x26, w21
	sub	w27, w19, w21
	add	x21, x20, w21, sxtw #2
	mov	x28, x26
LBB0_4:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	w1, w27, w25
	mov	x0, x21
	mov	x2, #0
	bl	_r_utf8_decode
	cbnz	w0, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=2
	add	x28, x28, #1
	sub	w25, w25, #1
	add	x21, x21, #4
	cmp	x28, x23
	b.lt	LBB0_4
	b	LBB0_22
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	sub	w21, w26, w25
	add	w8, w26, w0
	sub	w9, w8, w25
	add	w8, w9, #2
	cmp	w8, w19
	b.ge	LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w9, [x20, w9, sxtw #2]
	cbnz	w9, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	add	w9, w26, w0
	sub	w9, w9, w25
	add	w9, w9, #1
	ldr	w9, [x20, w9, sxtw #2]
	cbnz	w9, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x20, w8, sxtw #2]
	cbz	w8, LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w24, #97
	b	LBB0_14
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w24, #119
	b	LBB0_14
LBB0_12:                                ;   in Loop: Header=BB0_14 Depth=2
	add	x0, x20, w21, sxtw #2
	sub	w1, w19, w21
	add	x2, sp, #12
	bl	_r_utf8_decode
	cmp	w0, #1
	csel	w24, w22, w24, gt
	cbz	w0, LBB0_18
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=2
	add	w21, w0, w21
LBB0_14:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	w21, w19
	b.ge	LBB0_19
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=2
	and	w8, w24, #0xff
	cmp	w8, #119
	b.ne	LBB0_12
; %bb.16:                               ;   in Loop: Header=BB0_14 Depth=2
	add	w8, w21, #1
	mov	w24, #119
	cmp	w8, w19
	b.ge	LBB0_19
; %bb.17:                               ;   in Loop: Header=BB0_14 Depth=2
	mov	w0, #2
	b	LBB0_13
LBB0_18:                                ;   in Loop: Header=BB0_3 Depth=1
	add	w21, w21, #1
LBB0_19:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w21, w19
	b.lt	LBB0_3
	b	LBB0_22
LBB0_20:
	mov	w24, #63
	b	LBB0_22
LBB0_21:
	mov	w24, #0
LBB0_22:
	sxtb	w0, w24
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_get_string_type
.subsections_via_symbols
