	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_term                           ## -- Begin function term
	.p2align	4, 0x90
_term:                                  ## @term
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r12d
	movq	%rdi, %r15
	callq	_lookup
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, %r14
	leaq	L_.str(%rip), %rdi
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_yyerror
	jmp	LBB0_3
LBB0_2:
	movq	%r15, %rdi
	callq	_install
	movq	%rax, %r14
LBB0_3:
	movq	_TERM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%r14)
	movl	%r12d, (%r14)
	movl	$-1, 4(%r14)
	movq	_terms@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_9
## %bb.4:
	movl	(%rax), %ecx
	cmpl	%r12d, %ecx
	jge	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rbx
	movq	8(%rax), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	(%rax), %ecx
	cmpl	%r12d, %ecx
	jl	LBB0_7
## %bb.10:
	addq	$8, %rbx
	cmpl	%r12d, %ecx
	je	LBB0_12
	jmp	LBB0_13
LBB0_5:
	movq	_terms@GOTPCREL(%rip), %rbx
	cmpl	%r12d, %ecx
	jne	LBB0_13
LBB0_12:
	movslq	16(%r14), %rsi
	leaq	L_.str.1(%rip), %rdi
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_yyerror
	movq	(%rbx), %rax
	jmp	LBB0_13
LBB0_8:
	addq	$8, %rbx
LBB0_9:
	xorl	%eax, %eax
LBB0_13:
	movq	%rax, 8(%r14)
	movq	%r14, (%rbx)
	movq	%r14, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_terms,8,3                      ## @terms
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"redefinition of terminal `%s'\n"

	.comm	_TERM,4,2                       ## @TERM
L_.str.1:                               ## @.str.1
	.asciz	"duplicate external symbol number `%s=%d'\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_term                           ; -- Begin function term
	.p2align	2
_term:                                  ; @term
	.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	x21, x0
	bl	_lookup
	cbz	x0, LBB0_2
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	bl	_yyerror
	b	LBB0_3
LBB0_2:
	mov	x0, x21
	bl	_install
	mov	x19, x0
LBB0_3:
Lloh2:
	adrp	x8, _TERM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TERM@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x19, #20]
	mov	w8, #-1
	stp	w20, w8, [x19]
Lloh5:
	adrp	x21, _terms@GOTPAGE
Lloh6:
	ldr	x21, [x21, _terms@GOTPAGEOFF]
	ldr	x8, [x21]
	cbz	x8, LBB0_11
; %bb.4:
	ldr	w9, [x8]
	cmp	w9, w20
	b.ge	LBB0_8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x10, x8
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w9, [x8]
	cmp	w9, w20
	b.lt	LBB0_5
; %bb.7:
	add	x21, x10, #8
	cmp	w9, w20
	b.eq	LBB0_9
	b	LBB0_11
LBB0_8:
Lloh7:
	adrp	x21, _terms@GOTPAGE
Lloh8:
	ldr	x21, [x21, _terms@GOTPAGEOFF]
	cmp	w9, w20
	b.ne	LBB0_11
LBB0_9:
	ldrsw	x1, [x19, #16]
	str	x20, [sp]
Lloh9:
	adrp	x0, l_.str.1@PAGE
Lloh10:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_yyerror
	ldr	x8, [x21]
	b	LBB0_11
LBB0_10:
	add	x21, x10, #8
LBB0_11:
	str	x8, [x19, #8]
	str	x19, [x21]
	mov	x0, x19
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_terms,8,3                      ; @terms
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"redefinition of terminal `%s'\n"

	.comm	_TERM,4,2                       ; @TERM
l_.str.1:                               ; @.str.1
	.asciz	"duplicate external symbol number `%s=%d'\n"

.subsections_via_symbols
