	.file	"extr_pxa2xx_stargate2.c_sg2_pcmcia_hw_init.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"PCMCIA0 CD"
.LC1:
	.string	"PCMCIA0 RDY"
	.text
	.p2align 4
	.type	sg2_pcmcia_hw_init, @function
sg2_pcmcia_hw_init:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rdx, QWORD PTR [rdi]
	mov	rax, QWORD PTR SOC_STAT_CD[rip]
	lea	rsi, .LC0[rip]
	mov	ecx, DWORD PTR SG2_S0_GPIO_DETECT[rip]
	sal	rax, 4
	add	rax, rdx
	mov	DWORD PTR 8[rax], ecx
	lea	rcx, .LC1[rip]
	mov	QWORD PTR [rax], rsi
	mov	rax, QWORD PTR SOC_STAT_RDY[rip]
	sal	rax, 4
	add	rax, rdx
	mov	edx, DWORD PTR SG2_S0_GPIO_READY[rip]
	mov	QWORD PTR [rax], rcx
	mov	DWORD PTR 8[rax], edx
	xor	eax, eax
	ret
	.cfi_endproc
.LFE0:
	.size	sg2_pcmcia_hw_init, .-sg2_pcmcia_hw_init
	.comm	SOC_STAT_RDY,8,8
	.comm	SOC_STAT_CD,8,8
	.comm	SG2_S0_GPIO_READY,4,4
	.comm	SG2_S0_GPIO_DETECT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_pxa2xx_stargate2.c_sg2_pcmcia_hw_init.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"PCMCIA0 CD\000"
	.align	2
.LC1:
	.ascii	"PCMCIA0 RDY\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sg2_pcmcia_hw_init, %function
sg2_pcmcia_hw_init:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r1, .L4
	str	lr, [sp, #-4]!
	ldr	lr, .L4+4
	ldr	r3, [r0]
	ldr	r1, [r1]
	ldr	ip, .L4+8
	ldr	lr, [lr]
	ldr	r2, .L4+12
	ldr	r0, [ip]
	add	ip, r3, r1, lsl #3
	str	lr, [ip, #4]
	ldr	r2, [r2]
	ldr	lr, .L4+16
	ldr	ip, .L4+20
	str	lr, [r3, r1, lsl #3]
	add	r1, r3, r2, lsl #3
	str	r0, [r1, #4]
	mov	r0, #0
	str	ip, [r3, r2, lsl #3]
	ldr	pc, [sp], #4
.L5:
	.align	2
.L4:
	.word	SOC_STAT_CD
	.word	SG2_S0_GPIO_DETECT
	.word	SG2_S0_GPIO_READY
	.word	SOC_STAT_RDY
	.word	.LC0
	.word	.LC1
	.size	sg2_pcmcia_hw_init, .-sg2_pcmcia_hw_init
	.comm	SOC_STAT_RDY,4,4
	.comm	SOC_STAT_CD,4,4
	.comm	SG2_S0_GPIO_READY,4,4
	.comm	SG2_S0_GPIO_DETECT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
