	.file	"extr_io_apic.c_ioapic_disable_pin.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"ioapic%u: intpin %d disabled\n"
	.text
	.p2align 4
	.globl	ioapic_disable_pin
	.type	ioapic_disable_pin, @function
ioapic_disable_pin:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	cmp	QWORD PTR [rdi], rsi
	jbe	.L4
	mov	rax, QWORD PTR 16[rdi]
	mov	rcx, QWORD PTR IRQ_DISABLED[rip]
	mov	rdx, rsi
	lea	rax, [rax+rsi*8]
	cmp	QWORD PTR [rax], rcx
	je	.L4
	mov	QWORD PTR [rax], rcx
	xor	r12d, r12d
	cmp	QWORD PTR bootverbose[rip], 0
	jne	.L8
	mov	eax, r12d
	pop	r12
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	r12d, DWORD PTR EINVAL[rip]
	mov	eax, r12d
	pop	r12
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	esi, DWORD PTR 8[rdi]
	lea	rdi, .LC0[rip]
	call	printf@PLT
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	ioapic_disable_pin, .-ioapic_disable_pin
	.comm	bootverbose,8,8
	.comm	IRQ_DISABLED,8,8
	.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_io_apic.c_ioapic_disable_pin.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"ioapic%u: intpin %d disabled\012\000"
	.text
	.align	2
	.global	ioapic_disable_pin
	.syntax unified
	.arm
	.fpu softvfp
	.type	ioapic_disable_pin, %function
ioapic_disable_pin:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, [r0]
	cmp	r2, r1
	bls	.L4
	ldr	r2, [r0, #8]
	mov	r3, r0
	ldr	r0, .L13
	ldr	ip, [r2, r1, lsl #2]
	ldr	r0, [r0]
	cmp	ip, r0
	beq	.L4
	ldr	ip, .L13+4
	str	r0, [r2, r1, lsl #2]
	ldr	r0, [ip]
	cmp	r0, #0
	bxeq	lr
	mov	r2, r1
	push	{r4, lr}
	ldr	r1, [r3, #4]
	ldr	r0, .L13+8
	bl	printf
	mov	r0, #0
	pop	{r4, pc}
.L4:
	ldr	r3, .L13+12
	ldr	r0, [r3]
	bx	lr
.L14:
	.align	2
.L13:
	.word	IRQ_DISABLED
	.word	bootverbose
	.word	.LC0
	.word	EINVAL
	.size	ioapic_disable_pin, .-ioapic_disable_pin
	.comm	bootverbose,4,4
	.comm	IRQ_DISABLED,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
