	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function contract
_contract:                              ## @contract
	.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	%rdi, %rbx
	movq	16(%rdi), %rax
	movl	(%rdi), %ecx
	movl	4(%rdi), %esi
	subl	$1, %ecx
	leal	(%rcx,%rsi), %edx
	movslq	%edx, %rdx
	movq	(%rax,%rdx,8), %r14
	movq	$0, (%rax,%rdx,8)
	jae	LBB0_4
## %bb.1:
	movq	16(%rbx), %rdi
	shll	$3, %esi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_OPENSSL_realloc
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	incl	32(%rbx)
	movl	4(%rbx), %edx
	movl	8(%rbx), %ecx
	movl	%ecx, %esi
	shrl	$31, %esi
	addl	%ecx, %esi
	sarl	%esi
	movl	%esi, 8(%rbx)
	movl	%edx, %ecx
	shrl	$31, %ecx
	addl	%edx, %ecx
	sarl	%ecx
	movl	%ecx, 4(%rbx)
	decl	%ecx
	movl	%ecx, (%rbx)
	movq	%rax, 16(%rbx)
	jmp	LBB0_5
LBB0_4:
	movl	%ecx, (%rbx)
	movq	16(%rbx), %rax
LBB0_5:
	decl	28(%rbx)
	incl	24(%rbx)
	movslq	%ecx, %rdx
	movq	(%rax,%rdx,8), %rcx
	testq	%rcx, %rcx
	je	LBB0_6
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rcx, %rax
	movq	(%rcx), %rcx
	testq	%rcx, %rcx
	jne	LBB0_7
## %bb.8:
	movq	%r14, (%rax)
	jmp	LBB0_9
LBB0_6:
	movq	%r14, (%rax,%rdx,8)
	jmp	LBB0_9
LBB0_2:
	incl	36(%rbx)
LBB0_9:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_contract
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function contract
lCPI0_0:
	.long	1                               ; 0x1
	.long	4294967295                      ; 0xffffffff
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_contract:                              ; @contract
	.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, x0
	ldr	x10, [x0, #16]
	ldp	w11, w9, [x0]
	sub	w8, w11, #1
	add	w12, w8, w9
	sbfiz	x12, x12, #3, #32
	ldr	x20, [x10, x12]
	str	xzr, [x10, x12]
	cbz	w11, LBB0_2
; %bb.1:
	str	w8, [x19]
	ldr	x0, [x19, #16]
	b	LBB0_4
LBB0_2:
	ldr	x0, [x19, #16]
	lsl	w1, w9, #3
	bl	_OPENSSL_realloc
	cbz	x0, LBB0_8
; %bb.3:
	ldr	w8, [x19, #32]
	add	w8, w8, #1
	str	w8, [x19, #32]
	ldp	w9, w8, [x19, #4]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w10, w8, #1
	cmp	w9, #0
	cinc	w8, w9, lt
	asr	w9, w8, #1
	sub	w8, w9, #1
	stp	w9, w10, [x19, #4]
	str	w8, [x19]
	str	x0, [x19, #16]
LBB0_4:
	ldr	d0, [x19, #24]
Lloh0:
	adrp	x9, lCPI0_0@PAGE
Lloh1:
	ldr	d1, [x9, lCPI0_0@PAGEOFF]
	add.2s	v0, v0, v1
	str	d0, [x19, #24]
	ldr	x9, [x0, w8, sxtw #3]
	cbz	x9, LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x8, x9
	ldr	x9, [x9]
	cbnz	x9, LBB0_5
; %bb.6:
	str	x20, [x8]
	b	LBB0_9
LBB0_7:
	sxtw	x8, w8
	str	x20, [x0, x8, lsl #3]
	b	LBB0_9
LBB0_8:
	ldr	w8, [x19, #36]
	add	w8, w8, #1
	str	w8, [x19, #36]
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_contract
.subsections_via_symbols
