	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_is_pascal_string_type          ## -- Begin function is_pascal_string_type
	.p2align	4, 0x90
_is_pascal_string_type:                 ## @is_pascal_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r12
	movq	%r8, %r13
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_TYPE_CODE
	movq	_TYPE_CODE_STRUCT@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.1:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_TYPE_NFIELDS
	cmpl	$2, %eax
	jne	LBB0_4
## %bb.2:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_TYPE_FIELDS
	movq	(%rax), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_TYPE_FIELDS
	movq	8(%rax), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_19
LBB0_4:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_TYPE_NFIELDS
	cmpl	$3, %eax
	jne	LBB0_7
## %bb.5:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_TYPE_FIELDS
	movq	(%rax), %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_9
LBB0_7:
	xorl	%edx, %edx
LBB0_8:
	movl	%edx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_TYPE_FIELDS
	movq	8(%rax), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	movl	$0, %edx
	jne	LBB0_8
## %bb.10:
	testq	%rbx, %rbx
	je	LBB0_12
## %bb.11:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	$1, %esi
	callq	_TYPE_FIELD_BITPOS
	movq	_TARGET_CHAR_BIT@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
	movl	%eax, (%rbx)
LBB0_12:
	testq	%r15, %r15
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_14
## %bb.13:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_TYPE_FIELD_TYPE
	movl	%eax, %edi
	callq	_TYPE_LENGTH
	movl	%eax, (%r15)
LBB0_14:
	testq	%r14, %r14
	je	LBB0_16
## %bb.15:
	movq	%rbx, %rdi
	movl	$2, %esi
	callq	_TYPE_FIELD_BITPOS
	movq	_TARGET_CHAR_BIT@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
	movl	%eax, (%r14)
LBB0_16:
	testq	%r13, %r13
	movq	%r12, %rax
	je	LBB0_18
## %bb.17:
	movl	$1, (%r13)
LBB0_18:
	movl	$2, %r14d
	movl	$3, %edx
	jmp	LBB0_28
LBB0_19:
	testq	%rbx, %rbx
	je	LBB0_21
## %bb.20:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	callq	_TYPE_FIELD_BITPOS
	movq	_TARGET_CHAR_BIT@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
	movl	%eax, (%rbx)
LBB0_21:
	testq	%r15, %r15
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_23
## %bb.22:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_TYPE_FIELD_TYPE
	movl	%eax, %edi
	callq	_TYPE_LENGTH
	movl	%eax, (%r15)
LBB0_23:
	testq	%r14, %r14
	je	LBB0_25
## %bb.24:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_TYPE_FIELD_BITPOS
	movq	_TARGET_CHAR_BIT@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
	movl	%eax, (%r14)
LBB0_25:
	testq	%r13, %r13
	movq	%r12, %rax
	je	LBB0_27
## %bb.26:
	movl	$1, (%r13)
LBB0_27:
	movl	$1, %r14d
	movl	$2, %edx
LBB0_28:
	testq	%rax, %rax
	je	LBB0_8
## %bb.29:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%edx, %ebx
	callq	_TYPE_FIELDS
	movl	%ebx, %edx
	movq	(%rax,%r14,8), %rax
	movq	%rax, (%r12)
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_TYPE_CODE_STRUCT,8,3           ## @TYPE_CODE_STRUCT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"length"

L_.str.1:                               ## @.str.1
	.asciz	"st"

	.comm	_TARGET_CHAR_BIT,4,2            ## @TARGET_CHAR_BIT
L_.str.2:                               ## @.str.2
	.asciz	"Capacity"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_is_pascal_string_type          ; -- Begin function is_pascal_string_type
	.p2align	2
_is_pascal_string_type:                 ; @is_pascal_string_type
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x5
	mov	x21, x4
	mov	x22, x3
	mov	x23, x2
	mov	x24, x1
	mov	x20, x0
	bl	_TYPE_CODE
Lloh0:
	adrp	x8, _TYPE_CODE_STRUCT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TYPE_CODE_STRUCT@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_7
