	.file	"extr_atl2.c_atl2_get_settings.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	atl2_get_settings, @function
atl2_get_settings:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, rsi
	call	netdev_priv@PLT
	mov	edx, DWORD PTR SUPPORTED_10baseT_Half[rip]
	or	edx, DWORD PTR SUPPORTED_10baseT_Full[rip]
	or	edx, DWORD PTR SUPPORTED_100baseT_Half[rip]
	or	edx, DWORD PTR SUPPORTED_100baseT_Full[rip]
	or	edx, DWORD PTR SUPPORTED_Autoneg[rip]
	or	edx, DWORD PTR SUPPORTED_TP[rip]
	mov	DWORD PTR [rbx], edx
	mov	edx, DWORD PTR ADVERTISED_TP[rip]
	or	edx, DWORD PTR ADVERTISED_Autoneg[rip]
	or	edx, DWORD PTR 16[rax]
	mov	QWORD PTR 32[rbx], 0
	mov	DWORD PTR 44[rbx], edx
	mov	edx, DWORD PTR PORT_TP[rip]
	mov	DWORD PTR 40[rbx], edx
	mov	edx, DWORD PTR XCVR_INTERNAL[rip]
	mov	DWORD PTR 24[rbx], edx
	mov	rdx, QWORD PTR [rax]
	cmp	rdx, QWORD PTR SPEED_0[rip]
	je	.L2
	mov	QWORD PTR 8[rbx], rdx
	mov	rcx, QWORD PTR FULL_DUPLEX[rip]
	cmp	QWORD PTR 8[rax], rcx
	je	.L7
	mov	eax, DWORD PTR DUPLEX_HALF[rip]
	mov	DWORD PTR 16[rbx], eax
	mov	eax, DWORD PTR AUTONEG_ENABLE[rip]
	mov	DWORD PTR 20[rbx], eax
	xor	eax, eax
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	eax, DWORD PTR DUPLEX_FULL[rip]
	mov	DWORD PTR 16[rbx], eax
	mov	eax, DWORD PTR AUTONEG_ENABLE[rip]
	mov	DWORD PTR 20[rbx], eax
	xor	eax, eax
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	eax, DWORD PTR AUTONEG_ENABLE[rip]
	mov	QWORD PTR 8[rbx], -1
	mov	DWORD PTR 16[rbx], -1
	mov	DWORD PTR 20[rbx], eax
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	atl2_get_settings, .-atl2_get_settings
	.comm	XCVR_INTERNAL,4,4
	.comm	SUPPORTED_TP,4,4
	.comm	SUPPORTED_Autoneg,4,4
	.comm	SUPPORTED_10baseT_Half,4,4
	.comm	SUPPORTED_10baseT_Full,4,4
	.comm	SUPPORTED_100baseT_Half,4,4
	.comm	SUPPORTED_100baseT_Full,4,4
	.comm	SPEED_0,8,8
	.comm	PORT_TP,4,4
	.comm	FULL_DUPLEX,8,8
	.comm	DUPLEX_HALF,4,4
	.comm	DUPLEX_FULL,4,4
	.comm	AUTONEG_ENABLE,4,4
	.comm	ADVERTISED_TP,4,4
	.comm	ADVERTISED_Autoneg,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_atl2.c_atl2_get_settings.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	atl2_get_settings, %function
atl2_get_settings:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r1
	bl	netdev_priv
	mov	ip, #0
	ldr	r3, .L7
	ldr	r2, .L7+4
	ldr	r3, [r3]
	ldr	r2, [r2]
	ldr	r1, .L7+8
	orr	r3, r3, r2
	ldr	r1, [r1]
	ldr	r2, .L7+12
	orr	r3, r3, r1
	ldr	lr, .L7+16
	ldr	r1, [r2]
	ldr	lr, [lr]
	orr	r3, r3, r1
	ldr	r2, .L7+20
	ldr	r1, .L7+24
	ldr	r2, [r2]
	ldr	r1, [r1]
	orr	r3, r3, lr
	ldr	lr, .L7+28
	orr	r2, r2, r1
	ldr	lr, [lr]
	ldr	r1, .L7+32
	orr	r3, r3, lr
	ldr	r5, .L7+36
	ldr	lr, [r1]
	ldr	r1, .L7+40
	ldr	r5, [r5]
	ldr	r1, [r1]
	str	r3, [r4]
	ldr	r3, [r0, #8]
	str	r5, [r4, #24]
	orr	r3, r2, r3
	ldr	r2, [r0]
	str	r3, [r4, #28]
	cmp	r2, lr
	str	ip, [r4, #20]
	str	r1, [r4, #16]
	beq	.L2
	ldr	r3, .L7+44
	ldr	r1, [r0, #4]
	ldr	r3, [r3]
	str	r2, [r4, #4]
	cmp	r1, r3
	ldreq	r3, .L7+48
	ldrne	r3, .L7+52
	ldr	r3, [r3]
	str	r3, [r4, #8]
.L4:
	ldr	r3, .L7+56
	mov	r0, #0
	ldr	r3, [r3]
	str	r3, [r4, #12]
	pop	{r4, r5, r6, pc}
.L2:
	mvn	r3, #0
	str	r3, [r4, #4]
	str	r3, [r4, #8]
	b	.L4
.L8:
	.align	2
.L7:
	.word	SUPPORTED_10baseT_Half
	.word	SUPPORTED_10baseT_Full
	.word	SUPPORTED_100baseT_Half
	.word	SUPPORTED_100baseT_Full
	.word	SUPPORTED_Autoneg
	.word	ADVERTISED_TP
	.word	ADVERTISED_Autoneg
	.word	SUPPORTED_TP
	.word	SPEED_0
	.word	PORT_TP
	.word	XCVR_INTERNAL
	.word	FULL_DUPLEX
	.word	DUPLEX_FULL
	.word	DUPLEX_HALF
	.word	AUTONEG_ENABLE
	.size	atl2_get_settings, .-atl2_get_settings
	.comm	XCVR_INTERNAL,4,4
	.comm	SUPPORTED_TP,4,4
	.comm	SUPPORTED_Autoneg,4,4
	.comm	SUPPORTED_10baseT_Half,4,4
	.comm	SUPPORTED_10baseT_Full,4,4
	.comm	SUPPORTED_100baseT_Half,4,4
	.comm	SUPPORTED_100baseT_Full,4,4
	.comm	SPEED_0,4,4
	.comm	PORT_TP,4,4
	.comm	FULL_DUPLEX,4,4
	.comm	DUPLEX_HALF,4,4
	.comm	DUPLEX_FULL,4,4
	.comm	AUTONEG_ENABLE,4,4
	.comm	ADVERTISED_TP,4,4
	.comm	ADVERTISED_Autoneg,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
