	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smsc9420_open
_smsc9420_open:                         ## @smsc9420_open
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	callq	_netdev_priv
	movq	%rax, %r13
	movq	16(%rax), %rax
	movl	(%rax), %r15d
	movl	4(%r12), %edi
	callq	_is_valid_ether_addr
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	%r12, %rdi
	callq	_netif_carrier_off
	leaq	4(%r13), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	_INT_CFG@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r13, %rdi
	callq	_smsc9420_reg_read
	movq	_INT_CFG_IRQ_EN_@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	notl	%edx
	andl	%eax, %edx
	movl	(%rbx), %esi
	movq	%r13, %rdi
	callq	_smsc9420_reg_write
	movq	_INT_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_smsc9420_reg_write
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	movq	_DMAC_INTR_ENA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_smsc9420_reg_write
	movq	_INT_STAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	$-1, %edx
	callq	_smsc9420_reg_write
	movq	%r13, %rdi
	callq	_smsc9420_pci_flush_write
	movq	_smsc9420_isr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IRQF_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_DRV_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r15d, %edi
	movq	%r13, %r8
	callq	_request_irq
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movq	_ifup@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	12(%r13), %edx
	leaq	L_.str.1(%rip), %rcx
	movq	%r13, %rdi
	movl	%r15d, %r8d
	xorl	%eax, %eax
	callq	_netif_warn
	movq	_ENODEV@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_17
LBB0_1:
	movq	_ifup@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	12(%r13), %edx
	leaq	L_.str(%rip), %rcx
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_netif_warn
	movq	_EADDRNOTAVAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_17
LBB0_4:
	movq	%r13, %rdi
	callq	_smsc9420_dmac_soft_reset
	movq	_MAC_CR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_smsc9420_reg_write
	movq	%r12, %rdi
	callq	_smsc9420_set_mac_address
	movq	_GPIO_CFG@GOTPCREL(%rip), %rax
	movq	_GPIO_CFG_LED_3_@GOTPCREL(%rip), %rcx
	movq	_GPIO_CFG_LED_2_@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movl	(%rax), %esi
	movq	_GPIO_CFG_LED_1_@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%r13, %rdi
	callq	_smsc9420_reg_write
	movq	_BUS_MODE_DMA_BURST_LENGTH_16@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_BUS_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_smsc9420_reg_write
	movq	%r13, %rdi
	callq	_smsc9420_pci_flush_write
	movq	_BUS_CFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_BUS_CFG_RXTXWEIGHT_4_1@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	callq	_smsc9420_reg_write
	movq	_DMAC_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DMAC_CONTROL_SF_@GOTPCREL(%rip), %rax
	movq	_DMAC_CONTROL_OSF_@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	%r13, %rdi
	callq	_smsc9420_reg_write
	movq	%r13, %rdi
	callq	_smsc9420_pci_flush_write
	movq	_ifup@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	12(%r13), %edx
	leaq	L_.str.2(%rip), %rcx
	movq	%r13, %rdi
	movl	%r15d, %r8d
	callq	_netif_dbg
	movl	$0, (%r13)
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movl	(%rbx), %esi
	movq	%r13, %rdi
	callq	_smsc9420_reg_read
	movq	_INT_CFG_IRQ_EN_@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_INT_CFG_INT_DEAS_MASK@GOTPCREL(%rip), %rcx
	movq	_INT_DEAS_TIME@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	xorl	%eax, %edx
	andl	(%rcx), %edx
	xorl	%eax, %edx
	movl	(%rbx), %esi
	movq	%r13, %rdi
	callq	_smsc9420_reg_write
	movq	_INT_CTL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r13, %rdi
	callq	_smsc9420_reg_read
	movq	_INT_CTL_SW_INT_EN_@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	(%rbx), %esi
	movq	%r13, %rdi
	movl	%eax, %edx
	callq	_smsc9420_reg_write
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	movq	%r13, %rdi
	callq	_smsc9420_pci_flush_write
	movl	$-1000, %ebx                    ## imm = 0xFC18
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$0, (%r13)
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	$1, %edi
	callq	_msleep
	incl	%ebx
	jne	LBB0_5
