	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function expand
_expand:                                ## @expand
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	(%rdi), %r15d
	movl	4(%rdi), %r12d
	movl	8(%rdi), %ebx
	leal	1(%r12), %r13d
	cmpl	%ebx, %r13d
	jb	LBB0_4
## %bb.1:
	movq	16(%r14), %rdi
	movl	%r15d, %esi
	shll	$4, %esi
	callq	_OPENSSL_realloc
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	leal	(%r15,%r15), %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%rax, 16(%r14)
	leaq	(%rax,%r15,8), %rdi
	leal	(,%r15,8), %edx
	xorl	%r13d, %r13d
	xorl	%esi, %esi
	callq	_memset
	movl	%r15d, 8(%r14)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%r14)
	incl	32(%r14)
LBB0_4:
	movl	%r13d, 4(%r14)
	incl	28(%r14)
	incl	24(%r14)
	movq	16(%r14), %rsi
	addl	%r12d, %ebx
	movq	$0, (%rsi,%rbx,8)
	movq	(%rsi,%r12,8), %rdi
	movl	$1, %r8d
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.5:
	leaq	(%rsi,%r12,8), %rcx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	8(%rdi), %rax
	movq	%rax, (%rcx)
	movq	(%rsi,%rbx,8), %rax
	movq	%rax, 8(%rdi)
	movq	%rdi, (%rsi,%rbx,8)
LBB0_12:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	(%rcx), %rdi
	testq	%rdi, %rdi
	je	LBB0_13
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdi), %rax
	movq	%rax, %rdx
	shrq	$32, %rdx
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	xorl	%edx, %edx
	divq	%r15
	cmpq	%r12, %rdx
	jne	LBB0_11
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_6 Depth=1
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%r15d
                                        ## kill: def $edx killed $edx def $rdx
	cmpq	%r12, %rdx
	jne	LBB0_11
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	addq	$8, %rdi
	movq	%rdi, %rcx
	jmp	LBB0_12
LBB0_2:
	incl	36(%r14)
	xorl	%r8d, %r8d
LBB0_13:
	movl	%r8d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_expand
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function expand
_expand:                                ; @expand
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	ldp	w20, w21, [x0]
	ldr	w22, [x0, #8]
	add	w8, w21, #1
	cmp	w8, w22
	b.lo	LBB0_3
; %bb.1:
	ldr	x0, [x19, #16]
	lsl	w1, w20, #4
	bl	_OPENSSL_realloc
	cbz	x0, LBB0_9
; %bb.2:
	lsl	w23, w20, #1
	str	x0, [x19, #16]
	lsl	w2, w20, #3
	add	x0, x0, x20, lsl #3
	mov	w1, #0
	bl	_memset
	mov	w8, #0
	str	w20, [x19, #8]
	str	w23, [x19]
	ldr	w9, [x19, #32]
	add	w9, w9, #1
	str	w9, [x19, #32]
LBB0_3:
	str	w8, [x19, #4]
	ldr	d0, [x19, #24]
	movi.2s	v1, #1
	add.2s	v0, v0, v1
	str	d0, [x19, #24]
	ldr	x8, [x19, #16]
	add	x9, x8, x21, lsl #3
	add	w10, w22, w21
	str	xzr, [x8, w10, uxtw #3]
	ldr	x11, [x9]
	cbz	x11, LBB0_8
; %bb.4:
	lsl	x10, x10, #3
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x12, [x11, #8]
	str	x12, [x9]
	ldr	x12, [x8, x10]
	str	x12, [x11, #8]
	str	x11, [x8, x10]
	ldr	x11, [x9]
	cbz	x11, LBB0_8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x12, x11
	ldr	x13, [x12], #8
	udiv	x14, x13, x20
	msub	x13, x14, x20, x13
	cmp	x13, x21
	b.ne	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x9, x12
	ldr	x11, [x9]
	cbnz	x11, LBB0_6
LBB0_8:
	mov	w0, #1
	b	LBB0_10
LBB0_9:
	ldr	w8, [x19, #36]
	add	w8, w8, #1
	str	w8, [x19, #36]
LBB0_10:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_expand
.subsections_via_symbols
