	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smsc911x_drv_probe
_smsc911x_drv_probe:                    ## @smsc911x_drv_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	callq	_dev_get_platdata
	movq	%rax, %r15
	movq	_IORESOURCE_MEM@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r13, %rdi
	callq	_platform_get_resource_byname
	movq	%rax, %r12
	testq	%rax, %rax
	jne	LBB0_3
## %bb.1:
	movl	(%rbx), %esi
	xorl	%ebx, %ebx
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_platform_get_resource
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_2
LBB0_3:
	movq	%r12, %rdi
	callq	_resource_size
	movl	%eax, %r14d
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_platform_get_irq
	movl	%eax, %ebx
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%ebx, %eax
	je	LBB0_45
## %bb.4:
	testl	%ebx, %ebx
	jle	LBB0_5
## %bb.6:
	movl	(%r12), %edi
	movq	_SMSC_CHIPNAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r14d, %esi
	callq	_request_mem_region
	testl	%eax, %eax
	je	LBB0_7
## %bb.9:
	movl	$56, %edi
	callq	_alloc_etherdev
	testq	%rax, %rax
	je	LBB0_10
## %bb.11:
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	movq	%rax, %r15
	movq	%r13, %rsi
	callq	_SET_NETDEV_DEV
	movq	%r15, %rdi
	callq	_netdev_priv
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	%ebx, (%r15)
	movl	(%r12), %edi
	movl	%r14d, %esi
	callq	_ioremap_nocache
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%rax, 8(%r14)
	testq	%rax, %rax
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_12
## %bb.13:
	movq	%r15, 48(%r14)
	movq	_debug@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$-1, %eax
	shll	%cl, %eax
	notl	%eax
	movl	%eax, (%r14)
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_platform_set_drvdata
	movq	%r13, %rdi
	callq	_smsc911x_request_resources
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_26
## %bb.14:
	movq	%r13, %rdi
	callq	_smsc911x_enable_resources
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_25
## %bb.15:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	cmpq	$0, 8(%rdi)
	je	LBB0_16
## %bb.17:
	leaq	24(%rdi), %r14
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_smsc911x_probe_config
	movl	%eax, %ebx
	testl	%eax, %eax
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	je	LBB0_22
## %bb.18:
	testq	%rsi, %rsi
	je	LBB0_22
## %bb.19:
	movq	%r14, %rdi
	movl	$16, %edx
	callq	_memcpy
	jmp	LBB0_20
LBB0_5:
	leaq	L_.str.2(%rip), %rdi
	callq	_pr_warn
	movq	_ENODEV@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_2:
	leaq	L_.str.1(%rip), %rdi
	callq	_pr_warn
	movq	_ENODEV@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_45
LBB0_7:
	movq	_EBUSY@GOTPCREL(%rip), %rax
LBB0_8:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_45
LBB0_10:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_28
LBB0_12:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_27
LBB0_16:
	movq	_probe@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdx
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_SMSC_WARN
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_24
LBB0_22:
	testl	%ebx, %ebx
	je	LBB0_20
## %bb.23:
	movq	_probe@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.4(%rip), %rdx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_SMSC_WARN
	jmp	LBB0_24
LBB0_20:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	cmpq	$0, 32(%rcx)
	jne	LBB0_21
## %bb.29:
	movq	_standard_smsc911x_ops@GOTPCREL(%rip), %rax
	jmp	LBB0_30
LBB0_21:
	movq	_shifted_smsc911x_ops@GOTPCREL(%rip), %rax
LBB0_30:
	movq	%rax, 40(%rcx)
	movq	%r13, %rdi
	callq	_pm_runtime_enable
	movq	%r13, %rdi
	callq	_pm_runtime_get_sync
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	callq	_smsc911x_init
	testl	%eax, %eax
	js	LBB0_31
## %bb.32:
	movq	%r15, %rdi
	callq	_netif_carrier_off
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_smsc911x_mii_init
	testl	%eax, %eax
	je	LBB0_34
## %bb.33:
	movl	%eax, %ebx
	movq	_probe@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.5(%rip), %rdx
	jmp	LBB0_36
