	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_type
_parse_type:                            ## @parse_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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	leaq	1(%rdi), %rbx
	cmpb	$116, (%rdi)
	je	LBB0_2
## %bb.1:
	movq	%rdi, %rdx
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_expected
LBB0_2:
	leaq	-36(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_id
	movq	%rax, %rbx
	movl	-36(%rbp), %edi
	callq	_lookup
	movq	%rax, -32(%rbp)
	testq	%rax, %rax
	jne	LBB0_18
## %bb.3:
	movq	%rbx, %r15
	incq	%r15
	cmpb	$61, (%rbx)
	je	LBB0_5
## %bb.4:
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdx
	callq	_expected
LBB0_5:
	movl	-36(%rbp), %esi
	leaq	-32(%rbp), %rdx
	movq	%r15, %rdi
	callq	_tdefdecl
	movq	-32(%rbp), %rax
	movl	(%rax), %ecx
	cmpl	-36(%rbp), %ecx
	jne	LBB0_9
## %bb.6:
	movq	8(%rax), %rax
	movq	_TYPEDEF@GOTPCREL(%rip), %r15
	xorl	%edi, %edi
	cmpq	(%r15), %rax
	setne	%dil
	callq	_assert
	movq	-32(%rbp), %rax
	movl	(%rax), %edi
	callq	_lookup
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_assert
	movq	-32(%rbp), %rax
	movq	24(%rax), %rdi
	movl	16(%r14), %esi
	callq	_streq
	testl	%eax, %eax
	jne	LBB0_15
## %bb.7:
	movl	$32, %edi
	callq	_xcalloc
	movq	%rax, %rbx
	movl	16(%r14), %edi
	callq	_xstrdup
	movq	%rax, 24(%rbx)
	movq	(%r15), %rax
	jmp	LBB0_8
LBB0_9:
	testl	%ecx, %ecx
	je	LBB0_10
## %bb.13:
	movl	$32, %edi
	callq	_xcalloc
	movq	%rax, %rbx
	movl	16(%r14), %edi
	callq	_xstrdup
	movq	%rax, 24(%rbx)
	movq	_TYPEDEF@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%rbx)
	movq	-32(%rbp), %rax
	movq	%rax, 16(%rbx)
	jmp	LBB0_14
