	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_omap3_gpmc_save_context        ## -- Begin function omap3_gpmc_save_context
	.p2align	4, 0x90
_omap3_gpmc_save_context:               ## @omap3_gpmc_save_context
	.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	_gpmc_base@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_6
## %bb.1:
	movq	_GPMC_SYSCONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_gpmc_read_reg
	movq	_gpmc_context@GOTPCREL(%rip), %r14
	movq	%rax, 56(%r14)
	movq	_GPMC_IRQENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_gpmc_read_reg
	movq	%rax, 48(%r14)
	movq	_GPMC_TIMEOUT_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_gpmc_read_reg
	movq	%rax, 40(%r14)
	movq	_GPMC_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_gpmc_read_reg
	movq	%rax, 32(%r14)
	movq	_GPMC_PREFETCH_CONFIG1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_gpmc_read_reg
	movq	%rax, 24(%r14)
	movq	_GPMC_PREFETCH_CONFIG2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_gpmc_read_reg
	movq	%rax, 16(%r14)
	movq	_GPMC_PREFETCH_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_gpmc_read_reg
	movq	%rax, 8(%r14)
	movq	_gpmc_cs_num@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_6
## %bb.2:
	xorl	%r12d, %r12d
	movq	_GPMC_CS_CONFIG7@GOTPCREL(%rip), %r13
	xorl	%ebx, %ebx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	movslq	(%r15), %rax
	addq	$64, %r12
	cmpq	%rax, %rbx
	jge	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_gpmc_cs_mem_enabled
	movq	(%r14), %rcx
	movq	%rax, 56(%rcx,%r12)
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_GPMC_CS_CONFIG1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_gpmc_cs_read_reg
	movq	(%r14), %rcx
	movq	%rax, 48(%rcx,%r12)
	movq	_GPMC_CS_CONFIG2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_gpmc_cs_read_reg
	movq	(%r14), %rcx
	movq	%rax, 40(%rcx,%r12)
	movq	_GPMC_CS_CONFIG3@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_gpmc_cs_read_reg
	movq	(%r14), %rcx
	movq	%rax, 32(%rcx,%r12)
	movq	_GPMC_CS_CONFIG4@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_gpmc_cs_read_reg
	movq	(%r14), %rcx
	movq	%rax, 24(%rcx,%r12)
	movq	_GPMC_CS_CONFIG5@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_gpmc_cs_read_reg
	movq	(%r14), %rcx
	movq	%rax, 16(%rcx,%r12)
	movq	_GPMC_CS_CONFIG6@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_gpmc_cs_read_reg
	movq	(%r14), %rcx
	movq	%rax, 8(%rcx,%r12)
	movl	(%r13), %esi
	movl	%ebx, %edi
	callq	_gpmc_cs_read_reg
	movq	(%r14), %rcx
	movq	%rax, (%rcx,%r12)
	jmp	LBB0_5
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_gpmc_base,4,2                  ## @gpmc_base
	.comm	_GPMC_SYSCONFIG,4,2             ## @GPMC_SYSCONFIG
	.comm	_gpmc_context,64,3              ## @gpmc_context
	.comm	_GPMC_IRQENABLE,4,2             ## @GPMC_IRQENABLE
	.comm	_GPMC_TIMEOUT_CONTROL,4,2       ## @GPMC_TIMEOUT_CONTROL
	.comm	_GPMC_CONFIG,4,2                ## @GPMC_CONFIG
	.comm	_GPMC_PREFETCH_CONFIG1,4,2      ## @GPMC_PREFETCH_CONFIG1
	.comm	_GPMC_PREFETCH_CONFIG2,4,2      ## @GPMC_PREFETCH_CONFIG2
	.comm	_GPMC_PREFETCH_CONTROL,4,2      ## @GPMC_PREFETCH_CONTROL
	.comm	_gpmc_cs_num,4,2                ## @gpmc_cs_num
	.comm	_GPMC_CS_CONFIG1,4,2            ## @GPMC_CS_CONFIG1
	.comm	_GPMC_CS_CONFIG2,4,2            ## @GPMC_CS_CONFIG2
	.comm	_GPMC_CS_CONFIG3,4,2            ## @GPMC_CS_CONFIG3
	.comm	_GPMC_CS_CONFIG4,4,2            ## @GPMC_CS_CONFIG4
	.comm	_GPMC_CS_CONFIG5,4,2            ## @GPMC_CS_CONFIG5
	.comm	_GPMC_CS_CONFIG6,4,2            ## @GPMC_CS_CONFIG6
	.comm	_GPMC_CS_CONFIG7,4,2            ## @GPMC_CS_CONFIG7
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_omap3_gpmc_save_context        ; -- Begin function omap3_gpmc_save_context
	.p2align	2
