	.file	"extr_k10temp.c_amd_nb_index_read.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	amd_nb_index_read, @function
amd_nb_index_read:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14d, ecx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, r8
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdi
	lea	rdi, nb_smu_ind_mutex[rip]
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	ebx, edx
	call	mutex_lock@PLT
	mov	edi, DWORD PTR [r12]
	mov	ecx, r14d
	mov	edx, ebx
	mov	esi, ebp
	call	pci_bus_write_config_dword@PLT
	mov	edi, DWORD PTR [r12]
	lea	edx, 4[rbx]
	mov	rcx, r13
	mov	esi, ebp
	call	pci_bus_read_config_dword@PLT
	pop	rbx
	.cfi_def_cfa_offset 40
	lea	rdi, nb_smu_ind_mutex[rip]
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	mutex_unlock@PLT
	.cfi_endproc
.LFE0:
	.size	amd_nb_index_read, .-amd_nb_index_read
	.comm	nb_smu_ind_mutex,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_k10temp.c_amd_nb_index_read.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	amd_nb_index_read, %function
amd_nb_index_read:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r4, r0
	mov	r5, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r8, .L4
	ldr	r9, [sp, #32]
	mov	r0, r8
	bl	mutex_lock
	mov	r3, r7
	mov	r2, r6
	mov	r1, r5
	ldr	r0, [r4]
	bl	pci_bus_write_config_dword
	mov	r3, r9
	mov	r1, r5
	ldr	r0, [r4]
	add	r2, r6, #4
	bl	pci_bus_read_config_dword
	mov	r0, r8
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	mutex_unlock
.L5:
	.align	2
.L4:
	.word	nb_smu_ind_mutex
	.size	amd_nb_index_read, .-amd_nb_index_read
	.comm	nb_smu_ind_mutex,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
