	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_decl
_read_decl:                             ## @read_decl
	.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
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movl	$0, -44(%rbp)
	leaq	-44(%rbp), %rdi
	callq	_read_decl_spec_opt
	movq	%rax, %r12
	movl	$59, %edi
	callq	_next_token
	testq	%rax, %rax
	je	LBB0_1
LBB0_19:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	testl	%r15d, %r15d
	je	LBB0_2
## %bb.3:
	movq	_ast_gvar@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_2:
	movq	_ast_lvar@GOTPCREL(%rip), %rax
LBB0_4:
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	$0, -56(%rbp)
	movq	%r12, %rdi
	callq	_copy_incomplete_type
	movq	_DECL_BODY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leaq	-56(%rbp), %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_read_declarator
	movq	%rax, %r13
	movl	-44(%rbp), %r14d
	movq	_S_STATIC@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%eax, %eax
	cmpl	%ebx, %r14d
	sete	%al
	movl	%eax, (%r13)
	movl	-44(%rbp), %eax
	movq	_S_TYPEDEF@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	-56(%rbp), %rsi
	movq	%r13, %rdi
	callq	_ast_typedef
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	%r13, %rdi
	callq	_ensure_not_void
	movq	-56(%rbp), %rsi
	testl	%r15d, %r15d
	jne	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpl	%ebx, %r14d
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%r13, %rdi
	callq	_read_static_local_var
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%r13, %rdi
	callq	*-72(%rbp)                      ## 8-byte Folded Reload
	movq	%rax, %r14
	movl	$61, %edi
	callq	_next_token
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%r13, %rdi
	callq	_read_decl_init
	movq	%r14, %rdi
	movq	%rax, %rsi
LBB0_15:                                ##   in Loop: Header=BB0_5 Depth=1
	callq	_ast_decl
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	callq	_vec_push
	jmp	LBB0_16
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	-44(%rbp), %eax
	movq	_S_EXTERN@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_16
## %bb.13:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%r13), %rax
	movq	_KIND_FUNC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_14
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	$59, %edi
	callq	_next_token
	testq	%rax, %rax
	jne	LBB0_19
## %bb.17:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	$44, %edi
	callq	_next_token
	testq	%rax, %rax
	jne	LBB0_5
## %bb.18:                              ##   in Loop: Header=BB0_5 Depth=1
	xorl	%eax, %eax
	callq	_peek
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_peek
	movl	%eax, %edi
	callq	_tok2s
	movl	%ebx, %edi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	callq	_errort
	jmp	LBB0_5
LBB0_14:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%r14, %rdi
	xorl	%esi, %esi
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_DECL_BODY,4,2                  ## @DECL_BODY
	.comm	_S_STATIC,4,2                   ## @S_STATIC
	.comm	_S_TYPEDEF,4,2                  ## @S_TYPEDEF
	.comm	_S_EXTERN,4,2                   ## @S_EXTERN
	.comm	_KIND_FUNC,8,3                  ## @KIND_FUNC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"';' or ',' are expected, but got %s"

	.no_dead_strip	_read_decl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_decl
_read_decl:                             ; @read_decl
	.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
	mov	x19, x1
	mov	x20, x0
	str	wzr, [sp, #12]
	add	x0, sp, #12
	bl	_read_decl_spec_opt
	mov	x21, x0
	mov	w0, #59
	bl	_next_token
	cbz	x0, LBB0_2
LBB0_1:
	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
LBB0_2:
Lloh0:
	adrp	x8, _ast_lvar@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ast_lvar@GOTPAGEOFF]
Lloh2:
	adrp	x9, _ast_gvar@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ast_gvar@GOTPAGEOFF]
	cmp	w19, #0
	csel	x25, x9, x8, ne
Lloh4:
	adrp	x26, _DECL_BODY@GOTPAGE
Lloh5:
	ldr	x26, [x26, _DECL_BODY@GOTPAGEOFF]
Lloh6:
	adrp	x27, _S_STATIC@GOTPAGE
Lloh7:
	ldr	x27, [x27, _S_STATIC@GOTPAGEOFF]
Lloh8:
	adrp	x28, _S_TYPEDEF@GOTPAGE
Lloh9:
	ldr	x28, [x28, _S_TYPEDEF@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	str	xzr, [sp]
	mov	x0, x21
	bl	_copy_incomplete_type
	mov	x1, x0
	ldr	w3, [x26]
	mov	x0, sp
	mov	x2, #0
	bl	_read_declarator
	mov	x23, x0
	ldr	w24, [sp, #12]
	ldr	w22, [x27]
	cmp	w24, w22
	cset	w8, eq
	str	w8, [x0]
	ldr	w8, [sp, #12]
	ldr	w9, [x28]
	cmp	w8, w9
	b.ne	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x1, [sp]
	mov	x0, x23
	bl	_ast_typedef
	b	LBB0_11
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x23
	bl	_ensure_not_void
	ldr	x1, [sp]
	cbnz	w19, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w24, w22
	b.ne	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x23
	bl	_read_static_local_var
	b	LBB0_11
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x23
	blr	x25
	mov	x24, x0
	mov	w0, #61
	bl	_next_token
	cbz	x0, LBB0_14
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x23
	bl	_read_decl_init
	mov	x1, x0
	mov	x0, x24
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_ast_decl
	mov	x1, x0
	mov	x0, x20
	bl	_vec_push
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w0, #59
	bl	_next_token
	cbnz	x0, LBB0_1
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	w0, #44
	bl	_next_token
	cbnz	x0, LBB0_3
; %bb.13:                               ;   in Loop: Header=BB0_3 Depth=1
	bl	_peek
	mov	x23, x0
	bl	_peek
	bl	_tok2s
	mov	x2, x0
	mov	x0, x23
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	bl	_errort
	b	LBB0_3
LBB0_14:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [sp, #12]
Lloh12:
	adrp	x9, _S_EXTERN@GOTPAGE
Lloh13:
	ldr	x9, [x9, _S_EXTERN@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_11
; %bb.15:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x23, #8]
Lloh15:
	adrp	x9, _KIND_FUNC@GOTPAGE
Lloh16:
	ldr	x9, [x9, _KIND_FUNC@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_11
; %bb.16:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x24
	mov	x1, #0
	b	LBB0_10
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_DECL_BODY,4,2                  ; @DECL_BODY
	.comm	_S_STATIC,4,2                   ; @S_STATIC
	.comm	_S_TYPEDEF,4,2                  ; @S_TYPEDEF
	.comm	_S_EXTERN,4,2                   ; @S_EXTERN
	.comm	_KIND_FUNC,8,3                  ; @KIND_FUNC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"';' or ',' are expected, but got %s"

	.no_dead_strip	_read_decl
.subsections_via_symbols
