	.file	"extr_gpio-htc-egpio.c_egpio_get.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"egpio_get_value(%d)\n"
.LC1:
	.string	"readw(%p + %x) = %x\n"
	.text
	.p2align 4
	.type	egpio_get, @function
egpio_get:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	xor	eax, eax
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	add	esi, DWORD PTR [rdi]
	lea	rdi, .LC0[rip]
	call	pr_debug@PLT
	mov	rdi, rbp
	call	gpiochip_get_data@PLT
	mov	edi, DWORD PTR 12[rax]
	mov	rbx, rax
	call	dev_get_drvdata@PLT
	mov	esi, r12d
	mov	rbp, rax
	mov	rdi, rax
	call	egpio_bit@PLT
	mov	esi, r12d
	mov	rdi, rbp
	mov	r15d, DWORD PTR [rbx]
	mov	r13d, eax
	call	egpio_pos@PLT
	lea	rsi, 8[rbx]
	mov	edi, r12d
	mov	r14d, eax
	call	test_bit@PLT
	test	rax, rax
	je	.L2
	mov	eax, DWORD PTR 4[rbx]
	mov	ecx, r12d
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	sar	eax, cl
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	and	eax, 1
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	add	r14d, r15d
	mov	rdi, rbp
	mov	esi, r14d
	call	egpio_readw@PLT
	mov	ecx, DWORD PTR 0[rbp]
	mov	esi, DWORD PTR 4[rbp]
	mov	edx, r14d
	mov	ebx, eax
	lea	rdi, .LC1[rip]
	sal	edx, cl
	mov	ecx, eax
	xor	eax, eax
	call	pr_debug@PLT
	xor	eax, eax
	test	ebx, r13d
	setne	al
	add	rsp, 8
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	egpio_get, .-egpio_get
	.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_gpio-htc-egpio.c_egpio_get.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"egpio_get_value(%d)\012\000"
	.align	2
.LC1:
	.ascii	"readw(%p + %x) = %x\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	egpio_get, %function
egpio_get:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r4, r1
	mov	r5, r0
	ldr	r1, [r0]
	ldr	r0, .L6
	add	r1, r4, r1
	bl	pr_debug
	mov	r0, r5
	bl	gpiochip_get_data
	mov	r5, r0
	ldr	r0, [r0, #12]
	bl	dev_get_drvdata
	mov	r1, r4
	mov	r6, r0
	bl	egpio_bit
	mov	r7, r5
	mov	r1, r4
	mov	r8, r0
	mov	r0, r6
	ldr	r9, [r7], #8
	bl	egpio_pos
	mov	r2, r0
	mov	r1, r7
	mov	r0, r4
	mov	r7, r2
	bl	test_bit
	cmp	r0, #0
	beq	.L2
	ldr	r0, [r5, #4]
	asr	r0, r0, r4
	and	r0, r0, #1
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L2:
	add	r7, r9, r7
	mov	r1, r7
	mov	r0, r6
	bl	egpio_readw
	mov	r4, r0
	ldr	r2, [r6]
	mov	r3, r0
	ldr	r1, [r6, #4]
	lsl	r2, r7, r2
	ldr	r0, .L6+4
	bl	pr_debug
	tst	r4, r8
	movne	r0, #1
	moveq	r0, #0
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L7:
	.align	2
.L6:
	.word	.LC0
	.word	.LC1
	.size	egpio_get, .-egpio_get
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
