	.file	"extr_niu.c_niu_get_settings.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	niu_get_settings, @function
niu_get_settings:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	netdev_priv@PLT
	mov	edx, 32
	xor	esi, esi
	mov	rdi, rbx
	mov	rbp, rax
	call	memset@PLT
	mov	eax, DWORD PTR 4[rbp]
	mov	edx, DWORD PTR 0[rbp]
	test	DWORD PTR NIU_FLAGS_FIBER[rip], edx
	mov	DWORD PTR 28[rbx], eax
	mov	eax, DWORD PTR 24[rbp]
	mov	DWORD PTR 24[rbx], eax
	mov	eax, DWORD PTR 20[rbp]
	mov	DWORD PTR 20[rbx], eax
	mov	eax, DWORD PTR 16[rbp]
	mov	DWORD PTR 16[rbx], eax
	mov	eax, DWORD PTR 12[rbp]
	mov	DWORD PTR 12[rbx], eax
	mov	eax, DWORD PTR 8[rbp]
	mov	DWORD PTR 8[rbx], eax
	mov	eax, DWORD PTR PORT_FIBRE[rip]
	cmove	eax, DWORD PTR PORT_TP[rip]
	test	DWORD PTR NIU_FLAGS_XCVR_SERDES[rip], edx
	mov	DWORD PTR 4[rbx], eax
	mov	eax, DWORD PTR XCVR_EXTERNAL[rip]
	cmove	eax, DWORD PTR XCVR_INTERNAL[rip]
	mov	DWORD PTR [rbx], eax
	add	rsp, 8
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	niu_get_settings, .-niu_get_settings
	.comm	XCVR_INTERNAL,4,4
	.comm	XCVR_EXTERNAL,4,4
	.comm	PORT_TP,4,4
	.comm	PORT_FIBRE,4,4
	.comm	NIU_FLAGS_XCVR_SERDES,4,4
	.comm	NIU_FLAGS_FIBER,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_niu.c_niu_get_settings.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	niu_get_settings, %function
niu_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	r5, r0
	mov	r2, #32
	mov	r0, r4
	mov	r1, #0
	bl	memset
	ldr	r2, .L8
	ldr	r3, [r5]
	ldr	r0, [r2]
	ldr	r2, [r5, #24]
	ldr	r1, [r5, #4]
	ldr	ip, [r5, #20]
	tst	r3, r0
	ldr	r0, [r5, #16]
	str	r2, [r4, #24]
	ldr	r2, [r5, #8]
	str	r1, [r4, #28]
	ldr	r1, [r5, #12]
	str	r2, [r4, #8]
	ldrne	r2, .L8+4
	ldreq	r2, .L8+8
	str	r0, [r4, #16]
	str	ip, [r4, #20]
	str	r1, [r4, #12]
	ldr	r1, [r2]
	ldr	r2, .L8+12
	str	r1, [r4, #4]
	ldr	r2, [r2]
	mov	r0, #0
	tst	r3, r2
	ldrne	r3, .L8+16
	ldreq	r3, .L8+20
	ldr	r3, [r3]
	str	r3, [r4]
	pop	{r4, r5, r6, pc}
.L9:
	.align	2
.L8:
	.word	NIU_FLAGS_FIBER
	.word	PORT_FIBRE
	.word	PORT_TP
	.word	NIU_FLAGS_XCVR_SERDES
	.word	XCVR_EXTERNAL
	.word	XCVR_INTERNAL
	.size	niu_get_settings, .-niu_get_settings
	.comm	XCVR_INTERNAL,4,4
	.comm	XCVR_EXTERNAL,4,4
	.comm	PORT_TP,4,4
	.comm	PORT_FIBRE,4,4
	.comm	NIU_FLAGS_XCVR_SERDES,4,4
	.comm	NIU_FLAGS_FIBER,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