_omap3_gpmc_save_context:               ; @omap3_gpmc_save_context
	.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
Lloh0:
	adrp	x8, _gpmc_base@GOTPAGE
Lloh1:
	ldr	x8, [x8, _gpmc_base@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_6
; %bb.1:
Lloh3:
	adrp	x8, _GPMC_SYSCONFIG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GPMC_SYSCONFIG@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_gpmc_read_reg
Lloh6:
	adrp	x20, _gpmc_context@GOTPAGE
Lloh7:
	ldr	x20, [x20, _gpmc_context@GOTPAGEOFF]
	str	x0, [x20, #56]
Lloh8:
	adrp	x8, _GPMC_IRQENABLE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GPMC_IRQENABLE@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_gpmc_read_reg
	str	x0, [x20, #48]
Lloh11:
	adrp	x8, _GPMC_TIMEOUT_CONTROL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _GPMC_TIMEOUT_CONTROL@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_gpmc_read_reg
	str	x0, [x20, #40]
Lloh14:
	adrp	x8, _GPMC_CONFIG@GOTPAGE
Lloh15:
	ldr	x8, [x8, _GPMC_CONFIG@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	bl	_gpmc_read_reg
	str	x0, [x20, #32]
Lloh17:
	adrp	x8, _GPMC_PREFETCH_CONFIG1@GOTPAGE
Lloh18:
	ldr	x8, [x8, _GPMC_PREFETCH_CONFIG1@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	bl	_gpmc_read_reg
	str	x0, [x20, #24]
Lloh20:
	adrp	x8, _GPMC_PREFETCH_CONFIG2@GOTPAGE
Lloh21:
	ldr	x8, [x8, _GPMC_PREFETCH_CONFIG2@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	bl	_gpmc_read_reg
	str	x0, [x20, #16]
Lloh23:
	adrp	x8, _GPMC_PREFETCH_CONTROL@GOTPAGE
Lloh24:
	ldr	x8, [x8, _GPMC_PREFETCH_CONTROL@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	bl	_gpmc_read_reg
	str	x0, [x20, #8]
Lloh26:
	adrp	x21, _gpmc_cs_num@GOTPAGE
Lloh27:
	ldr	x21, [x21, _gpmc_cs_num@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.2:
	mov	x22, #0
	mov	x19, #0
Lloh28:
	adrp	x24, _GPMC_CS_CONFIG2@GOTPAGE
Lloh29:
	ldr	x24, [x24, _GPMC_CS_CONFIG2@GOTPAGEOFF]
Lloh30:
	adrp	x25, _GPMC_CS_CONFIG3@GOTPAGE
Lloh31:
	ldr	x25, [x25, _GPMC_CS_CONFIG3@GOTPAGEOFF]
Lloh32:
	adrp	x26, _GPMC_CS_CONFIG4@GOTPAGE
Lloh33:
	ldr	x26, [x26, _GPMC_CS_CONFIG4@GOTPAGEOFF]
Lloh34:
	adrp	x27, _GPMC_CS_CONFIG5@GOTPAGE
Lloh35:
	ldr	x27, [x27, _GPMC_CS_CONFIG5@GOTPAGEOFF]
Lloh36:
	adrp	x28, _GPMC_CS_CONFIG6@GOTPAGE
Lloh37:
	ldr	x28, [x28, _GPMC_CS_CONFIG6@GOTPAGEOFF]
Lloh38:
	adrp	x23, _GPMC_CS_CONFIG7@GOTPAGE
Lloh39:
	ldr	x23, [x23, _GPMC_CS_CONFIG7@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x19, x19, #1
	ldrsw	x8, [x21]
	add	x22, x22, #64
	cmp	x19, x8
	b.ge	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_gpmc_cs_mem_enabled
	ldr	x8, [x20]
	add	x8, x8, x22
	str	x0, [x8, #56]
	cbz	x0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh40:
	adrp	x8, _GPMC_CS_CONFIG1@GOTPAGE
Lloh41:
	ldr	x8, [x8, _GPMC_CS_CONFIG1@GOTPAGEOFF]
Lloh42:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_gpmc_cs_read_reg
	ldr	x8, [x20]
	add	x8, x8, x22
	str	x0, [x8, #48]
	ldr	w1, [x24]
	mov	x0, x19
	bl	_gpmc_cs_read_reg
	ldr	x8, [x20]
	add	x8, x8, x22
	str	x0, [x8, #40]
	ldr	w1, [x25]
	mov	x0, x19
	bl	_gpmc_cs_read_reg
	ldr	x8, [x20]
	add	x8, x8, x22
	str	x0, [x8, #32]
	ldr	w1, [x26]
	mov	x0, x19
	bl	_gpmc_cs_read_reg
	ldr	x8, [x20]
	add	x8, x8, x22
	str	x0, [x8, #24]
	ldr	w1, [x27]
	mov	x0, x19
	bl	_gpmc_cs_read_reg
	ldr	x8, [x20]
	add	x8, x8, x22
	str	x0, [x8, #16]
	ldr	w1, [x28]
	mov	x0, x19
	bl	_gpmc_cs_read_reg
	ldr	x8, [x20]
	add	x8, x8, x22
	str	x0, [x8, #8]
	ldr	w1, [x23]
	mov	x0, x19
	bl	_gpmc_cs_read_reg
	ldr	x8, [x20]
	str	x0, [x8, x22]
	b	LBB0_3
LBB0_6:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.cfi_endproc
                                        ; -- End function
	.comm	_gpmc_base,4,2                  ; @gpmc_base
	.comm	_GPMC_SYSCONFIG,4,2             ; @GPMC_SYSCONFIG
	.comm	_gpmc_context,64,3              ; @gpmc_context
	.comm	_GPMC_IRQENABLE,4,2             ; @GPMC_IRQENABLE
	.comm	_GPMC_TIMEOUT_CONTROL,4,2       ; @GPMC_TIMEOUT_CONTROL
	.comm	_GPMC_CONFIG,4,2                ; @GPMC_CONFIG
	.comm	_GPMC_PREFETCH_CONFIG1,4,2      ; @GPMC_PREFETCH_CONFIG1
	.comm	_GPMC_PREFETCH_CONFIG2,4,2      ; @GPMC_PREFETCH_CONFIG2
	.comm	_GPMC_PREFETCH_CONTROL,4,2      ; @GPMC_PREFETCH_CONTROL
	.comm	_gpmc_cs_num,4,2                ; @gpmc_cs_num
	.comm	_GPMC_CS_CONFIG1,4,2            ; @GPMC_CS_CONFIG1
	.comm	_GPMC_CS_CONFIG2,4,2            ; @GPMC_CS_CONFIG2
	.comm	_GPMC_CS_CONFIG3,4,2            ; @GPMC_CS_CONFIG3
	.comm	_GPMC_CS_CONFIG4,4,2            ; @GPMC_CS_CONFIG4
	.comm	_GPMC_CS_CONFIG5,4,2            ; @GPMC_CS_CONFIG5
	.comm	_GPMC_CS_CONFIG6,4,2            ; @GPMC_CS_CONFIG6
	.comm	_GPMC_CS_CONFIG7,4,2            ; @GPMC_CS_CONFIG7
.subsections_via_symbols
