	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sl_add                         ## -- Begin function sl_add
	.p2align	4, 0x90
_sl_add:                                ## @sl_add
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	(%rdi), %ecx
	movl	4(%rdi), %esi
	leal	-1(%rsi), %eax
	cmpl	%eax, %ecx
	jne	LBB0_1
## %bb.2:
	movq	__SL_CHUNKSIZE@GOTPCREL(%rip), %rax
	addl	(%rax), %esi
	movl	%esi, 4(%rbx)
	movq	8(%rbx), %rdi
	shll	$3, %esi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_reallocf
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movl	(%rbx), %ecx
	jmp	LBB0_5
LBB0_1:
	movq	8(%rbx), %rax
LBB0_5:
	leal	1(%rcx), %edx
	movl	%edx, (%rbx)
	movslq	%ecx, %rcx
	movq	%r14, (%rax,%rcx,8)
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_3:
	movl	$-1, %eax
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__SL_CHUNKSIZE,8,3              ## @_SL_CHUNKSIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sl_add                         ; -- Begin function sl_add
	.p2align	2
_sl_add:                                ; @sl_add
	.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
	ldp	w9, w8, [x0]
	sub	w10, w8, #1
	cmp	w9, w10
	b.ne	LBB0_3
; %bb.1:
Lloh0:
	adrp	x9, __SL_CHUNKSIZE@GOTPAGE
Lloh1:
	ldr	x9, [x9, __SL_CHUNKSIZE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	add	w8, w8, w9
	str	w8, [x20, #4]
	ldr	x0, [x20, #8]
	lsl	w1, w8, #3
	bl	_reallocf
	str	x0, [x20, #8]
	cbz	x0, LBB0_5
; %bb.2:
	ldr	w9, [x20]
	b	LBB0_4
LBB0_3:
	ldr	x0, [x20, #8]
LBB0_4:
	mov	w8, #0
	add	w10, w9, #1
	str	w10, [x20]
	str	x19, [x0, w9, sxtw #3]
	b	LBB0_6
LBB0_5:
	mov	w8, #-1
LBB0_6:
	mov	x0, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	__SL_CHUNKSIZE,8,3              ; @_SL_CHUNKSIZE
.subsections_via_symbols
