	.file	"extr_xilinx_pci.c_xilinx_pci_fixup_bridge.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Hiding Xilinx plb-pci host bridge resources %s\n"
	.text
	.p2align 4
	.type	xilinx_pci_fixup_bridge, @function
xilinx_pci_fixup_bridge:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	QWORD PTR 24[rdi], 0
	jne	.L15
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	mov	rdi, QWORD PTR 16[rdi]
	cmp	QWORD PTR [rdi], 0
	je	.L19
.L1:
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L19:
	.cfi_restore_state
	call	pci_bus_to_host@PLT
	test	rax, rax
	je	.L1
	mov	esi, DWORD PTR [rax]
	mov	edi, DWORD PTR xilinx_pci_match[rip]
	call	of_match_node@PLT
	test	eax, eax
	je	.L1
	mov	edx, DWORD PTR DEVICE_COUNT_RESOURCE[rip]
	test	edx, edx
	jle	.L5
	mov	rax, QWORD PTR 8[rbp]
	sub	edx, 1
	lea	rdx, [rdx+rdx*2]
	lea	rcx, [rax+rdx*8]
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rdx, rax
	mov	QWORD PTR 16[rax], 0
	add	rax, 24
	mov	QWORD PTR -16[rax], 0
	mov	QWORD PTR -24[rax], 0
	cmp	rdx, rcx
	jne	.L6
.L5:
	mov	rdi, rbp
	call	pci_name@PLT
	mov	rdi, rbp
	lea	rsi, .LC0[rip]
	pop	rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 8
	mov	edx, eax
	jmp	dev_info@PLT
	.p2align 4,,10
	.p2align 3
.L15:
	ret
	.cfi_endproc
.LFE0:
	.size	xilinx_pci_fixup_bridge, .-xilinx_pci_fixup_bridge
	.comm	xilinx_pci_match,4,4
	.comm	DEVICE_COUNT_RESOURCE,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_xilinx_pci.c_xilinx_pci_fixup_bridge.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Hiding Xilinx plb-pci host bridge resources %s\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	xilinx_pci_fixup_bridge, %function
xilinx_pci_fixup_bridge:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0, #12]
	cmp	r3, #0
	bxne	lr
	push	{r4, r5, r6, lr}
	mov	r5, r0
	ldr	r0, [r0, #8]
	ldr	r4, [r0]
	cmp	r4, #0
	popne	{r4, r5, r6, pc}
	bl	pci_bus_to_host
	cmp	r0, #0
	popeq	{r4, r5, r6, pc}
	ldr	r3, .L19
	ldr	r1, [r0]
	ldr	r0, [r3]
	bl	of_match_node
	cmp	r0, #0
	popeq	{r4, r5, r6, pc}
	ldr	r3, .L19+4
	ldr	r1, [r3]
	cmp	r1, #0
	ble	.L5
	mov	r2, r4
	ldr	r3, [r5, #4]
	add	r1, r1, r1, lsl #1
	add	r1, r3, r1, lsl #2
.L6:
	str	r2, [r3, #8]
	str	r2, [r3, #4]
	str	r2, [r3], #12
	cmp	r3, r1
	bne	.L6
.L5:
	mov	r0, r5
	bl	pci_name
	ldr	r1, .L19+8
	mov	r2, r0
	mov	r0, r5
	pop	{r4, r5, r6, lr}
	b	dev_info
.L20:
	.align	2
.L19:
	.word	xilinx_pci_match
	.word	DEVICE_COUNT_RESOURCE
	.word	.LC0
	.size	xilinx_pci_fixup_bridge, .-xilinx_pci_fixup_bridge
	.comm	xilinx_pci_match,4,4
	.comm	DEVICE_COUNT_RESOURCE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
