	.file	"extr_irq-renesas-intc-irqpin.c_intc_irqpin_irq_set_type.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	intc_irqpin_irq_set_type, @function
intc_irqpin_irq_set_type:
.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
	mov	rax, QWORD PTR intc_irqpin_sense[rip]
	and	esi, DWORD PTR IRQ_TYPE_SENSE_MASK[rip]
	movzx	r13d, BYTE PTR [rax+rsi]
	call	irq_data_get_irq_chip_data@PLT
	movzx	ebx, BYTE PTR INTC_IRQ_SENSE_VALID[rip]
	test	bl, r13b
	jne	.L2
	mov	eax, DWORD PTR EINVAL[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	neg	eax
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rdi, rbp
	mov	r12, rax
	xor	ebx, r13d
	call	irqd_to_hwirq@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 40
	movzx	edx, bl
	mov	rdi, r12
	pop	rbx
	.cfi_def_cfa_offset 32
	mov	esi, eax
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	intc_irqpin_set_sense@PLT
	.cfi_endproc
.LFE0:
	.size	intc_irqpin_irq_set_type, .-intc_irqpin_irq_set_type
	.comm	intc_irqpin_sense,8,8
	.comm	IRQ_TYPE_SENSE_MASK,4,4
	.comm	INTC_IRQ_SENSE_VALID,1,1
	.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_irq-renesas-intc-irqpin.c_intc_irqpin_irq_set_type.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	intc_irqpin_irq_set_type, %function
intc_irqpin_irq_set_type:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r2, .L7
	ldr	r3, .L7+4
	ldr	r2, [r2]
	ldr	r3, [r3]
	ldr	r7, .L7+8
	and	r1, r1, r2
	ldrb	r6, [r3, r1]	@ zero_extendqisi2
	mov	r5, r0
	bl	irq_data_get_irq_chip_data
	ldrb	r3, [r7]	@ zero_extendqisi2
	tst	r6, r3
	bne	.L2
	ldr	r3, .L7+12
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	mov	r4, r0
	mov	r0, r5
	bl	irqd_to_hwirq
	ldrb	r2, [r7]	@ zero_extendqisi2
	mov	r1, r0
	eor	r2, r2, r6
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	b	intc_irqpin_set_sense
.L8:
	.align	2
.L7:
	.word	IRQ_TYPE_SENSE_MASK
	.word	intc_irqpin_sense
	.word	INTC_IRQ_SENSE_VALID
	.word	EINVAL
	.size	intc_irqpin_irq_set_type, .-intc_irqpin_irq_set_type
	.comm	intc_irqpin_sense,4,4
	.comm	IRQ_TYPE_SENSE_MASK,4,4
	.comm	INTC_IRQ_SENSE_VALID,1,1
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
