	.file	"extr_vrc4171_card.c_reserve_using_irq.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	reserve_using_irq, @function
reserve_using_irq:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	ebp, edi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	ebx, 1
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	esi, DWORD PTR I365_INTCTL[rip]
	call	exca_read_byte@PLT
	mov	esi, DWORD PTR I365_CSCINT[rip]
	mov	edi, ebp
	and	eax, 15
	mov	ecx, eax
	mov	eax, ebx
	sal	eax, cl
	not	eax
	and	DWORD PTR vrc4171_irq_mask[rip], eax
	call	exca_read_byte@PLT
	mov	ecx, eax
	shr	cl, 4
	sal	ebx, cl
	not	ebx
	and	DWORD PTR vrc4171_irq_mask[rip], ebx
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	reserve_using_irq, .-reserve_using_irq
	.comm	vrc4171_irq_mask,4,4
	.comm	I365_INTCTL,4,4
	.comm	I365_CSCINT,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_vrc4171_card.c_reserve_using_irq.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	reserve_using_irq, %function
reserve_using_irq:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L4
	push	{r4, r5, r6, lr}
	ldr	r1, [r3]
	mov	r6, r0
	bl	exca_read_byte
	mov	r5, #1
	ldr	r4, .L4+4
	ldr	r3, .L4+8
	ldr	r2, [r4]
	and	r1, r0, #15
	bic	r2, r2, r5, lsl r1
	mov	r0, r6
	ldr	r1, [r3]
	str	r2, [r4]
	bl	exca_read_byte
	ldr	r3, [r4]
	lsr	r0, r0, #4
	and	r0, r0, #15
	bic	r0, r3, r5, lsl r0
	str	r0, [r4]
	pop	{r4, r5, r6, pc}
.L5:
	.align	2
.L4:
	.word	I365_INTCTL
	.word	vrc4171_irq_mask
	.word	I365_CSCINT
	.size	reserve_using_irq, .-reserve_using_irq
	.comm	vrc4171_irq_mask,4,4
	.comm	I365_INTCTL,4,4
	.comm	I365_CSCINT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
