	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function memsize
_memsize:                               ## @memsize
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %r9d
	testl	%r9d, %r9d
	jle	LBB0_1
## %bb.2:
	movq	8(%rdi), %r8
	cmpl	$1, %r9d
	jne	LBB0_4
## %bb.3:
	xorl	%edi, %edi
	xorl	%eax, %eax
LBB0_10:
	testb	$1, %r9b
	je	LBB0_13
## %bb.11:
	shlq	$4, %rdi
	cmpl	%esi, (%r8,%rdi)
	jne	LBB0_13
## %bb.12:
	addq	8(%r8,%rdi), %rax
LBB0_13:
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_4:
	movl	%r9d, %edx
	andl	$-2, %edx
	leaq	24(%r8), %rcx
	xorl	%edi, %edi
	xorl	%eax, %eax
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	addq	$2, %rdi
	addq	$32, %rcx
	cmpq	%rdi, %rdx
	je	LBB0_10
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%esi, -24(%rcx)
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	addq	-16(%rcx), %rax
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	cmpl	%esi, -8(%rcx)
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	addq	(%rcx), %rax
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_memsize
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function memsize
_memsize:                               ; @memsize
	.cfi_startproc
; %bb.0:
	ldr	w9, [x0]
	cmp	w9, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x8, x0
	mov	x0, #0
	ldr	x8, [x8, #8]
	add	x8, x8, #8
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x8, #16
	subs	x9, x9, #1
	b.eq	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w10, [x8, #-8]
	cmp	w10, w1
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x10, [x8]
	add	x0, x10, x0
	b	LBB0_2
LBB0_5:
	ret
LBB0_6:
	mov	x0, #0
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_memsize
.subsections_via_symbols
