	.file	"44066.c"
	.intel_syntax noprefix
	.text
	.globl	ADVERTISED_10000baseKR_Full
	.bss
	.align 4
	.type	ADVERTISED_10000baseKR_Full, @object
	.size	ADVERTISED_10000baseKR_Full, 4
ADVERTISED_10000baseKR_Full:
	.zero	4
	.globl	ADVERTISED_1000baseKX_Full
	.align 4
	.type	ADVERTISED_1000baseKX_Full, @object
	.size	ADVERTISED_1000baseKX_Full, 4
ADVERTISED_1000baseKX_Full:
	.zero	4
	.globl	DMA_OSP_ENABLE
	.align 4
	.type	DMA_OSP_ENABLE, @object
	.size	DMA_OSP_ENABLE, 4
DMA_OSP_ENABLE:
	.zero	4
	.globl	DMA_PBL_16
	.align 8
	.type	DMA_PBL_16, @object
	.size	DMA_PBL_16, 8
DMA_PBL_16:
	.zero	8
	.globl	DMA_PBL_X8_ENABLE
	.align 4
	.type	DMA_PBL_X8_ENABLE, @object
	.size	DMA_PBL_X8_ENABLE, 4
DMA_PBL_X8_ENABLE:
	.zero	4
	.globl	EINVAL
	.align 4
	.type	EINVAL, @object
	.size	EINVAL, 4
EINVAL:
	.zero	4
	.globl	ENXIO
	.align 4
	.type	ENXIO, @object
	.size	ENXIO, 4
ENXIO:
	.zero	4
	.globl	ETHER_ADDR_LEN
	.align 8
	.type	ETHER_ADDR_LEN, @object
	.size	ETHER_ADDR_LEN, 8
ETHER_ADDR_LEN:
	.zero	8
	.globl	IFF_BROADCAST
	.align 4
	.type	IFF_BROADCAST, @object
	.size	IFF_BROADCAST, 4
IFF_BROADCAST:
	.zero	4
	.globl	IFF_MULTICAST
	.align 4
	.type	IFF_MULTICAST, @object
	.size	IFF_MULTICAST, 4
IFF_MULTICAST:
	.zero	4
	.globl	IFF_SIMPLEX
	.align 4
	.type	IFF_SIMPLEX, @object
	.size	IFF_SIMPLEX, 4
IFF_SIMPLEX:
	.zero	4
	.globl	IFM_1000_KX
	.align 4
	.type	IFM_1000_KX, @object
	.size	IFM_1000_KX, 4
IFM_1000_KX:
	.zero	4
	.globl	IFM_10G_KR
	.align 4
	.type	IFM_10G_KR, @object
	.size	IFM_10G_KR, 4
IFM_10G_KR:
	.zero	4
	.globl	IFM_AUTO
	.align 4
	.type	IFM_AUTO, @object
	.size	IFM_AUTO, 4
IFM_AUTO:
	.zero	4
	.globl	IFM_ETHER
	.align 4
	.type	IFM_ETHER, @object
	.size	IFM_ETHER, 4
IFM_ETHER:
	.zero	4
	.globl	IFM_IMASK
	.align 4
	.type	IFM_IMASK, @object
	.size	IFM_IMASK, 4
IFM_IMASK:
	.zero	4
	.globl	IFT_ETHER
	.align 4
	.type	IFT_ETHER, @object
	.size	IFT_ETHER, 4
IFT_ETHER:
	.zero	4
	.globl	MTL_RSF_DISABLE
	.align 4
	.type	MTL_RSF_DISABLE, @object
	.size	MTL_RSF_DISABLE, 4
MTL_RSF_DISABLE:
	.zero	4
	.globl	MTL_RX_THRESHOLD_64
	.align 4
	.type	MTL_RX_THRESHOLD_64, @object
	.size	MTL_RX_THRESHOLD_64, 4
MTL_RX_THRESHOLD_64:
	.zero	4
	.globl	MTL_TSF_ENABLE
	.align 4
	.type	MTL_TSF_ENABLE, @object
	.size	MTL_TSF_ENABLE, 4
MTL_TSF_ENABLE:
	.zero	4
	.globl	MTL_TX_THRESHOLD_64
	.align 4
	.type	MTL_TX_THRESHOLD_64, @object
	.size	MTL_TX_THRESHOLD_64, 4
MTL_TX_THRESHOLD_64:
	.zero	4
	.globl	M_WAITOK
	.align 4
	.type	M_WAITOK, @object
	.size	M_WAITOK, 4
M_WAITOK:
	.zero	4
	.globl	PI_NET
	.align 4
	.type	PI_NET, @object
	.size	PI_NET, 4
PI_NET:
	.zero	4
	.globl	SPEED_UNKNOWN
	.align 4
	.type	SPEED_UNKNOWN, @object
	.size	SPEED_UNKNOWN, 4
SPEED_UNKNOWN:
	.zero	4
	.globl	XGBE_BLWC_PROPERTY
	.align 4
	.type	XGBE_BLWC_PROPERTY, @object
	.size	XGBE_BLWC_PROPERTY, 4
XGBE_BLWC_PROPERTY:
	.zero	4
	.globl	XGBE_CDR_RATE_PROPERTY
	.align 4
	.type	XGBE_CDR_RATE_PROPERTY, @object
	.size	XGBE_CDR_RATE_PROPERTY, 4
XGBE_CDR_RATE_PROPERTY:
	.zero	4
	.globl	XGBE_DFE_CFG_PROPERTY
	.align 4
	.type	XGBE_DFE_CFG_PROPERTY, @object
	.size	XGBE_DFE_CFG_PROPERTY, 4
XGBE_DFE_CFG_PROPERTY:
	.zero	4
	.globl	XGBE_DFE_ENA_PROPERTY
	.align 4
	.type	XGBE_DFE_ENA_PROPERTY, @object
	.size	XGBE_DFE_ENA_PROPERTY, 4
XGBE_DFE_ENA_PROPERTY:
	.zero	4
	.globl	XGBE_DMA_IRQS_PROPERTY
	.align 8
	.type	XGBE_DMA_IRQS_PROPERTY, @object
	.size	XGBE_DMA_IRQS_PROPERTY, 8
XGBE_DMA_IRQS_PROPERTY:
	.zero	8
	.globl	XGBE_DMA_OS_ARCACHE
	.align 4
	.type	XGBE_DMA_OS_ARCACHE, @object
	.size	XGBE_DMA_OS_ARCACHE, 4
XGBE_DMA_OS_ARCACHE:
	.zero	4
	.globl	XGBE_DMA_OS_AWCACHE
	.align 4
	.type	XGBE_DMA_OS_AWCACHE, @object
	.size	XGBE_DMA_OS_AWCACHE, 4
XGBE_DMA_OS_AWCACHE:
	.zero	4
	.globl	XGBE_DMA_OS_AXDOMAIN
	.align 4
	.type	XGBE_DMA_OS_AXDOMAIN, @object
	.size	XGBE_DMA_OS_AXDOMAIN, 4
XGBE_DMA_OS_AXDOMAIN:
	.zero	4
	.globl	XGBE_DMA_SYS_ARCACHE
	.align 4
	.type	XGBE_DMA_SYS_ARCACHE, @object
	.size	XGBE_DMA_SYS_ARCACHE, 4
XGBE_DMA_SYS_ARCACHE:
	.zero	4
	.globl	XGBE_DMA_SYS_AWCACHE
	.align 4
	.type	XGBE_DMA_SYS_AWCACHE, @object
	.size	XGBE_DMA_SYS_AWCACHE, 4
XGBE_DMA_SYS_AWCACHE:
	.zero	4
	.globl	XGBE_DMA_SYS_AXDOMAIN
	.align 4
	.type	XGBE_DMA_SYS_AXDOMAIN, @object
	.size	XGBE_DMA_SYS_AXDOMAIN, 4
XGBE_DMA_SYS_AXDOMAIN:
	.zero	4
	.globl	XGBE_DOWN
	.align 4
	.type	XGBE_DOWN, @object
	.size	XGBE_DOWN, 4
XGBE_DOWN:
	.zero	4
	.globl	XGBE_PQ_SKEW_PROPERTY
	.align 4
	.type	XGBE_PQ_SKEW_PROPERTY, @object
	.size	XGBE_PQ_SKEW_PROPERTY, 4
XGBE_PQ_SKEW_PROPERTY:
	.zero	4
	.globl	XGBE_RX_DESC_CNT
	.align 4
	.type	XGBE_RX_DESC_CNT, @object
	.size	XGBE_RX_DESC_CNT, 4
XGBE_RX_DESC_CNT:
	.zero	4
	.globl	XGBE_SPEEDSET_PROPERTY
	.align 8
	.type	XGBE_SPEEDSET_PROPERTY, @object
	.size	XGBE_SPEEDSET_PROPERTY, 8
XGBE_SPEEDSET_PROPERTY:
	.zero	8
	.globl	XGBE_SPEED_10000_BLWC
	.align 4
	.type	XGBE_SPEED_10000_BLWC, @object
	.size	XGBE_SPEED_10000_BLWC, 4
XGBE_SPEED_10000_BLWC:
	.zero	4
	.globl	XGBE_SPEED_10000_CDR
	.align 4
	.type	XGBE_SPEED_10000_CDR, @object
	.size	XGBE_SPEED_10000_CDR, 4
XGBE_SPEED_10000_CDR:
	.zero	4
	.globl	XGBE_SPEED_10000_DFE_TAP_CONFIG
	.align 4
	.type	XGBE_SPEED_10000_DFE_TAP_CONFIG, @object
	.size	XGBE_SPEED_10000_DFE_TAP_CONFIG, 4
XGBE_SPEED_10000_DFE_TAP_CONFIG:
	.zero	4
	.globl	XGBE_SPEED_10000_DFE_TAP_ENABLE
	.align 4
	.type	XGBE_SPEED_10000_DFE_TAP_ENABLE, @object
	.size	XGBE_SPEED_10000_DFE_TAP_ENABLE, 4
XGBE_SPEED_10000_DFE_TAP_ENABLE:
	.zero	4
	.globl	XGBE_SPEED_10000_PQ
	.align 4
	.type	XGBE_SPEED_10000_PQ, @object
	.size	XGBE_SPEED_10000_PQ, 4
