	.file	"extr_ntb_hw_idt.c_idt_ntb_local_link_enable.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	idt_ntb_local_link_enable, @function
idt_ntb_local_link_enable:
.LFB0:
	.cfi_startproc
	endbr64
	mov	edx, DWORD PTR IDT_NTCTL_CPEN[rip]
	mov	esi, DWORD PTR IDT_NT_NTCTL[rip]
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	xor	r14d, r14d
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	lea	r13, 4[rbp]
	call	idt_nt_write@PLT
	mov	esi, DWORD PTR IDT_NT_REQIDCAP[rip]
	mov	rdi, rbp
	call	idt_nt_read@PLT
	mov	edi, DWORD PTR NTMTBLDATA_REQID[rip]
	xor	esi, esi
	mov	edx, eax
	call	SET_FIELD@PLT
	mov	edx, DWORD PTR 0[rbp]
	mov	edi, DWORD PTR NTMTBLDATA_PART[rip]
	xor	esi, esi
	mov	ebx, eax
	call	SET_FIELD@PLT
	mov	rsi, r14
	mov	rdi, r13
	or	ebx, eax
	or	ebx, DWORD PTR IDT_NTMTBLDATA_VALID[rip]
	call	spin_lock_irqsave@PLT
	mov	edx, DWORD PTR 0[rbp]
	mov	esi, DWORD PTR IDT_NT_NTMTBLADDR[rip]
	mov	rdi, rbp
	call	idt_nt_write@PLT
	mov	esi, DWORD PTR IDT_NT_NTMTBLDATA[rip]
	mov	edx, ebx
	mov	rdi, rbp
	call	idt_nt_write@PLT
	mov	rsi, r14
	mov	rdi, r13
	call	spin_unlock_irqrestore@PLT
	mov	edx, DWORD PTR IDT_NTGSIGNAL_SET[rip]
	mov	esi, DWORD PTR IDT_NT_NTGSIGNAL[rip]
	mov	rdi, rbp
	call	idt_nt_write@PLT
	mov	ecx, DWORD PTR 0[rbp]
	mov	edx, 1
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	esi, DWORD PTR IDT_SW_SEGSIGSTS[rip]
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 32
	sal	edx, cl
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	idt_sw_write@PLT
	.cfi_endproc
.LFE0:
	.size	idt_ntb_local_link_enable, .-idt_ntb_local_link_enable
	.comm	NTMTBLDATA_REQID,4,4
	.comm	NTMTBLDATA_PART,4,4
	.comm	IDT_SW_SEGSIGSTS,4,4
	.comm	IDT_NT_REQIDCAP,4,4
	.comm	IDT_NT_NTMTBLDATA,4,4
	.comm	IDT_NT_NTMTBLADDR,4,4
	.comm	IDT_NT_NTGSIGNAL,4,4
	.comm	IDT_NT_NTCTL,4,4
	.comm	IDT_NTMTBLDATA_VALID,4,4
	.comm	IDT_NTGSIGNAL_SET,4,4
	.comm	IDT_NTCTL_CPEN,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_ntb_hw_idt.c_idt_ntb_local_link_enable.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	idt_ntb_local_link_enable, %function
idt_ntb_local_link_enable:
	@ 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, .L4
	ldr	r2, .L4+4
	ldr	r1, [r3]
	ldr	r2, [r2]
	bl	idt_nt_write
	ldr	r3, .L4+8
	mov	r0, r4
	ldr	r1, [r3]
	bl	idt_nt_read
	ldr	r3, .L4+12
	mov	r2, r0
	mov	r1, #0
	ldr	r0, [r3]
	bl	SET_FIELD
	mov	r6, r4
	mov	r1, #0
	ldr	r3, .L4+16
	ldr	r2, [r6], #4
	mov	r5, r0
	ldr	r0, [r3]
	mov	r7, r1
	bl	SET_FIELD
	ldr	r3, .L4+20
	mov	r1, r7
	ldr	r3, [r3]
	orr	r5, r5, r0
	mov	r0, r6
	orr	r5, r5, r3
	bl	spin_lock_irqsave
	ldr	r3, .L4+24
	ldr	r2, [r4]
	ldr	r1, [r3]
	mov	r0, r4
	bl	idt_nt_write
	ldr	r3, .L4+28
	mov	r2, r5
	ldr	r1, [r3]
	mov	r0, r4
	bl	idt_nt_write
	mov	r1, r7
	mov	r0, r6
	bl	spin_unlock_irqrestore
	ldr	r3, .L4+32
	ldr	r2, .L4+36
	ldr	r1, [r3]
	mov	r0, r4
	ldr	r2, [r2]
	bl	idt_nt_write
	mov	r1, #1
	ldr	r2, [r4]
	ldr	r3, .L4+40
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	lsl	r2, r1, r2
	ldr	r1, [r3]
	b	idt_sw_write
.L5:
	.align	2
.L4:
	.word	IDT_NT_NTCTL
	.word	IDT_NTCTL_CPEN
	.word	IDT_NT_REQIDCAP
	.word	NTMTBLDATA_REQID
	.word	NTMTBLDATA_PART
	.word	IDT_NTMTBLDATA_VALID
	.word	IDT_NT_NTMTBLADDR
	.word	IDT_NT_NTMTBLDATA
	.word	IDT_NT_NTGSIGNAL
	.word	IDT_NTGSIGNAL_SET
	.word	IDT_SW_SEGSIGSTS
	.size	idt_ntb_local_link_enable, .-idt_ntb_local_link_enable
	.comm	NTMTBLDATA_REQID,4,4
	.comm	NTMTBLDATA_PART,4,4
	.comm	IDT_SW_SEGSIGSTS,4,4
	.comm	IDT_NT_REQIDCAP,4,4
	.comm	IDT_NT_NTMTBLDATA,4,4
	.comm	IDT_NT_NTMTBLADDR,4,4
	.comm	IDT_NT_NTGSIGNAL,4,4
	.comm	IDT_NT_NTCTL,4,4
	.comm	IDT_NTMTBLDATA_VALID,4,4
	.comm	IDT_NTGSIGNAL_SET,4,4
	.comm	IDT_NTCTL_CPEN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
