	.file	"extr_nv50.c_nv50_gpio_location.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	nv50_gpio_location, @function
nv50_gpio_location:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 40
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	movabs	rax, 247424476045572
	mov	QWORD PTR [rsp], rax
	movabs	rax, 249056563618432
	mov	QWORD PTR 8[rsp], rax
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	cmp	edi, 31
	jg	.L1
	mov	eax, edi
	sal	edi, 2
	sar	eax, 3
	and	edi, 28
	cdqe
	mov	eax, DWORD PTR [rsp+rax*4]
	mov	DWORD PTR [rsi], eax
	xor	eax, eax
	mov	DWORD PTR [rdx], edi
.L1:
	mov	rcx, QWORD PTR 24[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L7
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L7:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	nv50_gpio_location, .-nv50_gpio_location
	.comm	EINVAL,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_nv50.c_nv50_gpio_location.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	nv50_gpio_location, %function
nv50_gpio_location:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L9
	sub	sp, sp, #28
	ldr	r6, .L9+4
	cmp	r0, #31
	add	lr, sp, #4
	mov	ip, r0
	mov	r4, r2
	mov	r5, r1
	ldm	r3, {r0, r1, r2, r3}
	ldr	r6, [r6]
	str	r6, [sp, #20]
	mov	r6,#0
	stm	lr, {r0, r1, r2, r3}
	bgt	.L7
	mov	r0, #0
	asr	r3, ip, #3
	add	r2, sp, #24
	add	r3, r2, r3, lsl #2
	ldr	r3, [r3, #-20]
	lsl	ip, ip, #2
	and	ip, ip, #28
	str	r3, [r5]
	str	ip, [r4]
.L1:
	ldr	r3, .L9+4
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L8
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L7:
	ldr	r3, .L9+8
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L8:
	bl	__stack_chk_fail
.L10:
	.align	2
.L9:
	.word	.LANCHOR0
	.word	.LC1
	.word	EINVAL
	.size	nv50_gpio_location, .-nv50_gpio_location
	.comm	EINVAL,4,4
	.section	.rodata
	.align	2
	.set	.LANCHOR0,. + 0
.LC0:
	.word	57604
	.word	57608
	.word	57984
	.word	57988
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
