	.file	"extr_libcxgbi.c_cxgbi_get_host_param.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Could not get host param. netdev for host not set.\n"
	.align 8
.LC1:
	.string	"shost 0x%p, hba 0x%p,%s, param %d.\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC2:
	.string	"%s\n"
.LC3:
	.string	"%pI4"
.LC4:
	.string	"hba %s, ipv4 %pI4.\n"
	.text
	.p2align 4
	.globl	cxgbi_get_host_param
	.type	cxgbi_get_host_param, @function
cxgbi_get_host_param:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rdi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdx
	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
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	iscsi_host_priv@PLT
	mov	rbx, rax
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L12
	mov	ecx, DWORD PTR CXGBI_DBG_ISCSI[rip]
	mov	r8, QWORD PTR [rax]
	mov	r9d, ebp
	xor	eax, eax
	mov	r13d, 1
	mov	rdx, r14
	lea	rsi, .LC1[rip]
	mov	edi, r13d
	sal	edi, cl
	mov	rcx, rbx
	call	log_debug@PLT
	cmp	ebp, 129
	je	.L4
	cmp	ebp, 130
	je	.L5
	cmp	ebp, 128
	je	.L13
	mov	rdx, r12
	mov	esi, ebp
	mov	rdi, r14
	call	iscsi_host_get_param@PLT
	mov	r12d, eax
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L14
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 40
	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
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	rdi, rbx
	lea	r14, 7[rsp]
	call	cxgbi_get_iscsi_ipv4@PLT
	mov	rdx, r14
	mov	rdi, r12
	lea	rsi, .LC3[rip]
	mov	BYTE PTR 7[rsp], al
	call	sprintf@PLT
	mov	ecx, DWORD PTR CXGBI_DBG_ISCSI[rip]
	mov	edi, r13d
	lea	rsi, .LC4[rip]
	mov	r12d, eax
	mov	rax, QWORD PTR [rbx]
	sal	edi, cl
	mov	rcx, r14
	mov	rdx, QWORD PTR [rax]
	xor	eax, eax
	call	log_debug@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L13:
	mov	rax, QWORD PTR [rbx]
	mov	rdi, r12
	lea	rsi, .LC2[rip]
	mov	rdx, QWORD PTR [rax]
	call	sprintf@PLT
	mov	r12d, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rax, QWORD PTR [rbx]
	mov	rdi, r12
	mov	edx, 6
	mov	esi, DWORD PTR 8[rax]
	call	sysfs_format_mac@PLT
	mov	r12d, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L12:
	mov	edi, DWORD PTR KERN_ERR[rip]
	lea	rdx, .LC0[rip]
	mov	rsi, r14
	call	shost_printk@PLT
	mov	r12d, DWORD PTR ENODEV[rip]
	neg	r12d
	jmp	.L1
.L14:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	cxgbi_get_host_param, .-cxgbi_get_host_param
	.comm	KERN_ERR,4,4
	.comm	ENODEV,4,4
	.comm	CXGBI_DBG_ISCSI,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_libcxgbi.c_cxgbi_get_host_param.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Could not get host param. netdev for host not set.\012"
	.ascii	"\000"
	.align	2
.LC1:
	.ascii	"shost 0x%p, hba 0x%p,%s, param %d.\012\000"
	.align	2
.LC2:
	.ascii	"%s\012\000"
	.align	2
.LC3:
	.ascii	"%pI4\000"
	.align	2
.LC4:
	.ascii	"hba %s, ipv4 %pI4.\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	cxgbi_get_host_param
	.syntax unified
	.arm
	.fpu softvfp
	.type	cxgbi_get_host_param, %function
cxgbi_get_host_param:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r3, .L15
	sub	sp, sp, #20
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	mov	r4, r1
	mov	r7, r2
	mov	r6, r0
	bl	iscsi_host_priv
	ldr	r3, [r0]
	cmp	r3, #0
	beq	.L12
	mov	r5, r0
	mov	r8, #1
	ldr	r9, .L15+4
	str	r4, [sp, #4]
	ldr	r3, [r3]
	ldr	r0, [r9]
	str	r3, [sp]
	mov	r2, r6
	mov	r3, r5
	ldr	r1, .L15+8
	lsl	r0, r8, r0
	bl	log_debug
	cmp	r4, #129
	beq	.L4
	cmp	r4, #130
	beq	.L5
	cmp	r4, #128
	beq	.L13
	mov	r1, r4
	mov	r2, r7
	mov	r0, r6
	bl	iscsi_host_get_param
	mov	r4, r0
.L1:
	ldr	r3, .L15
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L14
	mov	r0, r4
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L4:
	mov	r0, r5
	bl	cxgbi_get_iscsi_ipv4
	mov	r3, r0
	add	r2, sp, #11
	mov	r0, r7
	ldr	r1, .L15+12
	strb	r3, [sp, #11]
	bl	sprintf
	ldr	r2, [r5]
	mov	r4, r0
	ldr	r0, [r9]
	ldr	r2, [r2]
	ldr	r1, .L15+16
	add	r3, sp, #11
	lsl	r0, r8, r0
	bl	log_debug
	b	.L1
.L13:
	ldr	r3, [r5]
	mov	r0, r7
	ldr	r2, [r3]
	ldr	r1, .L15+20
	bl	sprintf
	mov	r4, r0
	b	.L1
.L5:
	ldr	r3, [r5]
	mov	r0, r7
	mov	r2, #6
	ldr	r1, [r3, #4]
	bl	sysfs_format_mac
	mov	r4, r0
	b	.L1
.L12:
	ldr	r3, .L15+24
	mov	r1, r6
	ldr	r0, [r3]
	ldr	r2, .L15+28
	bl	shost_printk
	ldr	r3, .L15+32
	ldr	r4, [r3]
	rsb	r4, r4, #0
	b	.L1
.L14:
	bl	__stack_chk_fail
.L16:
	.align	2
.L15:
	.word	.LC5
	.word	CXGBI_DBG_ISCSI
	.word	.LC1
	.word	.LC3
	.word	.LC4
	.word	.LC2
	.word	KERN_ERR
	.word	.LC0
	.word	ENODEV
	.size	cxgbi_get_host_param, .-cxgbi_get_host_param
	.comm	KERN_ERR,4,4
	.comm	ENODEV,4,4
	.comm	CXGBI_DBG_ISCSI,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
