	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function spl_fixedarray_resize
_spl_fixedarray_resize:                 ## @spl_fixedarray_resize
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rax
	cmpq	%rsi, %rax
	je	LBB0_13
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %r15
	testq	%rax, %rax
	je	LBB0_14
## %bb.2:
	testq	%r14, %r14
	je	LBB0_3
## %bb.7:
	cmpq	%r14, %rax
	jae	LBB0_8
## %bb.15:
	movq	8(%r15), %rdi
	movq	%r14, %rsi
	movl	$4, %edx
	xorl	%ecx, %ecx
	callq	_safe_erealloc
	movq	%rax, 8(%r15)
	movq	(%r15), %rcx
	leaq	(%rax,%rcx,4), %rdi
	movl	%r14d, %edx
	subl	%ecx, %edx
	shll	$2, %edx
	xorl	%esi, %esi
	callq	_memset
	jmp	LBB0_12
LBB0_14:
	movq	%r15, %rdi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spl_fixedarray_init            ## TAILCALL
LBB0_3:
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rdi
	addq	%r12, %rdi
	callq	_zval_ptr_dtor
	incq	%rbx
	addq	$4, %r12
	cmpq	(%r15), %rbx
	jb	LBB0_4
## %bb.5:
	movq	8(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.6:
	callq	_efree
	movq	$0, 8(%r15)
	jmp	LBB0_12
LBB0_8:
	jbe	LBB0_11
## %bb.9:
	leaq	(,%r14,4), %r12
	movq	%r14, %rbx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rdi
	addq	%r12, %rdi
	callq	_zval_ptr_dtor
	incq	%rbx
	addq	$4, %r12
	cmpq	(%r15), %rbx
	jb	LBB0_10
LBB0_11:
	movq	8(%r15), %rdi
	leal	(,%r14,4), %esi
	callq	_erealloc
	movq	%rax, 8(%r15)
LBB0_12:
	movq	%r14, (%r15)
LBB0_13:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_spl_fixedarray_resize
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function spl_fixedarray_resize
_spl_fixedarray_resize:                 ; @spl_fixedarray_resize
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	x8, [x0]
	cmp	x8, x1
	b.eq	LBB0_15
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	cbz	x8, LBB0_5
; %bb.2:
	cbz	x19, LBB0_6
; %bb.3:
	cmp	x8, x19
	b.hs	LBB0_10
; %bb.4:
	ldr	x0, [x20, #8]
	mov	x1, x19
	mov	w2, #4
	mov	w3, #0
	bl	_safe_erealloc
	str	x0, [x20, #8]
	ldr	x8, [x20]
	add	x0, x0, x8, lsl #2
	sub	w8, w19, w8
	lsl	w2, w8, #2
	mov	w1, #0
	bl	_memset
	b	LBB0_14
LBB0_5:
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_spl_fixedarray_init
LBB0_6:
	mov	x21, #0
	mov	x22, #0
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	add	x0, x8, x21
	bl	_zval_ptr_dtor
	add	x22, x22, #1
	ldr	x8, [x20]
	add	x21, x21, #4
	cmp	x22, x8
	b.lo	LBB0_7
; %bb.8:
	ldr	x0, [x20, #8]
	cbz	x0, LBB0_14
; %bb.9:
	bl	_efree
	str	xzr, [x20, #8]
	b	LBB0_14
LBB0_10:
	b.ls	LBB0_13
; %bb.11:
	lsl	x21, x19, #2
	mov	x22, x19
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	add	x0, x8, x21
	bl	_zval_ptr_dtor
	add	x22, x22, #1
	ldr	x8, [x20]
	add	x21, x21, #4
	cmp	x22, x8
	b.lo	LBB0_12
LBB0_13:
	ldr	x0, [x20, #8]
	lsl	w1, w19, #2
	bl	_erealloc
	str	x0, [x20, #8]
LBB0_14:
	str	x19, [x20]
LBB0_15:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_spl_fixedarray_resize
.subsections_via_symbols
