	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_func_param
_read_func_param:                       ## @read_func_param
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r14
	movl	$0, -36(%rbp)
	movq	_type_int@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	xorl	%eax, %eax
	callq	_peek
	movl	%eax, %edi
	callq	_is_type
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	-36(%rbp), %rdi
	callq	_read_decl_spec
	movq	%rax, %rbx
	jmp	LBB0_4
LBB0_2:
	testl	%r15d, %r15d
	je	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	callq	_peek
	movl	%eax, %r12d
	xorl	%eax, %eax
	callq	_peek
	movl	%eax, %edi
	callq	_tok2s
	leaq	L_.str(%rip), %rsi
	movl	%r12d, %edi
	movl	%eax, %edx
	callq	_errort
LBB0_4:
	testl	%r15d, %r15d
	jne	LBB0_5
## %bb.6:
	movq	_DECL_PARAM@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movq	_DECL_PARAM_TYPEONLY@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_read_declarator
	movq	(%rax), %rcx
	movq	_KIND_ARRAY@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_9
## %bb.8:
	movq	8(%rax), %rdi
	jmp	LBB0_11
LBB0_9:
	movq	_KIND_FUNC@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_12
## %bb.10:
	movq	%rax, %rdi
LBB0_11:
	callq	_make_ptr_type
LBB0_12:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_type_int,8,3                   ## @type_int
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"type expected, but got %s"

	.comm	_DECL_PARAM_TYPEONLY,4,2        ## @DECL_PARAM_TYPEONLY
	.comm	_DECL_PARAM,4,2                 ## @DECL_PARAM
	.comm	_KIND_ARRAY,8,3                 ## @KIND_ARRAY
	.comm	_KIND_FUNC,8,3                  ## @KIND_FUNC
	.no_dead_strip	_read_func_param
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_func_param
_read_func_param:                       ; @read_func_param
	.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	x20, x1
	mov	x19, x0
	str	wzr, [sp, #12]
Lloh0:
	adrp	x8, _type_int@GOTPAGE
Lloh1:
	ldr	x8, [x8, _type_int@GOTPAGEOFF]
Lloh2:
	ldr	x21, [x8]
	bl	_peek
	bl	_is_type
	cbz	x0, LBB0_2
; %bb.1:
	add	x0, sp, #12
	bl	_read_decl_spec
	mov	x21, x0
	b	LBB0_4
LBB0_2:
	cbz	w20, LBB0_4
; %bb.3:
	bl	_peek
	mov	x22, x0
	bl	_peek
	bl	_tok2s
	mov	x2, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	bl	_errort
LBB0_4:
Lloh5:
	adrp	x8, _DECL_PARAM_TYPEONLY@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DECL_PARAM_TYPEONLY@GOTPAGEOFF]
Lloh7:
	adrp	x9, _DECL_PARAM@GOTPAGE
Lloh8:
	ldr	x9, [x9, _DECL_PARAM@GOTPAGEOFF]
	cmp	w20, #0
	csel	x8, x9, x8, eq
	ldr	w3, [x8]
	mov	x0, x19
	mov	x1, x21
	mov	x2, #0
	bl	_read_declarator
	ldr	x8, [x0]
Lloh9:
	adrp	x9, _KIND_ARRAY@GOTPAGE
Lloh10:
	ldr	x9, [x9, _KIND_ARRAY@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.5:
	ldr	x0, [x0, #8]
	b	LBB0_7
LBB0_6:
Lloh12:
	adrp	x9, _KIND_FUNC@GOTPAGE
Lloh13:
	ldr	x9, [x9, _KIND_FUNC@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
LBB0_7:
	bl	_make_ptr_type
LBB0_8:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_type_int,8,3                   ; @type_int
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"type expected, but got %s"

	.comm	_DECL_PARAM_TYPEONLY,4,2        ; @DECL_PARAM_TYPEONLY
	.comm	_DECL_PARAM,4,2                 ; @DECL_PARAM
	.comm	_KIND_ARRAY,8,3                 ; @KIND_ARRAY
	.comm	_KIND_FUNC,8,3                  ; @KIND_FUNC
	.no_dead_strip	_read_func_param
.subsections_via_symbols
