	.file	"extr_xilinx_emaclite.c_xemaclite_disable_interrupts.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	xemaclite_disable_interrupts, @function
xemaclite_disable_interrupts:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	esi, DWORD PTR XEL_GIER_GIE_MASK[rip]
	mov	rbx, rdi
	mov	rdi, QWORD PTR XEL_GIER_OFFSET[rip]
	add	rdi, QWORD PTR 16[rbx]
	call	out_be32@PLT
	mov	rdi, QWORD PTR XEL_TSR_OFFSET[rip]
	add	rdi, QWORD PTR 16[rbx]
	call	in_be32@PLT
	mov	esi, DWORD PTR XEL_TSR_XMIT_IE_MASK[rip]
	mov	rdi, QWORD PTR XEL_TSR_OFFSET[rip]
	add	rdi, QWORD PTR 16[rbx]
	not	esi
	and	esi, eax
	call	out_be32@PLT
	cmp	QWORD PTR [rbx], 0
	jne	.L6
.L2:
	mov	rdi, QWORD PTR XEL_RSR_OFFSET[rip]
	add	rdi, QWORD PTR 16[rbx]
	call	in_be32@PLT
	mov	esi, DWORD PTR XEL_RSR_RECV_IE_MASK[rip]
	mov	rdi, QWORD PTR XEL_RSR_OFFSET[rip]
	add	rdi, QWORD PTR 16[rbx]
	not	esi
	and	esi, eax
	call	out_be32@PLT
	cmp	QWORD PTR 8[rbx], 0
	jne	.L7
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	rdi, QWORD PTR XEL_BUFFER_OFFSET[rip]
	add	rdi, QWORD PTR 16[rbx]
	add	rdi, QWORD PTR XEL_TSR_OFFSET[rip]
	call	in_be32@PLT
	mov	esi, DWORD PTR XEL_TSR_XMIT_IE_MASK[rip]
	mov	rdi, QWORD PTR XEL_BUFFER_OFFSET[rip]
	add	rdi, QWORD PTR 16[rbx]
	add	rdi, QWORD PTR XEL_TSR_OFFSET[rip]
	not	esi
	and	esi, eax
	call	out_be32@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rdi, QWORD PTR XEL_BUFFER_OFFSET[rip]
	add	rdi, QWORD PTR 16[rbx]
	add	rdi, QWORD PTR XEL_RSR_OFFSET[rip]
	call	in_be32@PLT
	mov	esi, DWORD PTR XEL_RSR_RECV_IE_MASK[rip]
	mov	rdi, QWORD PTR XEL_BUFFER_OFFSET[rip]
	add	rdi, QWORD PTR 16[rbx]
	pop	rbx
	.cfi_def_cfa_offset 8
	not	esi
	add	rdi, QWORD PTR XEL_RSR_OFFSET[rip]
	and	esi, eax
	jmp	out_be32@PLT
	.cfi_endproc
.LFE0:
	.size	xemaclite_disable_interrupts, .-xemaclite_disable_interrupts
	.comm	XEL_TSR_XMIT_IE_MASK,4,4
	.comm	XEL_TSR_OFFSET,8,8
	.comm	XEL_RSR_RECV_IE_MASK,4,4
	.comm	XEL_RSR_OFFSET,8,8
	.comm	XEL_GIER_OFFSET,8,8
	.comm	XEL_GIER_GIE_MASK,4,4
	.comm	XEL_BUFFER_OFFSET,8,8
	.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_xilinx_emaclite.c_xemaclite_disable_interrupts.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	xemaclite_disable_interrupts, %function
xemaclite_disable_interrupts:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	ldr	r3, .L10
	ldr	r0, [r0, #8]
	ldr	r2, [r3]
	ldr	r3, .L10+4
	ldr	r5, .L10+8
	ldr	r1, [r3]
	add	r0, r0, r2
	bl	out_be32
	ldr	r3, [r5]
	ldr	r0, [r4, #8]
	ldr	r6, .L10+12
	add	r0, r0, r3
	bl	in_be32
	ldr	r3, [r5]
	ldr	r1, [r6]
	ldr	r2, [r4, #8]
	bic	r1, r0, r1
	add	r0, r2, r3
	bl	out_be32
	ldr	r3, [r4]
	cmp	r3, #0
	bne	.L9
.L2:
	ldr	r5, .L10+16
	ldr	r0, [r4, #8]
	ldr	r3, [r5]
	ldr	r6, .L10+20
	add	r0, r0, r3
	bl	in_be32
	ldr	r3, [r5]
	ldr	r1, [r6]
	ldr	r2, [r4, #8]
	bic	r1, r0, r1
	add	r0, r2, r3
	bl	out_be32
	ldr	r3, [r4, #4]
	cmp	r3, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	ldr	r7, .L10+24
	ldr	r3, [r4, #8]
	ldr	r2, [r7]
	ldr	r0, [r5]
	add	r3, r3, r2
	add	r0, r3, r0
	bl	in_be32
	ldr	ip, [r7]
	ldr	r3, [r4, #8]
	ldr	r1, [r6]
	ldr	r2, [r5]
	add	r3, r3, ip
	bic	r1, r0, r1
	pop	{r4, r5, r6, r7, r8, lr}
	add	r0, r3, r2
	b	out_be32
.L9:
	ldr	r7, .L10+24
	ldr	r3, [r4, #8]
	ldr	r2, [r7]
	ldr	r0, [r5]
	add	r3, r3, r2
	add	r0, r3, r0
	bl	in_be32
	ldr	ip, [r7]
	ldr	r3, [r4, #8]
	ldr	r1, [r6]
	ldr	r2, [r5]
	add	r3, r3, ip
	bic	r1, r0, r1
	add	r0, r3, r2
	bl	out_be32
	b	.L2
.L11:
	.align	2
.L10:
	.word	XEL_GIER_OFFSET
	.word	XEL_GIER_GIE_MASK
	.word	XEL_TSR_OFFSET
	.word	XEL_TSR_XMIT_IE_MASK
	.word	XEL_RSR_OFFSET
	.word	XEL_RSR_RECV_IE_MASK
	.word	XEL_BUFFER_OFFSET
	.size	xemaclite_disable_interrupts, .-xemaclite_disable_interrupts
	.comm	XEL_TSR_XMIT_IE_MASK,4,4
	.comm	XEL_TSR_OFFSET,4,4
	.comm	XEL_RSR_RECV_IE_MASK,4,4
	.comm	XEL_RSR_OFFSET,4,4
	.comm	XEL_GIER_OFFSET,4,4
	.comm	XEL_GIER_GIE_MASK,4,4
	.comm	XEL_BUFFER_OFFSET,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