; %bb.1:
	mov	x0, x20
	bl	_TYPE_NFIELDS
	cmp	w0, #2
	b.ne	LBB0_4
; %bb.2:
	mov	x0, x20
	bl	_TYPE_FIELDS
	ldr	x0, [x0]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbnz	x0, LBB0_4
; %bb.3:
	mov	x0, x20
	bl	_TYPE_FIELDS
	ldr	x0, [x0, #8]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_9
LBB0_4:
	mov	x0, x20
	bl	_TYPE_NFIELDS
	cmp	w0, #3
	b.ne	LBB0_7
; %bb.5:
	mov	x0, x20
	bl	_TYPE_FIELDS
	ldr	x0, [x0]
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_strcmp
	cbnz	x0, LBB0_7
; %bb.6:
	mov	x0, x20
	bl	_TYPE_FIELDS
	ldr	x0, [x0, #8]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_19
LBB0_7:
	mov	w21, #0
LBB0_8:
	mov	x0, x21
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_9:
	cbz	x24, LBB0_11
; %bb.10:
	mov	x0, x20
	mov	w1, #0
	bl	_TYPE_FIELD_BITPOS
Lloh11:
	adrp	x8, _TARGET_CHAR_BIT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TARGET_CHAR_BIT@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	sdiv	w8, w0, w8
	str	w8, [x24]
LBB0_11:
	cbz	x23, LBB0_13
; %bb.12:
	mov	x0, x20
	mov	w1, #0
	bl	_TYPE_FIELD_TYPE
	bl	_TYPE_LENGTH
	str	w0, [x23]
LBB0_13:
	cbz	x22, LBB0_15
; %bb.14:
	mov	x0, x20
	mov	w1, #1
	bl	_TYPE_FIELD_BITPOS
Lloh14:
	adrp	x8, _TARGET_CHAR_BIT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _TARGET_CHAR_BIT@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	sdiv	w8, w0, w8
	str	w8, [x22]
LBB0_15:
	cbz	x21, LBB0_17
; %bb.16:
	mov	w8, #1
	str	w8, [x21]
LBB0_17:
	mov	w21, #2
	cbz	x19, LBB0_8
; %bb.18:
	mov	w22, #1
	b	LBB0_29
LBB0_19:
Lloh17:
	adrp	x25, _TARGET_CHAR_BIT@GOTPAGE
Lloh18:
	ldr	x25, [x25, _TARGET_CHAR_BIT@GOTPAGEOFF]
	cbz	x24, LBB0_21
; %bb.20:
	mov	x0, x20
	mov	w1, #1
	bl	_TYPE_FIELD_BITPOS
	ldr	w8, [x25]
	sdiv	w8, w0, w8
	str	w8, [x24]
LBB0_21:
	cbz	x23, LBB0_23
; %bb.22:
	mov	x0, x20
	mov	w1, #1
	bl	_TYPE_FIELD_TYPE
	bl	_TYPE_LENGTH
	str	w0, [x23]
LBB0_23:
	cbz	x22, LBB0_25
; %bb.24:
	mov	x0, x20
	mov	w1, #2
	bl	_TYPE_FIELD_BITPOS
	ldr	w8, [x25]
	sdiv	w8, w0, w8
	str	w8, [x22]
LBB0_25:
	cbz	x21, LBB0_27
; %bb.26:
	mov	w8, #1
	str	w8, [x21]
LBB0_27:
	mov	w21, #3
	cbz	x19, LBB0_8
; %bb.28:
	mov	w22, #2
LBB0_29:
	mov	x0, x20
	bl	_TYPE_FIELDS
	ldr	x8, [x0, x22, lsl #3]
	str	x8, [x19]
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_TYPE_CODE_STRUCT,8,3           ; @TYPE_CODE_STRUCT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"length"

l_.str.1:                               ; @.str.1
	.asciz	"st"

	.comm	_TARGET_CHAR_BIT,4,2            ; @TARGET_CHAR_BIT
l_.str.2:                               ; @.str.2
	.asciz	"Capacity"

.subsections_via_symbols
