	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function au1000_probe
_au1000_probe:                          ## @au1000_probe
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_IORESOURCE_MEM@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	xorl	%r13d, %r13d
	xorl	%edx, %edx
	callq	_platform_get_resource
	testq	%rax, %rax
	je	LBB0_17
## %bb.1:
	movq	%rax, %r12
	movl	(%rbx), %esi
	movq	%r15, %rdi
	movl	$1, %edx
	callq	_platform_get_resource
	testq	%rax, %rax
	je	LBB0_19
## %bb.2:
	movq	%rax, %r14
	xorl	%r13d, %r13d
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_platform_get_irq
	testl	%eax, %eax
	js	LBB0_18
## %bb.3:
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movl	(%rbx), %esi
	movq	%r15, %rdi
	movl	$2, %edx
	callq	_platform_get_resource
	testq	%rax, %rax
	je	LBB0_20
## %bb.4:
	movq	%rax, %r13
	movq	(%r12), %rbx
	movq	%r12, %rdi
	callq	_resource_size
	movq	(%r15), %rdx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_request_mem_region
	testl	%eax, %eax
	je	LBB0_25
## %bb.5:
	movq	(%r14), %rbx
	movq	%r14, %rdi
	callq	_resource_size
	movq	(%r15), %rdx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_request_mem_region
	testl	%eax, %eax
	je	LBB0_26
## %bb.6:
	movq	(%r13), %rbx
	movq	%r13, %rdi
	callq	_resource_size
	movq	(%r15), %rdx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_request_mem_region
	testl	%eax, %eax
	je	LBB0_27
## %bb.7:
	movl	$168, %edi
	callq	_alloc_etherdev
	testq	%rax, %rax
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	je	LBB0_28
## %bb.8:
	movq	%rax, %rbx
	leaq	12(%r15), %rsi
	movq	%rax, %rdi
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	callq	_SET_NETDEV_DEV
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_platform_set_drvdata
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_netdev_priv
	movq	%rax, %rbx
	leaq	160(%rax), %rdi
	callq	_spin_lock_init
	movq	_au1000_debug@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	$4, %eax
	jge	LBB0_10
## %bb.9:
	movq	_AU1000_DEF_MSG_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_10:
	movl	%eax, (%rbx)
	movq	_MAX_BUF_SIZE@GOTPCREL(%rip), %rax
	movq	_NUM_TX_BUFFS@GOTPCREL(%rip), %rcx
	movq	_NUM_RX_BUFFS@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	addl	(%rcx), %esi
	imull	(%rax), %esi
	leaq	32(%rbx), %rdx
	movq	_DMA_ATTR_NON_CONSISTENT@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%r13d, %r13d
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	xorl	%ecx, %ecx
	callq	_dma_alloc_attrs
	movq	%rax, 40(%rbx)
	testq	%rax, %rax
	je	LBB0_29
## %bb.11:
	movq	(%r12), %r13
	movq	%r12, %rdi
	callq	_resource_size
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_ioremap_nocache
	movq	%rax, 48(%rbx)
	testq	%rax, %rax
	je	LBB0_30
## %bb.12:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	(%r14), %rbx
	movq	%r14, %rdi
	callq	_resource_size
	movq	%rbx, %rdi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movl	%eax, %esi
	callq	_ioremap_nocache
	movq	%rax, 56(%rbx)
	testq	%rax, %rax
	je	LBB0_31
## %bb.13:
	movl	8(%r15), %eax
	movl	%eax, 4(%rbx)
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	(%rdi), %rbx
	callq	_resource_size
	movq	%rbx, %rdi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movl	%eax, %esi
	callq	_ioremap_nocache
	movq	%rax, 64(%rbx)
	testq	%rax, %rax
	je	LBB0_32
## %bb.14:
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_au1000_setup_hw_rings
	movq	56(%rbx), %rsi
	xorl	%edi, %edi
	callq	_writel
	movq	$0, 152(%rbx)
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_dev_get_platdata
	testq	%rax, %rax
	je	LBB0_33
## %bb.15:
	movq	%rax, %r13
	movl	48(%rax), %edi
	callq	_is_valid_ether_addr
	testq	%rax, %rax
	je	LBB0_34
## %bb.16:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	32(%rax), %edi
	movl	48(%r13), %esi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	jmp	LBB0_35
LBB0_17:
	addq	$12, %r15
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
LBB0_18:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	jmp	LBB0_23
LBB0_19:
	addq	$12, %r15
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_21
LBB0_20:
	addq	$12, %r15
	leaq	L_.str.2(%rip), %rsi
LBB0_21:
	movq	%r15, %rdi
	callq	_dev_err
	movq	_ENODEV@GOTPCREL(%rip), %rax
LBB0_22:
	xorl	%r13d, %r13d
LBB0_23:
	subl	(%rax), %r13d
LBB0_24:
	movl	%r13d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_25:
	addq	$12, %r15
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	movq	_ENXIO@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_26:
	addq	$12, %r15
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	movq	_ENXIO@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	jmp	LBB0_68
LBB0_27:
	addq	$12, %r15
	leaq	L_.str.5(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	movq	_ENXIO@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	jmp	LBB0_67
LBB0_28:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	jmp	LBB0_66
LBB0_29:
	leaq	L_.str.6(%rip), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_dev_err
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %r13d
	jmp	LBB0_65
LBB0_30:
	leaq	L_.str.7(%rip), %rsi
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	callq	_dev_err
	movq	_ENXIO@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	jmp	LBB0_64
LBB0_31:
	leaq	L_.str.8(%rip), %rsi
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	callq	_dev_err
	movq	_ENXIO@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	jmp	LBB0_63
LBB0_32:
	leaq	L_.str.9(%rip), %rsi
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	callq	_dev_err
	movq	_ENXIO@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	jmp	LBB0_62
LBB0_33:
	leaq	L_.str.10(%rip), %rsi
	movq	%rbx, %rdi
	callq	_dev_info
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movl	$1, 8(%rbx)
	movq	24(%rbx), %rax
	jmp	LBB0_36
LBB0_34:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_eth_hw_addr_random
LBB0_35:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	40(%r13), %rax
	movq	%rax, 136(%rbx)
	movl	32(%r13), %eax
	movl	%eax, 144(%rbx)
	movl	(%r13), %eax
	movl	%eax, 8(%rbx)
	movq	16(%r13), %rax
	movups	8(%r13), %xmm0
	movups	%xmm0, 16(%rbx)
	movq	24(%r13), %rcx
	movq	%rcx, 128(%rbx)
LBB0_36:
	testq	%rax, %rax
	jle	LBB0_38
## %bb.37:
	leaq	L_.str.11(%rip), %rsi
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	callq	_dev_err
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	jmp	LBB0_61
LBB0_38:
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_mdiobus_alloc
	movq	%rax, 72(%rbx)
	testq	%rax, %rax
	je	LBB0_45
## %bb.39:
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, 32(%rax)
	movq	_au1000_mdiobus_read@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 28(%rax)
	movq	_au1000_mdiobus_write@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 24(%rax)
	movq	_au1000_mdiobus_reset@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 20(%rax)
	leaq	L_.str.13(%rip), %rcx
	movq	%rcx, (%rax)
	movl	16(%rax), %edi
	movq	_MII_BUS_ID_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%r15), %rcx
	movl	4(%rbx), %r8d
	leaq	L_.str.14(%rip), %rdx
	callq	_snprintf
	cmpq	$0, 136(%rbx)
	je	LBB0_43
