	.file	"extr_gpio-wcove.c_wcove_gpio_dbg_show.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"pending"
.LC1:
	.string	"       "
.LC2:
	.string	"mask  "
.LC3:
	.string	"unmask"
.LC4:
	.string	"rise"
.LC5:
	.string	"    "
.LC6:
	.string	"fall"
.LC7:
	.string	"hi"
.LC8:
	.string	"lo"
.LC9:
	.string	"out"
.LC10:
	.string	"in "
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC11:
	.string	"Failed to read registers: ctrl out/in or irq status/mask\n"
	.align 8
.LC12:
	.string	" gpio-%-2d %s %s %s %s ctlo=%2x,%s %s\n"
	.text
	.p2align 4
	.type	wcove_gpio_dbg_show, @function
wcove_gpio_dbg_show:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	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
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 72
	.cfi_def_cfa_offset 128
	mov	QWORD PTR 24[rsp], rdi
	mov	rdi, rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	call	gpiochip_get_data@PLT
	mov	edx, DWORD PTR WCOVE_GPIO_NUM[rip]
	test	edx, edx
	jle	.L1
	mov	rbp, rax
	lea	rax, 48[rsp]
	lea	r15, 40[rsp]
	xor	r13d, r13d
	mov	QWORD PTR 8[rsp], rax
	lea	rax, 52[rsp]
	lea	r14, 44[rsp]
	mov	QWORD PTR 16[rsp], rax
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L3:
	mov	r12d, r13d
	lea	rbx, .LC1[rip]
	and	r12d, 7
	mov	edi, r12d
	call	BIT@PLT
	mov	edi, r12d
	test	DWORD PTR 52[rsp], eax
	lea	rax, .LC0[rip]
	cmovne	rbx, rax
	call	BIT@PLT
	lea	rdi, .LC3[rip]
	test	DWORD PTR 48[rsp], eax
	mov	edx, DWORD PTR 44[rsp]
	lea	rax, .LC2[rip]
	lea	r9, .LC5[rip]
	mov	esi, DWORD PTR 40[rsp]
	push	rbx
	.cfi_def_cfa_offset 136
	cmovne	rdi, rax
	test	DWORD PTR CTLI_INTCNT_PE[rip], edx
	lea	rax, .LC4[rip]
	cmove	rax, r9
	lea	rcx, .LC6[rip]
	test	DWORD PTR CTLI_INTCNT_NE[rip], edx
	cmovne	r9, rcx
	lea	r8, .LC8[rip]
	and	edx, 1
	push	rdi
	.cfi_def_cfa_offset 144
	lea	rdx, .LC7[rip]
	push	rsi
	.cfi_def_cfa_offset 152
	lea	rcx, .LC10[rip]
	push	rax
	.cfi_def_cfa_offset 160
	cmovne	r8, rdx
	test	DWORD PTR CTLO_DIR_OUT[rip], esi
	lea	rdx, .LC9[rip]
	cmovne	rcx, rdx
	mov	rdi, QWORD PTR 56[rsp]
	mov	edx, r13d
	add	r13d, 1
	lea	rsi, .LC12[rip]
	call	seq_printf@PLT
	add	rsp, 32
	.cfi_def_cfa_offset 128
	cmp	DWORD PTR WCOVE_GPIO_NUM[rip], r13d
	jle	.L1
.L11:
	mov	esi, DWORD PTR CTRL_OUT[rip]
	cmp	DWORD PTR GROUP0_NR_IRQS[rip], r13d
	mov	edi, r13d
	setle	bl
	call	to_reg@PLT
	mov	edi, DWORD PTR 0[rbp]
	mov	rdx, r15
	movzx	ebx, bl
	mov	rsi, rax
	call	regmap_read@PLT
	mov	esi, DWORD PTR CTRL_IN[rip]
	mov	edi, r13d
	mov	r12, rax
	call	to_reg@PLT
	mov	edi, DWORD PTR 0[rbp]
	mov	rdx, r14
	mov	rsi, rax
	call	regmap_read@PLT
	mov	rsi, QWORD PTR IRQ_MASK_BASE[rip]
	mov	rdx, QWORD PTR 8[rsp]
	mov	edi, DWORD PTR 0[rbp]
	add	r12d, eax
	add	rsi, rbx
	call	regmap_read@PLT
	add	rbx, QWORD PTR IRQ_STATUS_BASE[rip]
	mov	rdx, QWORD PTR 16[rsp]
	mov	edi, DWORD PTR 0[rbp]
	mov	rsi, rbx
	add	r12d, eax
	call	regmap_read@PLT
	add	r12d, eax
	je	.L3
	lea	rdi, .LC11[rip]
	call	pr_err@PLT
