	.file	"extr_if_xl.c_xl_mediacheck.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"bogus xcvr value in EEPROM (%x)\n"
	.align 8
.LC1:
	.string	"choosing new default based on card type\n"
	.align 8
.LC2:
	.string	"WARNING: no media options bits set in the media options register!!\n"
	.align 8
.LC3:
	.string	"this could be a manufacturing defect in your adapter or system\n"
	.align 8
.LC4:
	.string	"attempting to guess media type; you should probably consult your vendor\n"
	.text
	.p2align 4
	.type	xl_mediacheck, @function
xl_mediacheck:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR XL_MEDIAOPT_VCO[rip]
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	mov	edx, DWORD PTR [rdi]
	not	eax
	and	eax, DWORD PTR XL_MEDIAOPT_MASK[rip]
	test	eax, edx
	je	.L2
	mov	rdx, QWORD PTR 8[rdi]
	cmp	rdx, QWORD PTR XL_XCVR_AUTO[rip]
	jg	.L8
.L1:
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rax, QWORD PTR XL_TYPE_905B[rip]
	cmp	QWORD PTR 16[rdi], rax
	jne	.L5
	test	DWORD PTR XL_MEDIAOPT_10FL[rip], edx
	jne	.L1
.L5:
	mov	edi, DWORD PTR 24[rbp]
	lea	rsi, .LC2[rip]
	xor	eax, eax
	call	device_printf@PLT
	mov	edi, DWORD PTR 24[rbp]
	lea	rsi, .LC3[rip]
	xor	eax, eax
	call	device_printf@PLT
	mov	edi, DWORD PTR 24[rbp]
	lea	rsi, .LC4[rip]
	xor	eax, eax
	call	device_printf@PLT
	mov	rdi, rbp
	mov	esi, 1
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	xl_choose_xcvr@PLT
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	edi, DWORD PTR 24[rdi]
	lea	rsi, .LC0[rip]
	xor	eax, eax
	call	device_printf@PLT
	mov	edi, DWORD PTR 24[rbp]
	lea	rsi, .LC1[rip]
	xor	eax, eax
	call	device_printf@PLT
	mov	rdi, rbp
	mov	esi, 1
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	xl_choose_xcvr@PLT
	.cfi_endproc
.LFE0:
	.size	xl_mediacheck, .-xl_mediacheck
	.comm	XL_XCVR_AUTO,8,8
	.comm	XL_TYPE_905B,8,8
	.comm	XL_MEDIAOPT_VCO,4,4
	.comm	XL_MEDIAOPT_MASK,4,4
	.comm	XL_MEDIAOPT_10FL,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_if_xl.c_xl_mediacheck.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"bogus xcvr value in EEPROM (%x)\012\000"
	.align	2
.LC1:
	.ascii	"choosing new default based on card type\012\000"
	.align	2
.LC2:
	.ascii	"WARNING: no media options bits set in the media opt"
	.ascii	"ions register!!\012\000"
	.align	2
.LC3:
	.ascii	"this could be a manufacturing defect in your adapte"
	.ascii	"r or system\012\000"
	.align	2
.LC4:
	.ascii	"attempting to guess media type; you should probably"
	.ascii	" consult your vendor\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	xl_mediacheck, %function
xl_mediacheck:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, .L8
	ldr	r3, .L8+4
	ldr	r1, [r2]
	ldr	r3, [r3]
	ldr	r2, [r0]
	bic	r3, r3, r1
	tst	r3, r2
	push	{r4, lr}
	mov	r4, r0
	beq	.L2
	ldr	r3, .L8+8
	ldr	r2, [r0, #4]
	ldr	r3, [r3]
	cmp	r2, r3
	pople	{r4, pc}
	ldr	r1, .L8+12
	ldr	r0, [r0, #12]
	bl	device_printf
	ldr	r1, .L8+16
	ldr	r0, [r4, #12]
	bl	device_printf
	mov	r0, r4
	pop	{r4, lr}
	mov	r1, #1
	b	xl_choose_xcvr
.L2:
	ldr	r3, .L8+20
	ldr	r1, [r0, #8]
	ldr	r3, [r3]
	cmp	r1, r3
	bne	.L5
	ldr	r3, .L8+24
	ldr	r3, [r3]
	tst	r2, r3
	popne	{r4, pc}
.L5:
	ldr	r1, .L8+28
	ldr	r0, [r4, #12]
	bl	device_printf
	ldr	r1, .L8+32
	ldr	r0, [r4, #12]
	bl	device_printf
	ldr	r1, .L8+36
	ldr	r0, [r4, #12]
	bl	device_printf
	mov	r0, r4
	pop	{r4, lr}
	mov	r1, #1
	b	xl_choose_xcvr
.L9:
	.align	2
.L8:
	.word	XL_MEDIAOPT_VCO
	.word	XL_MEDIAOPT_MASK
	.word	XL_XCVR_AUTO
	.word	.LC0
	.word	.LC1
	.word	XL_TYPE_905B
	.word	XL_MEDIAOPT_10FL
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	xl_mediacheck, .-xl_mediacheck
	.comm	XL_XCVR_AUTO,4,4
	.comm	XL_TYPE_905B,4,4
	.comm	XL_MEDIAOPT_VCO,4,4
	.comm	XL_MEDIAOPT_MASK,4,4
	.comm	XL_MEDIAOPT_10FL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