LBB0_7:
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	_INT_CFG@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r13, %rdi
	callq	_smsc9420_reg_read
	movq	_INT_CFG_IRQ_EN_@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	notl	%edx
	andl	%eax, %edx
	movl	(%rbx), %esi
	movq	%r13, %rdi
	callq	_smsc9420_reg_write
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	cmpl	$0, (%r13)
	movq	_ifup@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	12(%r13), %edx
	je	LBB0_8
## %bb.9:
	leaq	L_.str.4(%rip), %rcx
	movq	%r13, %rdi
	movl	%r15d, %r8d
	callq	_netif_dbg
	movq	%r13, %rdi
	callq	_smsc9420_alloc_tx_ring
	testl	%eax, %eax
	je	LBB0_11
## %bb.10:
	movq	_ifup@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	12(%r13), %edx
	leaq	L_.str.5(%rip), %rcx
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_netif_warn
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_16
LBB0_8:
	leaq	L_.str.3(%rip), %rcx
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_netif_warn
	movq	_ENODEV@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_16
LBB0_11:
	movq	%r13, %rdi
	callq	_smsc9420_alloc_rx_ring
	testl	%eax, %eax
	je	LBB0_13
## %bb.12:
	movq	_ifup@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	12(%r13), %edx
	leaq	L_.str.6(%rip), %rcx
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_netif_warn
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_15
LBB0_13:
	movq	%r12, %rdi
	callq	_smsc9420_mii_init
	testl	%eax, %eax
	je	LBB0_19
## %bb.14:
	movq	_ifup@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	12(%r13), %edx
	leaq	L_.str.7(%rip), %rcx
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_netif_warn
	movq	_ENODEV@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r13, %rdi
	callq	_smsc9420_free_rx_ring
LBB0_15:
	movq	%r13, %rdi
	callq	_smsc9420_free_tx_ring
LBB0_16:
	movl	%r15d, %edi
	movq	%r13, %rsi
	callq	_free_irq
LBB0_17:
	negl	%ebx
LBB0_18:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	movl	(%r12), %edi
	callq	_phy_start
	movq	%r13, %rdi
	addq	$8, %rdi
	callq	_napi_enable
	movq	_MAC_CR@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r13, %rdi
	callq	_smsc9420_reg_read
	movq	_MAC_CR_TXEN_@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_MAC_CR_RXEN_@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	(%r15), %esi
	movq	%r13, %rdi
	movl	%eax, %edx
	callq	_smsc9420_reg_write
	movq	_DMAC_CONTROL@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r13, %rdi
	callq	_smsc9420_reg_read
	movq	_DMAC_CONTROL_ST_@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_DMAC_CONTROL_SR_@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	(%r15), %esi
	movq	%r13, %rdi
	movl	%eax, %edx
	callq	_smsc9420_reg_write
	movq	%r13, %rdi
	callq	_smsc9420_pci_flush_write
	movq	_DMAC_INTR_ENA@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r13, %rdi
	callq	_smsc9420_reg_read
	movq	_DMAC_INTR_ENA_TX_@GOTPCREL(%rip), %rcx
	movq	_DMAC_INTR_ENA_RX_@GOTPCREL(%rip), %rdx
	orl	(%rcx), %eax
	orl	(%rdx), %eax
	movq	_DMAC_INTR_ENA_NIS_@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	(%r15), %esi
	movq	%r13, %rdi
	movl	%eax, %edx
	callq	_smsc9420_reg_write
	movq	%r13, %rdi
	callq	_smsc9420_pci_flush_write
	movq	%r12, %rdi
	callq	_netif_wake_queue
	movq	_RX_POLL_DEMAND@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	$1, %edx
	callq	_smsc9420_reg_write
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movl	(%rbx), %esi
	movq	%r13, %rdi
	callq	_smsc9420_reg_read
	movq	_INT_CFG_IRQ_EN_@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	(%rbx), %esi
	movq	%r13, %rdi
	movl	%eax, %edx
	callq	_smsc9420_reg_write
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	xorl	%ebx, %ebx
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.comm	_ifup,4,2                       ## @ifup
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dev_addr is not a valid MAC address\n"

	.comm	_EADDRNOTAVAIL,4,2              ## @EADDRNOTAVAIL
	.comm	_INT_CFG,4,2                    ## @INT_CFG
	.comm	_INT_CFG_IRQ_EN_,4,2            ## @INT_CFG_IRQ_EN_
	.comm	_INT_CTL,4,2                    ## @INT_CTL
	.comm	_DMAC_INTR_ENA,4,2              ## @DMAC_INTR_ENA
	.comm	_INT_STAT,4,2                   ## @INT_STAT
	.comm	_smsc9420_isr,4,2               ## @smsc9420_isr
	.comm	_IRQF_SHARED,4,2                ## @IRQF_SHARED
	.comm	_DRV_NAME,4,2                   ## @DRV_NAME
