	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function scalarize_init
_scalarize_init:                        ## @scalarize_init
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rdi, %rbx
	movq	$0, -40(%rbp)
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.4:
	movq	%rsi, %rdi
	callq	_unshare_expr
	leaq	-40(%rbp), %r15
	movq	%rbx, %rdi
	movq	%rax, %rsi
	movq	%r15, %rdx
	callq	_generate_element_init
	movl	%eax, %r12d
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_generate_element_zero
	testl	%r12d, %r12d
	jne	LBB0_2
## %bb.5:
	movq	$0, -48(%rbp)
	movq	%rbx, %rdi
	callq	_generate_element_ref
	leaq	-48(%rbp), %r15
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	%eax, %edx
	movq	%r15, %rcx
	callq	_generate_copy_inout
	movq	-40(%rbp), %rdi
	movq	%r15, %rsi
	callq	_append_to_statement_list
	movq	-48(%rbp), %rdi
	movq	%rdi, -40(%rbp)
	jmp	LBB0_6
LBB0_1:
	leaq	-40(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_generate_element_zero
LBB0_2:
	cmpq	$0, (%rbx)
	movq	-40(%rbp), %rdi
	je	LBB0_3
LBB0_6:
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.7:
	callq	_mark_all_v_defs
	movq	-40(%rbp), %rsi
	movq	%r14, %rdi
	callq	_sra_insert_after
	jmp	LBB0_8
LBB0_3:
	callq	_gcc_assert
	movl	(%r14), %edi
	callq	_bsi_stmt
	movq	%rax, %rdi
	callq	_mark_all_v_defs
	movq	-40(%rbp), %rdi
	callq	_mark_all_v_defs
	movq	-40(%rbp), %rsi
	movq	%r14, %rdi
	callq	_sra_replace
LBB0_8:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_scalarize_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function scalarize_init
_scalarize_init:                        ; @scalarize_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x2
	mov	x20, x0
	str	xzr, [sp, #8]
	cbz	x1, LBB0_3
; %bb.1:
	mov	x0, x1
	bl	_unshare_expr
	mov	x1, x0
	add	x2, sp, #8
	mov	x0, x20
	bl	_generate_element_init
	mov	x21, x0
	add	x1, sp, #8
	mov	x0, x20
	bl	_generate_element_zero
	cbnz	w21, LBB0_4
; %bb.2:
	str	xzr, [sp]
	mov	x0, x20
	bl	_generate_element_ref
	mov	x2, x0
	mov	x3, sp
	mov	x0, x20
	mov	w1, #1
	bl	_generate_copy_inout
	ldr	x0, [sp, #8]
	mov	x1, sp
	bl	_append_to_statement_list
	ldr	x0, [sp]
	str	x0, [sp, #8]
	b	LBB0_5
LBB0_3:
	add	x1, sp, #8
	mov	x0, x20
	bl	_generate_element_zero
LBB0_4:
	ldr	x8, [x20]
	ldr	x0, [sp, #8]
	cbz	x8, LBB0_7
LBB0_5:
	cbz	x0, LBB0_8
; %bb.6:
	bl	_mark_all_v_defs
	ldr	x1, [sp, #8]
	mov	x0, x19
	bl	_sra_insert_after
	b	LBB0_8
LBB0_7:
	bl	_gcc_assert
	ldr	w0, [x19]
	bl	_bsi_stmt
	bl	_mark_all_v_defs
	ldr	x0, [sp, #8]
	bl	_mark_all_v_defs
	ldr	x1, [sp, #8]
	mov	x0, x19
	bl	_sra_replace
LBB0_8:
	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
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_scalarize_init
.subsections_via_symbols
