	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_term_tab_next                  ## -- Begin function term_tab_next
	.p2align	4, 0x90
_term_tab_next:                         ## @term_tab_next
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	xorl	%ebx, %ebx
	movq	_tabs@GOTPCREL(%rip), %r15
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	16(%r15), %rax
	movq	(%rax,%rbx,8), %rax
	incq	%rbx
	cmpq	%r14, %rax
	ja	LBB0_12
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	cmpq	(%r15), %rbx
	jne	LBB0_11
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	24(%r15), %rsi
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	addq	%rbx, %rsi
	movq	%rsi, (%r15)
	cmpq	%rsi, 8(%r15)
	jae	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rsi, 8(%r15)
	movq	16(%r15), %rdi
	movl	$8, %edx
	callq	_mandoc_reallocarray
	movq	%rax, 16(%r15)
	cmpq	$0, 24(%r15)
	je	LBB0_11
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	16(%r15), %rax
	movq	32(%r15), %rcx
	leaq	(%rax,%rbx,8), %rdx
	xorl	%esi, %esi
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=2
	movq	-8(%rax,%rbx,8), %rdi
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=2
	addq	(%rcx,%rsi,8), %rdi
	movq	%rdi, (%rdx,%rsi,8)
	incq	%rsi
	cmpq	24(%r15), %rsi
	jae	LBB0_11
LBB0_7:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	testq	%rbx, %rbx
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=2
	xorl	%edi, %edi
	jmp	LBB0_10
LBB0_3:
	movq	%r14, %rax
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tabs,40,3                      ## @tabs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_term_tab_next                  ; -- Begin function term_tab_next
	.p2align	2
_term_tab_next:                         ; @term_tab_next
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, #0
Lloh0:
	adrp	x21, _tabs@GOTPAGE
Lloh1:
	ldr	x21, [x21, _tabs@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x21, #16]
	ldr	x8, [x8, x20, lsl #3]
	add	x20, x20, #1
	cmp	x8, x19
	b.hi	LBB0_11
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	ldr	x8, [x21]
	cmp	x20, x8
	b.ne	LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x21, #24]
	cbz	x8, LBB0_12
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x9, [x21, #8]
	add	x1, x8, x20
	cmp	x9, x1
	str	x1, [x21]
	b.hs	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	str	x1, [x21, #8]
	ldr	x0, [x21, #16]
	mov	w2, #8
	bl	_mandoc_reallocarray
	str	x0, [x21, #16]
	ldr	x8, [x21, #24]
	cbz	x8, LBB0_1
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x8, #0
	ldr	x9, [x21, #32]
	ldr	x10, [x21, #16]
	sub	x11, x20, #1
	add	x12, x10, x20, lsl #3
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=2
	ldr	x13, [x10, x11, lsl #3]
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=2
	ldr	x14, [x9, x8, lsl #3]
	add	x13, x13, x14
	str	x13, [x12, x8, lsl #3]
	add	x8, x8, #1
	ldr	x13, [x21, #24]
	cmp	x8, x13
	b.hs	LBB0_1
LBB0_9:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cbnz	x20, LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	mov	x13, #0
	b	LBB0_8
LBB0_11:
	mov	x19, x8
LBB0_12:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_tabs,40,3                      ; @tabs
.subsections_via_symbols
