	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tbl_layout                     ## -- Begin function tbl_layout
	.p2align	4, 0x90
_tbl_layout:                            ## @tbl_layout
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r13
	movl	%esi, %r14d
	movq	%rdi, %r15
	movl	%ecx, -44(%rbp)
	leaq	8(%rdi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	leaq	-44(%rbp), %r12
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_29:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	%ecx, -44(%rbp)
	xorl	%ebx, %ebx
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_2 Depth 2
	movslq	%ecx, %rax
	leal	1(%rax), %ecx
	addq	%r13, %rax
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=2
	movl	%ecx, -44(%rbp)
	incl	%ecx
	incq	%rax
LBB0_2:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsbl	(%rax), %edx
	cmpl	$32, %edx
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=2
	cmpb	$9, %dl
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$44, %edx
	je	LBB0_29
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	testl	%edx, %edx
	je	LBB0_21
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$46, %edx
	je	LBB0_8
## %bb.24:                              ##   in Loop: Header=BB0_1 Depth=1
	testq	%rbx, %rbx
	jne	LBB0_28
## %bb.25:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r15), %rbx
	testq	%rbx, %rbx
	je	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, 8(%rbx)
	je	LBB0_28
LBB0_27:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	$1, %edi
	movl	$32, %esi
	callq	_mandoc_calloc
	movq	%rax, %rbx
	movq	(%r15), %rax
	testq	%rax, %rax
	cmoveq	-56(%rbp), %rax                 ## 8-byte Folded Reload
	movq	%rbx, (%rax)
	movq	%rbx, (%r15)
LBB0_28:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	movq	%r13, %rcx
	movq	%r12, %r8
	callq	_cell
	movl	-44(%rbp), %ecx
	jmp	LBB0_1
LBB0_8:
	movl	%ecx, -44(%rbp)
	movq	_TBL_PART_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%r15)
	movq	8(%r15), %rax
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	cmpq	$0, 8(%rax)
	je	LBB0_22
LBB0_11:
	movl	24(%r15), %ecx
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rbx
	movl	24(%rax), %eax
	cmpl	%eax, %ecx
	jge	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movl	%eax, 24(%r15)
	movl	%eax, %ecx
