	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function finalize_must_preallocate
_finalize_must_preallocate:             ## @finalize_must_preallocate
	.cfi_startproc
## %bb.0:
	movl	%edi, %eax
	testl	%edi, %edi
	je	LBB0_1
## %bb.19:
	retq
LBB0_1:
	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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testl	%esi, %esi
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	jle	LBB0_2
## %bb.3:
	movq	%rdx, %rbx
	movl	%esi, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	addq	$20, %rbx
	xorl	%r15d, %r15d
	movl	$1, %r13d
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, -20(%rbx)
	jle	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$0, (%rbx)
	je	LBB0_6
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	xorl	%r14d, %r14d
	testl	%r12d, %r12d
	je	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpq	$0, -12(%rbx)
	sete	%r14b
	movl	$1, %r12d
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	xorl	%r12d, %r12d
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	$1, %r12d
	xorl	%r14d, %r14d
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	-4(%rbx), %edi
	callq	_TREE_TYPE
	movl	%eax, %edi
	callq	_TYPE_MODE
	movq	_BLKmode@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_16
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	-4(%rbx), %edi
	callq	_TREE_CODE
	movq	_CALL_EXPR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_15
## %bb.12:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	-4(%rbx), %edi
	callq	_TREE_CODE
	movq	_TARGET_EXPR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	-4(%rbx), %edi
	callq	_TREE_CODE
	movq	_COND_EXPR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	-4(%rbx), %edi
	callq	_TREE_TYPE
	movl	%eax, %edi
	callq	_TREE_ADDRESSABLE
	testq	%rax, %rax
	je	LBB0_16
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	-4(%rbx), %edi
	callq	_TREE_TYPE
	movl	%eax, %edi
	callq	_int_size_in_bytes
	addl	%eax, %r15d
LBB0_16:                                ##   in Loop: Header=BB0_4 Depth=1
	cmpq	-56(%rbp), %r13                 ## 8-byte Folded Reload
	jae	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_4 Depth=1
	addq	$24, %rbx
	incq	%r13
	testl	%r14d, %r14d
	je	LBB0_4
	jmp	LBB0_18
LBB0_2:
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
LBB0_18:
	addl	%r15d, %r15d
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %ecx
	testl	%ecx, %ecx
	movl	$1, %eax
	cmovlel	%r14d, %eax
	cmpl	%ecx, %r15d
	cmovll	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BLKmode,8,3                    ## @BLKmode
	.comm	_CALL_EXPR,8,3                  ## @CALL_EXPR
	.comm	_TARGET_EXPR,8,3                ## @TARGET_EXPR
	.comm	_COND_EXPR,8,3                  ## @COND_EXPR
	.no_dead_strip	_finalize_must_preallocate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function finalize_must_preallocate
_finalize_must_preallocate:             ; @finalize_must_preallocate
	.cfi_startproc
; %bb.0:
	cbz	w0, LBB0_2
; %bb.1:
	ret
LBB0_2:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x3
	cmp	w1, #1
	b.lt	LBB0_19
; %bb.3:
	mov	w20, #0
	mov	w26, #0
	add	x21, x2, #16
Lloh0:
	adrp	x22, _BLKmode@GOTPAGE
Lloh1:
	ldr	x22, [x22, _BLKmode@GOTPAGEOFF]
Lloh2:
	adrp	x23, _CALL_EXPR@GOTPAGE
Lloh3:
	ldr	x23, [x23, _CALL_EXPR@GOTPAGEOFF]
	mov	w24, #1
Lloh4:
	adrp	x25, _TARGET_EXPR@GOTPAGE
Lloh5:
	ldr	x25, [x25, _TARGET_EXPR@GOTPAGEOFF]
	mov	w28, w1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x8, [x21, #-16]
	cmp	x8, #1
	b.lt	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x21, #4]
	cbz	w8, LBB0_9
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	cbz	w26, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldur	x8, [x21, #-8]
	cmp	x8, #0
	cset	w27, eq
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w27, #0
	b	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w27, #0
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w26, #1
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x21]
	bl	_TREE_TYPE
	bl	_TYPE_MODE
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_17
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x21]
	bl	_TREE_CODE
	ldr	x8, [x23]
	cmp	x0, x8
	b.eq	LBB0_16
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x21]
	bl	_TREE_CODE
	ldr	x8, [x25]
	cmp	x0, x8
	b.eq	LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x21]
	bl	_TREE_CODE
Lloh6:
	adrp	x8, _COND_EXPR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _COND_EXPR@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x21]
	bl	_TREE_TYPE
	bl	_TREE_ADDRESSABLE
	cbz	x0, LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x21]
	bl	_TREE_TYPE
	bl	_int_size_in_bytes
	add	w20, w20, w0
LBB0_17:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	x24, x28
	b.hs	LBB0_20
; %bb.18:                               ;   in Loop: Header=BB0_4 Depth=1
	add	x21, x21, #24
	add	x24, x24, #1
	cbz	w27, LBB0_4
	b	LBB0_20
LBB0_19:
	mov	w27, #0
	mov	w20, #0
LBB0_20:
	lsl	w8, w20, #1
	ldr	w9, [x19]
	cmp	w9, #0
	ccmp	w8, w9, #8, gt
	csinc	w0, w27, wzr, lt
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_BLKmode,8,3                    ; @BLKmode
	.comm	_CALL_EXPR,8,3                  ; @CALL_EXPR
	.comm	_TARGET_EXPR,8,3                ; @TARGET_EXPR
	.comm	_COND_EXPR,8,3                  ; @COND_EXPR
	.no_dead_strip	_finalize_must_preallocate
.subsections_via_symbols
