	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ci_populate_smc_initial_state
_ci_populate_smc_initial_state:         ## @ci_populate_smc_initial_state
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_ci_get_ps
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_ci_get_pi
	movq	16(%rbx), %rcx
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.1:
	movq	24(%rbx), %rdx
	movq	(%r14), %rsi
	movq	(%rsi), %rdi
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rdi, (%rdx,%rsi,8)
	jge	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rsi
	cmpq	%rsi, %rcx
	jne	LBB0_2
	jmp	LBB0_5
LBB0_3:
	movq	%rsi, (%rax)
LBB0_5:
	movq	(%rbx), %rcx
	testq	%rcx, %rcx
	je	LBB0_10
## %bb.6:
	movq	8(%rbx), %rdx
	movq	(%r14), %rsi
	movq	8(%rsi), %rdi
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rdi, (%rdx,%rsi,8)
	jge	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	incq	%rsi
	cmpq	%rsi, %rcx
	jne	LBB0_7
	jmp	LBB0_10
LBB0_8:
	movq	%rsi, 8(%rax)
LBB0_10:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ci_populate_smc_initial_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ci_populate_smc_initial_state
_ci_populate_smc_initial_state:         ; @ci_populate_smc_initial_state
	.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
	mov	x19, x0
	mov	x0, x1
	bl	_ci_get_ps
	mov	x20, x0
	mov	x0, x19
	bl	_ci_get_pi
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_4
; %bb.1:
	mov	x9, #0
	ldr	x10, [x19, #24]
	ldr	x11, [x20]
	ldr	x11, [x11]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x10, x9, lsl #3]
	cmp	x12, x11
	b.ge	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x9, x9, #1
	cmp	x8, x9
	b.ne	LBB0_2
LBB0_4:
	ldr	x8, [x19]
	cbnz	x8, LBB0_6
	b	LBB0_10
LBB0_5:
	str	x9, [x0]
	ldr	x8, [x19]
	cbz	x8, LBB0_10
LBB0_6:
	mov	x9, #0
	ldr	x10, [x19, #8]
	ldr	x11, [x20]
	ldr	x11, [x11, #8]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x10, x9, lsl #3]
	cmp	x12, x11
	b.ge	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x9, x9, #1
	cmp	x8, x9
	b.ne	LBB0_7
	b	LBB0_10
LBB0_9:
	str	x9, [x0, #8]
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ci_populate_smc_initial_state
.subsections_via_symbols