LBB0_10:
	movq	8(%rax), %rax
	movq	_FORWARD@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	sete	%cl
	movq	_INTRINSIC@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	sete	%al
	orb	%cl, %al
	movzbl	%al, %edi
	callq	_assert
	movq	-32(%rbp), %rax
	movq	24(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_15
## %bb.11:
	movl	16(%r14), %esi
	callq	_streq
	testl	%eax, %eax
	jne	LBB0_15
## %bb.12:
	movl	$32, %edi
	callq	_xcalloc
	movq	%rax, %rbx
	movl	16(%r14), %edi
	callq	_xstrdup
	movq	%rax, 24(%rbx)
	movq	_TYPEDEF@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_8:
	movq	%rax, 8(%rbx)
	movq	-32(%rbp), %rax
	movq	%rax, 16(%rbx)
	movq	_faketypenumber@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	leal	1(%rdx), %esi
	movl	%esi, (%rcx)
	movl	%edx, (%rax)
LBB0_14:
	movq	%rbx, -32(%rbp)
LBB0_15:
	movl	16(%r14), %edi
	movl	-36(%rbp), %esi
	movq	-32(%rbp), %rdx
	callq	_tagadd
	testq	%rax, %rax
	js	LBB0_16
## %bb.17:
	movq	-32(%rbp), %rax
LBB0_18:
	movq	_II_TYPE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%edx, (%r14)
	movq	%rax, 8(%r14)
	movl	(%rcx), %eax
LBB0_19:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movl	$-1, %eax
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"parse_type"

L_.str.1:                               ## @.str.1
	.asciz	"t (type)"

L_.str.2:                               ## @.str.2
	.asciz	"= (definition)"

	.comm	_TYPEDEF,8,3                    ## @TYPEDEF
	.comm	_faketypenumber,4,2             ## @faketypenumber
	.comm	_FORWARD,8,3                    ## @FORWARD
	.comm	_INTRINSIC,8,3                  ## @INTRINSIC
	.comm	_II_TYPE,4,2                    ## @II_TYPE
	.no_dead_strip	_parse_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_type
_parse_type:                            ; @parse_type
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
	ldrb	w8, [x20], #1
	cmp	w8, #116
	b.eq	LBB0_2
; %bb.1:
	mov	x2, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_expected
LBB0_2:
	add	x1, sp, #4
	mov	x0, x20
	bl	_id
	mov	x20, x0
	ldr	w0, [sp, #4]
	bl	_lookup
	str	x0, [sp, #8]
	cbnz	x0, LBB0_17
; %bb.3:
	mov	x21, x20
	ldrb	w8, [x21], #1
	cmp	w8, #61
	b.eq	LBB0_5
; %bb.4:
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x20
	bl	_expected
LBB0_5:
	ldr	w1, [sp, #4]
	add	x2, sp, #8
	mov	x0, x21
	bl	_tdefdecl
	ldr	x8, [sp, #8]
	ldr	w9, [x8]
	ldr	w10, [sp, #4]
	cmp	w9, w10
	b.ne	LBB0_8
; %bb.6:
	ldr	x8, [x8, #8]
Lloh8:
	adrp	x21, _TYPEDEF@GOTPAGE
Lloh9:
	ldr	x21, [x21, _TYPEDEF@GOTPAGEOFF]
	ldr	x9, [x21]
	cmp	x8, x9
	cset	w0, ne
	bl	_assert
	ldr	x8, [sp, #8]
	ldr	w0, [x8]
	bl	_lookup
	cmp	x0, #0
	cset	w0, eq
	bl	_assert
	ldr	x8, [sp, #8]
	ldr	x0, [x8, #24]
	ldr	w1, [x19, #16]
	bl	_streq
	cbnz	w0, LBB0_15
; %bb.7:
	mov	w0, #32
	bl	_xcalloc
	mov	x20, x0
	ldr	w0, [x19, #16]
	bl	_xstrdup
	str	x0, [x20, #24]
	ldr	x8, [x21]
	b	LBB0_13
LBB0_8:
	cbz	w9, LBB0_10
; %bb.9:
	mov	w0, #32
	bl	_xcalloc
	mov	x20, x0
	ldr	w0, [x19, #16]
	bl	_xstrdup
Lloh10:
	adrp	x8, _TYPEDEF@GOTPAGE
Lloh11:
	ldr	x8, [x8, _TYPEDEF@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	ldr	x9, [sp, #8]
	str	x8, [x20, #8]
	stp	x9, x0, [x20, #16]
	b	LBB0_14
LBB0_10:
	ldr	x8, [x8, #8]
Lloh13:
	adrp	x9, _FORWARD@GOTPAGE
Lloh14:
	ldr	x9, [x9, _FORWARD@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x8, x9
Lloh16:
	adrp	x9, _INTRINSIC@GOTPAGE
Lloh17:
	ldr	x9, [x9, _INTRINSIC@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	ccmp	x8, x9, #4, ne
	cset	w0, eq
	bl	_assert
	ldr	x8, [sp, #8]
	ldr	x0, [x8, #24]
	cbz	x0, LBB0_15
; %bb.11:
	ldr	w1, [x19, #16]
	bl	_streq
	cbnz	w0, LBB0_15
; %bb.12:
	mov	w0, #32
	bl	_xcalloc
	mov	x20, x0
	ldr	w0, [x19, #16]
	bl	_xstrdup
Lloh19:
	adrp	x8, _TYPEDEF@GOTPAGE
Lloh20:
	ldr	x8, [x8, _TYPEDEF@GOTPAGEOFF]
	str	x0, [x20, #24]
Lloh21:
	ldr	x8, [x8]
LBB0_13:
	ldr	x9, [sp, #8]
Lloh22:
	adrp	x10, _faketypenumber@GOTPAGE
Lloh23:
	ldr	x10, [x10, _faketypenumber@GOTPAGEOFF]
	stp	x8, x9, [x20, #8]
	ldr	w8, [x10]
	add	w11, w8, #1
	str	w11, [x10]
	str	w8, [x9]
LBB0_14:
	str	x20, [sp, #8]
LBB0_15:
	ldr	w0, [x19, #16]
	ldr	w1, [sp, #4]
	ldr	x2, [sp, #8]
	bl	_tagadd
	tbnz	x0, #63, LBB0_19
; %bb.16:
	ldr	x0, [sp, #8]
LBB0_17:
Lloh24:
	adrp	x8, _II_TYPE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _II_TYPE@GOTPAGEOFF]
	ldr	w9, [x8]
	str	w9, [x19]
	str	x0, [x19, #8]
	ldr	w0, [x8]
LBB0_18:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_19:
	mov	w0, #-1
	b	LBB0_18
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"parse_type"

l_.str.1:                               ; @.str.1
	.asciz	"t (type)"

l_.str.2:                               ; @.str.2
	.asciz	"= (definition)"

	.comm	_TYPEDEF,8,3                    ; @TYPEDEF
	.comm	_faketypenumber,4,2             ; @faketypenumber
	.comm	_FORWARD,8,3                    ; @FORWARD
	.comm	_INTRINSIC,8,3                  ; @INTRINSIC
	.comm	_II_TYPE,4,2                    ; @II_TYPE
	.no_dead_strip	_parse_type
.subsections_via_symbols
