	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_add_one_elt                    ## -- Begin function add_one_elt
	.p2align	4, 0x90
_add_one_elt:                           ## @add_one_elt
	.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, %rbx
	movq	%rdi, %r14
	movl	(%rsi), %esi
	testl	%esi, %esi
	je	LBB0_1
## %bb.2:
	cmpl	%esi, 16(%rbx)
	jl	LBB0_5
## %bb.3:
	leal	(%rsi,%rsi), %eax
	movl	%eax, (%rbx)
	movq	8(%rbx), %rdi
	shll	$4, %esi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_pg_realloc
	jmp	LBB0_4
LBB0_1:
	movl	$8, (%rbx)
	movl	$64, %edi
	callq	_pg_malloc
LBB0_4:
	movq	%rax, 8(%rbx)
LBB0_5:
	movq	%r14, %rdi
	callq	_pg_strdup
	movq	8(%rbx), %rcx
	movslq	16(%rbx), %rdx
	movq	%rax, (%rcx,%rdx,8)
	leal	1(%rdx), %eax
	movl	%eax, 16(%rbx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_add_one_elt                    ; -- Begin function add_one_elt
	.p2align	2
_add_one_elt:                           ; @add_one_elt
	.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
	ldr	w8, [x1]
	cbz	w8, LBB0_3
; %bb.1:
	ldr	w9, [x19, #16]
	cmp	w9, w8
	b.lt	LBB0_5
; %bb.2:
	lsl	w9, w8, #1
	str	w9, [x19]
	ldr	x0, [x19, #8]
	lsl	w1, w8, #4
	bl	_pg_realloc
	b	LBB0_4
LBB0_3:
	mov	w8, #8
	str	w8, [x19]
	mov	w0, #64
	bl	_pg_malloc
LBB0_4:
	str	x0, [x19, #8]
LBB0_5:
	mov	x0, x20
	bl	_pg_strdup
	ldr	x8, [x19, #8]
	ldrsw	x9, [x19, #16]
	str	x0, [x8, x9, lsl #3]
	add	w8, w9, #1
	str	w8, [x19, #16]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
