	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function alloc_array
_alloc_array:                           ## @alloc_array
	.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	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movl	$4, %edi
	callq	_heap_alloc_zero
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.3:
	movq	_Array_info@GOTPCREL(%rip), %rdx
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rcx
	callq	_init_dispex
	jmp	LBB0_5
LBB0_1:
	movq	_E_OUTOFMEMORY@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_4:
	movl	(%r12), %ecx
	movq	_ArrayInst_info@GOTPCREL(%rip), %rdx
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_init_dispex_from_constr
LBB0_5:
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	%r15, %rdi
	callq	_heap_free
	jmp	LBB0_9
LBB0_7:
	movq	%r15, (%r14)
	movq	_S_OK@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %ebx
LBB0_9:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_E_OUTOFMEMORY,4,2              ## @E_OUTOFMEMORY
	.comm	_Array_info,4,2                 ## @Array_info
	.comm	_ArrayInst_info,4,2             ## @ArrayInst_info
	.comm	_S_OK,4,2                       ## @S_OK
	.no_dead_strip	_alloc_array
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function alloc_array
_alloc_array:                           ; @alloc_array
	.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
	mov	x19, x2
	mov	x22, x1
	mov	x21, x0
	mov	w0, #4
	bl	_heap_alloc_zero
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	cbz	x22, LBB0_4
; %bb.2:
Lloh0:
	adrp	x2, _Array_info@GOTPAGE
Lloh1:
	ldr	x2, [x2, _Array_info@GOTPAGEOFF]
	mov	x0, x20
	mov	x1, x21
	mov	x3, x22
	bl	_init_dispex
	b	LBB0_5
LBB0_3:
Lloh2:
	adrp	x8, _E_OUTOFMEMORY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _E_OUTOFMEMORY@GOTPAGEOFF]
	b	LBB0_8
LBB0_4:
	ldr	w3, [x21]
Lloh4:
	adrp	x2, _ArrayInst_info@GOTPAGE
Lloh5:
	ldr	x2, [x2, _ArrayInst_info@GOTPAGEOFF]
	mov	x0, x20
	mov	x1, x21
	bl	_init_dispex_from_constr
LBB0_5:
	mov	x21, x0
	bl	_FAILED
	cbz	x0, LBB0_7
; %bb.6:
	mov	x0, x20
	bl	_heap_free
	b	LBB0_9
LBB0_7:
	str	x20, [x19]
Lloh6:
	adrp	x8, _S_OK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _S_OK@GOTPAGEOFF]
LBB0_8:
	ldr	w21, [x8]
LBB0_9:
	mov	x0, x21
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_E_OUTOFMEMORY,4,2              ; @E_OUTOFMEMORY
	.comm	_Array_info,4,2                 ; @Array_info
	.comm	_ArrayInst_info,4,2             ; @ArrayInst_info
	.comm	_S_OK,4,2                       ; @S_OK
	.no_dead_strip	_alloc_array
.subsections_via_symbols