L_.str.1:                               ## @.str.1
	.asciz	"Unable to use IRQ = %d\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_MAC_CR,4,2                     ## @MAC_CR
	.comm	_GPIO_CFG,4,2                   ## @GPIO_CFG
	.comm	_GPIO_CFG_LED_3_,4,2            ## @GPIO_CFG_LED_3_
	.comm	_GPIO_CFG_LED_2_,4,2            ## @GPIO_CFG_LED_2_
	.comm	_GPIO_CFG_LED_1_,4,2            ## @GPIO_CFG_LED_1_
	.comm	_BUS_MODE_DMA_BURST_LENGTH_16,4,2 ## @BUS_MODE_DMA_BURST_LENGTH_16
	.comm	_BUS_MODE,4,2                   ## @BUS_MODE
	.comm	_BUS_CFG,4,2                    ## @BUS_CFG
	.comm	_BUS_CFG_RXTXWEIGHT_4_1,4,2     ## @BUS_CFG_RXTXWEIGHT_4_1
	.comm	_DMAC_CONTROL,4,2               ## @DMAC_CONTROL
	.comm	_DMAC_CONTROL_SF_,4,2           ## @DMAC_CONTROL_SF_
	.comm	_DMAC_CONTROL_OSF_,4,2          ## @DMAC_CONTROL_OSF_
L_.str.2:                               ## @.str.2
	.asciz	"Testing ISR using IRQ %d\n"

	.comm	_INT_CFG_INT_DEAS_MASK,4,2      ## @INT_CFG_INT_DEAS_MASK
	.comm	_INT_DEAS_TIME,4,2              ## @INT_DEAS_TIME
	.comm	_INT_CTL_SW_INT_EN_,4,2         ## @INT_CTL_SW_INT_EN_
L_.str.3:                               ## @.str.3
	.asciz	"ISR failed signaling test\n"

L_.str.4:                               ## @.str.4
	.asciz	"ISR passed test using IRQ %d\n"

L_.str.5:                               ## @.str.5
	.asciz	"Failed to Initialize tx dma ring\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.6:                               ## @.str.6
	.asciz	"Failed to Initialize rx dma ring\n"

L_.str.7:                               ## @.str.7
	.asciz	"Failed to initialize Phy\n"

	.comm	_MAC_CR_TXEN_,4,2               ## @MAC_CR_TXEN_
	.comm	_MAC_CR_RXEN_,4,2               ## @MAC_CR_RXEN_
	.comm	_DMAC_CONTROL_ST_,4,2           ## @DMAC_CONTROL_ST_
	.comm	_DMAC_CONTROL_SR_,4,2           ## @DMAC_CONTROL_SR_
	.comm	_DMAC_INTR_ENA_TX_,4,2          ## @DMAC_INTR_ENA_TX_
	.comm	_DMAC_INTR_ENA_RX_,4,2          ## @DMAC_INTR_ENA_RX_
	.comm	_DMAC_INTR_ENA_NIS_,4,2         ## @DMAC_INTR_ENA_NIS_
	.comm	_RX_POLL_DEMAND,4,2             ## @RX_POLL_DEMAND
	.comm	_BUS_MODE_DBO_,4,2              ## @BUS_MODE_DBO_
	.no_dead_strip	_smsc9420_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smsc9420_open
