	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eqn_def
_eqn_def:                               ## @eqn_def
	.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
	movq	%rdi, %r13
	movq	_MODE_NOSUB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_eqn_next
	movq	_EQN_TOK_EOF@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rax
	jne	LBB0_1
## %bb.16:
	movq	_MANDOCERR_REQ_EMPTY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	16(%r13), %rax
	movl	(%rax), %edx
	movl	4(%rax), %esi
	leaq	L_.str(%rip), %rcx
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mandoc_msg                     ## TAILCALL
LBB0_1:
	movq	%r13, %rdi
	callq	_eqn_def_find
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_12
## %bb.2:
	movq	32(%r13), %r14
	testl	%r14d, %r14d
	jle	LBB0_3
## %bb.6:
	movq	24(%r13), %rax
	movl	%r14d, %ecx
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	incq	%rbx
	addq	$32, %rax
	cmpq	%rbx, %rcx
	jne	LBB0_7
## %bb.9:
	movl	%r14d, %ebx
	jmp	LBB0_10
LBB0_3:
	xorl	%ebx, %ebx
LBB0_4:
	cmpl	%r14d, %ebx
	jne	LBB0_5
LBB0_10:
	leaq	1(%r14), %rsi
	movq	%rsi, 32(%r13)
	movq	24(%r13), %rdi
	movl	$32, %edx
	callq	_mandoc_reallocarray
	movq	%rax, %r15
	movq	%rax, 24(%r13)
	movl	%r14d, %eax
	shlq	$5, %rax
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%r15,%rax)
	jmp	LBB0_11
LBB0_5:
	movq	24(%r13), %r15
LBB0_11:
	movl	%ebx, %ebx
	shlq	$5, %rbx
	leaq	(%r15,%rbx), %r14
	movq	24(%r15,%rbx), %rdi
	callq	_free
	movl	8(%r13), %edi
	movq	(%r13), %rsi
	callq	_mandoc_strndup
	movq	%rax, 24(%r15,%rbx)
	movq	(%r13), %rax
	movq	%rax, (%r15,%rbx)
LBB0_12:
	movq	_MODE_QUOTED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_eqn_next
	cmpq	(%r12), %rax
	jne	LBB0_14
## %bb.13:
	movq	_MANDOCERR_REQ_EMPTY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	16(%r13), %rax
	movl	(%rax), %edx
	movl	4(%rax), %esi
	movq	24(%r14), %r8
	leaq	L_.str.1(%rip), %rcx
	xorl	%eax, %eax
	callq	_mandoc_msg
	movq	24(%r14), %rdi
	callq	_free
	movq	16(%r14), %rdi
	callq	_free
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%r14)
	movups	%xmm0, 16(%r14)
	jmp	LBB0_15
LBB0_14:
	movq	16(%r14), %rdi
	callq	_free
	movl	8(%r13), %edi
	movq	(%r13), %rsi
	callq	_mandoc_strndup
	movq	%rax, 16(%r14)
	movq	(%r13), %rax
	movq	%rax, 8(%r14)
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MODE_NOSUB,4,2                 ## @MODE_NOSUB
	.comm	_EQN_TOK_EOF,8,3                ## @EQN_TOK_EOF
	.comm	_MANDOCERR_REQ_EMPTY,4,2        ## @MANDOCERR_REQ_EMPTY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"define"

	.comm	_MODE_QUOTED,4,2                ## @MODE_QUOTED
L_.str.1:                               ## @.str.1
	.asciz	"define %s"

	.no_dead_strip	_eqn_def
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eqn_def
_eqn_def:                               ; @eqn_def
	.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	x19, x0
Lloh0:
	adrp	x8, _MODE_NOSUB@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MODE_NOSUB@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_eqn_next
Lloh3:
	adrp	x21, _EQN_TOK_EOF@GOTPAGE
Lloh4:
	ldr	x21, [x21, _EQN_TOK_EOF@GOTPAGEOFF]
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
Lloh5:
	adrp	x8, _MANDOCERR_REQ_EMPTY@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MANDOCERR_REQ_EMPTY@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	ldr	x8, [x19, #16]
	ldp	w2, w1, [x8]
Lloh8:
	adrp	x3, l_.str@PAGE
Lloh9:
	add	x3, x3, l_.str@PAGEOFF
	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
	b	_mandoc_msg
LBB0_2:
	mov	x0, x19
	bl	_eqn_def_find
	mov	x20, x0
	cbnz	x0, LBB0_13
; %bb.3:
	ldr	x22, [x19, #32]
	cmp	w22, #1
	b.lt	LBB0_8
; %bb.4:
	mov	x20, #0
	ldr	x8, [x19, #24]
	and	x9, x22, #0xffffffff
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x8]
	cbz	x10, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x20, x20, #1
	add	x8, x8, #32
	cmp	x9, x20
	b.ne	LBB0_5
; %bb.7:
	mov	x20, x22
	b	LBB0_10
LBB0_8:
	mov	w20, #0
LBB0_9:
	cmp	w20, w22
	b.ne	LBB0_11
LBB0_10:
	add	x1, x22, #1
	str	x1, [x19, #32]
	ldr	x0, [x19, #24]
	mov	w2, #32
	bl	_mandoc_reallocarray
	str	x0, [x19, #24]
	and	x8, x22, #0xffffffff
	add	x8, x0, x8, lsl #5
	stp	xzr, xzr, [x8, #16]
	b	LBB0_12
LBB0_11:
	ldr	x0, [x19, #24]
LBB0_12:
	mov	w8, w20
	add	x20, x0, x8, lsl #5
	ldr	x0, [x20, #24]
	bl	_free
	ldr	w0, [x19, #8]
	ldr	x1, [x19]
	bl	_mandoc_strndup
	str	x0, [x20, #24]
	ldr	x8, [x19]
	str	x8, [x20]
LBB0_13:
Lloh10:
	adrp	x8, _MODE_QUOTED@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MODE_QUOTED@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_eqn_next
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_15
; %bb.14:
Lloh13:
	adrp	x8, _MANDOCERR_REQ_EMPTY@GOTPAGE
Lloh14:
	ldr	x8, [x8, _MANDOCERR_REQ_EMPTY@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	ldr	x8, [x19, #16]
	ldp	w2, w1, [x8]
	ldr	x8, [x20, #24]
	str	x8, [sp]
Lloh16:
	adrp	x3, l_.str.1@PAGE
Lloh17:
	add	x3, x3, l_.str.1@PAGEOFF
	bl	_mandoc_msg
	ldr	x0, [x20, #24]
	bl	_free
	ldr	x0, [x20, #16]
	bl	_free
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x20]
	b	LBB0_16
LBB0_15:
	ldr	x0, [x20, #16]
	bl	_free
	ldr	w0, [x19, #8]
	ldr	x1, [x19]
	bl	_mandoc_strndup
	ldr	x8, [x19]
	stp	x8, x0, [x20, #8]
LBB0_16:
	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 AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_MODE_NOSUB,4,2                 ; @MODE_NOSUB
	.comm	_EQN_TOK_EOF,8,3                ; @EQN_TOK_EOF
	.comm	_MANDOCERR_REQ_EMPTY,4,2        ; @MANDOCERR_REQ_EMPTY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"define"

	.comm	_MODE_QUOTED,4,2                ; @MODE_QUOTED
l_.str.1:                               ; @.str.1
	.asciz	"define %s"

	.no_dead_strip	_eqn_def
.subsections_via_symbols
