	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tegra_mc_write_emem_configuration ## -- Begin function tegra_mc_write_emem_configuration
	.p2align	4, 0x90
_tegra_mc_write_emem_configuration:     ## @tegra_mc_write_emem_configuration
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rdx
	movq	%rdi, %r14
	movl	(%rdi), %eax
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movq	24(%r14), %r15
	shlq	$4, %rax
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rdx, (%r15,%rbx)
	je	LBB0_3
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	$16, %rbx
	cmpq	%rbx, %rax
	jne	LBB0_2
LBB0_8:
	movl	16(%r14), %edi
	leaq	L_.str(%rip), %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_err                        ## TAILCALL
LBB0_3:
	movq	8(%r14), %rax
	cmpl	$0, (%rax)
	je	LBB0_6
## %bb.4:
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15,%rbx), %rcx
	movl	(%rcx,%r12,4), %esi
	movq	8(%rax), %rax
	movl	(%rax,%r12,4), %edx
	movq	%r14, %rdi
	callq	_mc_writel
	incq	%r12
	movq	8(%r14), %rax
	movl	(%rax), %ecx
	cmpq	%rcx, %r12
	jb	LBB0_5
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"no memory timing registered for rate %lu\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tegra_mc_write_emem_configuration ; -- Begin function tegra_mc_write_emem_configuration
	.p2align	2
_tegra_mc_write_emem_configuration:     ; @tegra_mc_write_emem_configuration
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x2, x1
	mov	x19, x0
	ldr	w8, [x0]
	cbz	w8, LBB0_4
; %bb.1:
	ldr	x9, [x19, #24]
	add	x20, x9, #8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x9, [x20, #-8]
	cmp	x9, x2
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x20, x20, #16
	subs	x8, x8, #1
	b.ne	LBB0_2
LBB0_4:
	ldr	w0, [x19, #16]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_dev_err
LBB0_5:
	ldr	x8, [x19, #8]
	ldr	w9, [x8]
	cbz	w9, LBB0_8
; %bb.6:
	mov	x21, #0
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x20]
	lsl	x10, x21, #2
	ldr	w1, [x9, x10]
	ldr	x8, [x8, #8]
	ldr	w2, [x8, x10]
	mov	x0, x19
	bl	_mc_writel
	add	x21, x21, #1
	ldr	x8, [x19, #8]
	ldr	w9, [x8]
	cmp	x21, x9
	b.lo	LBB0_7
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"no memory timing registered for rate %lu\n"

.subsections_via_symbols
