	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_top
_parse_top:                             ## @parse_top
	.cfi_startproc
## %bb.0:
	cmpl	$40, %edi
	jne	LBB0_1
## %bb.11:
	movl	$40, %edi
	jmp	_parse                          ## TAILCALL
LBB0_1:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_TOK_TYPEDEF@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jne	LBB0_5
## %bb.2:
	xorl	%eax, %eax
	callq	_gettoken
	movq	_TOK_STR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rdi
	callq	_report
LBB0_4:
	movq	_str@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_make_type
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_gettoken
	movl	%eax, -12(%rbp)
	movq	_TOK_ENUM@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpl	%eax, (%rcx)
	sete	%dl
	movl	%edx, (%rbx)
	movl	-12(%rbp), %eax
	movq	_TOK_BITS@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpl	(%rcx), %eax
	sete	%dl
	movl	%edx, 4(%rbx)
	leaq	-12(%rbp), %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_parse_type
	movl	%eax, 8(%rbx)
	movl	-12(%rbp), %edi
	callq	_pushback
	jmp	LBB0_10
LBB0_5:
	movq	_TOK_INCLUDE@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jne	LBB0_9
## %bb.6:
	xorl	%eax, %eax
	callq	_gettoken
	movq	_TOK_FILENAME@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_8
## %bb.7:
	leaq	L_.str.1(%rip), %rdi
	callq	_report
LBB0_8:
	movq	_str@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_val@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_input_fopen
	jmp	LBB0_10
LBB0_9:
	leaq	L_.str.2(%rip), %rdi
	callq	_report
LBB0_10:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TOK_TYPEDEF,4,2                ## @TOK_TYPEDEF
	.comm	_TOK_STR,8,3                    ## @TOK_STR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"type name expected after typedef"

	.comm	_str,4,2                        ## @str
	.comm	_TOK_ENUM,4,2                   ## @TOK_ENUM
	.comm	_TOK_BITS,4,2                   ## @TOK_BITS
	.comm	_TOK_INCLUDE,4,2                ## @TOK_INCLUDE
	.comm	_TOK_FILENAME,8,3               ## @TOK_FILENAME
L_.str.1:                               ## @.str.1
	.asciz	"filename expected in include directive"

	.comm	_val,4,2                        ## @val
L_.str.2:                               ## @.str.2
	.asciz	"'(' or 'typedef' expected"

	.no_dead_strip	_parse_top
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_top
_parse_top:                             ; @parse_top
	.cfi_startproc
; %bb.0:
	cmp	w0, #40
	b.ne	LBB0_2
; %bb.1:
	b	_parse
LBB0_2:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _TOK_TYPEDEF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TOK_TYPEDEF@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w0
	b.ne	LBB0_6
; %bb.3:
	bl	_gettoken
Lloh3:
	adrp	x8, _TOK_STR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TOK_STR@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_5
; %bb.4:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_report
LBB0_5:
Lloh8:
	adrp	x8, _str@GOTPAGE
Lloh9:
	ldr	x8, [x8, _str@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_make_type
	mov	x19, x0
	bl	_gettoken
Lloh11:
	adrp	x8, _TOK_ENUM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TOK_ENUM@GOTPAGEOFF]
	str	w0, [sp, #12]
Lloh13:
	ldr	w8, [x8]
	cmp	w8, w0
	cset	w8, eq
	str	w8, [x19]
	ldr	w8, [sp, #12]
Lloh14:
	adrp	x9, _TOK_BITS@GOTPAGE
Lloh15:
	ldr	x9, [x9, _TOK_BITS@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	cmp	w8, w9
	cset	w8, eq
	str	w8, [x19, #4]
	add	x0, sp, #12
	mov	x1, x19
	mov	x2, #0
	mov	x3, #0
	bl	_parse_type
	str	w0, [x19, #8]
	ldr	w0, [sp, #12]
	bl	_pushback
	b	LBB0_11
LBB0_6:
Lloh17:
	adrp	x8, _TOK_INCLUDE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _TOK_INCLUDE@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	cmp	w8, w0
	b.ne	LBB0_10
; %bb.7:
	bl	_gettoken
Lloh20:
	adrp	x8, _TOK_FILENAME@GOTPAGE
Lloh21:
	ldr	x8, [x8, _TOK_FILENAME@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_9
; %bb.8:
Lloh23:
	adrp	x0, l_.str.1@PAGE
Lloh24:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_report
LBB0_9:
Lloh25:
	adrp	x8, _str@GOTPAGE
Lloh26:
	ldr	x8, [x8, _str@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
Lloh28:
	adrp	x8, _val@GOTPAGE
Lloh29:
	ldr	x8, [x8, _val@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
	bl	_input_fopen
	b	LBB0_11
LBB0_10:
Lloh31:
	adrp	x0, l_.str.2@PAGE
Lloh32:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_report
LBB0_11:
	mov	x0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_TOK_TYPEDEF,4,2                ; @TOK_TYPEDEF
	.comm	_TOK_STR,8,3                    ; @TOK_STR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"type name expected after typedef"

	.comm	_str,4,2                        ; @str
	.comm	_TOK_ENUM,4,2                   ; @TOK_ENUM
	.comm	_TOK_BITS,4,2                   ; @TOK_BITS
	.comm	_TOK_INCLUDE,4,2                ; @TOK_INCLUDE
	.comm	_TOK_FILENAME,8,3               ; @TOK_FILENAME
l_.str.1:                               ; @.str.1
	.asciz	"filename expected in include directive"

	.comm	_val,4,2                        ; @val
l_.str.2:                               ; @.str.2
	.asciz	"'(' or 'typedef' expected"

	.no_dead_strip	_parse_top
.subsections_via_symbols
