	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_configure_mem
_init_configure_mem:                    ## @init_configure_mem
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	8(%rdi), %rax
	movq	(%rax), %rax
	movq	(%rax), %r12
	leaq	L_.str(%rip), %rdi
	callq	_trace
	incl	(%r14)
	cmpl	$3, (%r12)
	jl	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_init_done                      ## TAILCALL
LBB0_2:
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_init_exec_force
	movq	%r14, %rdi
	callq	_init_configure_mem_clk
	movl	%eax, %r15d
	movq	%r12, %rdi
	callq	_bmp_sdr_seq_table
	movl	%eax, %r13d
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_nvbios_rd08
	testb	$1, %al
	je	LBB0_4
## %bb.3:
	movq	%r12, %rdi
	callq	_bmp_ddr_seq_table
	movl	%eax, %r13d
LBB0_4:
	addl	$6, %r15d
	movq	%r14, %rdi
	movl	$964, %esi                      ## imm = 0x3C4
	movl	$1, %edx
	callq	_init_rdvgai
	orl	$32, %eax
	movq	%r14, %rdi
	movl	$964, %esi                      ## imm = 0x3C4
	movl	$1, %edx
	movl	%eax, %ecx
	callq	_init_wrvgai
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_8 Depth=1
	cmpl	$1049116, %ebx                  ## imm = 0x10021C
	jne	LBB0_14
LBB0_5:                                 ##   in Loop: Header=BB0_8 Depth=1
	movl	$1, %edx
LBB0_6:                                 ##   in Loop: Header=BB0_8 Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_init_wr32
LBB0_7:                                 ##   in Loop: Header=BB0_8 Depth=1
	addl	$4, %r13d
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movl	%r13d, %esi
	callq	_nvbios_rd32
	movl	%eax, %ebx
	cmpl	$1049295, %eax                  ## imm = 0x1002CF
	jle	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	cmpl	$1049296, %ebx                  ## imm = 0x1002D0
	je	LBB0_5
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	cmpl	$1049300, %ebx                  ## imm = 0x1002D4
	je	LBB0_5
	jmp	LBB0_15
LBB0_14:                                ##   in Loop: Header=BB0_8 Depth=1
	cmpl	$-1, %ebx
	je	LBB0_16
LBB0_15:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_nvbios_rd32
	movl	%eax, %edx
	addl	$4, %r15d
	cmpl	$-1, %eax
	jne	LBB0_6
	jmp	LBB0_7
LBB0_16:
	movq	%r14, %rdi
	xorl	%esi, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_init_exec_force                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CONFIGURE_MEM\n"

	.no_dead_strip	_init_configure_mem
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_configure_mem
_init_configure_mem:                    ; @init_configure_mem
	.cfi_startproc
; %bb.0:
	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, x0
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
	ldr	x20, [x8]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_trace
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
	ldr	w8, [x20]
	cmp	w8, #3
	b.lt	LBB0_2
; %bb.1:
	mov	x0, x19
	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
	b	_init_done
LBB0_2:
	mov	x0, x19
	mov	w1, #1
	bl	_init_exec_force
	mov	x0, x19
	bl	_init_configure_mem_clk
	mov	x22, x0
	mov	x0, x20
	bl	_bmp_sdr_seq_table
	mov	x21, x0
	mov	x0, x20
	mov	x1, x22
	bl	_nvbios_rd08
	tbz	w0, #0, LBB0_4
; %bb.3:
	mov	x0, x20
	bl	_bmp_ddr_seq_table
	mov	x21, x0
LBB0_4:
	add	w22, w22, #6
	mov	x0, x19
	mov	w1, #964
	mov	w2, #1
	bl	_init_rdvgai
	orr	w3, w0, #0x20
	mov	x0, x19
	mov	w1, #964
	mov	w2, #1
	bl	_init_wrvgai
	mov	w24, #719
	movk	w24, #16, lsl #16
	mov	w25, #540
	movk	w25, #16, lsl #16
	mov	w26, #720
	movk	w26, #16, lsl #16
	mov	w27, #724
	movk	w27, #16, lsl #16
	b	LBB0_8
LBB0_5:                                 ;   in Loop: Header=BB0_8 Depth=1
	cmp	w23, w25
	b.ne	LBB0_11
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x19
	mov	x1, x23
	bl	_init_wr32
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	w21, w21, #4
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_nvbios_rd32
	mov	x23, x0
	mov	w2, #1
	cmp	w0, w24
	b.le	LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	cmp	w23, w26
	b.eq	LBB0_6
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	cmp	w23, w27
	b.eq	LBB0_6
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_8 Depth=1
	cmn	w23, #1
	b.eq	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x20
	mov	x1, x22
	bl	_nvbios_rd32
	mov	x2, x0
	add	w22, w22, #4
	cmn	w0, #1
	b.ne	LBB0_6
	b	LBB0_7
LBB0_13:
	mov	x0, x19
	mov	w1, #0
	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
	b	_init_exec_force
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CONFIGURE_MEM\n"

	.no_dead_strip	_init_configure_mem
.subsections_via_symbols