_smsc9420_open:                         ; @smsc9420_open
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x21, x0
	bl	_netdev_priv
	mov	x19, x0
	ldr	x8, [x0, #16]
	ldr	w22, [x8]
	ldr	w0, [x21, #4]
	bl	_is_valid_ether_addr
	cbz	w0, LBB0_3
; %bb.1:
	mov	x0, x21
	bl	_netif_carrier_off
	add	x20, x19, #4
	mov	x0, x20
	bl	_spin_lock_irqsave
Lloh0:
	adrp	x23, _INT_CFG@GOTPAGE
Lloh1:
	ldr	x23, [x23, _INT_CFG@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x19
	bl	_smsc9420_reg_read
Lloh2:
	adrp	x24, _INT_CFG_IRQ_EN_@GOTPAGE
Lloh3:
	ldr	x24, [x24, _INT_CFG_IRQ_EN_@GOTPAGEOFF]
	ldr	w8, [x24]
	bic	w2, w0, w8
	ldr	w1, [x23]
	mov	x0, x19
	bl	_smsc9420_reg_write
Lloh4:
	adrp	x28, _INT_CTL@GOTPAGE
Lloh5:
	ldr	x28, [x28, _INT_CTL@GOTPAGEOFF]
	ldr	w1, [x28]
	mov	x0, x19
	mov	w2, #0
	bl	_smsc9420_reg_write
	mov	x0, x20
	bl	_spin_unlock_irqrestore
Lloh6:
	adrp	x25, _DMAC_INTR_ENA@GOTPAGE
Lloh7:
	ldr	x25, [x25, _DMAC_INTR_ENA@GOTPAGEOFF]
	ldr	w1, [x25]
	mov	x0, x19
	mov	w2, #0
	bl	_smsc9420_reg_write
Lloh8:
	adrp	x8, _INT_STAT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _INT_STAT@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #-1
	bl	_smsc9420_reg_write
	mov	x0, x19
	bl	_smsc9420_pci_flush_write
Lloh11:
	adrp	x8, _smsc9420_isr@GOTPAGE
Lloh12:
	ldr	x8, [x8, _smsc9420_isr@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
Lloh14:
	adrp	x8, _IRQF_SHARED@GOTPAGE
Lloh15:
	ldr	x8, [x8, _IRQF_SHARED@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
Lloh17:
	adrp	x8, _DRV_NAME@GOTPAGE
Lloh18:
	ldr	x8, [x8, _DRV_NAME@GOTPAGEOFF]
Lloh19:
	ldr	w3, [x8]
	mov	x0, x22
	mov	x4, x19
	bl	_request_irq
	cbz	w0, LBB0_4
; %bb.2:
Lloh20:
	adrp	x8, _ifup@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ifup@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	ldr	w2, [x19, #12]
	str	x22, [sp]
Lloh23:
	adrp	x3, l_.str.1@PAGE
Lloh24:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_netif_warn
Lloh25:
	adrp	x8, _ENODEV@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh27:
	ldr	w20, [x8]
	b	LBB0_17
LBB0_3:
Lloh28:
	adrp	x8, _ifup@GOTPAGE
Lloh29:
	ldr	x8, [x8, _ifup@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
	ldr	w2, [x19, #12]
Lloh31:
	adrp	x3, l_.str@PAGE
Lloh32:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	bl	_netif_warn
Lloh33:
	adrp	x8, _EADDRNOTAVAIL@GOTPAGE
Lloh34:
	ldr	x8, [x8, _EADDRNOTAVAIL@GOTPAGEOFF]
Lloh35:
	ldr	w20, [x8]
	b	LBB0_17
LBB0_4:
	mov	x0, x19
	bl	_smsc9420_dmac_soft_reset
Lloh36:
	adrp	x8, _MAC_CR@GOTPAGE
Lloh37:
	ldr	x8, [x8, _MAC_CR@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_smsc9420_reg_write
	mov	x0, x21
	bl	_smsc9420_set_mac_address
Lloh39:
	adrp	x8, _GPIO_CFG@GOTPAGE
Lloh40:
	ldr	x8, [x8, _GPIO_CFG@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
Lloh42:
	adrp	x8, _GPIO_CFG_LED_3_@GOTPAGE
Lloh43:
	ldr	x8, [x8, _GPIO_CFG_LED_3_@GOTPAGEOFF]
Lloh44:
	ldr	w8, [x8]
Lloh45:
	adrp	x9, _GPIO_CFG_LED_2_@GOTPAGE
Lloh46:
	ldr	x9, [x9, _GPIO_CFG_LED_2_@GOTPAGEOFF]
Lloh47:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh48:
	adrp	x9, _GPIO_CFG_LED_1_@GOTPAGE
Lloh49:
	ldr	x9, [x9, _GPIO_CFG_LED_1_@GOTPAGEOFF]
Lloh50:
	ldr	w9, [x9]
	orr	w2, w8, w9
	mov	x0, x19
	bl	_smsc9420_reg_write
Lloh51:
	adrp	x8, _BUS_MODE_DMA_BURST_LENGTH_16@GOTPAGE
Lloh52:
	ldr	x8, [x8, _BUS_MODE_DMA_BURST_LENGTH_16@GOTPAGEOFF]
Lloh53:
	ldr	w2, [x8]
Lloh54:
	adrp	x8, _BUS_MODE@GOTPAGE
Lloh55:
	ldr	x8, [x8, _BUS_MODE@GOTPAGEOFF]
Lloh56:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_smsc9420_reg_write
	mov	x0, x19
	bl	_smsc9420_pci_flush_write
Lloh57:
	adrp	x8, _BUS_CFG@GOTPAGE
Lloh58:
	ldr	x8, [x8, _BUS_CFG@GOTPAGEOFF]
Lloh59:
	ldr	w1, [x8]
Lloh60:
	adrp	x8, _BUS_CFG_RXTXWEIGHT_4_1@GOTPAGE
Lloh61:
	ldr	x8, [x8, _BUS_CFG_RXTXWEIGHT_4_1@GOTPAGEOFF]
Lloh62:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_smsc9420_reg_write
Lloh63:
	adrp	x27, _DMAC_CONTROL@GOTPAGE
Lloh64:
	ldr	x27, [x27, _DMAC_CONTROL@GOTPAGEOFF]
Lloh65:
	adrp	x8, _DMAC_CONTROL_SF_@GOTPAGE
Lloh66:
	ldr	x8, [x8, _DMAC_CONTROL_SF_@GOTPAGEOFF]
	ldr	w1, [x27]
Lloh67:
	ldr	w8, [x8]
Lloh68:
	adrp	x9, _DMAC_CONTROL_OSF_@GOTPAGE
Lloh69:
	ldr	x9, [x9, _DMAC_CONTROL_OSF_@GOTPAGEOFF]
Lloh70:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x19
	bl	_smsc9420_reg_write
	mov	x0, x19
	bl	_smsc9420_pci_flush_write
Lloh71:
	adrp	x26, _ifup@GOTPAGE
Lloh72:
	ldr	x26, [x26, _ifup@GOTPAGEOFF]
	ldr	w1, [x26]
	ldr	w2, [x19, #12]
Lloh73:
	adrp	x3, l_.str.2@PAGE
Lloh74:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x4, x22
	bl	_netif_dbg
	str	wzr, [x19]
	mov	x0, x20
	bl	_spin_lock_irqsave
	ldr	w1, [x23]
	mov	x0, x19
	bl	_smsc9420_reg_read
	ldr	w8, [x24]
	orr	w8, w8, w0
Lloh75:
	adrp	x9, _INT_CFG_INT_DEAS_MASK@GOTPAGE
Lloh76:
	ldr	x9, [x9, _INT_CFG_INT_DEAS_MASK@GOTPAGEOFF]
Lloh77:
	ldr	w9, [x9]
	bic	w8, w8, w9
Lloh78:
	adrp	x10, _INT_DEAS_TIME@GOTPAGE
Lloh79:
	ldr	x10, [x10, _INT_DEAS_TIME@GOTPAGEOFF]
Lloh80:
	ldr	w10, [x10]
	and	w9, w10, w9
	orr	w2, w9, w8
	ldr	w1, [x23]
	mov	x0, x19
	bl	_smsc9420_reg_write
	ldr	w1, [x28]
	mov	x0, x19
	bl	_smsc9420_reg_read
Lloh81:
	adrp	x8, _INT_CTL_SW_INT_EN_@GOTPAGE
Lloh82:
	ldr	x8, [x8, _INT_CTL_SW_INT_EN_@GOTPAGEOFF]
Lloh83:
	ldr	w8, [x8]
	orr	w2, w8, w0
	ldr	w1, [x28]
	mov	x0, x19
	bl	_smsc9420_reg_write
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	mov	x0, x19
	bl	_smsc9420_pci_flush_write
	mov	w28, #-1000
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x19]
	cbnz	w8, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w0, #1
	bl	_msleep
	adds	w28, w28, #1
	b.lo	LBB0_5
LBB0_7:
	mov	x0, x20
	bl	_spin_lock_irqsave
	ldr	w1, [x23]
	mov	x0, x19
	bl	_smsc9420_reg_read
	ldr	w8, [x24]
	bic	w2, w0, w8
	ldr	w1, [x23]
	mov	x0, x19
	bl	_smsc9420_reg_write
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	ldr	w8, [x19]
	ldr	w1, [x26]
	ldr	w2, [x19, #12]
	cbz	w8, LBB0_10
; %bb.8:
Lloh84:
	adrp	x3, l_.str.4@PAGE
Lloh85:
	add	x3, x3, l_.str.4@PAGEOFF
	mov	x0, x19
	mov	x4, x22
	bl	_netif_dbg
	mov	x0, x19
	bl	_smsc9420_alloc_tx_ring
	cbz	w0, LBB0_11
; %bb.9:
	ldr	w1, [x26]
	ldr	w2, [x19, #12]
Lloh86:
	adrp	x3, l_.str.5@PAGE
Lloh87:
	add	x3, x3, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_netif_warn
Lloh88:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh89:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh90:
	ldr	w20, [x8]
	b	LBB0_16
LBB0_10:
Lloh91:
	adrp	x3, l_.str.3@PAGE
Lloh92:
	add	x3, x3, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_netif_warn
Lloh93:
	adrp	x8, _ENODEV@GOTPAGE
Lloh94:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh95:
	ldr	w20, [x8]
	b	LBB0_16
LBB0_11:
	mov	x0, x19
	bl	_smsc9420_alloc_rx_ring
	cbz	w0, LBB0_13
; %bb.12:
	ldr	w1, [x26]
	ldr	w2, [x19, #12]
Lloh96:
	adrp	x3, l_.str.6@PAGE
Lloh97:
	add	x3, x3, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_netif_warn
Lloh98:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh99:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh100:
	ldr	w20, [x8]
	b	LBB0_15
LBB0_13:
	mov	x0, x21
	bl	_smsc9420_mii_init
	cbz	w0, LBB0_19
; %bb.14:
	ldr	w1, [x26]
	ldr	w2, [x19, #12]
Lloh101:
	adrp	x3, l_.str.7@PAGE
Lloh102:
	add	x3, x3, l_.str.7@PAGEOFF
	mov	x0, x19
	bl	_netif_warn
Lloh103:
	adrp	x8, _ENODEV@GOTPAGE
Lloh104:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh105:
	ldr	w20, [x8]
	mov	x0, x19
	bl	_smsc9420_free_rx_ring
LBB0_15:
	mov	x0, x19
	bl	_smsc9420_free_tx_ring
LBB0_16:
	mov	x0, x22
	mov	x1, x19
	bl	_free_irq
LBB0_17:
	neg	w0, w20
LBB0_18:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_19:
	ldr	w0, [x21]
	bl	_phy_start
	add	x0, x19, #8
	bl	_napi_enable
Lloh106:
	adrp	x22, _MAC_CR@GOTPAGE
Lloh107:
	ldr	x22, [x22, _MAC_CR@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_smsc9420_reg_read
Lloh108:
	adrp	x8, _MAC_CR_TXEN_@GOTPAGE
Lloh109:
	ldr	x8, [x8, _MAC_CR_TXEN_@GOTPAGEOFF]
Lloh110:
	ldr	w8, [x8]
	orr	w8, w8, w0
Lloh111:
	adrp	x9, _MAC_CR_RXEN_@GOTPAGE
Lloh112:
	ldr	x9, [x9, _MAC_CR_RXEN_@GOTPAGEOFF]
Lloh113:
	ldr	w9, [x9]
	orr	w2, w8, w9
	ldr	w1, [x22]
	mov	x0, x19
	bl	_smsc9420_reg_write
	ldr	w1, [x27]
	mov	x0, x19
	bl	_smsc9420_reg_read
Lloh114:
	adrp	x8, _DMAC_CONTROL_ST_@GOTPAGE
Lloh115:
	ldr	x8, [x8, _DMAC_CONTROL_ST_@GOTPAGEOFF]
Lloh116:
	ldr	w8, [x8]
Lloh117:
	adrp	x9, _DMAC_CONTROL_SR_@GOTPAGE
Lloh118:
	ldr	x9, [x9, _DMAC_CONTROL_SR_@GOTPAGEOFF]
Lloh119:
	ldr	w9, [x9]
	orr	w8, w8, w0
	orr	w2, w8, w9
	ldr	w1, [x27]
	mov	x0, x19
	bl	_smsc9420_reg_write
	mov	x0, x19
	bl	_smsc9420_pci_flush_write
	ldr	w1, [x25]
	mov	x0, x19
	bl	_smsc9420_reg_read
Lloh120:
	adrp	x8, _DMAC_INTR_ENA_TX_@GOTPAGE
Lloh121:
	ldr	x8, [x8, _DMAC_INTR_ENA_TX_@GOTPAGEOFF]
Lloh122:
	ldr	w8, [x8]
Lloh123:
	adrp	x9, _DMAC_INTR_ENA_RX_@GOTPAGE
Lloh124:
	ldr	x9, [x9, _DMAC_INTR_ENA_RX_@GOTPAGEOFF]
Lloh125:
	adrp	x10, _DMAC_INTR_ENA_NIS_@GOTPAGE
Lloh126:
	ldr	x10, [x10, _DMAC_INTR_ENA_NIS_@GOTPAGEOFF]
Lloh127:
	ldr	w9, [x9]
Lloh128:
	ldr	w10, [x10]
	orr	w8, w8, w0
	orr	w8, w8, w9
	orr	w2, w8, w10
	ldr	w1, [x25]
	mov	x0, x19
	bl	_smsc9420_reg_write
	mov	x0, x19
	bl	_smsc9420_pci_flush_write
	mov	x0, x21
	bl	_netif_wake_queue
Lloh129:
	adrp	x8, _RX_POLL_DEMAND@GOTPAGE
Lloh130:
	ldr	x8, [x8, _RX_POLL_DEMAND@GOTPAGEOFF]
Lloh131:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #1
	bl	_smsc9420_reg_write
	mov	x0, x20
	bl	_spin_lock_irqsave
	ldr	w1, [x23]
	mov	x0, x19
	bl	_smsc9420_reg_read
	ldr	w8, [x24]
	orr	w2, w8, w0
	ldr	w1, [x23]
	mov	x0, x19
	bl	_smsc9420_reg_write
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	mov	w0, #0
	b	LBB0_18
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpAdd	Lloh73, Lloh74
	.loh AdrpLdrGot	Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGot	Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.loh AdrpAdd	Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpAdd	Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh98, Lloh99, Lloh100
	.loh AdrpAdd	Lloh96, Lloh97
	.loh AdrpLdrGotLdr	Lloh103, Lloh104, Lloh105
	.loh AdrpAdd	Lloh101, Lloh102
	.loh AdrpLdrGotLdr	Lloh129, Lloh130, Lloh131
	.loh AdrpLdrGotLdr	Lloh125, Lloh126, Lloh128
	.loh AdrpLdrGotLdr	Lloh123, Lloh124, Lloh127
	.loh AdrpLdrGotLdr	Lloh120, Lloh121, Lloh122
	.loh AdrpLdrGotLdr	Lloh117, Lloh118, Lloh119
	.loh AdrpLdrGotLdr	Lloh114, Lloh115, Lloh116
	.loh AdrpLdrGotLdr	Lloh111, Lloh112, Lloh113
	.loh AdrpLdrGotLdr	Lloh108, Lloh109, Lloh110
	.loh AdrpLdrGot	Lloh106, Lloh107
	.cfi_endproc
                                        ; -- End function
	.comm	_ifup,4,2                       ; @ifup
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dev_addr is not a valid MAC address\n"

	.comm	_EADDRNOTAVAIL,4,2              ; @EADDRNOTAVAIL
	.comm	_INT_CFG,4,2                    ; @INT_CFG
	.comm	_INT_CFG_IRQ_EN_,4,2            ; @INT_CFG_IRQ_EN_
	.comm	_INT_CTL,4,2                    ; @INT_CTL
	.comm	_DMAC_INTR_ENA,4,2              ; @DMAC_INTR_ENA
	.comm	_INT_STAT,4,2                   ; @INT_STAT
	.comm	_smsc9420_isr,4,2               ; @smsc9420_isr
	.comm	_IRQF_SHARED,4,2                ; @IRQF_SHARED
	.comm	_DRV_NAME,4,2                   ; @DRV_NAME
l_.str.1:                               ; @.str.1
	.asciz	"Unable to use IRQ = %d\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_MAC_CR,4,2                     ; @MAC_CR
	.comm	_GPIO_CFG,4,2                   ; @GPIO_CFG
	.comm	_GPIO_CFG_LED_3_,4,2            ; @GPIO_CFG_LED_3_
	.comm	_GPIO_CFG_LED_2_,4,2            ; @GPIO_CFG_LED_2_
	.comm	_GPIO_CFG_LED_1_,4,2            ; @GPIO_CFG_LED_1_
	.comm	_BUS_MODE_DMA_BURST_LENGTH_16,4,2 ; @BUS_MODE_DMA_BURST_LENGTH_16
	.comm	_BUS_MODE,4,2                   ; @BUS_MODE
	.comm	_BUS_CFG,4,2                    ; @BUS_CFG
	.comm	_BUS_CFG_RXTXWEIGHT_4_1,4,2     ; @BUS_CFG_RXTXWEIGHT_4_1
	.comm	_DMAC_CONTROL,4,2               ; @DMAC_CONTROL
	.comm	_DMAC_CONTROL_SF_,4,2           ; @DMAC_CONTROL_SF_
	.comm	_DMAC_CONTROL_OSF_,4,2          ; @DMAC_CONTROL_OSF_
l_.str.2:                               ; @.str.2
	.asciz	"Testing ISR using IRQ %d\n"

	.comm	_INT_CFG_INT_DEAS_MASK,4,2      ; @INT_CFG_INT_DEAS_MASK
	.comm	_INT_DEAS_TIME,4,2              ; @INT_DEAS_TIME
	.comm	_INT_CTL_SW_INT_EN_,4,2         ; @INT_CTL_SW_INT_EN_
l_.str.3:                               ; @.str.3
	.asciz	"ISR failed signaling test\n"

l_.str.4:                               ; @.str.4
	.asciz	"ISR passed test using IRQ %d\n"

l_.str.5:                               ; @.str.5
	.asciz	"Failed to Initialize tx dma ring\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.6:                               ; @.str.6
	.asciz	"Failed to Initialize rx dma ring\n"

l_.str.7:                               ; @.str.7
	.asciz	"Failed to initialize Phy\n"

	.comm	_MAC_CR_TXEN_,4,2               ; @MAC_CR_TXEN_
	.comm	_MAC_CR_RXEN_,4,2               ; @MAC_CR_RXEN_
	.comm	_DMAC_CONTROL_ST_,4,2           ; @DMAC_CONTROL_ST_
	.comm	_DMAC_CONTROL_SR_,4,2           ; @DMAC_CONTROL_SR_
	.comm	_DMAC_INTR_ENA_TX_,4,2          ; @DMAC_INTR_ENA_TX_
	.comm	_DMAC_INTR_ENA_RX_,4,2          ; @DMAC_INTR_ENA_RX_
	.comm	_DMAC_INTR_ENA_NIS_,4,2         ; @DMAC_INTR_ENA_NIS_
	.comm	_RX_POLL_DEMAND,4,2             ; @RX_POLL_DEMAND
	.comm	_BUS_MODE_DBO_,4,2              ; @BUS_MODE_DBO_
	.no_dead_strip	_smsc9420_open
.subsections_via_symbols
