	.file	"extr_qlcnic_hw.c_qlcnic_config_bridged_mode.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Could not send configure bridge mode request\n"
	.text
	.p2align 4
	.globl	qlcnic_config_bridged_mode
	.type	qlcnic_config_bridged_mode, @function
qlcnic_config_bridged_mode:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 40
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR [rdi]
	test	DWORD PTR QLCNIC_BRIDGE_ENABLED[rip], eax
	setne	al
	xor	r12d, r12d
	movzx	eax, al
	cmp	eax, esi
	je	.L1
	mov	r12, rsp
	mov	edx, 24
	mov	rbx, rdi
	mov	ebp, esi
	mov	rdi, r12
	xor	esi, esi
	call	memset@PLT
	mov	edi, DWORD PTR QLCNIC_HOST_REQUEST[rip]
	sal	edi, 23
	call	cpu_to_le64@PLT
	mov	edi, DWORD PTR 16[rbx]
	mov	QWORD PTR 16[rsp], rax
	sal	edi, 16
	or	edi, DWORD PTR QLCNIC_H2C_OPCODE_CONFIG_BRIDGING[rip]
	call	cpu_to_le64@PLT
	mov	r13, QWORD PTR [rsp]
	mov	edi, ebp
	mov	QWORD PTR 8[rsp], rax
	call	cpu_to_le64@PLT
	mov	rsi, r12
	mov	edx, 1
	mov	rdi, rbx
	mov	QWORD PTR 0[r13], rax
	call	qlcnic_send_cmd_descs@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L12
.L3:
	mov	eax, DWORD PTR QLCNIC_BRIDGE_ENABLED[rip]
	xor	DWORD PTR [rbx], eax
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L13
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	rdi, QWORD PTR 8[rbx]
	lea	rsi, .LC0[rip]
	call	dev_err@PLT
	jmp	.L3
.L13:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	qlcnic_config_bridged_mode, .-qlcnic_config_bridged_mode
	.comm	QLCNIC_HOST_REQUEST,4,4
	.comm	QLCNIC_H2C_OPCODE_CONFIG_BRIDGING,4,4
	.comm	QLCNIC_BRIDGE_ENABLED,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_qlcnic_hw.c_qlcnic_config_bridged_mode.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Could not send configure bridge mode request\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	qlcnic_config_bridged_mode
	.syntax unified
	.arm
	.fpu softvfp
	.type	qlcnic_config_bridged_mode, %function
qlcnic_config_bridged_mode:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r6, .L13
	ldr	r2, [r0]
	ldr	r3, [r6]
	sub	sp, sp, #16
	tst	r2, r3
	movne	r3, #1
	moveq	r3, #0
	cmp	r3, r1
	ldr	r3, .L13+4
	moveq	r5, #0
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	beq	.L1
	mov	r3, #0
	ldr	r2, .L13+8
	mov	r4, r0
	ldr	r0, [r2]
	mov	r5, r1
	lsl	r0, r0, #23
	str	r3, [sp]
	str	r3, [sp, #4]
	str	r3, [sp, #8]
	bl	cpu_to_le64
	ldr	r3, .L13+12
	ldr	r2, [r4, #8]
	ldr	r3, [r3]
	str	r0, [sp, #8]
	orr	r0, r3, r2, lsl #16
	bl	cpu_to_le64
	mov	r3, r0
	mov	r0, r5
	str	r3, [sp, #4]
	ldr	r5, [sp]
	bl	cpu_to_le64
	mov	r1, sp
	str	r0, [r5]
	mov	r2, #1
	mov	r0, r4
	bl	qlcnic_send_cmd_descs
	subs	r5, r0, #0
	bne	.L11
.L3:
	ldr	r2, [r6]
	ldr	r3, [r4]
	eor	r3, r3, r2
	str	r3, [r4]
.L1:
	ldr	r3, .L13+4
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	mov	r0, r5
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, pc}
.L11:
	ldr	r1, .L13+16
	ldr	r0, [r4, #4]
	bl	dev_err
	b	.L3
.L12:
	bl	__stack_chk_fail
.L14:
	.align	2
.L13:
	.word	QLCNIC_BRIDGE_ENABLED
	.word	.LC1
	.word	QLCNIC_HOST_REQUEST
	.word	QLCNIC_H2C_OPCODE_CONFIG_BRIDGING
	.word	.LC0
	.size	qlcnic_config_bridged_mode, .-qlcnic_config_bridged_mode
	.comm	QLCNIC_HOST_REQUEST,4,4
	.comm	QLCNIC_H2C_OPCODE_CONFIG_BRIDGING,4,4
	.comm	QLCNIC_BRIDGE_ENABLED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
