	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tbl_print
_tbl_print:                             ## @tbl_print
	.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, %r14d
	movq	%rdi, %r12
	movq	_tb@GOTPCREL(%rip), %r15
	movq	(%r15), %rcx
	xorl	%edi, %edi
	testq	%rcx, %rcx
	je	LBB0_4
## %bb.1:
	movl	(%rcx), %eax
	testl	%eax, %eax
	jle	LBB0_4
## %bb.2:
	cmpl	$0, 4(%rcx)
	jle	LBB0_4
## %bb.3:
	xorl	%edi, %edi
	cmpl	%r14d, %eax
	setg	%dil
LBB0_4:
	callq	_assert
	testq	%r12, %r12
	je	LBB0_5
## %bb.6:
	movq	(%r15), %rax
	movq	16(%rax), %rcx
	movslq	%r14d, %rbx
	movq	(%rcx,%rbx,8), %rcx
	movslq	4(%rax), %rax
	xorl	%edi, %edi
	cmpq	$0, -8(%rcx,%rax,8)
	sete	%dil
	jmp	LBB0_7
LBB0_5:
	movslq	%r14d, %rbx
	xorl	%edi, %edi
LBB0_7:
	callq	_assert
	movq	%r12, %rdi
	callq	_strdup
	movq	(%r15), %rcx
	movq	16(%rcx), %rdx
	movq	(%rdx,%rbx,8), %rdx
	movslq	4(%rcx), %rcx
	movq	%rax, -8(%rdx,%rcx,8)
	testq	%rax, %rax
	jne	LBB0_9
## %bb.8:
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_err
LBB0_9:
	movq	%r12, %rdi
	callq	_strlen
	movq	(%r15), %rcx
	movq	8(%rcx), %rcx
	cmpl	(%rcx,%rbx,4), %eax
	jle	LBB0_11
## %bb.10:
	movl	%eax, (%rcx,%rbx,4)
LBB0_11:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tb,8,3                         ## @tb
	.comm	_EXIT_FAILURE,4,2               ## @EXIT_FAILURE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"strdup"

	.no_dead_strip	_tbl_print
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tbl_print
_tbl_print:                             ; @tbl_print
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x21, _tb@GOTPAGE
Lloh1:
	ldr	x21, [x21, _tb@GOTPAGEOFF]
	ldr	x8, [x21]
	cbz	x8, LBB0_5
; %bb.1:
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_5
; %bb.2:
	ldr	w8, [x8, #4]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.3:
	cmp	w9, w20
	cset	w0, gt
	bl	_assert
	cbnz	x19, LBB0_6
LBB0_4:
	mov	w0, #0
	sxtw	x20, w20
	b	LBB0_7
LBB0_5:
	mov	w0, #0
	bl	_assert
	cbz	x19, LBB0_4
LBB0_6:
	ldr	x8, [x21]
	ldr	x9, [x8, #16]
	mov	x10, x20
	ldr	x9, [x9, w20, sxtw #3]
	sxtw	x20, w10
	ldrsw	x8, [x8, #4]
	add	x8, x9, x8, lsl #3
	ldur	x8, [x8, #-8]
	cmp	x8, #0
	cset	w0, eq
LBB0_7:
	bl	_assert
	mov	x0, x19
	bl	_strdup
	ldr	x8, [x21]
	ldr	x9, [x8, #16]
	ldr	x9, [x9, x20, lsl #3]
	ldrsw	x8, [x8, #4]
	add	x8, x9, x8, lsl #3
	stur	x0, [x8, #-8]
	cbnz	x0, LBB0_9
; %bb.8:
Lloh2:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_err
LBB0_9:
	mov	x0, x19
	bl	_strlen
	ldr	x8, [x21]
	ldr	x8, [x8, #8]
	ldr	w9, [x8, x20, lsl #2]
	cmp	w0, w9
	b.le	LBB0_11
; %bb.10:
	str	w0, [x8, x20, lsl #2]
LBB0_11:
	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
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_tb,8,3                         ; @tb
	.comm	_EXIT_FAILURE,4,2               ; @EXIT_FAILURE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"strdup"

	.no_dead_strip	_tbl_print
.subsections_via_symbols
