	.file	"extr_cobalt-driver.c_msi_config_show.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"enable"
.LC1:
	.string	"disable"
.LC2:
	.string	"MSI %s\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC3:
	.string	"MSI multiple message: Capable %u. Enable %u\n"
	.section	.rodata.str1.1
.LC4:
	.string	"MSI: 64-bit address capable\n"
	.section	.rodata.str1.8
	.align 8
.LC5:
	.string	"MSI: Address 0x%08x%08x. Data 0x%04x\n"
	.align 8
.LC6:
	.string	"MSI: Address 0x%08x. Data 0x%04x\n"
	.text
	.p2align 4
	.type	msi_config_show, @function
msi_config_show:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsi
	mov	esi, 82
	mov	rdi, rbp
	sub	rsp, 32
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	lea	rdx, 8[rsp]
	call	pci_read_config_word@PLT
	test	BYTE PTR 8[rsp], 1
	lea	rax, .LC1[rip]
	lea	rsi, .LC0[rip]
	cmove	rsi, rax
	lea	rdi, .LC2[rip]
	xor	eax, eax
	call	cobalt_info@PLT
	mov	eax, DWORD PTR 8[rsp]
	mov	esi, 1
	lea	rdi, .LC3[rip]
	mov	edx, esi
	mov	ecx, eax
	sar	eax
	sar	ecx, 4
	and	ecx, 7
	sal	edx, cl
	mov	ecx, eax
	xor	eax, eax
	and	ecx, 7
	sal	esi, cl
	call	cobalt_info@PLT
	test	BYTE PTR 8[rsp], -128
	jne	.L13
.L3:
	lea	rdx, 16[rsp]
	mov	esi, 84
	mov	rdi, rbp
	call	pci_read_config_dword@PLT
	lea	rdx, 20[rsp]
	mov	esi, 88
	mov	rdi, rbp
	call	pci_read_config_dword@PLT
	lea	rdx, 12[rsp]
	mov	esi, 92
	mov	rdi, rbp
	call	pci_read_config_word@PLT
	test	BYTE PTR 8[rsp], -128
	je	.L4
	mov	ecx, DWORD PTR 12[rsp]
	mov	edx, DWORD PTR 16[rsp]
	lea	rdi, .LC5[rip]
	xor	eax, eax
	mov	esi, DWORD PTR 20[rsp]
	call	cobalt_info@PLT
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L14
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	edx, DWORD PTR 12[rsp]
	mov	esi, DWORD PTR 16[rsp]
	lea	rdi, .LC6[rip]
	xor	eax, eax
	call	cobalt_info@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L13:
	lea	rdi, .LC4[rip]
	xor	eax, eax
	call	cobalt_info@PLT
	jmp	.L3
.L14:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	msi_config_show, .-msi_config_show
	.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_cobalt-driver.c_msi_config_show.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"enable\000"
	.align	2
.LC1:
	.ascii	"disable\000"
	.align	2
.LC2:
	.ascii	"MSI %s\012\000"
	.align	2
.LC3:
	.ascii	"MSI multiple message: Capable %u. Enable %u\012\000"
	.align	2
.LC4:
	.ascii	"MSI: 64-bit address capable\012\000"
	.align	2
.LC5:
	.ascii	"MSI: Address 0x%08x%08x. Data 0x%04x\012\000"
	.align	2
.LC6:
	.ascii	"MSI: Address 0x%08x. Data 0x%04x\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	msi_config_show, %function
msi_config_show:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	ldr	r3, .L15
	sub	sp, sp, #24
	mov	r0, r1
	add	r2, sp, #4
	mov	r4, r1
	mov	r1, #82
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	bl	pci_read_config_word
	ldr	r2, [sp, #4]
	ldr	r3, .L15+4
	tst	r2, #1
	ldr	r1, .L15+8
	ldr	r0, .L15+12
	moveq	r1, r3
	bl	cobalt_info
	mov	r1, #1
	ldr	r3, [sp, #4]
	ldr	r0, .L15+16
	asr	r2, r3, #4
	asr	r3, r3, r1
	and	r3, r3, #7
	and	r2, r2, #7
	lsl	r2, r1, r2
	lsl	r1, r1, r3
	bl	cobalt_info
	ldr	r3, [sp, #4]
	tst	r3, #128
	bne	.L13
.L3:
	mov	r1, #84
	add	r2, sp, #12
	mov	r0, r4
	bl	pci_read_config_dword
	mov	r1, #88
	add	r2, sp, #16
	mov	r0, r4
	bl	pci_read_config_dword
	mov	r0, r4
	mov	r1, #92
	add	r2, sp, #8
	bl	pci_read_config_word
	ldr	r3, [sp, #4]
	tst	r3, #128
	beq	.L4
	ldr	r3, [sp, #8]
	ldr	r2, [sp, #12]
	ldr	r1, [sp, #16]
	ldr	r0, .L15+20
	bl	cobalt_info
.L1:
	ldr	r3, .L15
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L14
	add	sp, sp, #24
	@ sp needed
	pop	{r4, pc}
.L4:
	ldr	r2, [sp, #8]
	ldr	r1, [sp, #12]
	ldr	r0, .L15+24
	bl	cobalt_info
	b	.L1
.L13:
	ldr	r0, .L15+28
	bl	cobalt_info
	b	.L3
.L14:
	bl	__stack_chk_fail
.L16:
	.align	2
.L15:
	.word	.LC7
	.word	.LC1
	.word	.LC0
	.word	.LC2
	.word	.LC3
	.word	.LC5
	.word	.LC6
	.word	.LC4
	.size	msi_config_show, .-msi_config_show
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
