	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_array_element_end
_get_array_element_end:                 ## @get_array_element_end
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	48(%rdi), %rax
	movslq	(%rax), %rcx
	movl	(%rdi), %edx
	cmpl	%edx, %ecx
	jg	LBB0_12
## %bb.1:
	movq	%rdi, %rbx
	movq	8(%rdi), %r8
	cmpl	$0, -4(%r8,%rcx,4)
	je	LBB0_12
## %bb.2:
	movq	16(%rbx), %r9
	testq	%r9, %r9
	je	LBB0_12
## %bb.3:
	movq	24(%rbx), %rdi
	movq	-8(%rdi,%rcx,8), %rdi
	cmpq	-8(%r9,%rcx,8), %rdi
	jne	LBB0_12
## %bb.4:
	cmpl	%edx, %ecx
	jge	LBB0_6
## %bb.5:
	movl	$0, (%r8,%rcx,4)
	jmp	LBB0_12
LBB0_6:
	movq	32(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.7:
	testl	%esi, %esi
	je	LBB0_10
## %bb.8:
	cmpq	$0, 56(%rbx)
	je	LBB0_10
## %bb.9:
	xorl	%eax, %eax
	jmp	LBB0_11
LBB0_10:
	movl	8(%rax), %esi
	subl	%edi, %esi
	callq	_cstring_to_text_with_len
LBB0_11:
	movq	%rax, 40(%rbx)
	movq	$0, 32(%rbx)
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_get_array_element_end
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_array_element_end
_get_array_element_end:                 ; @get_array_element_end
	.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
	ldr	x8, [x0, #48]
	ldrsw	x9, [x8]
	ldr	w10, [x0]
	cmp	w9, w10
	b.gt	LBB0_12
; %bb.1:
	mov	x19, x0
	ldr	x11, [x0, #8]
	sub	w13, w9, #1
	ldr	w12, [x11, w13, sxtw #2]
	cbz	w12, LBB0_12
; %bb.2:
	ldr	x12, [x19, #16]
	cbz	x12, LBB0_12
; %bb.3:
	sxtw	x13, w13
	ldr	x14, [x19, #24]
	lsl	x13, x13, #3
	ldr	x14, [x14, x13]
	ldr	x12, [x12, x13]
	cmp	x14, x12
	b.ne	LBB0_12
; %bb.4:
	cmp	w9, w10
	b.ge	LBB0_6
; %bb.5:
	str	wzr, [x11, x9, lsl #2]
	b	LBB0_12
LBB0_6:
	ldr	x0, [x19, #32]
	cbz	x0, LBB0_12
; %bb.7:
	cbz	w1, LBB0_10
; %bb.8:
	ldr	x9, [x19, #56]
	cbz	x9, LBB0_10
; %bb.9:
	mov	x0, #0
	b	LBB0_11
LBB0_10:
	ldr	w8, [x8, #8]
	sub	w1, w8, w0
	bl	_cstring_to_text_with_len
LBB0_11:
	stp	xzr, x0, [x19, #32]
LBB0_12:
	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	_get_array_element_end
.subsections_via_symbols
