	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eth_open
_eth_open:                              ## @eth_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, %r14
	callq	_netdev_priv
	movq	%rax, %r15
	movq	24(%rax), %rbx
	movq	$0, 16(%rax)
	movl	8(%rax), %edi
	callq	_phy_start
	movq	%r14, %rdi
	callq	_netif_start_queue
	movq	_ports_open@GOTPCREL(%rip), %r12
	cmpl	$0, (%r12)
	jne	LBB0_2
## %bb.1:
	movl	16(%rbx), %edi
	movq	_eth_rx_irq@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IRQF_SHARED@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	_napi_dev@GOTPCREL(%rip), %r13
	movq	(%r13), %r8
	leaq	L_.str(%rip), %rcx
	callq	_request_irq
	movl	12(%rbx), %edi
	movq	_eth_stat_irq@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r12), %edx
	movq	_ports_open@GOTPCREL(%rip), %r12
	movq	(%r13), %r8
	leaq	L_.str.1(%rip), %rcx
	callq	_request_irq
	leaq	8(%rbx), %rdi
	callq	_napi_enable
	movq	(%r13), %rdi
	callq	_netif_start_queue
	movq	_MAC0_STATUS_CHANGE@GOTPCREL(%rip), %rax
	movq	_MAC1_STATUS_CHANGE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	movq	_MAC2_STATUS_CHANGE@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_MAC0_RX_ERROR@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_MAC1_RX_ERROR@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_MAC2_RX_ERROR@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	notl	%edi
	movq	(%rbx), %rsi
	addq	$12, %rsi
	callq	___raw_writel
	movq	(%rbx), %rax
	movq	(%rax), %rdi
	addq	$8, %rdi
	callq	___raw_readl
	movq	_PORT_DISABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	notl	%edi
	andl	%eax, %edi
	movq	(%rbx), %rax
	movq	(%rax), %rsi
	addq	$8, %rsi
	callq	___raw_writel
	movq	(%rbx), %rdi
	addq	$8, %rdi
	callq	___raw_readl
	movq	_TS_SUSPEND@GOTPCREL(%rip), %rcx
	movq	_FS_SUSPEND@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edi
	orl	(%rcx), %edi
	notl	%edi
	andl	%eax, %edi
	movq	(%rbx), %rsi
	addq	$8, %rsi
	callq	___raw_writel
	movq	%rbx, %rdi
	callq	_enable_rx_dma
LBB0_2:
	movq	(%rbx), %rax
	movq	(%r15), %rdi
	shlq	$2, %rdi
	addq	(%rax), %rdi
	callq	___raw_readl
	movq	_PORT_DISABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	notl	%edi
	andl	%eax, %edi
	movq	(%rbx), %rax
	movq	(%r15), %rsi
	shlq	$2, %rsi
	addq	(%rax), %rsi
	callq	___raw_writel
	incl	(%r12)
	movq	%r14, %rdi
	callq	_netif_carrier_on
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ports_open,4,2                 ## @ports_open
	.comm	_eth_rx_irq,4,2                 ## @eth_rx_irq
	.comm	_IRQF_SHARED,4,2                ## @IRQF_SHARED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"gig_switch"

	.comm	_napi_dev,8,3                   ## @napi_dev
	.comm	_eth_stat_irq,4,2               ## @eth_stat_irq
L_.str.1:                               ## @.str.1
	.asciz	"gig_stat"

	.comm	_MAC0_STATUS_CHANGE,4,2         ## @MAC0_STATUS_CHANGE
	.comm	_MAC1_STATUS_CHANGE,4,2         ## @MAC1_STATUS_CHANGE
	.comm	_MAC2_STATUS_CHANGE,4,2         ## @MAC2_STATUS_CHANGE
	.comm	_MAC0_RX_ERROR,4,2              ## @MAC0_RX_ERROR
	.comm	_MAC1_RX_ERROR,4,2              ## @MAC1_RX_ERROR
	.comm	_MAC2_RX_ERROR,4,2              ## @MAC2_RX_ERROR
	.comm	_PORT_DISABLE,4,2               ## @PORT_DISABLE
	.comm	_TS_SUSPEND,4,2                 ## @TS_SUSPEND
	.comm	_FS_SUSPEND,4,2                 ## @FS_SUSPEND
	.no_dead_strip	_eth_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eth_open
