	.file	"284053.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"  Bus: primary=%02x, secondary=%02x, subordinate=%02x, sec-latency=%u\n"
	.align 8
.LC1:
	.string	"  I/O behind bridge: %08x-%08x\n"
	.align 8
.LC2:
	.string	"  Memory behind bridge: %08x-%08x\n"
	.align 8
.LC3:
	.string	"  Prefetchable memory behind bridge: %08lx-%08lx\n"
	.text
	.type	print_pci_bridge, @function
print_pci_bridge:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR 3[rax]
	movzx	esi, al
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR 2[rax]
	movzx	ecx, al
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR 1[rax]
	movzx	edx, al
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	r8d, esi
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR 16[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 12[rax]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR 24[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 20[rax]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 40[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	print_pci_bridge, .-print_pci_bridge
	.section	.rodata
.LC4:
	.string	"Device unknown"
.LC5:
	.string	"\npci "
.LC6:
	.string	"domain 0x%04x "
	.align 8
.LC7:
	.string	"bus 0x%04x cardnum 0x%02x function 0x%02x: vendor 0x%04x device 0x%04x\n"
.LC8:
	.string	" %s %s\n"
.LC9:
	.string	" %s\n"
.LC10:
	.string	"Card unknown"
	.align 8
.LC11:
	.string	" CardVendor 0x%04x card 0x%04x ("
.LC12:
	.string	"%s, %s)\n"
.LC13:
	.string	"%s)\n"
	.align 8
.LC14:
	.string	"  STATUS    0x%04x  COMMAND 0x%04x\n"
	.align 8
.LC15:
	.string	"  CLASS     0x%02x 0x%02x 0x%02x  REVISION 0x%02x\n"
	.align 8
.LC16:
	.string	"  BIST      0x%02x  HEADER 0x%02x  LATENCY 0x%02x  CACHE 0x%02x\n"
.LC17:
	.string	"I/O"
.LC18:
	.string	"MEM"
	.align 8
.LC19:
	.string	"  BASE%u     0x%08lx SIZE %zu  %s"
.LC20:
	.string	" PREFETCHABLE"
	.align 8
.LC21:
	.string	"  BASEROM   0x%08x  addr 0x%08x\n"
	.align 8
.LC22:
	.string	"  MAX_LAT   0x%02x  MIN_GNT 0x%02x  INT_PIN 0x%02x  INT_LINE 0x%02x\n"
	.text
	.type	print_pci_device, @function
print_pci_device:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	QWORD PTR -56[rbp], rdi
	mov	DWORD PTR -60[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	pci_device_get_vendor_name@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	pci_device_get_device_name@PLT
	mov	QWORD PTR -32[rbp], rax
	cmp	QWORD PTR -32[rbp], 0
	jne	.L3
	lea	rax, .LC4[rip]
	mov	QWORD PTR -32[rbp], rax
.L3:
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR 292[rax]
	test	eax, eax
	je	.L4
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR 292[rax]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
.L4:
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, WORD PTR 8[rax]
	movzx	edi, ax
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, WORD PTR 6[rax]
	movzx	esi, ax
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, BYTE PTR 4[rax]
	movzx	ecx, al
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, BYTE PTR 3[rax]
	movzx	edx, al
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, BYTE PTR 2[rax]
	movzx	eax, al
	mov	r9d, edi
	mov	r8d, esi
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	QWORD PTR -24[rbp], 0
	je	.L5
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L6
.L5:
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
.L6:
	cmp	DWORD PTR -60[rbp], 0
	je	.L21
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	pci_device_get_subvendor_name@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	pci_device_get_subdevice_name@PLT
	mov	QWORD PTR -32[rbp], rax
	cmp	QWORD PTR -32[rbp], 0
	jne	.L8
	lea	rax, .LC10[rip]
	mov	QWORD PTR -32[rbp], rax
.L8:
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, WORD PTR 12[rax]
	movzx	edx, ax
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, WORD PTR 10[rax]
	movzx	eax, ax
	mov	esi, eax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	QWORD PTR -24[rbp], 0
	je	.L9
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L10
.L9:
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
.L10:
	lea	rcx, -40[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, 4
	mov	rsi, rcx
	mov	rdi, rax
	call	pci_device_cfg_read_u16@PLT
	lea	rcx, -38[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, 6
	mov	rsi, rcx
	mov	rdi, rax
	call	pci_device_cfg_read_u16@PLT
	movzx	eax, WORD PTR -40[rbp]
	movzx	edx, ax
	movzx	eax, WORD PTR -38[rbp]
	movzx	eax, ax
	mov	esi, eax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, BYTE PTR 20[rax]
	movzx	esi, al
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR 16[rax]
	movzx	ecx, al
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR 16[rax]
	shr	eax, 8
	movzx	edx, al
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR 16[rax]
	shr	eax, 16
	movzx	eax, al
	mov	r8d, esi
	mov	esi, eax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rcx, -44[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, 12
	mov	rsi, rcx
	mov	rdi, rax
	call	pci_device_cfg_read_u8@PLT
	lea	rcx, -45[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, 13
	mov	rsi, rcx
	mov	rdi, rax
	call	pci_device_cfg_read_u8@PLT
	lea	rcx, -46[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, 14
	mov	rsi, rcx
	mov	rdi, rax
	call	pci_device_cfg_read_u8@PLT
	lea	rcx, -47[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, 15
	mov	rsi, rcx
	mov	rdi, rax
	call	pci_device_cfg_read_u8@PLT
	movzx	eax, BYTE PTR -44[rbp]
	movzx	esi, al
	movzx	eax, BYTE PTR -45[rbp]
	movzx	ecx, al
	movzx	eax, BYTE PTR -46[rbp]
	movzx	edx, al
	movzx	eax, BYTE PTR -47[rbp]
	movzx	eax, al
	mov	r8d, esi
	mov	esi, eax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	pci_device_probe@PLT
	mov	DWORD PTR -36[rbp], 0
	jmp	.L11
.L16:
	mov	rcx, QWORD PTR -56[rbp]
	mov	edx, DWORD PTR -36[rbp]
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	add	rax, 40
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L12
	mov	rcx, QWORD PTR -56[rbp]
	mov	edx, DWORD PTR -36[rbp]
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	add	rax, 48
	movzx	eax, BYTE PTR 8[rax]
	and	eax, 1
	test	al, al
	je	.L13
	lea	rdx, .LC17[rip]
	jmp	.L14
.L13:
	lea	rdx, .LC18[rip]
.L14:
	mov	rsi, QWORD PTR -56[rbp]
	mov	ecx, DWORD PTR -36[rbp]
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	sal	rax, 3
	add	rax, rsi
	add	rax, 48
	mov	rcx, QWORD PTR [rax]
	mov	rdi, QWORD PTR -56[rbp]
	mov	esi, DWORD PTR -36[rbp]
	mov	rax, rsi
	sal	rax, 2
	add	rax, rsi
	sal	rax, 3
	add	rax, rdi
	add	rax, 40
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	mov	eax, DWORD PTR -36[rbp]
	mov	r8, rdx
	mov	rdx, rsi
	mov	esi, eax
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rcx, QWORD PTR -56[rbp]
	mov	edx, DWORD PTR -36[rbp]
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	add	rax, 48
	movzx	eax, BYTE PTR 8[rax]
	and	eax, 1
	test	al, al
	jne	.L15
	mov	rcx, QWORD PTR -56[rbp]
	mov	edx, DWORD PTR -36[rbp]
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	add	rax, 48
	movzx	eax, BYTE PTR 8[rax]
	shr	al
	and	eax, 1
	test	al, al
	je	.L15
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
.L15:
	mov	edi, 10
	call	putchar@PLT
.L12:
	add	DWORD PTR -36[rbp], 1
.L11:
	cmp	DWORD PTR -36[rbp], 5
	jbe	.L16
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR 264[rax]
	test	rax, rax
	je	.L17
	mov	edx, 0
	mov	esi, 0
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
.L17:
	lea	rcx, -41[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, 61
	mov	rsi, rcx
	mov	rdi, rax
	call	pci_device_cfg_read_u8@PLT
	lea	rcx, -42[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, 62
	mov	rsi, rcx
	mov	rdi, rax
	call	pci_device_cfg_read_u8@PLT
	lea	rcx, -43[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, 63
	mov	rsi, rcx
	mov	rdi, rax
	call	pci_device_cfg_read_u8@PLT
	mov	rax, QWORD PTR -56[rbp]
	mov	esi, DWORD PTR 272[rax]
	movzx	eax, BYTE PTR -41[rbp]
	movzx	ecx, al
	movzx	eax, BYTE PTR -42[rbp]
	movzx	edx, al
	movzx	eax, BYTE PTR -43[rbp]
	movzx	eax, al
	mov	r8d, esi
	mov	esi, eax
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR 16[rax]
	shr	eax, 16
	cmp	eax, 6
	jne	.L21
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	pci_device_get_bridge_info@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	je	.L19
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	print_pci_bridge
	jmp	.L21
.L19:
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	pci_device_get_pcmcia_bridge_info@PLT
	mov	QWORD PTR -16[rbp], rax
.L21:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L20
	call	__stack_chk_fail@PLT
.L20:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	print_pci_device, .-print_pci_device
	.section	.rodata
.LC23:
	.string	"v"
.LC24:
	.string	"usage: %s [-v]\n"
	.align 8
.LC25:
	.string	"Couldn't initialize PCI system: %s\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	mov	DWORD PTR -32[rbp], 0
	mov	DWORD PTR -28[rbp], 0
	jmp	.L23
.L25:
	cmp	DWORD PTR -24[rbp], 63
	je	.L24
	cmp	DWORD PTR -24[rbp], 118
	jne	.L23
	mov	DWORD PTR -32[rbp], 1
	jmp	.L23
.L24:
	add	DWORD PTR -28[rbp], 1
.L23:
	mov	rcx, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR -36[rbp]
	lea	rdx, .LC23[rip]
	mov	rsi, rcx
	mov	edi, eax
	call	getopt@PLT
	mov	DWORD PTR -24[rbp], eax
	cmp	DWORD PTR -24[rbp], -1
	jne	.L25
	cmp	DWORD PTR -28[rbp], 0
	je	.L26
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC24[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 2
	call	exit@PLT
.L26:
	call	pci_system_init@PLT
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], 0
	je	.L27
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC25[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L27:
	mov	edi, 0
	call	pci_slot_match_iterator_create@PLT
	mov	QWORD PTR -16[rbp], rax
	jmp	.L28
.L29:
	mov	edx, DWORD PTR -32[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	print_pci_device
.L28:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	pci_device_next@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L29
	call	pci_system_cleanup@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"284053.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"  Bus: primary=%02x, secondary=%02x, subordinate=%0"
	.ascii	"2x, sec-latency=%u\012\000"
	.align	2
.LC1:
	.ascii	"  I/O behind bridge: %08x-%08x\012\000"
	.align	2
.LC2:
	.ascii	"  Memory behind bridge: %08x-%08x\012\000"
	.align	2
.LC3:
	.ascii	"  Prefetchable memory behind bridge: %08llx-%08llx\012"
	.ascii	"\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_pci_bridge, %function
print_pci_bridge:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3, #1]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3, #2]	@ zero_extendqisi2
	mov	r0, r3
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3, #3]	@ zero_extendqisi2
	str	r3, [sp]
	mov	r3, r0
	ldr	r0, .L2
	bl	printf
	ldr	r3, [fp, #-8]
	ldr	r1, [r3, #12]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #16]
	mov	r2, r3
	ldr	r0, .L2+4
	bl	printf
	ldr	r3, [fp, #-8]
	ldr	r1, [r3, #20]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #24]
	mov	r2, r3
	ldr	r0, .L2+8
	bl	printf
	ldr	r3, [fp, #-8]
	add	r1, r3, #32
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-8]
	add	r3, r3, #40
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L2+12
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L3:
	.align	2
.L2:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	print_pci_bridge, .-print_pci_bridge
	.section	.rodata
	.align	2
.LC4:
	.ascii	"Device unknown\000"
	.align	2
.LC5:
	.ascii	"\012pci \000"
	.align	2
.LC6:
	.ascii	"domain 0x%04x \000"
	.align	2
.LC7:
	.ascii	"bus 0x%04x cardnum 0x%02x function 0x%02x: vendor 0"
	.ascii	"x%04x device 0x%04x\012\000"
	.align	2
.LC8:
	.ascii	" %s %s\012\000"
	.align	2
.LC9:
	.ascii	" %s\012\000"
	.align	2
.LC10:
	.ascii	"Card unknown\000"
	.align	2
.LC11:
	.ascii	" CardVendor 0x%04x card 0x%04x (\000"
	.align	2
.LC12:
	.ascii	"%s, %s)\012\000"
	.align	2
.LC13:
	.ascii	"%s)\012\000"
	.align	2
.LC14:
	.ascii	"  STATUS    0x%04x  COMMAND 0x%04x\012\000"
	.align	2
.LC15:
	.ascii	"  CLASS     0x%02x 0x%02x 0x%02x  REVISION 0x%02x\012"
	.ascii	"\000"
	.align	2
.LC16:
	.ascii	"  BIST      0x%02x  HEADER 0x%02x  LATENCY 0x%02x  "
	.ascii	"CACHE 0x%02x\012\000"
	.align	2
.LC17:
	.ascii	"I/O\000"
	.align	2
.LC18:
	.ascii	"MEM\000"
	.align	2
.LC19:
	.ascii	"  BASE%u     0x%08x SIZE %zu  %s\000"
	.align	2
.LC20:
	.ascii	" PREFETCHABLE\000"
	.align	2
.LC21:
	.ascii	"  BASEROM   0x%08x  addr 0x%08x\012\000"
	.align	2
.LC22:
	.ascii	"  MAX_LAT   0x%02x  MIN_GNT 0x%02x  INT_PIN 0x%02x "
	.ascii	" INT_LINE 0x%02x\012\000"
	.align	2
.LC23:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_pci_device, %function
print_pci_device:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	ldr	r3, .L24
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, [fp, #-40]
	bl	pci_device_get_vendor_name
	str	r0, [fp, #-16]
	ldr	r0, [fp, #-40]
	bl	pci_device_get_device_name
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L5
	ldr	r3, .L24+4
	str	r3, [fp, #-24]
.L5:
	ldr	r0, .L24+8
	bl	printf
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #284]
	cmp	r3, #0
	beq	.L6
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #284]
	mov	r1, r3
	ldr	r0, .L24+12
	bl	printf
.L6:
	ldr	r3, [fp, #-40]
	ldrb	r3, [r3, #2]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r3, [fp, #-40]
	ldrb	r3, [r3, #3]	@ zero_extendqisi2
	mov	r0, r3
	ldr	r3, [fp, #-40]
	ldrb	r3, [r3, #4]	@ zero_extendqisi2
	mov	ip, r3
	ldr	r3, [fp, #-40]
	ldrh	r3, [r3, #6]
	mov	r2, r3
	ldr	r3, [fp, #-40]
	ldrh	r3, [r3, #8]
	str	r3, [sp, #4]
	str	r2, [sp]
	mov	r3, ip
	mov	r2, r0
	ldr	r0, .L24+16
	bl	printf
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L7
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-16]
	ldr	r0, .L24+20
	bl	printf
	b	.L8
.L7:
	ldr	r1, [fp, #-24]
	ldr	r0, .L24+24
	bl	printf
.L8:
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	beq	.L23
	ldr	r0, [fp, #-40]
	bl	pci_device_get_subvendor_name
	str	r0, [fp, #-16]
	ldr	r0, [fp, #-40]
	bl	pci_device_get_subdevice_name
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L10
	ldr	r3, .L24+28
	str	r3, [fp, #-24]
.L10:
	ldr	r3, [fp, #-40]
	ldrh	r3, [r3, #10]
	mov	r1, r3
	ldr	r3, [fp, #-40]
	ldrh	r3, [r3, #12]
	mov	r2, r3
	ldr	r0, .L24+32
	bl	printf
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L11
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-16]
	ldr	r0, .L24+36
	bl	printf
	b	.L12
.L11:
	ldr	r1, [fp, #-24]
	ldr	r0, .L24+40
	bl	printf
.L12:
	sub	r1, fp, #28
	mov	r2, #4
	mov	r3, #0
	ldr	r0, [fp, #-40]
	bl	pci_device_cfg_read_u16
	sub	r1, fp, #26
	mov	r2, #6
	mov	r3, #0
	ldr	r0, [fp, #-40]
	bl	pci_device_cfg_read_u16
	ldrh	r3, [fp, #-26]
	mov	r1, r3
	ldrh	r3, [fp, #-28]
	mov	r2, r3
	ldr	r0, .L24+44
	bl	printf
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #16]
	lsr	r3, r3, #16
	and	r1, r3, #255
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #16]
	lsr	r3, r3, #8
	and	r2, r3, #255
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #16]
	and	r0, r3, #255
	ldr	r3, [fp, #-40]
	ldrb	r3, [r3, #20]	@ zero_extendqisi2
	str	r3, [sp]
	mov	r3, r0
	ldr	r0, .L24+48
	bl	printf
	sub	r1, fp, #32
	mov	r2, #12
	mov	r3, #0
	ldr	r0, [fp, #-40]
	bl	pci_device_cfg_read_u8
	sub	r1, fp, #33
	mov	r2, #13
	mov	r3, #0
	ldr	r0, [fp, #-40]
	bl	pci_device_cfg_read_u8
	sub	r1, fp, #34
	mov	r2, #14
	mov	r3, #0
	ldr	r0, [fp, #-40]
	bl	pci_device_cfg_read_u8
	sub	r1, fp, #35
	mov	r2, #15
	mov	r3, #0
	ldr	r0, [fp, #-40]
	bl	pci_device_cfg_read_u8
	ldrb	r3, [fp, #-35]	@ zero_extendqisi2
	mov	r1, r3
	ldrb	r3, [fp, #-34]	@ zero_extendqisi2
	mov	r2, r3
	ldrb	r3, [fp, #-33]	@ zero_extendqisi2
	mov	r0, r3
	ldrb	r3, [fp, #-32]	@ zero_extendqisi2
	str	r3, [sp]
	mov	r3, r0
	ldr	r0, .L24+52
	bl	printf
	ldr	r0, [fp, #-40]
	bl	pci_device_probe
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L13
.L18:
	ldr	r1, [fp, #-40]
	ldr	r3, [fp, #-20]
	add	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldmia	r3, {r2-r3}
	orrs	r3, r2, r3
	beq	.L14
	ldr	r1, [fp, #-40]
	ldr	r3, [fp, #-20]
	add	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldmia	r3, {r2-r3}
	mov	r0, r2
	ldr	r1, [fp, #-40]
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #48
	ldmia	r3, {r2-r3}
	mov	ip, r2
	ldr	r1, [fp, #-40]
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #56
	ldrb	r3, [r3]
	and	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L15
	ldr	r3, .L24+56
	b	.L16
.L15:
	ldr	r3, .L24+60
.L16:
	str	r3, [sp]
	mov	r3, ip
	mov	r2, r0
	ldr	r1, [fp, #-20]
	ldr	r0, .L24+64
	bl	printf
	ldr	r1, [fp, #-40]
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #56
	ldrb	r3, [r3]
	and	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	bne	.L17
	ldr	r1, [fp, #-40]
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #56
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsr	r3, r3, #1
	and	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L17
	ldr	r0, .L24+68
	bl	printf
.L17:
	mov	r0, #10
	bl	putchar
.L14:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L13:
	ldr	r3, [fp, #-20]
	cmp	r3, #5
	bls	.L18
	ldr	r3, [fp, #-40]
	add	r3, r3, #264
	ldmia	r3, {r2-r3}
	orrs	r3, r2, r3
	beq	.L19
	mov	r2, #0
	mov	r1, #0
	ldr	r0, .L24+72
	bl	printf
.L19:
	sub	r1, fp, #29
	mov	r2, #61
	mov	r3, #0
	ldr	r0, [fp, #-40]
	bl	pci_device_cfg_read_u8
	sub	r1, fp, #30
	mov	r2, #62
	mov	r3, #0
	ldr	r0, [fp, #-40]
	bl	pci_device_cfg_read_u8
	sub	r1, fp, #31
	mov	r2, #63
	mov	r3, #0
	ldr	r0, [fp, #-40]
	bl	pci_device_cfg_read_u8
	ldrb	r3, [fp, #-31]	@ zero_extendqisi2
	mov	r1, r3
	ldrb	r3, [fp, #-30]	@ zero_extendqisi2
	mov	r2, r3
	ldrb	r3, [fp, #-29]	@ zero_extendqisi2
	mov	r0, r3
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #272]
	str	r3, [sp]
	mov	r3, r0
	ldr	r0, .L24+76
	bl	printf
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #16]
	lsr	r3, r3, #16
	cmp	r3, #6
	bne	.L23
	ldr	r0, [fp, #-40]
	bl	pci_device_get_bridge_info
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L21
	ldr	r0, [fp, #-12]
	bl	print_pci_bridge
	b	.L23
.L21:
	ldr	r0, [fp, #-40]
	bl	pci_device_get_pcmcia_bridge_info
	str	r0, [fp, #-12]
.L23:
	nop
	ldr	r3, .L24
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L22
	bl	__stack_chk_fail
.L22:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L25:
	.align	2
.L24:
	.word	.LC23
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.size	print_pci_device, .-print_pci_device
	.section	.rodata
	.align	2
.LC24:
	.ascii	"v\000"
	.align	2
.LC25:
	.ascii	"usage: %s [-v]\012\000"
	.align	2
.LC26:
	.ascii	"Couldn't initialize PCI system: %s\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #36
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	mov	r3, #0
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L27
.L29:
	ldr	r3, [fp, #-28]
	cmp	r3, #63
	beq	.L28
	ldr	r3, [fp, #-28]
	cmp	r3, #118
	bne	.L27
	mov	r3, #1
	str	r3, [fp, #-36]
	b	.L27
.L28:
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L27:
	ldr	r2, .L35
	ldr	r1, [fp, #-44]
	ldr	r0, [fp, #-40]
	bl	getopt
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmn	r3, #1
	bne	.L29
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L30
	ldr	r3, .L35+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-44]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L35+8
	bl	fprintf
	mov	r0, #2
	bl	exit
.L30:
	bl	pci_system_init
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L31
	ldr	r3, .L35+4
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L35+12
	mov	r0, r4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L31:
	mov	r0, #0
	bl	pci_slot_match_iterator_create
	str	r0, [fp, #-20]
	b	.L32
.L33:
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-16]
	bl	print_pci_device
.L32:
	ldr	r0, [fp, #-20]
	bl	pci_device_next
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L33
	bl	pci_system_cleanup
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L36:
	.align	2
.L35:
	.word	.LC24
	.word	stderr
	.word	.LC25
	.word	.LC26
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