LBB0_14:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	16(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_18
## %bb.15:                              ##   in Loop: Header=BB0_12 Depth=1
	movl	4(%rax), %edx
	incl	%edx
	cmpl	20(%r15), %edx
	jne	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_12 Depth=1
	movl	(%rax), %eax
	cmpl	%eax, 16(%r15)
	jge	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_12 Depth=1
	movl	%eax, 16(%r15)
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_21
## %bb.19:                              ##   in Loop: Header=BB0_12 Depth=1
	cmpq	$0, 8(%rax)
	jne	LBB0_12
## %bb.20:
	movq	%rax, %rdi
	callq	_free
	movq	$0, (%rbx)
	movq	%rbx, (%r15)
	jmp	LBB0_21
LBB0_9:
	movl	$1, %edi
	movl	$32, %esi
	callq	_mandoc_calloc
	movq	%rax, (%r15)
	movq	%rax, 8(%r15)
	cmpq	$0, 8(%rax)
	jne	LBB0_11
LBB0_22:
	movq	_MANDOCERR_TBLLAYOUT_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	-44(%rbp), %edx
	movl	%r14d, %esi
	xorl	%ecx, %ecx
	callq	_mandoc_msg
	movq	8(%r15), %rsi
	movq	_TBL_CELL_LEFT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_cell_alloc
	movq	8(%r15), %rax
	movl	24(%rax), %eax
	cmpl	%eax, 24(%r15)
	jge	LBB0_21
## %bb.23:
	movl	%eax, 24(%r15)
LBB0_21:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TBL_PART_DATA,4,2              ## @TBL_PART_DATA
	.comm	_MANDOCERR_TBLLAYOUT_NONE,4,2   ## @MANDOCERR_TBLLAYOUT_NONE
	.comm	_TBL_CELL_LEFT,4,2              ## @TBL_CELL_LEFT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tbl_layout                     ; -- Begin function tbl_layout
	.p2align	2
_tbl_layout:                            ; @tbl_layout
	.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
                                        ; kill: def $w3 killed $w3 def $x3
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	mov	x22, #0
	str	w3, [sp, #12]
	add	x23, x0, #8
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x22, #0
	str	w3, [sp, #12]
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_3 Depth 2
	sxtw	x8, w3
LBB0_3:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	w3, w3, #1
	ldrb	w9, [x21, x8]
	cmp	w9, #32
	ccmp	w9, #9, #4, ne
	b.ne	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=2
	add	x8, x8, #1
	str	w3, [sp, #12]
	b	LBB0_3
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	sxtb	w8, w9
	cmp	w8, #44
	b.eq	LBB0_1
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	cbz	w8, LBB0_28
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w8, #46
	b.eq	LBB0_13
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	cbnz	x22, LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x22, [x19]
	cbz	x22, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x22, #8]
	cbz	x8, LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w0, #1
	mov	w1, #32
	bl	_mandoc_calloc
	mov	x22, x0
	ldr	x8, [x19]
	cmp	x8, #0
	csel	x8, x23, x8, eq
	str	x0, [x8]
	str	x0, [x19]
LBB0_12:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x4, sp, #12
	mov	x0, x19
	mov	x1, x22
	mov	x2, x20
	mov	x3, x21
	bl	_cell
	ldr	w3, [sp, #12]
	b	LBB0_2
LBB0_13:
	str	w3, [sp, #12]
Lloh0:
	adrp	x8, _TBL_PART_DATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TBL_PART_DATA@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #28]
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_25
; %bb.14:
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_26
LBB0_15:
	ldr	w8, [x19, #24]
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	mov	x20, x0
	ldr	w9, [x0, #24]
	cmp	w8, w9
	b.ge	LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	str	w9, [x19, #24]
	mov	x8, x9
LBB0_18:                                ;   in Loop: Header=BB0_16 Depth=1
	ldr	x9, [x20, #16]
	cbz	x9, LBB0_22
; %bb.19:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	w10, [x9, #4]
	add	w10, w10, #1
	ldr	w11, [x19, #20]
	cmp	w10, w11
	b.ne	LBB0_22
; %bb.20:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	w10, [x19, #16]
	ldr	w9, [x9]
	cmp	w10, w9
	b.ge	LBB0_22
; %bb.21:                               ;   in Loop: Header=BB0_16 Depth=1
	str	w9, [x19, #16]
LBB0_22:                                ;   in Loop: Header=BB0_16 Depth=1
	ldr	x0, [x20]
	cbz	x0, LBB0_28
; %bb.23:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	x9, [x0, #8]
	cbnz	x9, LBB0_16
; %bb.24:
	bl	_free
	str	xzr, [x20]
	str	x20, [x19]
	b	LBB0_28
LBB0_25:
	mov	w0, #1
	mov	w1, #32
	bl	_mandoc_calloc
	stp	x0, x0, [x19]
	ldr	x8, [x0, #8]
	cbnz	x8, LBB0_15
LBB0_26:
Lloh3:
	adrp	x8, _MANDOCERR_TBLLAYOUT_NONE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MANDOCERR_TBLLAYOUT_NONE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldr	w2, [sp, #12]
	mov	x1, x20
	mov	x3, #0
	bl	_mandoc_msg
	ldr	x1, [x19, #8]
Lloh6:
	adrp	x8, _TBL_CELL_LEFT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TBL_CELL_LEFT@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_cell_alloc
	ldr	w9, [x19, #24]
	ldr	x8, [x19, #8]
	ldr	w8, [x8, #24]
	cmp	w9, w8
	b.ge	LBB0_28
; %bb.27:
	str	w8, [x19, #24]
LBB0_28:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_TBL_PART_DATA,4,2              ; @TBL_PART_DATA
	.comm	_MANDOCERR_TBLLAYOUT_NONE,4,2   ; @MANDOCERR_TBLLAYOUT_NONE
	.comm	_TBL_CELL_LEFT,4,2              ; @TBL_CELL_LEFT
.subsections_via_symbols