XGBE_SPEED_10000_PQ:
	.zero	4
	.globl	XGBE_SPEED_10000_TXAMP
	.align 4
	.type	XGBE_SPEED_10000_TXAMP, @object
	.size	XGBE_SPEED_10000_TXAMP, 4
XGBE_SPEED_10000_TXAMP:
	.zero	4
	.globl	XGBE_SPEED_1000_BLWC
	.align 4
	.type	XGBE_SPEED_1000_BLWC, @object
	.size	XGBE_SPEED_1000_BLWC, 4
XGBE_SPEED_1000_BLWC:
	.zero	4
	.globl	XGBE_SPEED_1000_CDR
	.align 4
	.type	XGBE_SPEED_1000_CDR, @object
	.size	XGBE_SPEED_1000_CDR, 4
XGBE_SPEED_1000_CDR:
	.zero	4
	.globl	XGBE_SPEED_1000_DFE_TAP_CONFIG
	.align 4
	.type	XGBE_SPEED_1000_DFE_TAP_CONFIG, @object
	.size	XGBE_SPEED_1000_DFE_TAP_CONFIG, 4
XGBE_SPEED_1000_DFE_TAP_CONFIG:
	.zero	4
	.globl	XGBE_SPEED_1000_DFE_TAP_ENABLE
	.align 4
	.type	XGBE_SPEED_1000_DFE_TAP_ENABLE, @object
	.size	XGBE_SPEED_1000_DFE_TAP_ENABLE, 4
XGBE_SPEED_1000_DFE_TAP_ENABLE:
	.zero	4
	.globl	XGBE_SPEED_1000_PQ
	.align 4
	.type	XGBE_SPEED_1000_PQ, @object
	.size	XGBE_SPEED_1000_PQ, 4
XGBE_SPEED_1000_PQ:
	.zero	4
	.globl	XGBE_SPEED_1000_TXAMP
	.align 4
	.type	XGBE_SPEED_1000_TXAMP, @object
	.size	XGBE_SPEED_1000_TXAMP, 4
XGBE_SPEED_1000_TXAMP:
	.zero	4
	.globl	XGBE_SPEED_2500_BLWC
	.align 4
	.type	XGBE_SPEED_2500_BLWC, @object
	.size	XGBE_SPEED_2500_BLWC, 4
XGBE_SPEED_2500_BLWC:
	.zero	4
	.globl	XGBE_SPEED_2500_CDR
	.align 4
	.type	XGBE_SPEED_2500_CDR, @object
	.size	XGBE_SPEED_2500_CDR, 4
XGBE_SPEED_2500_CDR:
	.zero	4
	.globl	XGBE_SPEED_2500_DFE_TAP_CONFIG
	.align 4
	.type	XGBE_SPEED_2500_DFE_TAP_CONFIG, @object
	.size	XGBE_SPEED_2500_DFE_TAP_CONFIG, 4
XGBE_SPEED_2500_DFE_TAP_CONFIG:
	.zero	4
	.globl	XGBE_SPEED_2500_DFE_TAP_ENABLE
	.align 4
	.type	XGBE_SPEED_2500_DFE_TAP_ENABLE, @object
	.size	XGBE_SPEED_2500_DFE_TAP_ENABLE, 4
XGBE_SPEED_2500_DFE_TAP_ENABLE:
	.zero	4
	.globl	XGBE_SPEED_2500_PQ
	.align 4
	.type	XGBE_SPEED_2500_PQ, @object
	.size	XGBE_SPEED_2500_PQ, 4
XGBE_SPEED_2500_PQ:
	.zero	4
	.globl	XGBE_SPEED_2500_TXAMP
	.align 4
	.type	XGBE_SPEED_2500_TXAMP, @object
	.size	XGBE_SPEED_2500_TXAMP, 4
XGBE_SPEED_2500_TXAMP:
	.zero	4
	.globl	XGBE_TX_AMP_PROPERTY
	.align 4
	.type	XGBE_TX_AMP_PROPERTY, @object
	.size	XGBE_TX_AMP_PROPERTY, 4
XGBE_TX_AMP_PROPERTY:
	.zero	4
	.globl	XGBE_TX_DESC_CNT
	.align 4
	.type	XGBE_TX_DESC_CNT, @object
	.size	XGBE_TX_DESC_CNT, 4
XGBE_TX_DESC_CNT:
	.zero	4
	.globl	axgbe_get_counter
	.align 4
	.type	axgbe_get_counter, @object
	.size	axgbe_get_counter, 4
axgbe_get_counter:
	.zero	4
	.globl	axgbe_init
	.align 4
	.type	axgbe_init, @object
	.size	axgbe_init, 4
axgbe_init:
	.zero	4
	.globl	axgbe_ioctl
	.align 4
	.type	axgbe_ioctl, @object
	.size	axgbe_ioctl, 4
axgbe_ioctl:
	.zero	4
	.globl	axgbe_media_change
	.align 4
	.type	axgbe_media_change, @object
	.size	axgbe_media_change, 4
axgbe_media_change:
	.zero	4
	.globl	axgbe_media_status
	.align 4
	.type	axgbe_media_status, @object
	.size	axgbe_media_status, 4
axgbe_media_status:
	.zero	4
	.globl	axgbe_qflush
	.align 4
	.type	axgbe_qflush, @object
	.size	axgbe_qflush, 4
axgbe_qflush:
	.zero	4
	.globl	mac_spec
	.align 4
	.type	mac_spec, @object
	.size	mac_spec, 4
mac_spec:
	.zero	4
	.globl	old_mac_spec
	.align 4
	.type	old_mac_spec, @object
	.size	old_mac_spec, 4
old_mac_spec:
	.zero	4
	.globl	old_phy_spec
	.align 4
	.type	old_phy_spec, @object
	.size	old_phy_spec, 4
old_phy_spec:
	.zero	4
	.globl	taskqueue_thread_enqueue
	.align 4
	.type	taskqueue_thread_enqueue, @object
	.size	taskqueue_thread_enqueue, 4
taskqueue_thread_enqueue:
	.zero	4
	.globl	xgbe_xmit
	.align 4
	.type	xgbe_xmit, @object
	.size	xgbe_xmit, 4
xgbe_xmit:
	.zero	4
	.section	.rodata
.LC0:
	.string	"phy-handle"
	.align 8
.LC1:
	.string	"could not allocate phy resources\n"
	.align 8
.LC2:
	.string	"could not allocate mac resources\n"
.LC3:
	.string	"mac-address"
.LC4:
	.string	"No mac-address property\n"
.LC5:
	.string	"Cannot alloc ifnet\n"
.LC6:
	.string	"%s property is missing\n"
.LC7:
	.string	"dma-coherent"
.LC8:
	.string	"axgbe"
.LC9:
	.string	"axgbe taskq"
.LC10:
	.string	"ndo_open failed\n"
	.text
	.type	axgbe_attach, @function