LBB0_31:
	movl	%eax, %ebx
	jmp	LBB0_24
LBB0_34:
	movq	%r15, %rdi
	callq	_register_netdev
	movl	%eax, %ebx
	movq	_probe@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	testl	%ebx, %ebx
	je	LBB0_37
## %bb.35:
	leaq	L_.str.6(%rip), %rdx
LBB0_36:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %ecx
	xorl	%eax, %eax
	callq	_SMSC_WARN
LBB0_24:
	movq	%r13, %rdi
	callq	_pm_runtime_put
	movq	%r13, %rdi
	callq	_pm_runtime_disable
	movq	%r13, %rdi
	callq	_smsc911x_disable_resources
LBB0_25:
	movq	%r13, %rdi
	callq	_smsc911x_free_resources
	movq	-48(%rbp), %r14                 ## 8-byte Reload
LBB0_26:
	movq	8(%r14), %rdi
	callq	_iounmap
LBB0_27:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_free_netdev
LBB0_28:
	movl	(%r12), %r14d
	movq	%r12, %rdi
	callq	_resource_size
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_release_mem_region
LBB0_45:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_37:
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movl	16(%r12), %ecx
	leaq	L_.str.7(%rip), %rdx
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_SMSC_TRACE
	movq	%r13, %r15
	addq	$16, %r15
	movq	%r15, %rdi
	callq	_spin_lock_irq
	movq	8(%r12), %rdi
	callq	_is_valid_ether_addr
	testq	%rax, %rax
	je	LBB0_39
## %bb.38:
	movq	8(%r12), %rsi
	movq	%r13, %rdi
	callq	_smsc911x_set_hw_mac_address
	leaq	L_.str.8(%rip), %rdx
	jmp	LBB0_44
LBB0_39:
	movq	(%r14), %rdi
	callq	_is_valid_ether_addr
	testq	%rax, %rax
	je	LBB0_41
## %bb.40:
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	8(%r12), %rdi
	movq	(%r14), %rsi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	leaq	L_.str.9(%rip), %rdx
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_44
LBB0_41:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_smsc_get_mac
	movq	8(%rbx), %rdi
	callq	_is_valid_ether_addr
	testq	%rax, %rax
	je	LBB0_43
## %bb.42:
	leaq	L_.str.10(%rip), %rdx
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_44
LBB0_43:
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	callq	_eth_hw_addr_random
	movq	8(%r12), %rsi
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	callq	_smsc911x_set_hw_mac_address
	leaq	L_.str.11(%rip), %rdx
LBB0_44:
	movq	_probe@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%ebx, %ebx
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_SMSC_TRACE
	movq	%r15, %rdi
	callq	_spin_unlock_irq
	movq	8(%r12), %rdx
	leaq	L_.str.12(%rip), %rsi
	movq	%r12, %rdi
	callq	_netdev_info
	jmp	LBB0_45
	.cfi_endproc
                                        ## -- End function
	.comm	_IORESOURCE_MEM,4,2             ## @IORESOURCE_MEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"smsc911x-memory"

L_.str.1:                               ## @.str.1
	.asciz	"Could not allocate resource\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_EPROBE_DEFER,4,2               ## @EPROBE_DEFER
L_.str.2:                               ## @.str.2
	.asciz	"Could not allocate irq resource\n"

	.comm	_SMSC_CHIPNAME,4,2              ## @SMSC_CHIPNAME
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_debug,4,2                      ## @debug
	.comm	_probe,4,2                      ## @probe
L_.str.3:                               ## @.str.3
	.asciz	"Error smsc911x base address invalid"

L_.str.4:                               ## @.str.4
	.asciz	"Error smsc911x config not found"

	.comm	_standard_smsc911x_ops,4,2      ## @standard_smsc911x_ops
	.comm	_shifted_smsc911x_ops,4,2       ## @shifted_smsc911x_ops
L_.str.5:                               ## @.str.5
	.asciz	"Error %i initialising mii"

L_.str.6:                               ## @.str.6
	.asciz	"Error %i registering device"

L_.str.7:                               ## @.str.7
	.asciz	"Network interface: \"%s\""

