	.file	"extr_pinctrl-plgpio.c_plgpio_irq_disable.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	plgpio_irq_disable, @function
plgpio_irq_disable:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	irq_data_get_irq_chip_data@PLT
	mov	rdi, rax
	call	gpiochip_get_data@PLT
	mov	ebp, DWORD PTR 0[rbp]
	mov	rbx, rax
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L2
	mov	edx, DWORD PTR 8[rbx]
	test	DWORD PTR PTO_IE_REG[rip], edx
	je	.L2
	mov	edi, ebp
	call	rax
	mov	ebp, eax
	cmp	eax, -1
	je	.L1
.L2:
	lea	r12, 12[rbx]
	xor	r13d, r13d
	mov	rsi, r13
	mov	rdi, r12
	call	spin_lock_irqsave@PLT
	mov	edi, DWORD PTR 20[rbx]
	mov	edx, DWORD PTR 16[rbx]
	mov	esi, ebp
	call	plgpio_reg_set@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rsi, r13
	mov	rdi, r12
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	spin_unlock_irqrestore@PLT
	.p2align 4,,10
	.p2align 3
.L1:
	.cfi_restore_state
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	plgpio_irq_disable, .-plgpio_irq_disable
	.comm	PTO_IE_REG,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_pinctrl-plgpio.c_plgpio_irq_disable.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	plgpio_irq_disable, %function
plgpio_irq_disable:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r0
	bl	irq_data_get_irq_chip_data
	bl	gpiochip_get_data
	ldr	r3, [r0]
	mov	r4, r0
	cmp	r3, #0
	ldr	r5, [r5]
	beq	.L2
	ldr	r2, .L12
	ldr	r1, [r0, #4]
	ldr	r2, [r2]
	tst	r1, r2
	beq	.L2
	mov	r0, r5
	blx	r3
	cmn	r0, #1
	mov	r5, r0
	popeq	{r4, r5, r6, r7, r8, pc}
.L2:
	mov	r7, #0
	add	r6, r4, #8
	mov	r1, r7
	mov	r0, r6
	bl	spin_lock_irqsave
	mov	r1, r5
	ldr	r2, [r4, #12]
	ldr	r0, [r4, #16]
	bl	plgpio_reg_set
	mov	r1, r7
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, lr}
	b	spin_unlock_irqrestore
.L13:
	.align	2
.L12:
	.word	PTO_IE_REG
	.size	plgpio_irq_disable, .-plgpio_irq_disable
	.comm	PTO_IE_REG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
