	.file	"extr_ocs_hw.c_ocs_hw_domain_get.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"bad parameter hw=%p\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"FCFI %#x out of range (max %#x)\n"
	.text
	.p2align 4
	.globl	ocs_hw_domain_get
	.type	ocs_hw_domain_get, @function
ocs_hw_domain_get:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	test	rdi, rdi
	je	.L7
	mov	rcx, QWORD PTR SLI4_MAX_FCFI[rip]
	cmp	rcx, rsi
	jbe	.L4
	mov	rax, QWORD PTR 8[rdi]
	mov	rax, QWORD PTR [rax+rsi*8]
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	edi, DWORD PTR [rdi]
	mov	rdx, rsi
	lea	rsi, .LC1[rip]
	call	ocs_log_test@PLT
	xor	eax, eax
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	xor	edx, edx
	lea	rsi, .LC0[rip]
	call	ocs_log_err@PLT
	xor	eax, eax
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	ocs_hw_domain_get, .-ocs_hw_domain_get
	.comm	SLI4_MAX_FCFI,8,8
	.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_ocs_hw.c_ocs_hw_domain_get.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"bad parameter hw=%p\012\000"
	.align	2
.LC1:
	.ascii	"FCFI %#x out of range (max %#x)\012\000"
	.text
	.align	2
	.global	ocs_hw_domain_get
	.syntax unified
	.arm
	.fpu softvfp
	.type	ocs_hw_domain_get, %function
ocs_hw_domain_get:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	subs	r4, r0, #0
	beq	.L7
	ldr	r3, .L8
	ldr	r3, [r3]
	cmp	r3, r1
	bls	.L4
	ldr	r3, [r4, #4]
	ldr	r0, [r3, r1, lsl #2]
	pop	{r4, pc}
.L4:
	mov	r2, r1
	ldr	r0, [r4]
	ldr	r1, .L8+4
	bl	ocs_log_test
	mov	r0, #0
	pop	{r4, pc}
.L7:
	mov	r2, r4
	ldr	r1, .L8+8
	bl	ocs_log_err
	mov	r0, r4
	pop	{r4, pc}
.L9:
	.align	2
.L8:
	.word	SLI4_MAX_FCFI
	.word	.LC1
	.word	.LC0
	.size	ocs_hw_domain_get, .-ocs_hw_domain_get
	.comm	SLI4_MAX_FCFI,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