L_.str.8:                               ## @.str.8
	.asciz	"MAC Address is specified by configuration"

	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
L_.str.9:                               ## @.str.9
	.asciz	"MAC Address specified by platform data"

L_.str.10:                              ## @.str.10
	.asciz	"Mac Address is read from LAN911x EEPROM"

L_.str.11:                              ## @.str.11
	.asciz	"MAC Address is set to eth_random_addr"

L_.str.12:                              ## @.str.12
	.asciz	"MAC Address: %pM\n"

	.no_dead_strip	_smsc911x_drv_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smsc911x_drv_probe
_smsc911x_drv_probe:                    ; @smsc911x_drv_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x22, x0
	bl	_dev_get_platdata
	mov	x24, x0
Lloh0:
	adrp	x19, _IORESOURCE_MEM@GOTPAGE
Lloh1:
	ldr	x19, [x19, _IORESOURCE_MEM@GOTPAGEOFF]
	ldr	w1, [x19]
Lloh2:
	adrp	x2, l_.str@PAGE
Lloh3:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x22
	bl	_platform_get_resource_byname
	mov	x20, x0
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	w1, [x19]
	mov	x0, x22
	mov	w2, #0
	bl	_platform_get_resource
	mov	x20, x0
	cbz	x0, LBB0_14
LBB0_2:
	mov	x0, x20
	bl	_resource_size
	mov	x25, x0
	mov	x0, x22
	mov	w1, #0
	bl	_platform_get_irq
	mov	x23, x0
Lloh4:
	adrp	x8, _EPROBE_DEFER@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EPROBE_DEFER@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	cmn	w0, w8
	b.eq	LBB0_35
; %bb.3:
	cmp	w23, #0
	b.le	LBB0_13
; %bb.4:
	ldr	w0, [x20]
Lloh7:
	adrp	x8, _SMSC_CHIPNAME@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SMSC_CHIPNAME@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	mov	x1, x25
	bl	_request_mem_region
	cbz	w0, LBB0_16
; %bb.5:
	mov	w0, #56
	bl	_alloc_etherdev
	cbz	x0, LBB0_18
