	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ti_emif_push_sram
_ti_emif_push_sram:                     ## @ti_emif_push_sram
	.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	%rsi, %rbx
	movq	%rdi, %r14
	movl	4(%rsi), %edi
	movq	8(%rsi), %rsi
	movq	_ti_emif_sram_sz@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_ti_emif_sram@GOTPCREL(%rip), %rdx
	callq	_sram_exec_copy
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	_ti_emif_pm_sram_data@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_sram_suspend_address
	movl	4(%rbx), %edi
	movq	%rax, %rsi
	movq	%rbx, %rdx
	movl	$4, %ecx
	callq	_sram_exec_copy
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	jne	LBB0_5
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_4
LBB0_1:
	leaq	L_.str(%rip), %rsi
LBB0_4:
	movq	%r14, %rdi
	callq	_dev_err
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ti_emif_sram,4,2               ## @ti_emif_sram
	.comm	_ti_emif_sram_sz,4,2            ## @ti_emif_sram_sz
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Cannot copy emif code to sram\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_ti_emif_pm_sram_data,4,2       ## @ti_emif_pm_sram_data
L_.str.1:                               ## @.str.1
	.asciz	"Cannot copy emif data to code sram\n"

	.no_dead_strip	_ti_emif_push_sram
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ti_emif_push_sram
_ti_emif_push_sram:                     ; @ti_emif_push_sram
	.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	x20, x1
	mov	x19, x0
	ldr	w0, [x1, #4]
	ldr	x1, [x1, #8]
Lloh0:
	adrp	x8, _ti_emif_sram_sz@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ti_emif_sram_sz@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
Lloh3:
	adrp	x2, _ti_emif_sram@GOTPAGE
Lloh4:
	ldr	x2, [x2, _ti_emif_sram@GOTPAGEOFF]
	bl	_sram_exec_copy
	cbz	x0, LBB0_3
; %bb.1:
Lloh5:
	adrp	x1, _ti_emif_pm_sram_data@GOTPAGE
Lloh6:
	ldr	x1, [x1, _ti_emif_pm_sram_data@GOTPAGEOFF]
	mov	x0, x20
	bl	_sram_suspend_address
	mov	x1, x0
	ldr	w0, [x20, #4]
	mov	x2, x20
	mov	w3, #4
	bl	_sram_exec_copy
	cbz	x0, LBB0_4
; %bb.2:
	mov	w0, #0
	b	LBB0_6
LBB0_3:
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_5
LBB0_4:
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_5:
	mov	x0, x19
	bl	_dev_err
Lloh11:
	adrp	x8, _ENODEV@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_ti_emif_sram,4,2               ; @ti_emif_sram
	.comm	_ti_emif_sram_sz,4,2            ; @ti_emif_sram_sz
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Cannot copy emif code to sram\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_ti_emif_pm_sram_data,4,2       ; @ti_emif_pm_sram_data
l_.str.1:                               ; @.str.1
	.asciz	"Cannot copy emif data to code sram\n"

	.no_dead_strip	_ti_emif_push_sram
.subsections_via_symbols
