	.file	"extr_arcmsr_hba.c_arcmsr_hbaB_assign_regAddr.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	arcmsr_hbaB_assign_regAddr, @function
arcmsr_hbaB_assign_regAddr:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rax, QWORD PTR [rdi]
	mov	rbx, QWORD PTR 8[rdi]
	mov	rdx, QWORD PTR PCI_DEVICE_ID_ARECA_1203[rip]
	cmp	QWORD PTR [rax], rdx
	je	.L6
	mov	edi, DWORD PTR ARCMSR_DRV2IOP_DOORBELL[rip]
	call	MEM_BASE0@PLT
	mov	edi, DWORD PTR ARCMSR_DRV2IOP_DOORBELL_MASK[rip]
	mov	QWORD PTR 48[rbx], rax
	call	MEM_BASE0@PLT
	mov	edi, DWORD PTR ARCMSR_IOP2DRV_DOORBELL[rip]
	mov	QWORD PTR 40[rbx], rax
	call	MEM_BASE0@PLT
	mov	edi, DWORD PTR ARCMSR_IOP2DRV_DOORBELL_MASK[rip]
	mov	QWORD PTR 32[rbx], rax
	call	MEM_BASE0@PLT
	mov	QWORD PTR 24[rbx], rax
.L3:
	mov	edi, DWORD PTR ARCMSR_MESSAGE_WBUFFER[rip]
	call	MEM_BASE1@PLT
	mov	edi, DWORD PTR ARCMSR_MESSAGE_RBUFFER[rip]
	mov	QWORD PTR 16[rbx], rax
	call	MEM_BASE1@PLT
	mov	edi, DWORD PTR ARCMSR_MESSAGE_RWBUFFER[rip]
	mov	QWORD PTR 8[rbx], rax
	call	MEM_BASE1@PLT
	mov	QWORD PTR [rbx], rax
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	edi, DWORD PTR ARCMSR_DRV2IOP_DOORBELL_1203[rip]
	call	MEM_BASE0@PLT
	mov	edi, DWORD PTR ARCMSR_DRV2IOP_DOORBELL_MASK_1203[rip]
	mov	QWORD PTR 48[rbx], rax
	call	MEM_BASE0@PLT
	mov	edi, DWORD PTR ARCMSR_IOP2DRV_DOORBELL_1203[rip]
	mov	QWORD PTR 40[rbx], rax
	call	MEM_BASE0@PLT
	mov	edi, DWORD PTR ARCMSR_IOP2DRV_DOORBELL_MASK_1203[rip]
	mov	QWORD PTR 32[rbx], rax
	call	MEM_BASE0@PLT
	mov	QWORD PTR 24[rbx], rax
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	arcmsr_hbaB_assign_regAddr, .-arcmsr_hbaB_assign_regAddr
	.comm	PCI_DEVICE_ID_ARECA_1203,8,8
	.comm	ARCMSR_MESSAGE_WBUFFER,4,4
	.comm	ARCMSR_MESSAGE_RWBUFFER,4,4
	.comm	ARCMSR_MESSAGE_RBUFFER,4,4
	.comm	ARCMSR_IOP2DRV_DOORBELL_MASK_1203,4,4
	.comm	ARCMSR_IOP2DRV_DOORBELL_MASK,4,4
	.comm	ARCMSR_IOP2DRV_DOORBELL_1203,4,4
	.comm	ARCMSR_IOP2DRV_DOORBELL,4,4
	.comm	ARCMSR_DRV2IOP_DOORBELL_MASK_1203,4,4
	.comm	ARCMSR_DRV2IOP_DOORBELL_MASK,4,4
	.comm	ARCMSR_DRV2IOP_DOORBELL_1203,4,4
	.comm	ARCMSR_DRV2IOP_DOORBELL,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_arcmsr_hba.c_arcmsr_hbaB_assign_regAddr.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	arcmsr_hbaB_assign_regAddr, %function