## %bb.40:
	movq	128(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_43
## %bb.41:
	movslq	4(%rbx), %rcx
	cmpq	%rcx, 24(%rbx)
	jne	LBB0_43
## %bb.42:
	movq	16(%rbx), %rcx
	movq	72(%rbx), %rdx
	movq	8(%rdx), %rdx
	movq	%rax, (%rdx,%rcx,8)
LBB0_43:
	movq	72(%rbx), %rdi
	callq	_mdiobus_register
	testl	%eax, %eax
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	je	LBB0_46
## %bb.44:
	movl	%eax, %r13d
	leaq	L_.str.15(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	jmp	LBB0_60
LBB0_45:
	leaq	L_.str.12(%rip), %rsi
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	callq	_dev_err
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %r13d
	jmp	LBB0_61
LBB0_46:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_au1000_mii_probe
	movl	%eax, %r13d
	testl	%eax, %eax
	je	LBB0_69
LBB0_47:
	movq	72(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_49
## %bb.48:
	callq	_mdiobus_unregister
LBB0_49:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_au1000_reset_mac
	movq	_NUM_RX_DMA@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	testl	%eax, %eax
	jle	LBB0_54
## %bb.50:
	xorl	%ebx, %ebx
	jmp	LBB0_52
LBB0_51:                                ##   in Loop: Header=BB0_52 Depth=1
	incq	%rbx
	movslq	%eax, %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_54
LBB0_52:                                ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	88(%rdi), %rcx
	movq	(%rcx,%rbx,8), %rsi
	testq	%rsi, %rsi
	je	LBB0_51
## %bb.53:                              ##   in Loop: Header=BB0_52 Depth=1
	callq	_au1000_ReleaseDB
	movl	(%r15), %eax
	jmp	LBB0_51
LBB0_54:
	movq	_NUM_TX_DMA@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	testl	%eax, %eax
	jle	LBB0_59
## %bb.55:
	xorl	%ebx, %ebx
	jmp	LBB0_57
LBB0_56:                                ##   in Loop: Header=BB0_57 Depth=1
	incq	%rbx
	movslq	%eax, %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_59
LBB0_57:                                ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	80(%rdi), %rcx
	movq	(%rcx,%rbx,8), %rsi
	testq	%rsi, %rsi
	je	LBB0_56
## %bb.58:                              ##   in Loop: Header=BB0_57 Depth=1
	callq	_au1000_ReleaseDB
	movl	(%r15), %eax
	jmp	LBB0_56
LBB0_59:
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
LBB0_60:
	movq	72(%rbx), %rdi
	callq	_mdiobus_free
LBB0_61:
	movq	64(%rbx), %rdi
	callq	_iounmap
LBB0_62:
	movq	56(%rbx), %rdi
	callq	_iounmap
LBB0_63:
	movq	48(%rbx), %rdi
	callq	_iounmap
LBB0_64:
	movq	_NUM_RX_BUFFS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_NUM_TX_BUFFS@GOTPCREL(%rip), %rax
	addl	(%rax), %esi
	movq	_MAX_BUF_SIZE@GOTPCREL(%rip), %rax
	imull	(%rax), %esi
	movq	40(%rbx), %rdx
	movl	32(%rbx), %ecx
	movq	_DMA_ATTR_NON_CONSISTENT@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r15, %rdi
	callq	_dma_free_attrs
LBB0_65:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_free_netdev
LBB0_66:
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	(%rdi), %rbx
	callq	_resource_size
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_release_mem_region
LBB0_67:
	movq	(%r14), %rbx
	movq	%r14, %rdi
	callq	_resource_size
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_release_mem_region
LBB0_68:
	movq	(%r12), %rbx
	movq	%r12, %rdi
	callq	_resource_size
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_release_mem_region
	jmp	LBB0_24
LBB0_69:
	movq	_NUM_RX_BUFFS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%r13d, %r13d
	movq	_NUM_TX_BUFFS@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	jle	LBB0_73
## %bb.70:
	movq	120(%rbx), %rax
	xorl	%ebx, %ebx
	xorl	%ecx, %ecx
LBB0_71:                                ## =>This Inner Loop Header: Depth=1
	movq	%rax, %r15
	movq	%rcx, 16(%rax)
	movq	_MAX_BUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	imull	%ebx, %edi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addl	40(%rax), %edi
	movq	%rdi, 8(%r15)
	callq	_virt_to_bus
	movq	%rax, (%r15)
	leaq	24(%r15), %rax
	incl	%ebx
	movq	_NUM_RX_BUFFS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_NUM_TX_BUFFS@GOTPCREL(%rip), %rcx
	addl	(%rcx), %edx
	movq	%r15, %rcx
	cmpl	%edx, %ebx
	jl	LBB0_71
## %bb.72:
	addq	$-24, %rax
	jmp	LBB0_74
LBB0_73:
	xorl	%eax, %eax
LBB0_74:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, 112(%rcx)
	movq	_ENODEV@GOTPCREL(%rip), %rax
	movq	_NUM_RX_DMA@GOTPCREL(%rip), %rcx
	subl	(%rax), %r13d
	cmpl	$0, (%rcx)
	jle	LBB0_79
## %bb.75:
	xorl	%r15d, %r15d
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
LBB0_76:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_au1000_GetFreeDB
	testq	%rax, %rax
	je	LBB0_47
## %bb.77:                              ##   in Loop: Header=BB0_76 Depth=1
	movl	(%rax), %ecx
	movq	104(%rbx), %rdx
	movq	(%rdx,%r15,8), %rdx
	movl	%ecx, (%rdx)
	movq	88(%rbx), %rcx
	movq	%rax, (%rcx,%r15,8)
	incq	%r15
	movq	_NUM_RX_DMA@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %r15
	jl	LBB0_76
## %bb.78:
	xorl	%r13d, %r13d
	movq	_ENODEV@GOTPCREL(%rip), %rax
	subl	(%rax), %r13d
LBB0_79:
	movq	_NUM_TX_DMA@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	jle	LBB0_83
## %bb.80:
	xorl	%ebx, %ebx
LBB0_81:                                ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_au1000_GetFreeDB
	testq	%rax, %rax
	je	LBB0_85
## %bb.82:                              ##   in Loop: Header=BB0_81 Depth=1
	movl	(%rax), %ecx
	movq	96(%r15), %rdx
	movq	(%rdx,%rbx,8), %rdx
	movl	%ecx, (%rdx)
	movq	$0, 8(%rdx)
	movq	80(%r15), %rcx
	movq	%rax, (%rcx,%rbx,8)
	incq	%rbx
	movq	_NUM_TX_DMA@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %rbx
	jl	LBB0_81
LBB0_83:
	movq	(%r12), %rax
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rax, 24(%rbx)
	movl	-68(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%rbx)
	movq	_au1000_netdev_ops@GOTPCREL(%rip), %rax
	movq	%rax, 16(%rbx)
	movq	_au1000_ethtool_ops@GOTPCREL(%rip), %rax
	movq	%rax, 8(%rbx)
	movq	_ETH_TX_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movq	%rbx, %rdi
	callq	_au1000_reset_mac
	movq	%rbx, %rdi
	callq	_register_netdev
	testl	%eax, %eax
	je	LBB0_86
## %bb.84:
	movl	%eax, %r13d
	leaq	L_.str.16(%rip), %rsi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_netdev_err
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_47
LBB0_85:
	movq	%r15, %rbx
	jmp	LBB0_47
LBB0_86:
	movq	(%r12), %rdx
	leaq	L_.str.17(%rip), %rsi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	-68(%rbp), %ecx                 ## 4-byte Reload
	callq	_netdev_info
	movq	_DRV_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DRV_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_DRV_AUTHOR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.18(%rip), %rdi
	callq	_pr_info_once
	xorl	%r13d, %r13d
	jmp	LBB0_24
	.cfi_endproc
                                        ## -- End function
	.comm	_IORESOURCE_MEM,4,2             ## @IORESOURCE_MEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to retrieve base register\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
L_.str.1:                               ## @.str.1
	.asciz	"failed to retrieve MAC Enable register\n"

L_.str.2:                               ## @.str.2
	.asciz	"failed to retrieve MACDMA registers\n"

L_.str.3:                               ## @.str.3
	.asciz	"failed to request memory region for base registers\n"

	.comm	_ENXIO,4,2                      ## @ENXIO
L_.str.4:                               ## @.str.4
	.asciz	"failed to request memory region for MAC enable register\n"

L_.str.5:                               ## @.str.5
	.asciz	"failed to request MACDMA memory region\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_au1000_debug,4,2               ## @au1000_debug
	.comm	_AU1000_DEF_MSG_ENABLE,4,2      ## @AU1000_DEF_MSG_ENABLE
	.comm	_MAX_BUF_SIZE,4,2               ## @MAX_BUF_SIZE
	.comm	_NUM_TX_BUFFS,4,2               ## @NUM_TX_BUFFS
	.comm	_NUM_RX_BUFFS,4,2               ## @NUM_RX_BUFFS
	.comm	_DMA_ATTR_NON_CONSISTENT,4,2    ## @DMA_ATTR_NON_CONSISTENT
L_.str.6:                               ## @.str.6
	.asciz	"failed to allocate data buffers\n"

L_.str.7:                               ## @.str.7
	.asciz	"failed to ioremap MAC registers\n"

L_.str.8:                               ## @.str.8
	.asciz	"failed to ioremap MAC enable register\n"

L_.str.9:                               ## @.str.9
	.asciz	"failed to ioremap MACDMA registers\n"

L_.str.10:                              ## @.str.10
	.asciz	"no platform_data passed, PHY search on MAC0\n"

	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
L_.str.11:                              ## @.str.11
	.asciz	"MAC0-associated PHY attached 2nd MACs MII bus not supported yet\n"

L_.str.12:                              ## @.str.12
	.asciz	"failed to allocate mdiobus structure\n"

	.comm	_au1000_mdiobus_read,4,2        ## @au1000_mdiobus_read
	.comm	_au1000_mdiobus_write,4,2       ## @au1000_mdiobus_write
	.comm	_au1000_mdiobus_reset,4,2       ## @au1000_mdiobus_reset
L_.str.13:                              ## @.str.13
	.asciz	"au1000_eth_mii"

	.comm	_MII_BUS_ID_SIZE,4,2            ## @MII_BUS_ID_SIZE
L_.str.14:                              ## @.str.14
	.asciz	"%s-%x"

L_.str.15:                              ## @.str.15
	.asciz	"failed to register MDIO bus\n"

	.comm	_NUM_RX_DMA,4,2                 ## @NUM_RX_DMA
	.comm	_NUM_TX_DMA,4,2                 ## @NUM_TX_DMA
	.comm	_au1000_netdev_ops,4,2          ## @au1000_netdev_ops
	.comm	_au1000_ethtool_ops,4,2         ## @au1000_ethtool_ops
	.comm	_ETH_TX_TIMEOUT,4,2             ## @ETH_TX_TIMEOUT
L_.str.16:                              ## @.str.16
	.asciz	"Cannot register net device, aborting.\n"

L_.str.17:                              ## @.str.17
	.asciz	"Au1xx0 Ethernet found at 0x%lx, irq %d\n"

L_.str.18:                              ## @.str.18
	.asciz	"%s version %s %s\n"

	.comm	_DRV_NAME,4,2                   ## @DRV_NAME
	.comm	_DRV_VERSION,4,2                ## @DRV_VERSION
	.comm	_DRV_AUTHOR,4,2                 ## @DRV_AUTHOR
	.no_dead_strip	_au1000_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function au1000_probe
_au1000_probe:                          ; @au1000_probe
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x26, x0
Lloh0:
	adrp	x21, _IORESOURCE_MEM@GOTPAGE
Lloh1:
	ldr	x21, [x21, _IORESOURCE_MEM@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	w2, #0
	bl	_platform_get_resource
	cbz	x0, LBB0_15
; %bb.1:
	mov	x19, x0
	ldr	w1, [x21]
	mov	x0, x26
	mov	w2, #1
	bl	_platform_get_resource
	cbz	x0, LBB0_16
; %bb.2:
	mov	x20, x0
	mov	x0, x26
	mov	w1, #0
	bl	_platform_get_irq
	tbnz	w0, #31, LBB0_19
; %bb.3:
	mov	x25, x0
	ldr	w1, [x21]
	mov	x0, x26
	mov	w2, #2
	bl	_platform_get_resource
	cbz	x0, LBB0_17
; %bb.4:
	mov	x21, x0
	ldr	x22, [x19]
	mov	x0, x19
	bl	_resource_size
	mov	x1, x0
	ldr	x2, [x26]
	mov	x0, x22
	bl	_request_mem_region
	cbz	w0, LBB0_22
; %bb.5:
	ldr	x22, [x20]
	mov	x0, x20
	bl	_resource_size
	mov	x1, x0
	ldr	x2, [x26]
	mov	x0, x22
	bl	_request_mem_region
	cbz	w0, LBB0_23
; %bb.6:
	ldr	x22, [x21]
	mov	x0, x21
	bl	_resource_size
	mov	x1, x0
	ldr	x2, [x26]
	mov	x0, x22
	bl	_request_mem_region
	cbz	w0, LBB0_24
; %bb.7:
	mov	w0, #168
	bl	_alloc_etherdev
	cbz	x0, LBB0_25
; %bb.8:
	mov	x22, x0
	add	x23, x26, #12
	mov	x1, x23
	bl	_SET_NETDEV_DEV
	mov	x0, x26
	mov	x1, x22
	bl	_platform_set_drvdata
	mov	x0, x22
	bl	_netdev_priv
	mov	x24, x0
	add	x0, x0, #160
	bl	_spin_lock_init
Lloh2:
	adrp	x8, _au1000_debug@GOTPAGE
Lloh3:
	ldr	x8, [x8, _au1000_debug@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _AU1000_DEF_MSG_ENABLE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _AU1000_DEF_MSG_ENABLE@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	cmp	w8, #4
	csel	w8, w9, w8, lt
	str	w8, [x24]
Lloh8:
	adrp	x8, _MAX_BUF_SIZE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MAX_BUF_SIZE@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _NUM_TX_BUFFS@GOTPAGE
Lloh12:
	ldr	x9, [x9, _NUM_TX_BUFFS@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
Lloh14:
	adrp	x28, _NUM_RX_BUFFS@GOTPAGE
Lloh15:
	ldr	x28, [x28, _NUM_RX_BUFFS@GOTPAGEOFF]
	ldr	w10, [x28]
	add	w9, w10, w9
	mul	w1, w9, w8
	add	x2, x24, #32
Lloh16:
	adrp	x8, _DMA_ATTR_NON_CONSISTENT@GOTPAGE
Lloh17:
	ldr	x8, [x8, _DMA_ATTR_NON_CONSISTENT@GOTPAGEOFF]
Lloh18:
	ldr	w4, [x8]
	mov	x0, x23
	mov	w3, #0
	bl	_dma_alloc_attrs
	str	x0, [x24, #40]
	cbz	x0, LBB0_26
; %bb.9:
	ldr	x27, [x19]
	mov	x0, x19
	bl	_resource_size
	mov	x1, x0
	mov	x0, x27
	bl	_ioremap_nocache
	str	x0, [x24, #48]
	cbz	x0, LBB0_27
; %bb.10:
	ldr	x27, [x20]
	mov	x0, x20
	bl	_resource_size
	mov	x1, x0
	mov	x0, x27
	bl	_ioremap_nocache
	str	x0, [x24, #56]
	cbz	x0, LBB0_28
; %bb.11:
	ldr	w8, [x26, #8]
	str	w8, [x24, #4]
	ldr	x27, [x21]
	mov	x0, x21
	bl	_resource_size
	mov	x1, x0
	mov	x0, x27
	bl	_ioremap_nocache
	str	x0, [x24, #64]
	cbz	x0, LBB0_29
; %bb.12:
	mov	x1, x0
	mov	x0, x24
	bl	_au1000_setup_hw_rings
	ldr	x1, [x24, #56]
	mov	w0, #0
	bl	_writel
	str	xzr, [x24, #152]
	mov	x0, x23
	bl	_dev_get_platdata
	cbz	x0, LBB0_30
; %bb.13:
	mov	x27, x0
	ldr	w0, [x0, #48]
	bl	_is_valid_ether_addr
	cbz	x0, LBB0_31
; %bb.14:
	ldr	w0, [x22, #32]
	ldr	w1, [x27, #48]
Lloh19:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
	bl	_memcpy
	b	LBB0_32
LBB0_15:
	add	x0, x26, #12
Lloh22:
	adrp	x1, l_.str@PAGE
Lloh23:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_18
LBB0_16:
	add	x0, x26, #12
Lloh24:
	adrp	x1, l_.str.1@PAGE
Lloh25:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_18
LBB0_17:
	add	x0, x26, #12
Lloh26:
	adrp	x1, l_.str.2@PAGE
Lloh27:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_18:
	bl	_dev_err
LBB0_19:
Lloh28:
	adrp	x8, _ENODEV@GOTPAGE
Lloh29:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_20:
	ldr	w8, [x8]
	neg	w26, w8
LBB0_21:
	mov	x0, x26
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_22:
	add	x0, x26, #12
Lloh30:
	adrp	x1, l_.str.3@PAGE
Lloh31:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_dev_err
Lloh32:
	adrp	x8, _ENXIO@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
	b	LBB0_20
LBB0_23:
	add	x0, x26, #12
Lloh34:
	adrp	x1, l_.str.4@PAGE
Lloh35:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_dev_err
Lloh36:
	adrp	x8, _ENXIO@GOTPAGE
Lloh37:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
	neg	w26, w8
	b	LBB0_51
LBB0_24:
	add	x0, x26, #12
Lloh39:
	adrp	x1, l_.str.5@PAGE
Lloh40:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_dev_err
Lloh41:
	adrp	x8, _ENXIO@GOTPAGE
Lloh42:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh43:
	ldr	w8, [x8]
	neg	w26, w8
	b	LBB0_50
LBB0_25:
Lloh44:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh45:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh46:
	ldr	w8, [x8]
	neg	w26, w8
	b	LBB0_49
LBB0_26:
Lloh47:
	adrp	x1, l_.str.6@PAGE
Lloh48:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x23
	bl	_dev_err
Lloh49:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh50:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh51:
	ldr	w8, [x8]
	neg	w26, w8
	b	LBB0_48
LBB0_27:
Lloh52:
	adrp	x1, l_.str.7@PAGE
Lloh53:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x23
	bl	_dev_err
Lloh54:
	adrp	x8, _ENXIO@GOTPAGE
Lloh55:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh56:
	ldr	w8, [x8]
	neg	w26, w8
Lloh57:
	adrp	x27, _MAX_BUF_SIZE@GOTPAGE
Lloh58:
	ldr	x27, [x27, _MAX_BUF_SIZE@GOTPAGEOFF]
	b	LBB0_47
LBB0_28:
Lloh59:
	adrp	x1, l_.str.8@PAGE
Lloh60:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x23
	bl	_dev_err
Lloh61:
	adrp	x8, _ENXIO@GOTPAGE
Lloh62:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh63:
	ldr	w8, [x8]
	neg	w26, w8
Lloh64:
	adrp	x27, _MAX_BUF_SIZE@GOTPAGE
Lloh65:
	ldr	x27, [x27, _MAX_BUF_SIZE@GOTPAGEOFF]
	b	LBB0_46
LBB0_29:
Lloh66:
	adrp	x1, l_.str.9@PAGE
Lloh67:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x23
	bl	_dev_err
Lloh68:
	adrp	x8, _ENXIO@GOTPAGE
Lloh69:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh70:
	ldr	w8, [x8]
	neg	w26, w8
Lloh71:
	adrp	x27, _MAX_BUF_SIZE@GOTPAGE
Lloh72:
	ldr	x27, [x27, _MAX_BUF_SIZE@GOTPAGEOFF]
	b	LBB0_45
LBB0_30:
Lloh73:
	adrp	x1, l_.str.10@PAGE
Lloh74:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x23
	bl	_dev_info
	mov	w8, #1
	str	w8, [x24, #8]
	ldr	x8, [x24, #24]
	b	LBB0_33
LBB0_31:
	mov	x0, x22
	bl	_eth_hw_addr_random
LBB0_32:
	ldr	x9, [x27, #40]
	ldr	w8, [x27, #32]
	str	w8, [x24, #144]
	ldr	w8, [x27]
	str	w8, [x24, #8]
	ldp	x10, x8, [x27, #8]
	stp	x10, x8, [x24, #16]
	ldr	x10, [x27, #24]
	stp	x10, x9, [x24, #128]
LBB0_33:
	cmp	x8, #1
Lloh75:
	adrp	x27, _MAX_BUF_SIZE@GOTPAGE
Lloh76:
	ldr	x27, [x27, _MAX_BUF_SIZE@GOTPAGEOFF]
	b.lt	LBB0_36
; %bb.34:
Lloh77:
	adrp	x1, l_.str.11@PAGE
Lloh78:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x0, x23
	bl	_dev_err
Lloh79:
	adrp	x8, _ENODEV@GOTPAGE
Lloh80:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_35:
	ldr	w8, [x8]
	neg	w26, w8
	b	LBB0_44
LBB0_36:
	bl	_mdiobus_alloc
	str	x0, [x24, #72]
	cbz	x0, LBB0_52
; %bb.37:
	str	x22, [x0, #32]
Lloh81:
	adrp	x8, _au1000_mdiobus_read@GOTPAGE
Lloh82:
	ldr	x8, [x8, _au1000_mdiobus_read@GOTPAGEOFF]
Lloh83:
	ldr	w8, [x8]
	str	w8, [x0, #28]
Lloh84:
	adrp	x8, _au1000_mdiobus_write@GOTPAGE
Lloh85:
	ldr	x8, [x8, _au1000_mdiobus_write@GOTPAGEOFF]
Lloh86:
	ldr	w8, [x8]
Lloh87:
	adrp	x9, _au1000_mdiobus_reset@GOTPAGE
Lloh88:
	ldr	x9, [x9, _au1000_mdiobus_reset@GOTPAGEOFF]
Lloh89:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #20]
Lloh90:
	adrp	x8, l_.str.13@PAGE
Lloh91:
	add	x8, x8, l_.str.13@PAGEOFF
	str	x8, [x0]
	ldr	w0, [x0, #16]
Lloh92:
	adrp	x8, _MII_BUS_ID_SIZE@GOTPAGE
Lloh93:
	ldr	x8, [x8, _MII_BUS_ID_SIZE@GOTPAGEOFF]
Lloh94:
	ldr	w1, [x8]
	ldr	x3, [x26]
	ldr	w4, [x24, #4]
Lloh95:
	adrp	x2, l_.str.14@PAGE
Lloh96:
	add	x2, x2, l_.str.14@PAGEOFF
	bl	_snprintf
	ldr	x8, [x24, #136]
	cbz	x8, LBB0_41
; %bb.38:
	ldr	x8, [x24, #128]
	cbz	x8, LBB0_41
; %bb.39:
	ldr	x9, [x24, #24]
	ldrsw	x10, [x24, #4]
	cmp	x9, x10
	b.ne	LBB0_41
; %bb.40:
	ldr	x9, [x24, #72]
	ldr	x9, [x9, #8]
	ldr	x10, [x24, #16]
	str	x8, [x9, x10, lsl #3]
LBB0_41:
	ldr	x0, [x24, #72]
	bl	_mdiobus_register
	cbz	w0, LBB0_53
; %bb.42:
	mov	x26, x0
Lloh97:
	adrp	x1, l_.str.15@PAGE
Lloh98:
	add	x1, x1, l_.str.15@PAGEOFF
	mov	x0, x23
	bl	_dev_err
LBB0_43:
	ldr	x0, [x24, #72]
	bl	_mdiobus_free
LBB0_44:
	ldr	x0, [x24, #64]
	bl	_iounmap
LBB0_45:
	ldr	x0, [x24, #56]
	bl	_iounmap
LBB0_46:
	ldr	x0, [x24, #48]
	bl	_iounmap
LBB0_47:
	ldr	w8, [x27]
Lloh99:
	adrp	x9, _NUM_TX_BUFFS@GOTPAGE
Lloh100:
	ldr	x9, [x9, _NUM_TX_BUFFS@GOTPAGEOFF]
Lloh101:
	ldr	w9, [x9]
	ldr	w10, [x28]
	add	w9, w10, w9
	mul	w1, w9, w8
	ldr	x2, [x24, #40]
	ldr	w3, [x24, #32]
Lloh102:
	adrp	x8, _DMA_ATTR_NON_CONSISTENT@GOTPAGE
Lloh103:
	ldr	x8, [x8, _DMA_ATTR_NON_CONSISTENT@GOTPAGEOFF]
Lloh104:
	ldr	w4, [x8]
	mov	x0, x23
	bl	_dma_free_attrs
LBB0_48:
	mov	x0, x22
	bl	_free_netdev
LBB0_49:
	ldr	x22, [x21]
	mov	x0, x21
	bl	_resource_size
	mov	x1, x0
	mov	x0, x22
	bl	_release_mem_region
LBB0_50:
	ldr	x21, [x20]
	mov	x0, x20
	bl	_resource_size
	mov	x1, x0
	mov	x0, x21
	bl	_release_mem_region
LBB0_51:
	ldr	x20, [x19]
	mov	x0, x19
	bl	_resource_size
	mov	x1, x0
	mov	x0, x20
	bl	_release_mem_region
	b	LBB0_21
LBB0_52:
Lloh105:
	adrp	x1, l_.str.12@PAGE
Lloh106:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x0, x23
	bl	_dev_err
Lloh107:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh108:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_35
LBB0_53:
	mov	x0, x22
	bl	_au1000_mii_probe
	mov	x26, x0
	cbnz	w0, LBB0_71
; %bb.54:
Lloh109:
	adrp	x8, _NUM_TX_BUFFS@GOTPAGE
Lloh110:
	ldr	x8, [x8, _NUM_TX_BUFFS@GOTPAGEOFF]
Lloh111:
	ldr	w8, [x8]
	ldr	w9, [x28]
	add	w8, w9, w8
	cmp	w8, #1
	b.lt	LBB0_58
; %bb.55:
	mov	w26, #0
	mov	x9, #0
	ldr	x8, [x24, #120]
LBB0_56:                                ; =>This Inner Loop Header: Depth=1
	mov	x27, x8
	ldr	w8, [x24, #40]
Lloh112:
	adrp	x10, _MAX_BUF_SIZE@GOTPAGE
Lloh113:
	ldr	x10, [x10, _MAX_BUF_SIZE@GOTPAGEOFF]
Lloh114:
	ldr	w10, [x10]
	madd	w0, w10, w26, w8
	stp	x0, x9, [x27, #8]
	bl	_virt_to_bus
	str	x0, [x27]
	add	x8, x27, #24
	add	w26, w26, #1
Lloh115:
	adrp	x9, _NUM_TX_BUFFS@GOTPAGE
Lloh116:
	ldr	x9, [x9, _NUM_TX_BUFFS@GOTPAGEOFF]
Lloh117:
	ldr	w9, [x9]
	ldr	w10, [x28]
	add	w9, w10, w9
	cmp	w26, w9
	mov	x9, x27
	b.lt	LBB0_56
; %bb.57:
	sub	x8, x8, #24
	b	LBB0_59
LBB0_58:
	mov	x8, #0
LBB0_59:
	str	x8, [x24, #112]
Lloh118:
	adrp	x8, _ENODEV@GOTPAGE
Lloh119:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh120:
	ldr	w8, [x8]
	neg	w26, w8
Lloh121:
	adrp	x8, _NUM_RX_DMA@GOTPAGE
Lloh122:
	ldr	x8, [x8, _NUM_RX_DMA@GOTPAGEOFF]
Lloh123:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_64
; %bb.60:
	mov	x27, #0
LBB0_61:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x24
	bl	_au1000_GetFreeDB
	cbz	x0, LBB0_70
; %bb.62:                               ;   in Loop: Header=BB0_61 Depth=1
	ldr	x8, [x0]
	ldr	x9, [x24, #104]
	lsl	x10, x27, #3
	ldr	x9, [x9, x10]
	str	w8, [x9]
	ldr	x8, [x24, #88]
	str	x0, [x8, x10]
	add	x27, x27, #1
Lloh124:
	adrp	x8, _NUM_RX_DMA@GOTPAGE
Lloh125:
	ldr	x8, [x8, _NUM_RX_DMA@GOTPAGEOFF]
Lloh126:
	ldrsw	x8, [x8]
	cmp	x27, x8
	b.lt	LBB0_61
; %bb.63:
Lloh127:
	adrp	x8, _ENODEV@GOTPAGE
Lloh128:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh129:
	ldr	w8, [x8]
	neg	w26, w8
LBB0_64:
Lloh130:
	adrp	x8, _NUM_TX_DMA@GOTPAGE
Lloh131:
	ldr	x8, [x8, _NUM_TX_DMA@GOTPAGEOFF]
Lloh132:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_68
; %bb.65:
	mov	x27, #0
LBB0_66:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x24
	bl	_au1000_GetFreeDB
	cbz	x0, LBB0_70
; %bb.67:                               ;   in Loop: Header=BB0_66 Depth=1
	ldr	x8, [x0]
	ldr	x9, [x24, #96]
	lsl	x10, x27, #3
	ldr	x9, [x9, x10]
	str	w8, [x9]
	str	xzr, [x9, #8]
	ldr	x8, [x24, #80]
	str	x0, [x8, x10]
	add	x27, x27, #1
Lloh133:
	adrp	x8, _NUM_TX_DMA@GOTPAGE
Lloh134:
	ldr	x8, [x8, _NUM_TX_DMA@GOTPAGEOFF]
Lloh135:
	ldrsw	x8, [x8]
	cmp	x27, x8
	b.lt	LBB0_66
LBB0_68:
	ldr	x8, [x19]
	str	x8, [x22, #24]
	str	w25, [x22]
Lloh136:
	adrp	x8, _au1000_netdev_ops@GOTPAGE
Lloh137:
	ldr	x8, [x8, _au1000_netdev_ops@GOTPAGEOFF]
Lloh138:
	adrp	x9, _au1000_ethtool_ops@GOTPAGE
Lloh139:
	ldr	x9, [x9, _au1000_ethtool_ops@GOTPAGEOFF]
	stp	x9, x8, [x22, #8]
Lloh140:
	adrp	x8, _ETH_TX_TIMEOUT@GOTPAGE
Lloh141:
	ldr	x8, [x8, _ETH_TX_TIMEOUT@GOTPAGEOFF]
Lloh142:
	ldr	w8, [x8]
	str	w8, [x22, #4]
	mov	x0, x22
	bl	_au1000_reset_mac
	mov	x0, x22
	bl	_register_netdev
	mov	x26, x0
	cbz	w0, LBB0_83
; %bb.69:
Lloh143:
	adrp	x1, l_.str.16@PAGE
Lloh144:
	add	x1, x1, l_.str.16@PAGEOFF
	mov	x0, x22
	bl	_netdev_err
LBB0_70:
Lloh145:
	adrp	x27, _MAX_BUF_SIZE@GOTPAGE
Lloh146:
	ldr	x27, [x27, _MAX_BUF_SIZE@GOTPAGEOFF]
LBB0_71:
	ldr	x0, [x24, #72]
	cbz	x0, LBB0_73
; %bb.72:
	bl	_mdiobus_unregister
LBB0_73:
	mov	x0, x22
	bl	_au1000_reset_mac
Lloh147:
	adrp	x8, _NUM_RX_DMA@GOTPAGE
Lloh148:
	ldr	x8, [x8, _NUM_RX_DMA@GOTPAGEOFF]
Lloh149:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_78
; %bb.74:
	mov	x25, #0
	b	LBB0_76
LBB0_75:                                ;   in Loop: Header=BB0_76 Depth=1
	add	x25, x25, #1
	cmp	x25, w8, sxtw
	b.ge	LBB0_78
LBB0_76:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x24, #88]
	ldr	x1, [x9, x25, lsl #3]
	cbz	x1, LBB0_75
; %bb.77:                               ;   in Loop: Header=BB0_76 Depth=1
	mov	x0, x24
	bl	_au1000_ReleaseDB
Lloh150:
	adrp	x8, _NUM_RX_DMA@GOTPAGE
Lloh151:
	ldr	x8, [x8, _NUM_RX_DMA@GOTPAGEOFF]
Lloh152:
	ldr	w8, [x8]
	b	LBB0_75
LBB0_78:
Lloh153:
	adrp	x8, _NUM_TX_DMA@GOTPAGE
Lloh154:
	ldr	x8, [x8, _NUM_TX_DMA@GOTPAGEOFF]
Lloh155:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_43
; %bb.79:
	mov	x25, #0
	b	LBB0_81
LBB0_80:                                ;   in Loop: Header=BB0_81 Depth=1
	add	x25, x25, #1
	cmp	x25, w8, sxtw
	b.ge	LBB0_43
LBB0_81:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x24, #80]
	ldr	x1, [x9, x25, lsl #3]
	cbz	x1, LBB0_80
; %bb.82:                               ;   in Loop: Header=BB0_81 Depth=1
	mov	x0, x24
	bl	_au1000_ReleaseDB
Lloh156:
	adrp	x8, _NUM_TX_DMA@GOTPAGE
Lloh157:
	ldr	x8, [x8, _NUM_TX_DMA@GOTPAGEOFF]
Lloh158:
	ldr	w8, [x8]
	b	LBB0_80
LBB0_83:
	ldr	x2, [x19]
Lloh159:
	adrp	x1, l_.str.17@PAGE
Lloh160:
	add	x1, x1, l_.str.17@PAGEOFF
	mov	x0, x22
	mov	x3, x25
	bl	_netdev_info
Lloh161:
	adrp	x8, _DRV_NAME@GOTPAGE
Lloh162:
	ldr	x8, [x8, _DRV_NAME@GOTPAGEOFF]
Lloh163:
	ldr	w1, [x8]
Lloh164:
	adrp	x8, _DRV_VERSION@GOTPAGE
Lloh165:
	ldr	x8, [x8, _DRV_VERSION@GOTPAGEOFF]
Lloh166:
	ldr	w2, [x8]
Lloh167:
	adrp	x8, _DRV_AUTHOR@GOTPAGE
Lloh168:
	ldr	x8, [x8, _DRV_AUTHOR@GOTPAGEOFF]
Lloh169:
	ldr	w3, [x8]
Lloh170:
	adrp	x0, l_.str.18@PAGE
Lloh171:
	add	x0, x0, l_.str.18@PAGEOFF
	bl	_pr_info_once
	b	LBB0_21
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpLdrGot	Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpLdrGot	Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpAdd	Lloh73, Lloh74
	.loh AdrpLdrGot	Lloh75, Lloh76
	.loh AdrpLdrGot	Lloh79, Lloh80
	.loh AdrpAdd	Lloh77, Lloh78
	.loh AdrpAdd	Lloh95, Lloh96
	.loh AdrpLdrGotLdr	Lloh92, Lloh93, Lloh94
	.loh AdrpAdd	Lloh90, Lloh91
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpAdd	Lloh97, Lloh98
	.loh AdrpLdrGotLdr	Lloh102, Lloh103, Lloh104
	.loh AdrpLdrGotLdr	Lloh99, Lloh100, Lloh101
	.loh AdrpLdrGot	Lloh107, Lloh108
	.loh AdrpAdd	Lloh105, Lloh106
	.loh AdrpLdrGotLdr	Lloh109, Lloh110, Lloh111
	.loh AdrpLdrGotLdr	Lloh115, Lloh116, Lloh117
	.loh AdrpLdrGotLdr	Lloh112, Lloh113, Lloh114
	.loh AdrpLdrGotLdr	Lloh121, Lloh122, Lloh123
	.loh AdrpLdrGotLdr	Lloh118, Lloh119, Lloh120
	.loh AdrpLdrGotLdr	Lloh124, Lloh125, Lloh126
	.loh AdrpLdrGotLdr	Lloh127, Lloh128, Lloh129
	.loh AdrpLdrGotLdr	Lloh130, Lloh131, Lloh132
	.loh AdrpLdrGotLdr	Lloh133, Lloh134, Lloh135
	.loh AdrpLdrGotLdr	Lloh140, Lloh141, Lloh142
	.loh AdrpLdrGot	Lloh138, Lloh139
	.loh AdrpLdrGot	Lloh136, Lloh137
	.loh AdrpAdd	Lloh143, Lloh144
	.loh AdrpLdrGot	Lloh145, Lloh146
	.loh AdrpLdrGotLdr	Lloh147, Lloh148, Lloh149
	.loh AdrpLdrGotLdr	Lloh150, Lloh151, Lloh152
	.loh AdrpLdrGotLdr	Lloh153, Lloh154, Lloh155
	.loh AdrpLdrGotLdr	Lloh156, Lloh157, Lloh158
	.loh AdrpAdd	Lloh170, Lloh171
	.loh AdrpLdrGotLdr	Lloh167, Lloh168, Lloh169
	.loh AdrpLdrGotLdr	Lloh164, Lloh165, Lloh166
	.loh AdrpLdrGotLdr	Lloh161, Lloh162, Lloh163
	.loh AdrpAdd	Lloh159, Lloh160
	.cfi_endproc
                                        ; -- End function
	.comm	_IORESOURCE_MEM,4,2             ; @IORESOURCE_MEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to retrieve base register\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
l_.str.1:                               ; @.str.1
	.asciz	"failed to retrieve MAC Enable register\n"

l_.str.2:                               ; @.str.2
	.asciz	"failed to retrieve MACDMA registers\n"

l_.str.3:                               ; @.str.3
	.asciz	"failed to request memory region for base registers\n"

	.comm	_ENXIO,4,2                      ; @ENXIO
l_.str.4:                               ; @.str.4
	.asciz	"failed to request memory region for MAC enable register\n"

l_.str.5:                               ; @.str.5
	.asciz	"failed to request MACDMA memory region\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_au1000_debug,4,2               ; @au1000_debug
	.comm	_AU1000_DEF_MSG_ENABLE,4,2      ; @AU1000_DEF_MSG_ENABLE
	.comm	_MAX_BUF_SIZE,4,2               ; @MAX_BUF_SIZE
	.comm	_NUM_TX_BUFFS,4,2               ; @NUM_TX_BUFFS
	.comm	_NUM_RX_BUFFS,4,2               ; @NUM_RX_BUFFS
	.comm	_DMA_ATTR_NON_CONSISTENT,4,2    ; @DMA_ATTR_NON_CONSISTENT
l_.str.6:                               ; @.str.6
	.asciz	"failed to allocate data buffers\n"

l_.str.7:                               ; @.str.7
	.asciz	"failed to ioremap MAC registers\n"

l_.str.8:                               ; @.str.8
	.asciz	"failed to ioremap MAC enable register\n"

l_.str.9:                               ; @.str.9
	.asciz	"failed to ioremap MACDMA registers\n"

l_.str.10:                              ; @.str.10
	.asciz	"no platform_data passed, PHY search on MAC0\n"

	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
l_.str.11:                              ; @.str.11
	.asciz	"MAC0-associated PHY attached 2nd MACs MII bus not supported yet\n"

l_.str.12:                              ; @.str.12
	.asciz	"failed to allocate mdiobus structure\n"

	.comm	_au1000_mdiobus_read,4,2        ; @au1000_mdiobus_read
	.comm	_au1000_mdiobus_write,4,2       ; @au1000_mdiobus_write
	.comm	_au1000_mdiobus_reset,4,2       ; @au1000_mdiobus_reset
l_.str.13:                              ; @.str.13
	.asciz	"au1000_eth_mii"

	.comm	_MII_BUS_ID_SIZE,4,2            ; @MII_BUS_ID_SIZE
l_.str.14:                              ; @.str.14
	.asciz	"%s-%x"

l_.str.15:                              ; @.str.15
	.asciz	"failed to register MDIO bus\n"

	.comm	_NUM_RX_DMA,4,2                 ; @NUM_RX_DMA
	.comm	_NUM_TX_DMA,4,2                 ; @NUM_TX_DMA
	.comm	_au1000_netdev_ops,4,2          ; @au1000_netdev_ops
	.comm	_au1000_ethtool_ops,4,2         ; @au1000_ethtool_ops
	.comm	_ETH_TX_TIMEOUT,4,2             ; @ETH_TX_TIMEOUT
l_.str.16:                              ; @.str.16
	.asciz	"Cannot register net device, aborting.\n"

l_.str.17:                              ; @.str.17
	.asciz	"Au1xx0 Ethernet found at 0x%lx, irq %d\n"

l_.str.18:                              ; @.str.18
	.asciz	"%s version %s %s\n"

	.comm	_DRV_NAME,4,2                   ; @DRV_NAME
	.comm	_DRV_VERSION,4,2                ; @DRV_VERSION
	.comm	_DRV_AUTHOR,4,2                 ; @DRV_AUTHOR
	.no_dead_strip	_au1000_probe
.subsections_via_symbols
