	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vegam_populate_smc_initial_state
_vegam_populate_smc_initial_state:      ## @vegam_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
	movq	16(%rdi), %r9
	movq	(%rdi), %rdx
	movq	8(%rdi), %r8
	movq	8(%rdx), %rax
	movq	8(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.1:
	movq	(%rax), %rdi
	movq	(%r9), %rcx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rcx, (%rdi,%rax,8)
	jge	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rax
	cmpq	%rax, %rsi
	jne	LBB0_2
	jmp	LBB0_5
LBB0_3:
	movq	%rax, (%r8)
LBB0_5:
	movq	(%rdx), %rax
	movq	8(%rax), %rdx
	testq	%rdx, %rdx
	je	LBB0_10
## %bb.6:
	movq	(%rax), %rsi
	movq	8(%r9), %rcx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rcx, (%rsi,%rax,8)
	jge	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	incq	%rax
	cmpq	%rax, %rdx
	jne	LBB0_7
	jmp	LBB0_10
LBB0_8:
	movq	%rax, 8(%r8)
LBB0_10:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_vegam_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 vegam_populate_smc_initial_state
_vegam_populate_smc_initial_state:      ; @vegam_populate_smc_initial_state
	.cfi_startproc
; %bb.0:
	ldp	x8, x9, [x0, #8]
	ldr	x10, [x0]
	ldr	x13, [x10, #8]
	ldr	x11, [x13, #8]
	cbz	x11, LBB0_5
; %bb.1:
	mov	x12, #0
	ldr	x13, [x13]
	ldr	x14, [x9]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x15, [x13, x12, lsl #3]
	cmp	x15, x14
	b.ge	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x12, x12, #1
	cmp	x11, x12
	b.ne	LBB0_2
	b	LBB0_5
LBB0_4:
	str	x12, [x8]
LBB0_5:
	ldr	x12, [x10]
	ldr	x10, [x12, #8]
	cbz	x10, LBB0_9
; %bb.6:
	mov	x11, #0
	ldr	x12, [x12]
	ldr	x9, [x9, #8]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x13, [x12, x11, lsl #3]
	cmp	x13, x9
	b.ge	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x11, x11, #1
	cmp	x10, x11
	b.ne	LBB0_7
LBB0_9:
	mov	w0, #0
	ret
LBB0_10:
	str	x11, [x8, #8]
	mov	w0, #0
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_vegam_populate_smc_initial_state
.subsections_via_symbols