arcmsr_hbaB_assign_regAddr:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L7
	ldr	r2, [r0]
	ldr	r3, [r3]
	ldr	r2, [r2]
	push	{r4, lr}
	cmp	r2, r3
	ldr	r4, [r0, #4]
	beq	.L6
	ldr	r3, .L7+4
	ldr	r0, [r3]
	bl	MEM_BASE0
	ldr	r3, .L7+8
	str	r0, [r4, #24]
	ldr	r0, [r3]
	bl	MEM_BASE0
	ldr	r3, .L7+12
	str	r0, [r4, #20]
	ldr	r0, [r3]
	bl	MEM_BASE0
	ldr	r3, .L7+16
	str	r0, [r4, #16]
	ldr	r0, [r3]
	bl	MEM_BASE0
	str	r0, [r4, #12]
.L3:
	ldr	r3, .L7+20
	ldr	r0, [r3]
	bl	MEM_BASE1
	ldr	r3, .L7+24
	str	r0, [r4, #8]
	ldr	r0, [r3]
	bl	MEM_BASE1
	ldr	r3, .L7+28
	str	r0, [r4, #4]
	ldr	r0, [r3]
	bl	MEM_BASE1
	str	r0, [r4]
	pop	{r4, pc}
.L6:
	ldr	r3, .L7+32
	ldr	r0, [r3]
	bl	MEM_BASE0
	ldr	r3, .L7+36
	str	r0, [r4, #24]
	ldr	r0, [r3]
	bl	MEM_BASE0
	ldr	r3, .L7+40
	str	r0, [r4, #20]
	ldr	r0, [r3]
	bl	MEM_BASE0
	ldr	r3, .L7+44
	str	r0, [r4, #16]
	ldr	r0, [r3]
	bl	MEM_BASE0
	str	r0, [r4, #12]
	b	.L3
.L8:
	.align	2
.L7:
	.word	PCI_DEVICE_ID_ARECA_1203
	.word	ARCMSR_DRV2IOP_DOORBELL
	.word	ARCMSR_DRV2IOP_DOORBELL_MASK
	.word	ARCMSR_IOP2DRV_DOORBELL
	.word	ARCMSR_IOP2DRV_DOORBELL_MASK
	.word	ARCMSR_MESSAGE_WBUFFER
	.word	ARCMSR_MESSAGE_RBUFFER
	.word	ARCMSR_MESSAGE_RWBUFFER
	.word	ARCMSR_DRV2IOP_DOORBELL_1203
	.word	ARCMSR_DRV2IOP_DOORBELL_MASK_1203
	.word	ARCMSR_IOP2DRV_DOORBELL_1203
	.word	ARCMSR_IOP2DRV_DOORBELL_MASK_1203
	.size	arcmsr_hbaB_assign_regAddr, .-arcmsr_hbaB_assign_regAddr
	.comm	PCI_DEVICE_ID_ARECA_1203,4,4
	.comm	ARCMSR_MESSAGE_WBUFFER,4,4
	.comm	ARCMSR_MESSAGE_RWBUFFER,4,4
	.comm	ARCMSR_MESSAGE_RBUFFER,4,4
	.comm	ARCMSR_IOP2DRV_DOORBELL_MASK_1203,4,4
	.comm	ARCMSR_IOP2DRV_DOORBELL_MASK,4,4
	.comm	ARCMSR_IOP2DRV_DOORBELL_1203,4,4
	.comm	ARCMSR_IOP2DRV_DOORBELL,4,4
	.comm	ARCMSR_DRV2IOP_DOORBELL_MASK_1203,4,4
	.comm	ARCMSR_DRV2IOP_DOORBELL_MASK,4,4
	.comm	ARCMSR_DRV2IOP_DOORBELL_1203,4,4
	.comm	ARCMSR_DRV2IOP_DOORBELL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
