	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setup_data_in
_setup_data_in:                         ## @setup_data_in
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_cpg@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	movq	16(%rdi), %rax
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	addq	$24, %rdi
	callq	_sg_miter_next
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_BUG_ON
	movq	(%rbx), %rdi
	movq	32(%rdi), %rax
	movq	%rax, 16(%rdi)
	movq	$0, 8(%rdi)
LBB0_2:
	movl	48(%rdi), %esi
	movq	%rax, %rdi
	callq	_min
	movq	(%rbx), %rcx
	movq	%rax, (%rcx)
	movq	24(%rcx), %rsi
	addq	8(%rcx), %rsi
	movq	_SRAM_DATA_IN_START@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdi
	addq	40(%rcx), %rdi
	movq	%rax, %rdx
	callq	_memcpy
	movq	(%rbx), %rax
	movq	(%rax), %rcx
	subq	%rcx, 16(%rax)
	addq	%rcx, 8(%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cpg,8,3                        ## @cpg
	.comm	_SRAM_DATA_IN_START,8,3         ## @SRAM_DATA_IN_START
	.no_dead_strip	_setup_data_in
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setup_data_in
_setup_data_in:                         ; @setup_data_in
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x19, _cpg@GOTPAGE
Lloh1:
	ldr	x19, [x19, _cpg@GOTPAGEOFF]
	ldr	x8, [x19]
	ldr	x0, [x8, #16]
	cbnz	x0, LBB0_2
; %bb.1:
	add	x0, x8, #24
	bl	_sg_miter_next
	cmp	w0, #0
	cset	w0, eq
	bl	_BUG_ON
	ldr	x8, [x19]
	ldr	x0, [x8, #32]
	stp	xzr, x0, [x8, #8]
LBB0_2:
	ldr	w1, [x8, #48]
	bl	_min
	mov	x2, x0
	ldr	x8, [x19]
	str	x0, [x8]
	ldr	x9, [x8, #24]
	ldr	x10, [x8, #8]
	add	x1, x9, x10
	ldr	x8, [x8, #40]
Lloh2:
	adrp	x9, _SRAM_DATA_IN_START@GOTPAGE
Lloh3:
	ldr	x9, [x9, _SRAM_DATA_IN_START@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_memcpy
	ldr	x8, [x19]
	ldp	x11, x9, [x8, #8]
	ldr	x10, [x8]
	sub	x9, x9, x10
	add	x10, x11, x10
	stp	x10, x9, [x8, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_cpg,8,3                        ; @cpg
	.comm	_SRAM_DATA_IN_START,8,3         ; @SRAM_DATA_IN_START
	.no_dead_strip	_setup_data_in
.subsections_via_symbols
