	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_frame
_add_frame:                             ## @add_frame
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	$-1, %eax
	testl	%esi, %esi
	jle	LBB0_5
## %bb.1:
	movl	%esi, %ecx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%rdi,%rsi,8)
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rsi
	cmpq	%rsi, %rcx
	jne	LBB0_2
LBB0_5:
	popq	%rbp
	retq
LBB0_3:
	movq	%rdx, (%rdi,%rsi,8)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_add_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_frame
_add_frame:                             ; @add_frame
	.cfi_startproc
; %bb.0:
	cmp	w1, #1
	b.lt	LBB0_4
; %bb.1:
	mov	w8, w1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x0]
	cbz	x9, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x0, x0, #8
	subs	x8, x8, #1
	b.ne	LBB0_2
LBB0_4:
	mov	w0, #-1
	ret
LBB0_5:
	str	x2, [x0]
	mov	w0, #0
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_add_frame
.subsections_via_symbols
