	.file	"extr_pcmcia.c_pcmcia_access_speed.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	pcmcia_access_speed
	.type	pcmcia_access_speed, @function
pcmcia_access_speed:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	DWORD PTR PCMCIA_SPEED_100NS[rip], edi
	jl	.L2
	movzx	edx, BYTE PTR GAYLE_CFG_100NS[rip]
.L3:
	mov	eax, DWORD PTR cfg_byte[rip]
	and	eax, 243
	or	eax, edx
	mov	DWORD PTR cfg_byte[rip], eax
	mov	DWORD PTR gayle[rip], eax
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	cmp	DWORD PTR PCMCIA_SPEED_150NS[rip], edi
	jl	.L4
	movzx	edx, BYTE PTR GAYLE_CFG_150NS[rip]
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L4:
	cmp	DWORD PTR PCMCIA_SPEED_250NS[rip], edi
	movzx	edx, BYTE PTR GAYLE_CFG_720NS[rip]
	jl	.L3
	movzx	edx, BYTE PTR GAYLE_CFG_250NS[rip]
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	pcmcia_access_speed, .-pcmcia_access_speed
	.comm	gayle,4,4
	.comm	cfg_byte,4,4
	.comm	PCMCIA_SPEED_250NS,4,4
	.comm	PCMCIA_SPEED_150NS,4,4
	.comm	PCMCIA_SPEED_100NS,4,4
	.comm	GAYLE_CFG_720NS,1,1
	.comm	GAYLE_CFG_250NS,1,1
	.comm	GAYLE_CFG_150NS,1,1
	.comm	GAYLE_CFG_100NS,1,1
	.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_pcmcia.c_pcmcia_access_speed.c"
	.text
	.align	2
	.global	pcmcia_access_speed
	.syntax unified
	.arm
	.fpu softvfp
	.type	pcmcia_access_speed, %function
pcmcia_access_speed:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	ldr	r3, .L7
	ldr	r3, [r3]
	cmp	r3, r0
	blt	.L2
	ldr	r3, .L7+4
	ldrb	r0, [r3]	@ zero_extendqisi2
.L3:
	ldr	r2, .L7+8
	ldr	r1, .L7+12
	ldr	r3, [r2]
	and	r3, r3, #243
	orr	r3, r3, r0
	str	r3, [r2]
	str	r3, [r1]
	bx	lr
.L2:
	ldr	r3, .L7+16
	ldr	r3, [r3]
	cmp	r3, r0
	ldrge	r3, .L7+20
	ldrbge	r0, [r3]	@ zero_extendqisi2
	bge	.L3
.L4:
	ldr	r3, .L7+24
	ldr	r3, [r3]
	cmp	r3, r0
	ldrge	r3, .L7+28
	ldrlt	r3, .L7+32
	ldrb	r0, [r3]	@ zero_extendqisi2
	b	.L3
.L8:
	.align	2
.L7:
	.word	PCMCIA_SPEED_100NS
	.word	GAYLE_CFG_100NS
	.word	cfg_byte
	.word	gayle
	.word	PCMCIA_SPEED_150NS
	.word	GAYLE_CFG_150NS
	.word	PCMCIA_SPEED_250NS
	.word	GAYLE_CFG_250NS
	.word	GAYLE_CFG_720NS
	.size	pcmcia_access_speed, .-pcmcia_access_speed
	.comm	gayle,4,4
	.comm	cfg_byte,4,4
	.comm	PCMCIA_SPEED_250NS,4,4
	.comm	PCMCIA_SPEED_150NS,4,4
	.comm	PCMCIA_SPEED_100NS,4,4
	.comm	GAYLE_CFG_720NS,1,1
	.comm	GAYLE_CFG_250NS,1,1
	.comm	GAYLE_CFG_150NS,1,1
	.comm	GAYLE_CFG_100NS,1,1
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
