	.file	"extr_synclink_cs.c_irq_enable.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	irq_enable, @function
irq_enable:
.LFB0:
	.cfi_startproc
	endbr64
	movzx	eax, BYTE PTR CHA[rip]
	mov	r8d, esi
	not	edx
	mov	rsi, QWORD PTR IMR[rip]
	cmp	al, r8b
	je	.L4
	and	dx, WORD PTR 2[rdi]
	add	rsi, QWORD PTR CHB[rip]
	mov	WORD PTR 2[rdi], dx
	movzx	edx, dx
	jmp	write_reg16@PLT
	.p2align 4,,10
	.p2align 3
.L4:
	and	dx, WORD PTR [rdi]
	add	rsi, rax
	mov	WORD PTR [rdi], dx
	movzx	edx, dx
	jmp	write_reg16@PLT
	.cfi_endproc
.LFE0:
	.size	irq_enable, .-irq_enable
	.comm	IMR,8,8
	.comm	CHB,8,8
	.comm	CHA,1,1
	.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_synclink_cs.c_irq_enable.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	irq_enable, %function
irq_enable:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	mvn	r2, r2
	str	lr, [sp, #-4]!
	ldr	r3, .L6
	ldr	lr, .L6+4
	ldrb	ip, [r3]	@ zero_extendqisi2
	lsl	r2, r2, #16
	cmp	ip, r1
	asr	r2, r2, #16
	ldr	r1, [lr]
	beq	.L5
	ldr	ip, .L6+8
	ldrh	lr, [r0, #2]
	ldr	ip, [ip]
	and	r2, r2, lr
	add	r1, r1, ip
	ldr	lr, [sp], #4
	strh	r2, [r0, #2]	@ movhi
	b	write_reg16
.L5:
	ldrh	lr, [r0]
	add	r1, ip, r1
	and	r2, r2, lr
	strh	r2, [r0]	@ movhi
	ldr	lr, [sp], #4
	b	write_reg16
.L7:
	.align	2
.L6:
	.word	CHA
	.word	IMR
	.word	CHB
	.size	irq_enable, .-irq_enable
	.comm	IMR,4,4
	.comm	CHB,4,4
	.comm	CHA,1,1
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
