	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nth_line
_nth_line:                              ## @nth_line
	.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	%rsi, %r14
	movq	%rdi, %rbx
	xorl	%r15d, %r15d
	movl	$0, %edi
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.1:
	xorl	%edi, %edi
	cmpq	%r14, (%rbx)
	setge	%dil
LBB0_2:
	callq	_assert
	movq	16(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	xorl	%r15d, %r15d
	cmpq	$0, (%rax)
	setne	%r15b
LBB0_4:
	movl	%r15d, %edi
	callq	_assert
	movq	16(%rbx), %rax
	movq	(%rax), %rax
	testq	%r14, %r14
	je	LBB0_6
## %bb.5:
	movq	8(%rbx), %rcx
	movslq	(%rcx,%r14,4), %rcx
	addq	%rcx, %rax
	incq	%rax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_nth_line
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nth_line
_nth_line:                              ; @nth_line
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x20]
	cmp	x8, x19
	cset	w0, ge
LBB0_2:
	bl	_assert
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	x8, [x8]
	cmp	x8, #0
	cset	w0, ne
	b	LBB0_5
LBB0_4:
	mov	w0, #0
LBB0_5:
	bl	_assert
	ldr	x8, [x20, #16]
	ldr	x0, [x8]
	cbz	x19, LBB0_7
; %bb.6:
	ldr	x8, [x20, #8]
	ldrsw	x8, [x8, x19, lsl #2]
	add	x8, x0, x8
	add	x0, x8, #1
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_nth_line
.subsections_via_symbols
