	.file	"extr_bcm-keypad.c_bcm_kp_stop.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	bcm_kp_stop, @function
bcm_kp_stop:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, rdi
	mov	rdi, QWORD PTR KPCR_OFFSET[rip]
	add	rdi, QWORD PTR 8[rbx]
	call	readl@PLT
	mov	rsi, QWORD PTR KPCR_OFFSET[rip]
	xor	edi, edi
	add	rsi, QWORD PTR 8[rbx]
	call	writel@PLT
	mov	rsi, QWORD PTR KPIMR0_OFFSET[rip]
	xor	edi, edi
	add	rsi, QWORD PTR 8[rbx]
	call	writel@PLT
	mov	rsi, QWORD PTR KPIMR1_OFFSET[rip]
	xor	edi, edi
	add	rsi, QWORD PTR 8[rbx]
	call	writel@PLT
	mov	rsi, QWORD PTR KPICR0_OFFSET[rip]
	mov	edi, -1
	add	rsi, QWORD PTR 8[rbx]
	call	writel@PLT
	mov	rsi, QWORD PTR KPICR1_OFFSET[rip]
	mov	edi, -1
	add	rsi, QWORD PTR 8[rbx]
	call	writel@PLT
	mov	rdi, QWORD PTR [rbx]
	test	rdi, rdi
	jne	.L5
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	pop	rbx
	.cfi_def_cfa_offset 8
	jmp	clk_disable_unprepare@PLT
	.cfi_endproc
.LFE0:
	.size	bcm_kp_stop, .-bcm_kp_stop
	.comm	KPIMR1_OFFSET,8,8
	.comm	KPIMR0_OFFSET,8,8
	.comm	KPICR1_OFFSET,8,8
	.comm	KPICR0_OFFSET,8,8
	.comm	KPCR_OFFSET,8,8
	.comm	KPCR_ENABLE,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_bcm-keypad.c_bcm_kp_stop.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	bcm_kp_stop, %function
bcm_kp_stop:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r5, .L5
	ldr	r0, [r0, #4]
	ldr	r3, [r5]
	add	r0, r0, r3
	bl	readl
	ldr	r3, [r5]
	ldr	r1, [r4, #4]
	mov	r0, #0
	add	r1, r1, r3
	bl	writel
	ldr	r3, .L5+4
	ldr	r1, [r4, #4]
	ldr	r3, [r3]
	mov	r0, #0
	add	r1, r1, r3
	bl	writel
	ldr	r3, .L5+8
	ldr	r1, [r4, #4]
	ldr	r3, [r3]
	mov	r0, #0
	add	r1, r1, r3
	bl	writel
	ldr	r3, .L5+12
	ldr	r1, [r4, #4]
	ldr	r3, [r3]
	mvn	r0, #0
	add	r1, r1, r3
	bl	writel
	ldr	r3, .L5+16
	ldr	r1, [r4, #4]
	ldr	r3, [r3]
	mvn	r0, #0
	add	r1, r1, r3
	bl	writel
	ldr	r0, [r4]
	cmp	r0, #0
	popeq	{r4, r5, r6, pc}
	pop	{r4, r5, r6, lr}
	b	clk_disable_unprepare
.L6:
	.align	2
.L5:
	.word	KPCR_OFFSET
	.word	KPIMR0_OFFSET
	.word	KPIMR1_OFFSET
	.word	KPICR0_OFFSET
	.word	KPICR1_OFFSET
	.size	bcm_kp_stop, .-bcm_kp_stop
	.comm	KPIMR1_OFFSET,4,4
	.comm	KPIMR0_OFFSET,4,4
	.comm	KPICR1_OFFSET,4,4
	.comm	KPICR0_OFFSET,4,4
	.comm	KPCR_OFFSET,4,4
	.comm	KPCR_ENABLE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