_eth_open:                              ; @eth_open
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x0
	bl	_netdev_priv
	mov	x20, x0
	ldr	x21, [x0, #24]
	str	xzr, [x0, #16]
	ldr	w0, [x0, #8]
	bl	_phy_start
	mov	x0, x19
	bl	_netif_start_queue
Lloh0:
	adrp	x22, _ports_open@GOTPAGE
Lloh1:
	ldr	x22, [x22, _ports_open@GOTPAGEOFF]
	ldr	w8, [x22]
Lloh2:
	adrp	x23, _PORT_DISABLE@GOTPAGE
Lloh3:
	ldr	x23, [x23, _PORT_DISABLE@GOTPAGEOFF]
	cbnz	w8, LBB0_2
; %bb.1:
	ldr	w0, [x21, #16]
Lloh4:
	adrp	x8, _eth_rx_irq@GOTPAGE
Lloh5:
	ldr	x8, [x8, _eth_rx_irq@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
Lloh7:
	adrp	x24, _IRQF_SHARED@GOTPAGE
Lloh8:
	ldr	x24, [x24, _IRQF_SHARED@GOTPAGEOFF]
	ldr	w2, [x24]
Lloh9:
	adrp	x25, _napi_dev@GOTPAGE
Lloh10:
	ldr	x25, [x25, _napi_dev@GOTPAGEOFF]
	ldr	x4, [x25]
Lloh11:
	adrp	x3, l_.str@PAGE
Lloh12:
	add	x3, x3, l_.str@PAGEOFF
	bl	_request_irq
	ldr	w0, [x21, #12]
Lloh13:
	adrp	x8, _eth_stat_irq@GOTPAGE
Lloh14:
	ldr	x8, [x8, _eth_stat_irq@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	ldr	w2, [x24]
	ldr	x4, [x25]
Lloh16:
	adrp	x3, l_.str.1@PAGE
Lloh17:
	add	x3, x3, l_.str.1@PAGEOFF
	bl	_request_irq
	add	x0, x21, #8
	bl	_napi_enable
	ldr	x0, [x25]
	bl	_netif_start_queue
Lloh18:
	adrp	x8, _MAC0_STATUS_CHANGE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MAC0_STATUS_CHANGE@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x9, _MAC1_STATUS_CHANGE@GOTPAGE
Lloh22:
	ldr	x9, [x9, _MAC1_STATUS_CHANGE@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
Lloh24:
	adrp	x10, _MAC2_STATUS_CHANGE@GOTPAGE
Lloh25:
	ldr	x10, [x10, _MAC2_STATUS_CHANGE@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh26:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh27:
	adrp	x9, _MAC0_RX_ERROR@GOTPAGE
Lloh28:
	ldr	x9, [x9, _MAC0_RX_ERROR@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh30:
	adrp	x9, _MAC1_RX_ERROR@GOTPAGE
Lloh31:
	ldr	x9, [x9, _MAC1_RX_ERROR@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
Lloh33:
	adrp	x10, _MAC2_RX_ERROR@GOTPAGE
Lloh34:
	ldr	x10, [x10, _MAC2_RX_ERROR@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh35:
	ldr	w9, [x10]
	orr	w8, w8, w9
	mvn	w0, w8
	ldr	x8, [x21]
	add	x1, x8, #12
	bl	___raw_writel
	ldr	x8, [x21]
	ldr	x8, [x8]
	add	x0, x8, #8
	bl	___raw_readl
	ldr	w8, [x23]
	bic	w0, w0, w8
	ldr	x8, [x21]
	ldr	x8, [x8]
	add	x1, x8, #8
	bl	___raw_writel
	ldr	x8, [x21]
	add	x0, x8, #8
	bl	___raw_readl
Lloh36:
	adrp	x8, _TS_SUSPEND@GOTPAGE
Lloh37:
	ldr	x8, [x8, _TS_SUSPEND@GOTPAGEOFF]
Lloh38:
	adrp	x9, _FS_SUSPEND@GOTPAGE
Lloh39:
	ldr	x9, [x9, _FS_SUSPEND@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
Lloh41:
	ldr	w9, [x9]
	orr	w8, w9, w8
	bic	w0, w0, w8
	ldr	x8, [x21]
	add	x1, x8, #8
	bl	___raw_writel
	mov	x0, x21
	bl	_enable_rx_dma
LBB0_2:
	ldr	x8, [x21]
	ldr	x8, [x8]
	ldr	x9, [x20]
	add	x0, x8, x9, lsl #2
	bl	___raw_readl
	ldr	w8, [x23]
	bic	w0, w0, w8
	ldr	x8, [x21]
	ldr	x8, [x8]
	ldr	x9, [x20]
	add	x1, x8, x9, lsl #2
	bl	___raw_writel
	ldr	w8, [x22]
	add	w8, w8, #1
	str	w8, [x22]
	mov	x0, x19
	bl	_netif_carrier_on
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh40
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_ports_open,4,2                 ; @ports_open
	.comm	_eth_rx_irq,4,2                 ; @eth_rx_irq
	.comm	_IRQF_SHARED,4,2                ; @IRQF_SHARED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"gig_switch"

	.comm	_napi_dev,8,3                   ; @napi_dev
	.comm	_eth_stat_irq,4,2               ; @eth_stat_irq
l_.str.1:                               ; @.str.1
	.asciz	"gig_stat"

	.comm	_MAC0_STATUS_CHANGE,4,2         ; @MAC0_STATUS_CHANGE
	.comm	_MAC1_STATUS_CHANGE,4,2         ; @MAC1_STATUS_CHANGE
	.comm	_MAC2_STATUS_CHANGE,4,2         ; @MAC2_STATUS_CHANGE
	.comm	_MAC0_RX_ERROR,4,2              ; @MAC0_RX_ERROR
	.comm	_MAC1_RX_ERROR,4,2              ; @MAC1_RX_ERROR
	.comm	_MAC2_RX_ERROR,4,2              ; @MAC2_RX_ERROR
	.comm	_PORT_DISABLE,4,2               ; @PORT_DISABLE
	.comm	_TS_SUSPEND,4,2                 ; @TS_SUSPEND
	.comm	_FS_SUSPEND,4,2                 ; @FS_SUSPEND
	.no_dead_strip	_eth_open
.subsections_via_symbols