axgbe_attach:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 216
	.cfi_offset 3, -24
	mov	DWORD PTR -212[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR -212[rbp]
	mov	edi, eax
	call	device_get_softc@PLT
	mov	QWORD PTR -168[rbp], rax
	mov	eax, DWORD PTR -212[rbp]
	mov	edi, eax
	call	ofw_bus_get_node@PLT
	mov	DWORD PTR -180[rbp], eax
	lea	rdx, -196[rbp]
	mov	eax, DWORD PTR -180[rbp]
	mov	ecx, 4
	lea	rsi, .LC0[rip]
	mov	edi, eax
	call	OF_getencprop@PLT
	test	rax, rax
	jg	.L2
	mov	eax, DWORD PTR -180[rbp]
	mov	DWORD PTR -192[rbp], eax
	mov	ecx, DWORD PTR mac_spec[rip]
	lea	rdx, -112[rbp]
	mov	eax, DWORD PTR -212[rbp]
	mov	esi, ecx
	mov	edi, eax
	call	bus_alloc_resources@PLT
	test	rax, rax
	je	.L3
	mov	eax, DWORD PTR -212[rbp]
	lea	rsi, .LC1[rip]
	mov	edi, eax
	mov	eax, 0
	call	device_printf@PLT
	mov	eax, DWORD PTR ENXIO[rip]
	jmp	.L33
.L3:
	mov	rdx, QWORD PTR -112[rbp]
	mov	rax, QWORD PTR -168[rbp]
	mov	QWORD PTR 256[rax], rdx
	mov	rdx, QWORD PTR -104[rbp]
	mov	rax, QWORD PTR -168[rbp]
	mov	QWORD PTR 248[rax], rdx
	mov	rdx, QWORD PTR -96[rbp]
	mov	rax, QWORD PTR -168[rbp]
	mov	QWORD PTR 288[rax], rdx
	mov	rdx, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR -168[rbp]
	mov	QWORD PTR 280[rax], rdx
	mov	rdx, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR -168[rbp]
	mov	QWORD PTR 272[rax], rdx
	mov	rdx, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR -168[rbp]
	mov	QWORD PTR 240[rax], rdx
	mov	rdx, QWORD PTR XGBE_DMA_IRQS_PROPERTY[rip]
	mov	eax, DWORD PTR -180[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	OF_hasprop@PLT
	mov	rdx, QWORD PTR -168[rbp]
	mov	QWORD PTR 232[rdx], rax
	mov	DWORD PTR -188[rbp], 0
	mov	DWORD PTR -184[rbp], 6
	jmp	.L5
.L8:
	mov	rax, QWORD PTR -168[rbp]
	mov	rax, QWORD PTR 232[rax]
	test	rax, rax
	je	.L6
	mov	rax, QWORD PTR -168[rbp]
	mov	rdx, QWORD PTR 224[rax]
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	sal	rax, 3
	add	rdx, rax
	mov	eax, DWORD PTR -184[rbp]
	cdqe
	mov	rax, QWORD PTR -112[rbp+rax*8]
	mov	QWORD PTR [rdx], rax
.L6:
	add	DWORD PTR -188[rbp], 1
	add	DWORD PTR -184[rbp], 1
.L5:
	lea	rax, -112[rbp]
	mov	rdi, rax
	call	nitems@PLT
	sub	eax, 1
	cmp	DWORD PTR -184[rbp], eax
	jge	.L7
	mov	eax, DWORD PTR -184[rbp]
	add	eax, 1
	cdqe
	mov	rax, QWORD PTR -112[rbp+rax*8]
	test	rax, rax
	jne	.L8
.L7:
	mov	eax, DWORD PTR -184[rbp]
	cdqe
	mov	rdx, QWORD PTR -112[rbp+rax*8]
	mov	rax, QWORD PTR -168[rbp]
	mov	QWORD PTR 264[rax], rdx
	jmp	.L9
.L2:
	mov	eax, DWORD PTR -196[rbp]
	mov	edi, eax
	call	OF_device_from_xref@PLT
	mov	DWORD PTR -176[rbp], eax
	mov	eax, DWORD PTR -176[rbp]
	mov	edi, eax
	call	ofw_bus_get_node@PLT
	mov	DWORD PTR -192[rbp], eax
	mov	ecx, DWORD PTR old_phy_spec[rip]
	lea	rdx, -144[rbp]
	mov	eax, DWORD PTR -176[rbp]
	mov	esi, ecx
	mov	edi, eax
	call	bus_alloc_resources@PLT
	test	rax, rax
	je	.L10
	mov	eax, DWORD PTR -212[rbp]
	lea	rsi, .LC1[rip]
	mov	edi, eax
	mov	eax, 0
	call	device_printf@PLT
	mov	eax, DWORD PTR ENXIO[rip]
	jmp	.L33
.L10:
	mov	ecx, DWORD PTR old_mac_spec[rip]
	lea	rdx, -112[rbp]
	mov	eax, DWORD PTR -212[rbp]
	mov	esi, ecx
	mov	edi, eax
	call	bus_alloc_resources@PLT
	test	rax, rax
	je	.L11
	mov	eax, DWORD PTR -212[rbp]
	lea	rsi, .LC2[rip]
	mov	edi, eax
	mov	eax, 0
	call	device_printf@PLT
	mov	eax, DWORD PTR ENXIO[rip]
	jmp	.L33
.L11:
	mov	rdx, QWORD PTR -144[rbp]
	mov	rax, QWORD PTR -168[rbp]
	mov	QWORD PTR 288[rax], rdx
	mov	rdx, QWORD PTR -136[rbp]
	mov	rax, QWORD PTR -168[rbp]
	mov	QWORD PTR 280[rax], rdx
	mov	rdx, QWORD PTR -128[rbp]
	mov	rax, QWORD PTR -168[rbp]
	mov	QWORD PTR 272[rax], rdx
	mov	rdx, QWORD PTR -120[rbp]
	mov	rax, QWORD PTR -168[rbp]
	mov	QWORD PTR 264[rax], rdx
	mov	rdx, QWORD PTR -112[rbp]
	mov	rax, QWORD PTR -168[rbp]
	mov	QWORD PTR 256[rax], rdx
	mov	rdx, QWORD PTR -104[rbp]
	mov	rax, QWORD PTR -168[rbp]
	mov	QWORD PTR 248[rax], rdx
	mov	rdx, QWORD PTR -96[rbp]
	mov	rax, QWORD PTR -168[rbp]
	mov	QWORD PTR 240[rax], rdx
	mov	rdx, QWORD PTR XGBE_DMA_IRQS_PROPERTY[rip]
	mov	eax, DWORD PTR -180[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	OF_hasprop@PLT
	mov	rdx, QWORD PTR -168[rbp]
	mov	QWORD PTR 232[rdx], rax
	mov	rax, QWORD PTR -168[rbp]
	mov	rax, QWORD PTR 232[rax]
	test	rax, rax
	je	.L9
	mov	DWORD PTR -188[rbp], 0
	mov	DWORD PTR -184[rbp], 3
	jmp	.L12
.L13:
	mov	rax, QWORD PTR -168[rbp]
	mov	rdx, QWORD PTR 224[rax]
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	sal	rax, 3
	add	rdx, rax
	mov	eax, DWORD PTR -184[rbp]
	cdqe
	mov	rax, QWORD PTR -112[rbp+rax*8]
	mov	QWORD PTR [rdx], rax
	add	DWORD PTR -188[rbp], 1
	add	DWORD PTR -184[rbp], 1
.L12:
	mov	rax, QWORD PTR -168[rbp]
	mov	rax, QWORD PTR 224[rax]
	mov	rdi, rax
	call	nitems@PLT
	cmp	DWORD PTR -188[rbp], eax
	jge	.L9
	mov	eax, DWORD PTR -184[rbp]
	cdqe
	mov	rax, QWORD PTR -112[rbp+rax*8]
	test	rax, rax
	jne	.L13
.L9:
	mov	eax, DWORD PTR -180[rbp]
	lea	rsi, .LC3[rip]
	mov	edi, eax
	call	OF_getproplen@PLT
	mov	QWORD PTR -160[rbp], rax
	cmp	QWORD PTR -160[rbp], 0
	jns	.L14
	mov	eax, DWORD PTR -212[rbp]
	lea	rsi, .LC4[rip]
	mov	edi, eax
	mov	eax, 0
	call	device_printf@PLT
	mov	eax, DWORD PTR EINVAL[rip]
	jmp	.L33
.L14:
	mov	rax, QWORD PTR ETHER_ADDR_LEN[rip]
	cmp	QWORD PTR -160[rbp], rax
	je	.L15
	mov	eax, DWORD PTR EINVAL[rip]
	jmp	.L33
.L15:
	mov	rcx, QWORD PTR ETHER_ADDR_LEN[rip]
	mov	rax, QWORD PTR -168[rbp]
	mov	edx, DWORD PTR 300[rax]
	mov	eax, DWORD PTR -180[rbp]
	lea	rsi, .LC3[rip]
	mov	edi, eax
	call	OF_getprop@PLT
	mov	eax, DWORD PTR IFT_ETHER[rip]
	mov	edi, eax
	call	if_alloc@PLT
	mov	QWORD PTR -152[rbp], rax
	mov	rax, QWORD PTR -168[rbp]
	mov	rdx, QWORD PTR -152[rbp]
	mov	QWORD PTR 216[rax], rdx
	cmp	QWORD PTR -152[rbp], 0
	jne	.L16
	mov	eax, DWORD PTR -212[rbp]
	lea	rsi, .LC5[rip]
	mov	edi, eax
	mov	eax, 0
	call	device_printf@PLT
	mov	eax, DWORD PTR ENXIO[rip]
	jmp	.L33
.L16:
	mov	rax, QWORD PTR -168[rbp]
	mov	edx, DWORD PTR -212[rbp]
	mov	DWORD PTR 212[rax], edx
	mov	eax, DWORD PTR -212[rbp]
	mov	edi, eax
	call	bus_get_dma_tag@PLT
	mov	rdx, QWORD PTR -168[rbp]
	mov	DWORD PTR 208[rdx], eax
	mov	edx, DWORD PTR ADVERTISED_10000baseKR_Full[rip]
	mov	eax, DWORD PTR ADVERTISED_1000baseKX_Full[rip]
	or	edx, eax
	mov	rax, QWORD PTR -168[rbp]
	mov	DWORD PTR 204[rax], edx
	mov	rax, QWORD PTR -168[rbp]
	lea	rdx, 200[rax]
	mov	rsi, QWORD PTR XGBE_SPEEDSET_PROPERTY[rip]
	mov	eax, DWORD PTR -192[rbp]
	mov	ecx, 4
	mov	edi, eax
	call	OF_getencprop@PLT
	test	rax, rax
	jg	.L17
	mov	rdx, QWORD PTR XGBE_SPEEDSET_PROPERTY[rip]
	mov	eax, DWORD PTR -212[rbp]
	lea	rsi, .LC6[rip]
	mov	edi, eax
	mov	eax, 0
	call	device_printf@PLT
	mov	eax, DWORD PTR EINVAL[rip]
	jmp	.L33
.L17:
	mov	rax, QWORD PTR -168[rbp]
	mov	rcx, QWORD PTR 192[rax]
	mov	edx, DWORD PTR XGBE_BLWC_PROPERTY[rip]
	mov	esi, DWORD PTR -192[rbp]
	mov	eax, DWORD PTR -212[rbp]
	mov	r8d, 8
	mov	edi, eax
	call	axgbe_get_optional_prop@PLT
	mov	DWORD PTR -172[rbp], eax
	cmp	DWORD PTR -172[rbp], 0
	jle	.L18
	mov	eax, DWORD PTR -172[rbp]
	jmp	.L33
.L18:
	cmp	DWORD PTR -172[rbp], 0
	jns	.L19
	mov	rax, QWORD PTR -168[rbp]
	mov	rax, QWORD PTR 192[rax]
	mov	edx, DWORD PTR XGBE_SPEED_1000_BLWC[rip]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -168[rbp]
	mov	rax, QWORD PTR 192[rax]
	lea	rdx, 4[rax]
	mov	eax, DWORD PTR XGBE_SPEED_2500_BLWC[rip]
	mov	DWORD PTR [rdx], eax
	mov	rax, QWORD PTR -168[rbp]
	mov	rax, QWORD PTR 192[rax]
	lea	rdx, 8[rax]
	mov	eax, DWORD PTR XGBE_SPEED_10000_BLWC[rip]
	mov	DWORD PTR [rdx], eax
.L19:
	mov	rax, QWORD PTR -168[rbp]
	mov	rcx, QWORD PTR 184[rax]
	mov	edx, DWORD PTR XGBE_CDR_RATE_PROPERTY[rip]
	mov	esi, DWORD PTR -192[rbp]
	mov	eax, DWORD PTR -212[rbp]
	mov	r8d, 8
	mov	edi, eax
	call	axgbe_get_optional_prop@PLT
	mov	DWORD PTR -172[rbp], eax
	cmp	DWORD PTR -172[rbp], 0
	jle	.L20
	mov	eax, DWORD PTR -172[rbp]
	jmp	.L33
.L20:
	cmp	DWORD PTR -172[rbp], 0
	jns	.L21
	mov	rax, QWORD PTR -168[rbp]
	mov	rax, QWORD PTR 184[rax]
	mov	edx, DWORD PTR XGBE_SPEED_1000_CDR[rip]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -168[rbp]
	mov	rax, QWORD PTR 184[rax]
	lea	rdx, 4[rax]
	mov	eax, DWORD PTR XGBE_SPEED_2500_CDR[rip]
	mov	DWORD PTR [rdx], eax
	mov	rax, QWORD PTR -168[rbp]
	mov	rax, QWORD PTR 184[rax]
	lea	rdx, 8[rax]
	mov	eax, DWORD PTR XGBE_SPEED_10000_CDR[rip]
	mov	DWORD PTR [rdx], eax
.L21:
	mov	rax, QWORD PTR -168[rbp]
	mov	rcx, QWORD PTR 176[rax]
	mov	edx, DWORD PTR XGBE_PQ_SKEW_PROPERTY[rip]
	mov	esi, DWORD PTR -192[rbp]
	mov	eax, DWORD PTR -212[rbp]
	mov	r8d, 8
	mov	edi, eax
	call	axgbe_get_optional_prop@PLT
	mov	DWORD PTR -172[rbp], eax
	cmp	DWORD PTR -172[rbp], 0
	jle	.L22
	mov	eax, DWORD PTR -172[rbp]
	jmp	.L33
.L22:
	cmp	DWORD PTR -172[rbp], 0
	jns	.L23
	mov	rax, QWORD PTR -168[rbp]
	mov	rax, QWORD PTR 176[rax]
	mov	edx, DWORD PTR XGBE_SPEED_1000_PQ[rip]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -168[rbp]
	mov	rax, QWORD PTR 176[rax]
	lea	rdx, 4[rax]
	mov	eax, DWORD PTR XGBE_SPEED_2500_PQ[rip]
	mov	DWORD PTR [rdx], eax
	mov	rax, QWORD PTR -168[rbp]
	mov	rax, QWORD PTR 176[rax]
	lea	rdx, 8[rax]
	mov	eax, DWORD PTR XGBE_SPEED_10000_PQ[rip]
	mov	DWORD PTR [rdx], eax
.L23:
	mov	rax, QWORD PTR -168[rbp]
	mov	rcx, QWORD PTR 168[rax]
	mov	edx, DWORD PTR XGBE_TX_AMP_PROPERTY[rip]
	mov	esi, DWORD PTR -192[rbp]
	mov	eax, DWORD PTR -212[rbp]
	mov	r8d, 8
	mov	edi, eax
	call	axgbe_get_optional_prop@PLT
	mov	DWORD PTR -172[rbp], eax
	cmp	DWORD PTR -172[rbp], 0
	jle	.L24
	mov	eax, DWORD PTR -172[rbp]
	jmp	.L33
.L24:
	cmp	DWORD PTR -172[rbp], 0
	jns	.L25
	mov	rax, QWORD PTR -168[rbp]
	mov	rax, QWORD PTR 168[rax]
	mov	edx, DWORD PTR XGBE_SPEED_1000_TXAMP[rip]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -168[rbp]
	mov	rax, QWORD PTR 168[rax]
	lea	rdx, 4[rax]
	mov	eax, DWORD PTR XGBE_SPEED_2500_TXAMP[rip]
	mov	DWORD PTR [rdx], eax
	mov	rax, QWORD PTR -168[rbp]
	mov	rax, QWORD PTR 168[rax]
	lea	rdx, 8[rax]
	mov	eax, DWORD PTR XGBE_SPEED_10000_TXAMP[rip]
	mov	DWORD PTR [rdx], eax
.L25:
	mov	rax, QWORD PTR -168[rbp]
	mov	rcx, QWORD PTR 160[rax]
	mov	edx, DWORD PTR XGBE_DFE_CFG_PROPERTY[rip]
	mov	esi, DWORD PTR -192[rbp]
	mov	eax, DWORD PTR -212[rbp]
	mov	r8d, 8
	mov	edi, eax
	call	axgbe_get_optional_prop@PLT
	mov	DWORD PTR -172[rbp], eax
	cmp	DWORD PTR -172[rbp], 0
	jle	.L26
	mov	eax, DWORD PTR -172[rbp]
	jmp	.L33
.L26:
	cmp	DWORD PTR -172[rbp], 0
	jns	.L27
	mov	rax, QWORD PTR -168[rbp]
	mov	rax, QWORD PTR 160[rax]
	mov	edx, DWORD PTR XGBE_SPEED_1000_DFE_TAP_CONFIG[rip]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -168[rbp]
	mov	rax, QWORD PTR 160[rax]
	lea	rdx, 4[rax]
	mov	eax, DWORD PTR XGBE_SPEED_2500_DFE_TAP_CONFIG[rip]
	mov	DWORD PTR [rdx], eax
	mov	rax, QWORD PTR -168[rbp]
	mov	rax, QWORD PTR 160[rax]
	lea	rdx, 8[rax]
	mov	eax, DWORD PTR XGBE_SPEED_10000_DFE_TAP_CONFIG[rip]
	mov	DWORD PTR [rdx], eax
.L27:
	mov	rax, QWORD PTR -168[rbp]
	mov	rcx, QWORD PTR 152[rax]
	mov	edx, DWORD PTR XGBE_DFE_ENA_PROPERTY[rip]
	mov	esi, DWORD PTR -192[rbp]
	mov	eax, DWORD PTR -212[rbp]
	mov	r8d, 8
	mov	edi, eax
	call	axgbe_get_optional_prop@PLT
	mov	DWORD PTR -172[rbp], eax
	cmp	DWORD PTR -172[rbp], 0
	jle	.L28
	mov	eax, DWORD PTR -172[rbp]
	jmp	.L33
.L28:
	cmp	DWORD PTR -172[rbp], 0
	jns	.L29
	mov	rax, QWORD PTR -168[rbp]
	mov	rax, QWORD PTR 152[rax]
	mov	edx, DWORD PTR XGBE_SPEED_1000_DFE_TAP_ENABLE[rip]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -168[rbp]
	mov	rax, QWORD PTR 152[rax]
	lea	rdx, 4[rax]
	mov	eax, DWORD PTR XGBE_SPEED_2500_DFE_TAP_ENABLE[rip]
	mov	DWORD PTR [rdx], eax
	mov	rax, QWORD PTR -168[rbp]
	mov	rax, QWORD PTR 152[rax]
	lea	rdx, 8[rax]
	mov	eax, DWORD PTR XGBE_SPEED_10000_DFE_TAP_ENABLE[rip]
	mov	DWORD PTR [rdx], eax
.L29:
	mov	eax, DWORD PTR -180[rbp]
	lea	rsi, .LC7[rip]
	mov	edi, eax
	call	OF_hasprop@PLT
	mov	rdx, QWORD PTR -168[rbp]
	mov	QWORD PTR 144[rdx], rax
	mov	rax, QWORD PTR -168[rbp]
	mov	rax, QWORD PTR 144[rax]
	test	rax, rax
	je	.L30
	mov	edx, DWORD PTR XGBE_DMA_OS_AXDOMAIN[rip]
	mov	rax, QWORD PTR -168[rbp]
	mov	DWORD PTR 140[rax], edx
	mov	edx, DWORD PTR XGBE_DMA_OS_ARCACHE[rip]
	mov	rax, QWORD PTR -168[rbp]
	mov	DWORD PTR 136[rax], edx
	mov	edx, DWORD PTR XGBE_DMA_OS_AWCACHE[rip]
	mov	rax, QWORD PTR -168[rbp]
	mov	DWORD PTR 132[rax], edx
	jmp	.L31
.L30:
	mov	edx, DWORD PTR XGBE_DMA_SYS_AXDOMAIN[rip]
	mov	rax, QWORD PTR -168[rbp]
	mov	DWORD PTR 140[rax], edx
	mov	edx, DWORD PTR XGBE_DMA_SYS_ARCACHE[rip]
	mov	rax, QWORD PTR -168[rbp]
	mov	DWORD PTR 136[rax], edx
	mov	edx, DWORD PTR XGBE_DMA_SYS_AWCACHE[rip]
	mov	rax, QWORD PTR -168[rbp]
	mov	DWORD PTR 132[rax], edx
.L31:
	mov	rax, QWORD PTR -168[rbp]
	sub	rax, -128
	mov	rdi, rax
	call	spin_lock_init@PLT
	mov	rax, QWORD PTR -168[rbp]
	lea	rcx, 124[rax]
	mov	edx, DWORD PTR taskqueue_thread_enqueue[rip]
	mov	eax, DWORD PTR M_WAITOK[rip]
	mov	esi, eax
	lea	rdi, .LC8[rip]
	call	taskqueue_create@PLT
	mov	rdx, QWORD PTR -168[rbp]
	mov	DWORD PTR 124[rdx], eax
	mov	eax, DWORD PTR PI_NET[rip]
	mov	rdx, QWORD PTR -168[rbp]
	lea	rdi, 124[rdx]
	lea	rcx, .LC9[rip]
	mov	edx, eax
	mov	esi, 1
	call	taskqueue_start_threads@PLT
	mov	rax, QWORD PTR -168[rbp]
	add	rax, 32
	mov	rdi, rax
	call	xgbe_init_function_ptrs_phy@PLT
	mov	rax, QWORD PTR -168[rbp]
	add	rax, 112
	mov	rdi, rax
	call	xgbe_init_function_ptrs_dev@PLT
	mov	rax, QWORD PTR -168[rbp]
	add	rax, 120
	mov	rdi, rax
	call	xgbe_init_function_ptrs_desc@PLT
	mov	rax, QWORD PTR -168[rbp]
	mov	rdx, QWORD PTR 112[rax]
	mov	rax, QWORD PTR -168[rbp]
	mov	rdi, rax
	call	rdx
	mov	rax, QWORD PTR -168[rbp]
	mov	rdi, rax
	call	xgbe_get_all_hw_features@PLT
	mov	edx, DWORD PTR DMA_PBL_X8_ENABLE[rip]
	mov	rax, QWORD PTR -168[rbp]
	mov	DWORD PTR 108[rax], edx
	mov	edx, DWORD PTR XGBE_TX_DESC_CNT[rip]
	mov	rax, QWORD PTR -168[rbp]
	mov	DWORD PTR 104[rax], edx
	mov	edx, DWORD PTR MTL_TSF_ENABLE[rip]
	mov	rax, QWORD PTR -168[rbp]
	mov	DWORD PTR 100[rax], edx
	mov	edx, DWORD PTR MTL_TX_THRESHOLD_64[rip]
	mov	rax, QWORD PTR -168[rbp]
	mov	DWORD PTR 96[rax], edx
	mov	rdx, QWORD PTR DMA_PBL_16[rip]
	mov	rax, QWORD PTR -168[rbp]
	mov	QWORD PTR 88[rax], rdx
	mov	edx, DWORD PTR DMA_OSP_ENABLE[rip]
	mov	rax, QWORD PTR -168[rbp]
	mov	DWORD PTR 84[rax], edx
	mov	edx, DWORD PTR XGBE_RX_DESC_CNT[rip]
	mov	rax, QWORD PTR -168[rbp]
	mov	DWORD PTR 80[rax], edx
	mov	edx, DWORD PTR MTL_RSF_DISABLE[rip]
	mov	rax, QWORD PTR -168[rbp]
	mov	DWORD PTR 76[rax], edx
	mov	edx, DWORD PTR MTL_RX_THRESHOLD_64[rip]
	mov	rax, QWORD PTR -168[rbp]
	mov	DWORD PTR 72[rax], edx
	mov	rdx, QWORD PTR DMA_PBL_16[rip]
	mov	rax, QWORD PTR -168[rbp]
	mov	QWORD PTR 64[rax], rdx
	mov	rax, QWORD PTR -168[rbp]
	mov	DWORD PTR [rax], 1
	mov	rax, QWORD PTR -168[rbp]
	mov	DWORD PTR 4[rax], 1
	mov	rax, QWORD PTR -168[rbp]
	mov	DWORD PTR 8[rax], 1
	mov	edx, DWORD PTR SPEED_UNKNOWN[rip]
	mov	rax, QWORD PTR -168[rbp]
	mov	DWORD PTR 56[rax], edx
	mov	rax, QWORD PTR -168[rbp]
	mov	QWORD PTR 48[rax], 0
	mov	rax, QWORD PTR -168[rbp]
	mov	DWORD PTR 12[rax], 1
	mov	rax, QWORD PTR -168[rbp]
	mov	DWORD PTR 16[rax], 1
	mov	rax, QWORD PTR -168[rbp]
	mov	DWORD PTR 20[rax], 1
	mov	rax, QWORD PTR -168[rbp]
	mov	edx, DWORD PTR 40[rax]
	mov	rax, QWORD PTR -168[rbp]
	mov	DWORD PTR 44[rax], edx
	mov	rax, QWORD PTR -168[rbp]
	mov	rdx, QWORD PTR 32[rax]
	mov	rax, QWORD PTR -168[rbp]
	mov	rdi, rax
	call	rdx
	mov	rax, QWORD PTR -168[rbp]
	mov	rdi, rax
	call	xgbe_init_rx_coalesce@PLT
	mov	rax, QWORD PTR -168[rbp]
	mov	rdi, rax
	call	xgbe_init_tx_coalesce@PLT
	mov	eax, DWORD PTR -212[rbp]
	mov	edi, eax
	call	device_get_unit@PLT
	mov	ebx, eax
	mov	eax, DWORD PTR -212[rbp]
	mov	edi, eax
	call	device_get_name@PLT
	mov	ecx, eax
	mov	rax, QWORD PTR -152[rbp]
	mov	edx, ebx
	mov	esi, ecx
	mov	rdi, rax
	call	if_initname@PLT
	mov	edx, DWORD PTR axgbe_init[rip]
	mov	rax, QWORD PTR -152[rbp]
	mov	DWORD PTR 56[rax], edx
	mov	rax, QWORD PTR -152[rbp]
	mov	rdx, QWORD PTR -168[rbp]
	mov	QWORD PTR 48[rax], rdx
	mov	edx, DWORD PTR IFF_BROADCAST[rip]
	mov	eax, DWORD PTR IFF_SIMPLEX[rip]
	or	edx, eax
	mov	eax, DWORD PTR IFF_MULTICAST[rip]
	or	edx, eax
	mov	rax, QWORD PTR -152[rbp]
	mov	DWORD PTR [rax], edx
	mov	edx, DWORD PTR axgbe_ioctl[rip]
	mov	rax, QWORD PTR -152[rbp]
	mov	DWORD PTR 44[rax], edx
	mov	edx, DWORD PTR xgbe_xmit[rip]
	mov	rax, QWORD PTR -152[rbp]
	mov	DWORD PTR 40[rax], edx
	mov	edx, DWORD PTR axgbe_qflush[rip]
	mov	rax, QWORD PTR -152[rbp]
	mov	DWORD PTR 36[rax], edx
	mov	edx, DWORD PTR axgbe_get_counter[rip]
	mov	rax, QWORD PTR -152[rbp]
	mov	DWORD PTR 32[rax], edx
	mov	rax, QWORD PTR -152[rbp]
	mov	QWORD PTR 24[rax], 0
	mov	rax, QWORD PTR -152[rbp]
	mov	QWORD PTR 16[rax], 0
	mov	rax, QWORD PTR -152[rbp]
	mov	QWORD PTR 8[rax], 0
	mov	rax, QWORD PTR -168[rbp]
	mov	edx, DWORD PTR 300[rax]
	mov	rax, QWORD PTR -152[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	ether_ifattach@PLT
	mov	ecx, DWORD PTR axgbe_media_status[rip]
	mov	edx, DWORD PTR axgbe_media_change[rip]
	mov	eax, DWORD PTR IFM_IMASK[rip]
	mov	rsi, QWORD PTR -168[rbp]
	lea	rdi, 296[rsi]
	mov	esi, eax
	call	ifmedia_init@PLT
	mov	edx, DWORD PTR IFM_ETHER[rip]
	mov	eax, DWORD PTR IFM_1000_KX[rip]
	mov	esi, edx
	or	esi, eax
	mov	rax, QWORD PTR -168[rbp]
	add	rax, 296
	mov	ecx, 0
	mov	edx, 0
	mov	rdi, rax
	call	ifmedia_add@PLT
	mov	edx, DWORD PTR IFM_ETHER[rip]
	mov	eax, DWORD PTR IFM_AUTO[rip]
	mov	esi, edx
	or	esi, eax
	mov	rax, QWORD PTR -168[rbp]
	add	rax, 296
	mov	ecx, 0
	mov	edx, 0
	mov	rdi, rax
	call	ifmedia_add@PLT
	mov	edx, DWORD PTR IFM_ETHER[rip]
	mov	eax, DWORD PTR IFM_AUTO[rip]
	or	edx, eax
	mov	rax, QWORD PTR -168[rbp]
	add	rax, 296
	mov	esi, edx
	mov	rdi, rax
	call	ifmedia_set@PLT
	mov	rax, QWORD PTR -168[rbp]
	lea	rdx, 24[rax]
	mov	eax, DWORD PTR XGBE_DOWN[rip]
	mov	rsi, rdx
	mov	edi, eax
	call	set_bit@PLT
	mov	rax, QWORD PTR -152[rbp]
	mov	rdi, rax
	call	xgbe_open@PLT
	test	rax, rax
	jns	.L32
	mov	eax, DWORD PTR -212[rbp]
	lea	rsi, .LC10[rip]
	mov	edi, eax
	mov	eax, 0
	call	device_printf@PLT
	mov	eax, DWORD PTR ENXIO[rip]
	jmp	.L33
.L32:
	mov	eax, 0
.L33:
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L34
	call	__stack_chk_fail@PLT
.L34:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	axgbe_attach, .-axgbe_attach
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"44066.c"
	.text
	.comm	ADVERTISED_10000baseKR_Full,4,4
	.comm	ADVERTISED_1000baseKX_Full,4,4
	.comm	DMA_OSP_ENABLE,4,4
	.comm	DMA_PBL_16,4,4
	.comm	DMA_PBL_X8_ENABLE,4,4
	.comm	EINVAL,4,4
	.comm	ENXIO,4,4
	.comm	ETHER_ADDR_LEN,4,4
	.comm	IFF_BROADCAST,4,4
	.comm	IFF_MULTICAST,4,4
	.comm	IFF_SIMPLEX,4,4
	.comm	IFM_1000_KX,4,4
	.comm	IFM_10G_KR,4,4
	.comm	IFM_AUTO,4,4
	.comm	IFM_ETHER,4,4
	.comm	IFM_IMASK,4,4
	.comm	IFT_ETHER,4,4
	.comm	MTL_RSF_DISABLE,4,4
	.comm	MTL_RX_THRESHOLD_64,4,4
	.comm	MTL_TSF_ENABLE,4,4
	.comm	MTL_TX_THRESHOLD_64,4,4
	.comm	M_WAITOK,4,4
	.comm	PI_NET,4,4
	.comm	SPEED_UNKNOWN,4,4
	.comm	XGBE_BLWC_PROPERTY,4,4
	.comm	XGBE_CDR_RATE_PROPERTY,4,4
	.comm	XGBE_DFE_CFG_PROPERTY,4,4
	.comm	XGBE_DFE_ENA_PROPERTY,4,4
	.comm	XGBE_DMA_IRQS_PROPERTY,4,4
	.comm	XGBE_DMA_OS_ARCACHE,4,4
	.comm	XGBE_DMA_OS_AWCACHE,4,4
	.comm	XGBE_DMA_OS_AXDOMAIN,4,4
	.comm	XGBE_DMA_SYS_ARCACHE,4,4
	.comm	XGBE_DMA_SYS_AWCACHE,4,4
	.comm	XGBE_DMA_SYS_AXDOMAIN,4,4
	.comm	XGBE_DOWN,4,4
	.comm	XGBE_PQ_SKEW_PROPERTY,4,4
	.comm	XGBE_RX_DESC_CNT,4,4
	.comm	XGBE_SPEEDSET_PROPERTY,4,4
	.comm	XGBE_SPEED_10000_BLWC,4,4
	.comm	XGBE_SPEED_10000_CDR,4,4
	.comm	XGBE_SPEED_10000_DFE_TAP_CONFIG,4,4
	.comm	XGBE_SPEED_10000_DFE_TAP_ENABLE,4,4
	.comm	XGBE_SPEED_10000_PQ,4,4
	.comm	XGBE_SPEED_10000_TXAMP,4,4
	.comm	XGBE_SPEED_1000_BLWC,4,4
	.comm	XGBE_SPEED_1000_CDR,4,4
	.comm	XGBE_SPEED_1000_DFE_TAP_CONFIG,4,4
	.comm	XGBE_SPEED_1000_DFE_TAP_ENABLE,4,4
	.comm	XGBE_SPEED_1000_PQ,4,4
	.comm	XGBE_SPEED_1000_TXAMP,4,4
	.comm	XGBE_SPEED_2500_BLWC,4,4
	.comm	XGBE_SPEED_2500_CDR,4,4
	.comm	XGBE_SPEED_2500_DFE_TAP_CONFIG,4,4
	.comm	XGBE_SPEED_2500_DFE_TAP_ENABLE,4,4
	.comm	XGBE_SPEED_2500_PQ,4,4
	.comm	XGBE_SPEED_2500_TXAMP,4,4
	.comm	XGBE_TX_AMP_PROPERTY,4,4
	.comm	XGBE_TX_DESC_CNT,4,4
	.comm	axgbe_get_counter,4,4
	.comm	axgbe_init,4,4
	.comm	axgbe_ioctl,4,4
	.comm	axgbe_media_change,4,4
	.comm	axgbe_media_status,4,4
	.comm	axgbe_qflush,4,4
	.comm	mac_spec,4,4
	.comm	old_mac_spec,4,4
	.comm	old_phy_spec,4,4
	.comm	taskqueue_thread_enqueue,4,4
	.comm	xgbe_xmit,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"phy-handle\000"
	.align	2
.LC1:
	.ascii	"could not allocate phy resources\012\000"
	.align	2
.LC2:
	.ascii	"could not allocate mac resources\012\000"
	.align	2
.LC3:
	.ascii	"mac-address\000"
	.align	2
.LC4:
	.ascii	"No mac-address property\012\000"
	.align	2
.LC5:
	.ascii	"Cannot alloc ifnet\012\000"
	.align	2
.LC6:
	.ascii	"%s property is missing\012\000"
	.align	2
.LC7:
	.ascii	"dma-coherent\000"
	.align	2
.LC8:
	.ascii	"axgbe\000"
	.align	2
.LC9:
	.ascii	"axgbe taskq\000"
	.align	2
.LC10:
	.ascii	"ndo_open failed\012\000"
	.align	2
.LC11:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	axgbe_attach, %function
axgbe_attach:
	@ args = 0, pretend = 0, frame = 112
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #124
	str	r0, [fp, #-120]
	ldr	r3, .L35
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r0, [fp, #-120]
	bl	device_get_softc
	str	r0, [fp, #-100]
	ldr	r0, [fp, #-120]
	bl	ofw_bus_get_node
	str	r0, [fp, #-96]
	sub	r2, fp, #116
	mov	r3, #4
	ldr	r1, .L35+4
	ldr	r0, [fp, #-96]
	bl	OF_getencprop
	mov	r3, r0
	cmp	r3, #0
	bgt	.L2
	ldr	r3, [fp, #-96]
	str	r3, [fp, #-112]
	ldr	r3, .L35+8
	ldr	r3, [r3]
	sub	r2, fp, #60
	mov	r1, r3
	ldr	r0, [fp, #-120]
	bl	bus_alloc_resources
	mov	r3, r0
	cmp	r3, #0
	beq	.L3
	ldr	r1, .L35+12
	ldr	r0, [fp, #-120]
	bl	device_printf
	ldr	r3, .L35+16
	ldr	r3, [r3]
	b	.L33
.L3:
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #-100]
	str	r2, [r3, #180]
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-100]
	str	r2, [r3, #176]
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-100]
	str	r2, [r3, #196]
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-100]
	str	r2, [r3, #192]
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-100]
	str	r2, [r3, #188]
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-100]
	str	r2, [r3, #172]
	ldr	r3, .L35+20
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-96]
	bl	OF_hasprop
	mov	r2, r0
	ldr	r3, [fp, #-100]
	str	r2, [r3, #168]
	mov	r3, #0
	str	r3, [fp, #-108]
	mov	r3, #6
	str	r3, [fp, #-104]
	b	.L5
.L8:
	ldr	r3, [fp, #-100]
	ldr	r3, [r3, #168]
	cmp	r3, #0
	beq	.L6
	ldr	r3, [fp, #-100]
	ldr	r2, [r3, #164]
	ldr	r3, [fp, #-108]
	lsl	r3, r3, #2
	add	r2, r2, r3
	ldr	r3, [fp, #-104]
	lsl	r3, r3, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	ldr	r3, [r3, #-48]
	str	r3, [r2]
.L6:
	ldr	r3, [fp, #-108]
	add	r3, r3, #1
	str	r3, [fp, #-108]
	ldr	r3, [fp, #-104]
	add	r3, r3, #1
	str	r3, [fp, #-104]
.L5:
	sub	r3, fp, #60
	mov	r0, r3
	bl	nitems
	mov	r3, r0
	sub	r3, r3, #1
	ldr	r2, [fp, #-104]
	cmp	r2, r3
	bge	.L7
	ldr	r3, [fp, #-104]
	add	r3, r3, #1
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-48]
	cmp	r3, #0
	bne	.L8
.L7:
	ldr	r3, [fp, #-104]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r2, [r3, #-48]
	ldr	r3, [fp, #-100]
	str	r2, [r3, #184]
	b	.L9
.L2:
	ldr	r3, [fp, #-116]
	mov	r0, r3
	bl	OF_device_from_xref
	str	r0, [fp, #-92]
	ldr	r0, [fp, #-92]
	bl	ofw_bus_get_node
	str	r0, [fp, #-112]
	ldr	r3, .L35+24
	ldr	r3, [r3]
	sub	r2, fp, #76
	mov	r1, r3
	ldr	r0, [fp, #-92]
	bl	bus_alloc_resources
	mov	r3, r0
	cmp	r3, #0
	beq	.L10
	ldr	r1, .L35+12
	ldr	r0, [fp, #-120]
	bl	device_printf
	ldr	r3, .L35+16
	ldr	r3, [r3]
	b	.L33
.L10:
	ldr	r3, .L35+28
	ldr	r3, [r3]
	sub	r2, fp, #60
	mov	r1, r3
	ldr	r0, [fp, #-120]
	bl	bus_alloc_resources
	mov	r3, r0
	cmp	r3, #0
	beq	.L11
	ldr	r1, .L35+32
	ldr	r0, [fp, #-120]
	bl	device_printf
	ldr	r3, .L35+16
	ldr	r3, [r3]
	b	.L33
.L11:
	ldr	r2, [fp, #-76]
	ldr	r3, [fp, #-100]
	str	r2, [r3, #196]
	ldr	r2, [fp, #-72]
	ldr	r3, [fp, #-100]
	str	r2, [r3, #192]
	ldr	r2, [fp, #-68]
	ldr	r3, [fp, #-100]
	str	r2, [r3, #188]
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #-100]
	str	r2, [r3, #184]
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #-100]
	str	r2, [r3, #180]
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-100]
	str	r2, [r3, #176]
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-100]
	str	r2, [r3, #172]
	ldr	r3, .L35+20
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-96]
	bl	OF_hasprop
	mov	r2, r0
	ldr	r3, [fp, #-100]
	str	r2, [r3, #168]
	ldr	r3, [fp, #-100]
	ldr	r3, [r3, #168]
	cmp	r3, #0
	beq	.L9
	mov	r3, #0
	str	r3, [fp, #-108]
	mov	r3, #3
	str	r3, [fp, #-104]
	b	.L12
.L13:
	ldr	r3, [fp, #-100]
	ldr	r2, [r3, #164]
	ldr	r3, [fp, #-108]
	lsl	r3, r3, #2
	add	r2, r2, r3
	ldr	r3, [fp, #-104]
	lsl	r3, r3, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	ldr	r3, [r3, #-48]
	str	r3, [r2]
	ldr	r3, [fp, #-108]
	add	r3, r3, #1
	str	r3, [fp, #-108]
	ldr	r3, [fp, #-104]
	add	r3, r3, #1
	str	r3, [fp, #-104]
.L12:
	ldr	r3, [fp, #-100]
	ldr	r3, [r3, #164]
	mov	r0, r3
	bl	nitems
	mov	r2, r0
	ldr	r3, [fp, #-108]
	cmp	r3, r2
	bge	.L9
	ldr	r3, [fp, #-104]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-48]
	cmp	r3, #0
	bne	.L13
.L9:
	ldr	r1, .L35+36
	ldr	r0, [fp, #-96]
	bl	OF_getproplen
	str	r0, [fp, #-88]
	ldr	r3, [fp, #-88]
	cmp	r3, #0
	bge	.L14
	ldr	r1, .L35+40
	ldr	r0, [fp, #-120]
	bl	device_printf
	ldr	r3, .L35+44
	ldr	r3, [r3]
	b	.L33
.L14:
	ldr	r3, .L35+48
	ldr	r3, [r3]
	ldr	r2, [fp, #-88]
	cmp	r2, r3
	beq	.L15
	ldr	r3, .L35+44
	ldr	r3, [r3]
	b	.L33
.L15:
	ldr	r3, [fp, #-100]
	ldr	r2, [r3, #204]
	ldr	r3, .L35+48
	ldr	r3, [r3]
	ldr	r1, .L35+36
	ldr	r0, [fp, #-96]
	bl	OF_getprop
	ldr	r3, .L35+52
	ldr	r3, [r3]
	mov	r0, r3
	bl	if_alloc
	str	r0, [fp, #-84]
	ldr	r3, [fp, #-100]
	ldr	r2, [fp, #-84]
	str	r2, [r3, #160]
	ldr	r3, [fp, #-84]
	cmp	r3, #0
	bne	.L16
	ldr	r1, .L35+56
	ldr	r0, [fp, #-120]
	bl	device_printf
	ldr	r3, .L35+16
	ldr	r3, [r3]
	b	.L33
.L16:
	ldr	r3, [fp, #-100]
	ldr	r2, [fp, #-120]
	str	r2, [r3, #156]
	ldr	r0, [fp, #-120]
	bl	bus_get_dma_tag
	mov	r2, r0
	ldr	r3, [fp, #-100]
	str	r2, [r3, #152]
	ldr	r3, .L35+60
	ldr	r2, [r3]
	ldr	r3, .L35+64
	ldr	r3, [r3]
	orr	r2, r2, r3
	ldr	r3, [fp, #-100]
	str	r2, [r3, #148]
	ldr	r3, .L35+68
	ldr	r1, [r3]
	ldr	r3, [fp, #-100]
	add	r2, r3, #144
	mov	r3, #4
	ldr	r0, [fp, #-112]
	bl	OF_getencprop
	mov	r3, r0
	cmp	r3, #0
	bgt	.L17
	ldr	r3, .L35+68
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L35+72
	ldr	r0, [fp, #-120]
	bl	device_printf
	ldr	r3, .L35+44
	ldr	r3, [r3]
	b	.L33
.L17:
	ldr	r3, .L35+76
	ldr	r2, [r3]
	ldr	r3, [fp, #-100]
	ldr	r3, [r3, #140]
	mov	r1, #4
	str	r1, [sp]
	ldr	r1, [fp, #-112]
	ldr	r0, [fp, #-120]
	bl	axgbe_get_optional_prop
	str	r0, [fp, #-80]
	ldr	r3, [fp, #-80]
	cmp	r3, #0
	ble	.L18
	ldr	r3, [fp, #-80]
	b	.L33
.L18:
	ldr	r3, [fp, #-80]
	cmp	r3, #0
	bge	.L19
	ldr	r3, [fp, #-100]
	ldr	r3, [r3, #140]
	ldr	r2, .L35+80
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [fp, #-100]
	ldr	r3, [r3, #140]
	add	r3, r3, #4
	ldr	r2, .L35+84
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [fp, #-100]
	ldr	r3, [r3, #140]
	add	r3, r3, #8
	ldr	r2, .L35+88
	ldr	r2, [r2]
	str	r2, [r3]
.L19:
	ldr	r3, .L35+92
	ldr	r2, [r3]
	ldr	r3, [fp, #-100]
	ldr	r3, [r3, #136]
	mov	r1, #4
	str	r1, [sp]
	ldr	r1, [fp, #-112]
	ldr	r0, [fp, #-120]
	bl	axgbe_get_optional_prop
	str	r0, [fp, #-80]
	ldr	r3, [fp, #-80]
	cmp	r3, #0
	ble	.L20
	ldr	r3, [fp, #-80]
	b	.L33
.L20:
	ldr	r3, [fp, #-80]
	cmp	r3, #0
	bge	.L21
	ldr	r3, [fp, #-100]
	ldr	r3, [r3, #136]
	ldr	r2, .L35+96
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [fp, #-100]
	ldr	r3, [r3, #136]
	add	r3, r3, #4
	ldr	r2, .L35+100
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [fp, #-100]
	ldr	r3, [r3, #136]
	add	r3, r3, #8
	ldr	r2, .L35+104
	ldr	r2, [r2]
	str	r2, [r3]
.L21:
	ldr	r3, .L35+108
	ldr	r2, [r3]
	ldr	r3, [fp, #-100]
	ldr	r3, [r3, #132]
	mov	r1, #4
	str	r1, [sp]
	ldr	r1, [fp, #-112]
	ldr	r0, [fp, #-120]
	bl	axgbe_get_optional_prop
	str	r0, [fp, #-80]
	ldr	r3, [fp, #-80]
	cmp	r3, #0
	ble	.L22
	ldr	r3, [fp, #-80]
	b	.L33
.L22:
	ldr	r3, [fp, #-80]
	cmp	r3, #0
	bge	.L23
	ldr	r3, [fp, #-100]
	ldr	r3, [r3, #132]
	ldr	r2, .L35+112
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [fp, #-100]
	ldr	r3, [r3, #132]
	add	r3, r3, #4
	ldr	r2, .L35+116
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [fp, #-100]
	ldr	r3, [r3, #132]
	add	r3, r3, #8
	ldr	r2, .L35+120
	ldr	r2, [r2]
	str	r2, [r3]
.L23:
	ldr	r3, .L35+124
	ldr	r2, [r3]
	ldr	r3, [fp, #-100]
	ldr	r3, [r3, #128]
	mov	r1, #4
	str	r1, [sp]
	ldr	r1, [fp, #-112]
	ldr	r0, [fp, #-120]
	bl	axgbe_get_optional_prop
	str	r0, [fp, #-80]
	ldr	r3, [fp, #-80]
	cmp	r3, #0
	ble	.L24
	ldr	r3, [fp, #-80]
	b	.L33
.L24:
	ldr	r3, [fp, #-80]
	cmp	r3, #0
	bge	.L25
	ldr	r3, [fp, #-100]
	ldr	r3, [r3, #128]
	ldr	r2, .L35+128
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [fp, #-100]
	ldr	r3, [r3, #128]
	add	r3, r3, #4
	ldr	r2, .L35+132
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [fp, #-100]
	ldr	r3, [r3, #128]
	add	r3, r3, #8
	ldr	r2, .L35+136
	ldr	r2, [r2]
	str	r2, [r3]
.L25:
	ldr	r3, .L35+140
	ldr	r2, [r3]
	ldr	r3, [fp, #-100]
	ldr	r3, [r3, #124]
	mov	r1, #4
	str	r1, [sp]
	ldr	r1, [fp, #-112]
	ldr	r0, [fp, #-120]
	bl	axgbe_get_optional_prop
	str	r0, [fp, #-80]
	ldr	r3, [fp, #-80]
	cmp	r3, #0
	ble	.L26
	ldr	r3, [fp, #-80]
	b	.L33
.L26:
	ldr	r3, [fp, #-80]
	cmp	r3, #0
	bge	.L27
	ldr	r3, [fp, #-100]
	ldr	r3, [r3, #124]
	ldr	r2, .L35+144
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [fp, #-100]
	ldr	r3, [r3, #124]
	add	r3, r3, #4
	ldr	r2, .L35+148
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [fp, #-100]
	ldr	r3, [r3, #124]
	add	r3, r3, #8
	ldr	r2, .L35+152
	ldr	r2, [r2]
	str	r2, [r3]
.L27:
	ldr	r3, .L35+156
	ldr	r2, [r3]
	ldr	r3, [fp, #-100]
	ldr	r3, [r3, #120]
	mov	r1, #4
	str	r1, [sp]
	ldr	r1, [fp, #-112]
	ldr	r0, [fp, #-120]
	bl	axgbe_get_optional_prop
	str	r0, [fp, #-80]
	ldr	r3, [fp, #-80]
	cmp	r3, #0
	ble	.L28
	ldr	r3, [fp, #-80]
	b	.L33
.L28:
	ldr	r3, [fp, #-80]
	cmp	r3, #0
	bge	.L29
	ldr	r3, [fp, #-100]
	ldr	r3, [r3, #120]
	ldr	r2, .L35+160
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [fp, #-100]
	ldr	r3, [r3, #120]
	add	r3, r3, #4
	ldr	r2, .L35+164
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [fp, #-100]
	ldr	r3, [r3, #120]
	add	r3, r3, #8
	ldr	r2, .L35+168
	ldr	r2, [r2]
	str	r2, [r3]
.L29:
	ldr	r1, .L35+172
	ldr	r0, [fp, #-96]
	bl	OF_hasprop
	mov	r2, r0
	ldr	r3, [fp, #-100]
	str	r2, [r3, #116]
	ldr	r3, [fp, #-100]
	ldr	r3, [r3, #116]
	cmp	r3, #0
	beq	.L30
	ldr	r3, .L35+176
	ldr	r2, [r3]
	ldr	r3, [fp, #-100]
	str	r2, [r3, #112]
	ldr	r3, .L35+180
	ldr	r2, [r3]
	ldr	r3, [fp, #-100]
	str	r2, [r3, #108]
	ldr	r3, .L35+184
	ldr	r2, [r3]
	ldr	r3, [fp, #-100]
	str	r2, [r3, #104]
	b	.L31
.L30:
	ldr	r3, .L35+188
	ldr	r2, [r3]
	ldr	r3, [fp, #-100]
	str	r2, [r3, #112]
	ldr	r3, .L35+192
	ldr	r2, [r3]
	ldr	r3, [fp, #-100]
	str	r2, [r3, #108]
	ldr	r3, .L35+196
	ldr	r2, [r3]
	ldr	r3, [fp, #-100]
	str	r2, [r3, #104]
.L31:
	ldr	r3, [fp, #-100]
	add	r3, r3, #100
	mov	r0, r3
	bl	spin_lock_init
	ldr	r3, .L35+200
	ldr	r1, [r3]
	ldr	r3, .L35+204
	ldr	r2, [r3]
	ldr	r3, [fp, #-100]
	add	r3, r3, #96
	ldr	r0, .L35+208
	bl	taskqueue_create
	mov	r2, r0
	ldr	r3, [fp, #-100]
	str	r2, [r3, #96]
	ldr	r3, [fp, #-100]
	add	r0, r3, #96
	ldr	r3, .L35+212
	ldr	r2, [r3]
	ldr	r3, .L35+216
	mov	r1, #1
	bl	taskqueue_start_threads
	ldr	r3, [fp, #-100]
	add	r3, r3, #28
	mov	r0, r3
	bl	xgbe_init_function_ptrs_phy
	ldr	r3, [fp, #-100]
	add	r3, r3, #88
	mov	r0, r3
	bl	xgbe_init_function_ptrs_dev
	ldr	r3, [fp, #-100]
	add	r3, r3, #92
	mov	r0, r3
	bl	xgbe_init_function_ptrs_desc
	ldr	r3, [fp, #-100]
	ldr	r3, [r3, #88]
	ldr	r2, [fp, #-100]
	mov	r0, r2
	blx	r3
	ldr	r3, [fp, #-100]
	mov	r0, r3
	bl	xgbe_get_all_hw_features
	ldr	r3, .L35+220
	ldr	r2, [r3]
	ldr	r3, [fp, #-100]
	str	r2, [r3, #84]
	ldr	r3, .L35+224
	ldr	r2, [r3]
	ldr	r3, [fp, #-100]
	str	r2, [r3, #80]
	ldr	r3, .L35+228
	ldr	r2, [r3]
	ldr	r3, [fp, #-100]
	str	r2, [r3, #76]
	ldr	r3, .L35+232
	ldr	r2, [r3]
	ldr	r3, [fp, #-100]
	str	r2, [r3, #72]
	ldr	r3, .L35+236
	ldr	r2, [r3]
	ldr	r3, [fp, #-100]
	str	r2, [r3, #68]
	ldr	r3, .L35+240
	ldr	r2, [r3]
	ldr	r3, [fp, #-100]
	str	r2, [r3, #64]
	ldr	r3, .L35+244
	ldr	r2, [r3]
	ldr	r3, [fp, #-100]
	str	r2, [r3, #60]
	ldr	r3, .L35+248
	ldr	r2, [r3]
	ldr	r3, [fp, #-100]
	str	r2, [r3, #56]
	ldr	r3, .L35+252
	ldr	r2, [r3]
	ldr	r3, [fp, #-100]
	str	r2, [r3, #52]
	ldr	r3, .L35+236
	ldr	r2, [r3]
	ldr	r3, [fp, #-100]
	str	r2, [r3, #48]
	ldr	r3, [fp, #-100]
	mov	r2, #1
	str	r2, [r3]
	ldr	r3, [fp, #-100]
	mov	r2, #1
	str	r2, [r3, #4]
	ldr	r3, [fp, #-100]
	mov	r2, #1
	str	r2, [r3, #8]
	ldr	r3, .L35+256
	ldr	r2, [r3]
	ldr	r3, [fp, #-100]
	str	r2, [r3, #44]
	ldr	r3, [fp, #-100]
	mov	r2, #0
	str	r2, [r3, #40]
	ldr	r3, [fp, #-100]
	mov	r2, #1
	str	r2, [r3, #12]
	ldr	r3, [fp, #-100]
	mov	r2, #1
	str	r2, [r3, #16]
	ldr	r3, [fp, #-100]
	mov	r2, #1
	str	r2, [r3, #20]
	ldr	r3, [fp, #-100]
	ldr	r2, [r3, #32]
	ldr	r3, [fp, #-100]
	str	r2, [r3, #36]
	ldr	r3, [fp, #-100]
	ldr	r3, [r3, #28]
	ldr	r2, [fp, #-100]
	mov	r0, r2
	blx	r3
	ldr	r3, [fp, #-100]
	mov	r0, r3
	bl	xgbe_init_rx_coalesce
	ldr	r3, [fp, #-100]
	mov	r0, r3
	bl	xgbe_init_tx_coalesce
	ldr	r0, [fp, #-120]
	bl	device_get_name
	mov	r4, r0
	ldr	r0, [fp, #-120]
	bl	device_get_unit
	mov	r3, r0
	mov	r2, r3
	mov	r1, r4
	ldr	r0, [fp, #-84]
	bl	if_initname
	ldr	r3, .L35+260
	ldr	r2, [r3]
	ldr	r3, [fp, #-84]
	str	r2, [r3, #36]
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #-100]
	str	r2, [r3, #32]
	ldr	r3, .L35+264
	ldr	r2, [r3]
	ldr	r3, .L35+268
	ldr	r3, [r3]
	orr	r2, r2, r3
	ldr	r3, .L35+272
	ldr	r3, [r3]
	orr	r2, r2, r3
	ldr	r3, [fp, #-84]
	str	r2, [r3]
	ldr	r3, .L35+276
	ldr	r2, [r3]
	ldr	r3, [fp, #-84]
	str	r2, [r3, #28]
	ldr	r3, .L35+280
	ldr	r2, [r3]
	ldr	r3, [fp, #-84]
	str	r2, [r3, #24]
	ldr	r3, .L35+284
	ldr	r2, [r3]
	ldr	r3, [fp, #-84]
	str	r2, [r3, #20]
	ldr	r3, .L35+288
	ldr	r2, [r3]
	ldr	r3, [fp, #-84]
	str	r2, [r3, #16]
	ldr	r3, [fp, #-84]
	mov	r2, #0
	str	r2, [r3, #12]
	ldr	r3, [fp, #-84]
	mov	r2, #0
	str	r2, [r3, #8]
	ldr	r3, [fp, #-84]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, [fp, #-100]
	ldr	r3, [r3, #204]
	mov	r1, r3
	ldr	r0, [fp, #-84]
	bl	ether_ifattach
	ldr	r3, [fp, #-100]
	add	r0, r3, #200
	ldr	r3, .L35+292
	ldr	r1, [r3]
	ldr	r3, .L35+296
	ldr	r2, [r3]
	ldr	r3, .L35+300
	ldr	r3, [r3]
	bl	ifmedia_init
	ldr	r3, [fp, #-100]
	add	r0, r3, #200
	ldr	r3, .L35+304
	ldr	r2, [r3]
	ldr	r3, .L35+308
	ldr	r3, [r3]
	orr	r1, r2, r3
	mov	r3, #0
	mov	r2, #0
	bl	ifmedia_add
	ldr	r3, [fp, #-100]
	add	r0, r3, #200
	ldr	r3, .L35+304
	ldr	r2, [r3]
	ldr	r3, .L35+312
	ldr	r3, [r3]
	orr	r1, r2, r3
	mov	r3, #0
	mov	r2, #0
	bl	ifmedia_add
	ldr	r3, [fp, #-100]
	add	r0, r3, #200
	ldr	r3, .L35+304
	ldr	r2, [r3]
	ldr	r3, .L35+312
	ldr	r3, [r3]
	orr	r3, r2, r3
	mov	r1, r3
	bl	ifmedia_set
	ldr	r3, .L35+316
	ldr	r2, [r3]
	ldr	r3, [fp, #-100]
	add	r3, r3, #24
	mov	r1, r3
	mov	r0, r2
	bl	set_bit
	ldr	r0, [fp, #-84]
	bl	xgbe_open
	mov	r3, r0
	cmp	r3, #0
	bge	.L32
	ldr	r1, .L35+320
	ldr	r0, [fp, #-120]
	bl	device_printf
	ldr	r3, .L35+16
	ldr	r3, [r3]
	b	.L33
.L32:
	mov	r3, #0
.L33:
	ldr	r2, .L35
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L34
	bl	__stack_chk_fail
.L34:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L36:
	.align	2
.L35:
	.word	.LC11
	.word	.LC0
	.word	mac_spec
	.word	.LC1
	.word	ENXIO
	.word	XGBE_DMA_IRQS_PROPERTY
	.word	old_phy_spec
	.word	old_mac_spec
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	EINVAL
	.word	ETHER_ADDR_LEN
	.word	IFT_ETHER
	.word	.LC5
	.word	ADVERTISED_10000baseKR_Full
	.word	ADVERTISED_1000baseKX_Full
	.word	XGBE_SPEEDSET_PROPERTY
	.word	.LC6
	.word	XGBE_BLWC_PROPERTY
	.word	XGBE_SPEED_1000_BLWC
	.word	XGBE_SPEED_2500_BLWC
	.word	XGBE_SPEED_10000_BLWC
	.word	XGBE_CDR_RATE_PROPERTY
	.word	XGBE_SPEED_1000_CDR
	.word	XGBE_SPEED_2500_CDR
	.word	XGBE_SPEED_10000_CDR
	.word	XGBE_PQ_SKEW_PROPERTY
	.word	XGBE_SPEED_1000_PQ
	.word	XGBE_SPEED_2500_PQ
	.word	XGBE_SPEED_10000_PQ
	.word	XGBE_TX_AMP_PROPERTY
	.word	XGBE_SPEED_1000_TXAMP
	.word	XGBE_SPEED_2500_TXAMP
	.word	XGBE_SPEED_10000_TXAMP
	.word	XGBE_DFE_CFG_PROPERTY
	.word	XGBE_SPEED_1000_DFE_TAP_CONFIG
	.word	XGBE_SPEED_2500_DFE_TAP_CONFIG
	.word	XGBE_SPEED_10000_DFE_TAP_CONFIG
	.word	XGBE_DFE_ENA_PROPERTY
	.word	XGBE_SPEED_1000_DFE_TAP_ENABLE
	.word	XGBE_SPEED_2500_DFE_TAP_ENABLE
	.word	XGBE_SPEED_10000_DFE_TAP_ENABLE
	.word	.LC7
	.word	XGBE_DMA_OS_AXDOMAIN
	.word	XGBE_DMA_OS_ARCACHE
	.word	XGBE_DMA_OS_AWCACHE
	.word	XGBE_DMA_SYS_AXDOMAIN
	.word	XGBE_DMA_SYS_ARCACHE
	.word	XGBE_DMA_SYS_AWCACHE
	.word	M_WAITOK
	.word	taskqueue_thread_enqueue
	.word	.LC8
	.word	PI_NET
	.word	.LC9
	.word	DMA_PBL_X8_ENABLE
	.word	XGBE_TX_DESC_CNT
	.word	MTL_TSF_ENABLE
	.word	MTL_TX_THRESHOLD_64
	.word	DMA_PBL_16
	.word	DMA_OSP_ENABLE
	.word	XGBE_RX_DESC_CNT
	.word	MTL_RSF_DISABLE
	.word	MTL_RX_THRESHOLD_64
	.word	SPEED_UNKNOWN
	.word	axgbe_init
	.word	IFF_BROADCAST
	.word	IFF_SIMPLEX
	.word	IFF_MULTICAST
	.word	axgbe_ioctl
	.word	xgbe_xmit
	.word	axgbe_qflush
	.word	axgbe_get_counter
	.word	IFM_IMASK
	.word	axgbe_media_change
	.word	axgbe_media_status
	.word	IFM_ETHER
	.word	IFM_1000_KX
	.word	IFM_AUTO
	.word	XGBE_DOWN
	.word	.LC10
	.size	axgbe_attach, .-axgbe_attach
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