.L1:
	mov	rax, QWORD PTR 56[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L22
	add	rsp, 72
	.cfi_remember_state
	.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
.L22:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	wcove_gpio_dbg_show, .-wcove_gpio_dbg_show
	.comm	WCOVE_GPIO_NUM,4,4
	.comm	IRQ_STATUS_BASE,8,8
	.comm	IRQ_MASK_BASE,8,8
	.comm	GROUP0_NR_IRQS,4,4
	.comm	CTRL_OUT,4,4
	.comm	CTRL_IN,4,4
	.comm	CTLO_DIR_OUT,4,4
	.comm	CTLI_INTCNT_PE,4,4
	.comm	CTLI_INTCNT_NE,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_gpio-wcove.c_wcove_gpio_dbg_show.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"out\000"
	.align	2
.LC1:
	.ascii	"in \000"
	.align	2
.LC2:
	.ascii	"hi\000"
	.align	2
.LC3:
	.ascii	"lo\000"
	.align	2
.LC4:
	.ascii	"fall\000"
	.align	2
.LC5:
	.ascii	"    \000"
	.align	2
.LC6:
	.ascii	"rise\000"
	.align	2
.LC7:
	.ascii	"mask  \000"
	.align	2
.LC8:
	.ascii	"unmask\000"
	.align	2
.LC9:
	.ascii	"pending\000"
	.align	2
.LC10:
	.ascii	"       \000"
	.align	2
.LC11:
	.ascii	"Failed to read registers: ctrl out/in or irq status"
	.ascii	"/mask\012\000"
	.align	2
.LC12:
	.ascii	" gpio-%-2d %s %s %s %s ctlo=%2x,%s %s\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC13:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	wcove_gpio_dbg_show, %function
wcove_gpio_dbg_show:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, r0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	sub	sp, sp, #68
	str	r3, [sp, #36]
	ldr	r10, .L23
	ldr	r3, .L23+4
	mov	r0, r1
	ldr	r3, [r3]
	str	r3, [sp, #60]
	mov	r3,#0
	bl	gpiochip_get_data
	ldr	r3, [r10]
	cmp	r3, #0
	ble	.L1
	mov	r5, r0
	mov	r4, #0
	ldr	fp, .L23+8
	b	.L11
.L3:
	ldr	r3, .L23+12
	ldr	r8, [sp, #44]
	ldr	r3, [r3]
	ldr	r0, .L23+16
	tst	r8, r3
	ldr	r3, .L23+20
	ldr	r1, [sp, #48]
	ldr	lr, [r3]
	ldr	r3, .L23+24
	moveq	r3, r0
	ldr	r2, .L23+28
	str	r3, [sp, #32]
	ldr	r3, .L23+32
	tst	r1, #1
	ldr	r0, [r2]
	ldr	r2, .L23+36
	movne	r2, r3
	ldr	ip, .L23+40
	tst	r1, lr
	and	r9, r4, #7
	ldr	r6, .L23+44
	moveq	r6, ip
	tst	r1, r0
	mov	r0, r9
	str	r2, [sp, #28]
	ldr	r7, .L23+48
	moveq	r7, ip
	bl	BIT
	mov	lr, r0
	ldr	ip, [sp, #52]
	ldr	r1, .L23+52
	tst	lr, ip
	mov	r0, r9
	ldr	r9, .L23+56
	movne	r9, r1
	bl	BIT
	ldr	ip, [sp, #56]
	ldr	r1, .L23+60
	tst	r0, ip
	ldr	r0, .L23+64
	ldr	r2, [sp, #28]
	moveq	r1, r0
	ldr	r3, [sp, #32]
	str	r2, [sp]
	str	r1, [sp, #20]
	mov	r2, r4
	ldr	r1, .L23+68
	ldr	r0, [sp, #36]
	str	r8, [sp, #12]
	str	r7, [sp, #8]
	str	r9, [sp, #16]
	str	r6, [sp, #4]
	bl	seq_printf
	ldr	r3, [r10]
	add	r4, r4, #1
	cmp	r3, r4
	ble	.L1
.L11:
	ldr	r7, [fp]
	ldr	r3, .L23+72
	cmp	r7, r4
	ldr	r1, [r3]
	mov	r0, r4
	movgt	r7, #0
	movle	r7, #1
	ldr	r6, [r5]
	bl	to_reg
	add	r2, sp, #44
	mov	r1, r0
	mov	r0, r6
	bl	regmap_read
	ldr	r3, .L23+76
	mov	r6, r0
	ldr	r1, [r3]
	mov	r0, r4
	ldr	r8, [r5]
	bl	to_reg
	add	r2, sp, #48
	mov	r1, r0
	mov	r0, r8
	bl	regmap_read
	mov	r3, r0
	ldr	r2, .L23+80
	ldr	r0, [r5]
	ldr	r1, [r2]
	add	r2, sp, #52
	add	r1, r7, r1
	add	r6, r6, r3
	bl	regmap_read
	mov	r3, r0
	ldr	r2, .L23+84
	ldr	r0, [r5]
	ldr	r1, [r2]
	add	r2, sp, #56
	add	r1, r7, r1
	add	r6, r6, r3
	bl	regmap_read
	cmn	r6, r0
	beq	.L3
	ldr	r0, .L23+88
	bl	pr_err
.L1:
	ldr	r3, .L23+4
	ldr	r2, [r3]
	ldr	r3, [sp, #60]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L22
	add	sp, sp, #68
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L22:
	bl	__stack_chk_fail
.L24:
	.align	2
.L23:
	.word	WCOVE_GPIO_NUM
	.word	.LC13
	.word	GROUP0_NR_IRQS
	.word	CTLO_DIR_OUT
	.word	.LC1
	.word	CTLI_INTCNT_NE
	.word	.LC0
	.word	CTLI_INTCNT_PE
	.word	.LC2
	.word	.LC3
	.word	.LC5
	.word	.LC4
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC12
	.word	CTRL_OUT
	.word	CTRL_IN
	.word	IRQ_MASK_BASE
	.word	IRQ_STATUS_BASE
	.word	.LC11
	.size	wcove_gpio_dbg_show, .-wcove_gpio_dbg_show
	.comm	WCOVE_GPIO_NUM,4,4
	.comm	IRQ_STATUS_BASE,4,4
	.comm	IRQ_MASK_BASE,4,4
	.comm	GROUP0_NR_IRQS,4,4
	.comm	CTRL_OUT,4,4
	.comm	CTRL_IN,4,4
	.comm	CTLO_DIR_OUT,4,4
	.comm	CTLI_INTCNT_PE,4,4
	.comm	CTLI_INTCNT_NE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