; %bb.6:
	mov	x19, x0
	mov	x1, x22
	bl	_SET_NETDEV_DEV
	mov	x0, x19
	bl	_netdev_priv
	mov	x21, x0
	str	w23, [x19]
	ldr	w0, [x20]
	mov	x1, x25
	bl	_ioremap_nocache
	str	x0, [x21, #8]
	cbz	x0, LBB0_19
; %bb.7:
Lloh10:
	adrp	x8, _debug@GOTPAGE
Lloh11:
	ldr	x8, [x8, _debug@GOTPAGEOFF]
	str	x19, [x21, #48]
Lloh12:
	ldr	w8, [x8]
	mov	w9, #-1
	lsl	w8, w9, w8
	mvn	w8, w8
	str	w8, [x21]
	mov	x0, x22
	mov	x1, x19
	bl	_platform_set_drvdata
	mov	x0, x22
	bl	_smsc911x_request_resources
	mov	x23, x0
	cbnz	w0, LBB0_32
; %bb.8:
	mov	x0, x22
	bl	_smsc911x_enable_resources
	mov	x23, x0
	cbnz	w0, LBB0_31
; %bb.9:
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_20
; %bb.10:
	add	x25, x21, #24
	mov	x0, x25
	mov	x1, x22
	bl	_smsc911x_probe_config
	mov	x23, x0
	cbz	w0, LBB0_21
; %bb.11:
	cbz	x24, LBB0_21
; %bb.12:
	mov	x0, x25
	mov	x1, x24
	mov	w2, #16
	bl	_memcpy
	b	LBB0_23
LBB0_13:
Lloh13:
	adrp	x0, l_.str.2@PAGE
Lloh14:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_15
LBB0_14:
Lloh15:
	adrp	x0, l_.str.1@PAGE
Lloh16:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_15:
	bl	_pr_warn
Lloh17:
	adrp	x8, _ENODEV@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_17
LBB0_16:
Lloh19:
	adrp	x8, _EBUSY@GOTPAGE
Lloh20:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
LBB0_17:
	ldr	w8, [x8]
	neg	w23, w8
	b	LBB0_35
LBB0_18:
Lloh21:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	neg	w23, w8
	b	LBB0_34
LBB0_19:
Lloh24:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	neg	w23, w8
	b	LBB0_33
LBB0_20:
Lloh27:
	adrp	x8, _probe@GOTPAGE
Lloh28:
	ldr	x8, [x8, _probe@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
Lloh30:
	adrp	x2, l_.str.3@PAGE
Lloh31:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x21
	bl	_SMSC_WARN
Lloh32:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	neg	w23, w8
	b	LBB0_30
LBB0_21:
	cbz	w23, LBB0_23
; %bb.22:
Lloh35:
	adrp	x8, _probe@GOTPAGE
Lloh36:
	ldr	x8, [x8, _probe@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
Lloh38:
	adrp	x2, l_.str.4@PAGE
Lloh39:
	add	x2, x2, l_.str.4@PAGEOFF
	b	LBB0_26
LBB0_23:
Lloh40:
	adrp	x8, _shifted_smsc911x_ops@GOTPAGE
Lloh41:
	ldr	x8, [x8, _shifted_smsc911x_ops@GOTPAGEOFF]
	ldr	x9, [x21, #32]
Lloh42:
	adrp	x10, _standard_smsc911x_ops@GOTPAGE
Lloh43:
	ldr	x10, [x10, _standard_smsc911x_ops@GOTPAGEOFF]
	cmp	x9, #0
	csel	x8, x10, x8, eq
	str	x8, [x21, #40]
	mov	x0, x22
	bl	_pm_runtime_enable
	mov	x0, x22
	bl	_pm_runtime_get_sync
	mov	x0, x19
	bl	_smsc911x_init
	tbnz	w0, #31, LBB0_27
; %bb.24:
	mov	x0, x19
	bl	_netif_carrier_off
	mov	x0, x22
	mov	x1, x19
	bl	_smsc911x_mii_init
	cbz	w0, LBB0_28
; %bb.25:
	mov	x23, x0
Lloh44:
	adrp	x8, _probe@GOTPAGE
Lloh45:
	ldr	x8, [x8, _probe@GOTPAGEOFF]
Lloh46:
	ldr	w1, [x8]
	str	x23, [sp]
Lloh47:
	adrp	x2, l_.str.5@PAGE
Lloh48:
	add	x2, x2, l_.str.5@PAGEOFF
LBB0_26:
	mov	x0, x21
	bl	_SMSC_WARN
	b	LBB0_30
LBB0_27:
	mov	x23, x0
	b	LBB0_30
LBB0_28:
	mov	x0, x19
	bl	_register_netdev
Lloh49:
	adrp	x24, _probe@GOTPAGE
Lloh50:
	ldr	x24, [x24, _probe@GOTPAGEOFF]
	ldr	w1, [x24]
	cbz	w0, LBB0_36
; %bb.29:
	mov	x23, x0
	str	x23, [sp]
Lloh51:
	adrp	x2, l_.str.6@PAGE
Lloh52:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x0, x21
	bl	_SMSC_WARN
                                        ; kill: def $w23 killed $w23 killed $x23 def $x23
LBB0_30:
	mov	x0, x22
	bl	_pm_runtime_put
	mov	x0, x22
	bl	_pm_runtime_disable
	mov	x0, x22
	bl	_smsc911x_disable_resources
LBB0_31:
	mov	x0, x22
	bl	_smsc911x_free_resources
LBB0_32:
	ldr	x0, [x21, #8]
	bl	_iounmap
LBB0_33:
	mov	x0, x19
	bl	_free_netdev
LBB0_34:
	ldr	w19, [x20]
	mov	x0, x20
	bl	_resource_size
	mov	x1, x0
	mov	x0, x19
	bl	_release_mem_region
LBB0_35:
	mov	x0, x23
	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
	add	sp, sp, #96
	ret
LBB0_36:
	ldr	w8, [x19, #16]
	str	x8, [sp]
Lloh53:
	adrp	x2, l_.str.7@PAGE
Lloh54:
	add	x2, x2, l_.str.7@PAGEOFF
	mov	x0, x21
	bl	_SMSC_TRACE
	add	x20, x21, #16
	mov	x0, x20
	bl	_spin_lock_irq
	ldr	x0, [x19, #8]
	bl	_is_valid_ether_addr
	cbz	x0, LBB0_38
; %bb.37:
	ldr	x1, [x19, #8]
	mov	x0, x21
	bl	_smsc911x_set_hw_mac_address
Lloh55:
	adrp	x2, l_.str.8@PAGE
Lloh56:
	add	x2, x2, l_.str.8@PAGEOFF
	b	LBB0_43
LBB0_38:
	ldr	x0, [x25]
	bl	_is_valid_ether_addr
	cbz	x0, LBB0_40
; %bb.39:
	ldr	x0, [x19, #8]
	ldr	x1, [x25]
Lloh57:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh58:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh59:
	ldr	w2, [x8]
	bl	_memcpy
Lloh60:
	adrp	x2, l_.str.9@PAGE
Lloh61:
	add	x2, x2, l_.str.9@PAGEOFF
	b	LBB0_43
LBB0_40:
	mov	x0, x19
	bl	_smsc_get_mac
	ldr	x0, [x19, #8]
	bl	_is_valid_ether_addr
	cbz	x0, LBB0_42
; %bb.41:
Lloh62:
	adrp	x2, l_.str.10@PAGE
Lloh63:
	add	x2, x2, l_.str.10@PAGEOFF
	b	LBB0_43
LBB0_42:
	mov	x0, x19
	bl	_eth_hw_addr_random
	ldr	x1, [x19, #8]
	mov	x0, x21
	bl	_smsc911x_set_hw_mac_address
Lloh64:
	adrp	x2, l_.str.11@PAGE
Lloh65:
	add	x2, x2, l_.str.11@PAGEOFF
LBB0_43:
	ldr	w1, [x24]
	mov	x0, x21
	bl	_SMSC_TRACE
	mov	x0, x20
	bl	_spin_unlock_irq
	ldr	x2, [x19, #8]
Lloh66:
	adrp	x1, l_.str.12@PAGE
Lloh67:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x0, x19
	bl	_netdev_info
	mov	w23, #0
	b	LBB0_35
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpAdd	Lloh66, Lloh67
	.cfi_endproc
                                        ; -- End function
	.comm	_IORESOURCE_MEM,4,2             ; @IORESOURCE_MEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"smsc911x-memory"

l_.str.1:                               ; @.str.1
	.asciz	"Could not allocate resource\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_EPROBE_DEFER,4,2               ; @EPROBE_DEFER
l_.str.2:                               ; @.str.2
	.asciz	"Could not allocate irq resource\n"

	.comm	_SMSC_CHIPNAME,4,2              ; @SMSC_CHIPNAME
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_debug,4,2                      ; @debug
	.comm	_probe,4,2                      ; @probe
l_.str.3:                               ; @.str.3
	.asciz	"Error smsc911x base address invalid"

l_.str.4:                               ; @.str.4
	.asciz	"Error smsc911x config not found"

	.comm	_standard_smsc911x_ops,4,2      ; @standard_smsc911x_ops
	.comm	_shifted_smsc911x_ops,4,2       ; @shifted_smsc911x_ops
l_.str.5:                               ; @.str.5
	.asciz	"Error %i initialising mii"

l_.str.6:                               ; @.str.6
	.asciz	"Error %i registering device"

l_.str.7:                               ; @.str.7
	.asciz	"Network interface: \"%s\""

l_.str.8:                               ; @.str.8
	.asciz	"MAC Address is specified by configuration"

	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
l_.str.9:                               ; @.str.9
	.asciz	"MAC Address specified by platform data"

l_.str.10:                              ; @.str.10
	.asciz	"Mac Address is read from LAN911x EEPROM"

l_.str.11:                              ; @.str.11
	.asciz	"MAC Address is set to eth_random_addr"

l_.str.12:                              ; @.str.12
	.asciz	"MAC Address: %pM\n"

	.no_dead_strip	_smsc911x_drv_probe
.subsections_via_symbols
