	.file	"extr_qeth_l2_main.c_qeth_bridgeport_query_ports_cb.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"brqprtcb"
.LC1:
	.string	"SBPs%04x"
	.text
	.p2align 4
	.type	qeth_bridgeport_query_ports_cb, @function
qeth_bridgeport_query_ports_cb:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdx
	mov	r12, QWORD PTR [rsi]
	lea	rdx, .LC0[rip]
	mov	esi, 2
	call	QETH_CARD_TEXT@PLT
	mov	rsi, rbx
	mov	rdi, rbp
	call	qeth_bridgeport_makerc@PLT
	test	eax, eax
	jne	.L1
	mov	ecx, DWORD PTR [rbx]
	cmp	ecx, 4
	jne	.L15
	cmp	QWORD PTR 8[rbx], 0
	jle	.L1
	mov	rdx, QWORD PTR 8[r12]
	test	rdx, rdx
	je	.L5
	mov	rcx, QWORD PTR 16[rbx]
	mov	ecx, DWORD PTR 4[rcx]
	mov	DWORD PTR [rdx], ecx
.L5:
	mov	rdx, QWORD PTR [r12]
	test	rdx, rdx
	je	.L1
	mov	rcx, QWORD PTR 16[rbx]
	mov	ecx, DWORD PTR [rcx]
	mov	DWORD PTR [rdx], ecx
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	mov	rdi, rbp
	lea	rdx, .LC1[rip]
	mov	esi, 2
	call	QETH_CARD_TEXT_@PLT
	mov	eax, DWORD PTR EINVAL[rip]
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.cfi_endproc
.LFE0:
	.size	qeth_bridgeport_query_ports_cb, .-qeth_bridgeport_query_ports_cb
	.comm	EINVAL,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_qeth_l2_main.c_qeth_bridgeport_query_ports_cb.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"brqprtcb\000"
	.align	2
.LC1:
	.ascii	"SBPs%04x\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	qeth_bridgeport_query_ports_cb, %function
qeth_bridgeport_query_ports_cb:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r3, r1
	mov	r4, r2
	mov	r5, r0
	mov	r1, #2
	ldr	r2, .L16
	ldr	r6, [r3]
	bl	QETH_CARD_TEXT
	mov	r1, r4
	mov	r0, r5
	bl	qeth_bridgeport_makerc
	cmp	r0, #0
	popne	{r4, r5, r6, pc}
	ldr	r3, [r4]
	cmp	r3, #4
	bne	.L15
	ldr	r3, [r4, #4]
	cmp	r3, #0
	pople	{r4, r5, r6, pc}
	ldr	r3, [r6, #4]
	cmp	r3, #0
	ldrne	r2, [r4, #8]
	ldrne	r2, [r2, #4]
	strne	r2, [r3]
	ldr	r3, [r6]
	cmp	r3, #0
	ldrne	r2, [r4, #8]
	ldrne	r2, [r2]
	strne	r2, [r3]
	pop	{r4, r5, r6, pc}
.L15:
	mov	r0, r5
	mov	r1, #2
	ldr	r2, .L16+4
	bl	QETH_CARD_TEXT_
	ldr	r3, .L16+8
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, pc}
.L17:
	.align	2
.L16:
	.word	.LC0
	.word	.LC1
	.word	EINVAL
	.size	qeth_bridgeport_query_ports_cb, .-qeth_bridgeport_query_ports_cb
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
