	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_generic
_read_generic:                          ## @read_generic
	.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
	movl	$40, %edi
	callq	_expect
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_peek
	movq	%rax, %r14
	xorl	%eax, %eax
	callq	_read_assignment_expr
	movq	%rax, %r15
	movl	$44, %edi
	callq	_expect
	movq	$0, -48(%rbp)
	leaq	-48(%rbp), %rdi
	callq	_read_generic_list
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_vec_len
	testl	%eax, %eax
	jle	LBB0_1
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_vec_get
	movq	(%rax), %rsi
	movq	8(%rax), %r13
	movl	(%r15), %edi
	callq	_type_compatible
	testq	%rax, %rax
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_4 Depth=1
	incl	%ebx
	movq	%r12, %rdi
	callq	_vec_len
	cmpl	%eax, %ebx
	jl	LBB0_4
LBB0_1:
	movq	-48(%rbp), %r13
	testq	%r13, %r13
	jne	LBB0_5
## %bb.2:
	movq	%r15, %rdi
	callq	_node2s
	movl	%eax, %ebx
	movl	(%r15), %edi
	callq	_ty2s
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	movl	%eax, %ecx
	callq	_errort
	movq	-48(%rbp), %r13
LBB0_5:
	movq	%r13, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"no matching generic selection for %s: %s"

	.no_dead_strip	_read_generic
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_generic
_read_generic:                          ; @read_generic
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	w0, #40
	bl	_expect
	bl	_peek
	mov	x19, x0
	bl	_read_assignment_expr
	mov	x20, x0
	mov	w0, #44
	bl	_expect
	str	xzr, [sp, #8]
	add	x0, sp, #8
	bl	_read_generic_list
	mov	x21, x0
	bl	_vec_len
	cmp	w0, #1
	b.lt	LBB0_4
; %bb.1:
	mov	w22, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x22
	bl	_vec_get
	ldp	x1, x23, [x0]
	ldr	w0, [x20]
	bl	_type_compatible
	cbnz	x0, LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w22, w22, #1
	mov	x0, x21
	bl	_vec_len
	cmp	w22, w0
	b.lt	LBB0_2
LBB0_4:
	ldr	x23, [sp, #8]
	cbnz	x23, LBB0_6
; %bb.5:
	mov	x0, x20
	bl	_node2s
	mov	x21, x0
	ldr	w0, [x20]
	bl	_ty2s
	mov	x3, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	bl	_errort
	ldr	x23, [sp, #8]
LBB0_6:
	mov	x0, x23
	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
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"no matching generic selection for %s: %s"

	.no_dead_strip	_read_generic
.subsections_via_symbols
