	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function corkscrew_setup
_corkscrew_setup:                       ## @corkscrew_setup
	.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	$296, %rsp                      ## imm = 0x128
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_netdev_priv
	movq	%rax, %r14
	leal	8194(%r15), %edi
	callq	_inw
	andl	$15, %eax
	movl	%r15d, (%rbx)
	movl	%eax, 4(%rbx)
	leal	8192(%r15), %edi
	callq	_inw
	andl	$7, %eax
	movl	%eax, 8(%rbx)
	leaq	L_.str(%rip), %rax
	movq	%rax, (%r14)
	movl	12(%rbx), %eax
	movl	%eax, 8(%r14)
	movq	%rbx, 56(%r14)
	testl	%eax, %eax
	je	LBB0_1
## %bb.5:
	testl	%eax, %eax
	js	LBB0_3
LBB0_6:
	movl	%eax, %ecx
	andl	$7, %ecx
	xorl	%edx, %edx
	cmpl	$2, %ecx
	cmovnel	%ecx, %edx
	movl	%edx, 12(%r14)
	movl	%eax, %ecx
	shrl	$3, %ecx
	andl	$1, %ecx
	movl	%ecx, 16(%r14)
	shrl	$4, %eax
	andl	$1, %eax
	jmp	LBB0_7
LBB0_1:
	movq	_MAX_UNITS@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	jle	LBB0_2
## %bb.4:
	movq	_options@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%r12d, %rcx
	movl	(%rax,%rcx,4), %eax
	movl	%eax, 8(%r14)
	testl	%eax, %eax
	jns	LBB0_6
	jmp	LBB0_3
LBB0_2:
	movl	$-1, 8(%r14)
LBB0_3:
	movq	$7, 12(%r14)
	xorl	%eax, %eax
LBB0_7:
	movl	%eax, 20(%r14)
	movl	48(%rbx), %esi
	leaq	L_.str.1(%rip), %rdi
	leaq	L_.str(%rip), %rdx
	xorl	%r13d, %r13d
	movl	%r15d, %ecx
	xorl	%eax, %eax
	callq	_pr_info
	movq	%r14, -320(%rbp)                ## 8-byte Spill
	addq	$48, %r14
	movq	%r14, %rdi
	callq	_spin_lock_init
	xorl	%edi, %edi
	callq	_EL3WINDOW
	movq	_Wn0EepromCmd@GOTPCREL(%rip), %r14
	xorl	%eax, %eax
	movq	%rbx, -328(%rbp)                ## 8-byte Spill
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	-308(%rbp), %eax                ## 4-byte Reload
	xorl	%r12d, %eax
	incq	%r13
	cmpq	$24, %r13
	movq	-328(%rbp), %rbx                ## 8-byte Reload
	je	LBB0_14
LBB0_8:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	movl	%eax, -308(%rbp)                ## 4-byte Spill
	movl	16(%rbx), %eax
	movq	%rax, -336(%rbp)                ## 8-byte Spill
	movq	_EEPROM_Read@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	%r13, %rdi
	movl	(%r14), %esi
	addl	%r15d, %esi
	callq	_outw
	movl	$-4, %ebx
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_8 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	$162, %edi
	callq	_udelay
	movl	(%r14), %edi
	addl	%r15d, %edi
	callq	_inw
	testl	$512, %eax                      ## imm = 0x200
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=2
	leal	1(%rbx), %eax
	testl	%ebx, %ebx
	movl	%eax, %ebx
	jne	LBB0_9
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	_Wn0EepromData@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addl	%r15d, %edi
	callq	_inw
	movl	%eax, %r12d
	movl	%eax, -304(%rbp,%r13,4)
	cmpq	$2, %r13
	ja	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_8 Depth=1
	movl	%r12d, %edi
	callq	_htons
	movq	-336(%rbp), %rcx                ## 8-byte Reload
	movl	%eax, (%rcx,%r13,4)
	jmp	LBB0_13
LBB0_14:
	movl	%eax, %esi
	shrl	$8, %esi
	xorl	%eax, %esi
	andl	$255, %esi
	je	LBB0_16
## %bb.15:
	leaq	L_.str.2(%rip), %rdi
	callq	_pr_cont
LBB0_16:
	movl	16(%rbx), %esi
	leaq	L_.str.3(%rip), %rdi
	callq	_pr_cont
	movl	-240(%rbp), %r13d
	cmpl	$4551, %r13d                    ## imm = 0x11C7
	jne	LBB0_20
## %bb.17:
	movl	8(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_request_dma
	movl	8(%rbx), %esi
	testq	%rax, %rax
	je	LBB0_19
## %bb.18:
	leaq	L_.str.4(%rip), %rdi
	callq	_pr_cont
	movl	$0, 8(%rbx)
	jmp	LBB0_20
LBB0_19:
	leaq	L_.str.5(%rip), %rdi
	callq	_pr_cont
LBB0_20:
	movl	4(%rbx), %esi
	leaq	L_.str.6(%rip), %rdi
	callq	_pr_cont
	movq	_corkscrew_debug@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	je	LBB0_23
## %bb.21:
	movl	4(%rbx), %eax
	addl	$-16, %eax
	cmpl	$-16, %eax
	ja	LBB0_23
## %bb.22:
	leaq	L_.str.7(%rip), %rdi
	callq	_pr_warning
LBB0_23:
	movl	$3, %edi
	callq	_EL3WINDOW
	movq	_Wn3_Options@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	addl	%r15d, %edi
	callq	_inw
	movq	-320(%rbp), %rcx                ## 8-byte Reload
	movl	%eax, 24(%rcx)
	movslq	%r15d, %rdi
	movq	_Wn3_Config@GOTPCREL(%rip), %rax
	addq	(%rax), %rdi
	callq	_inl
	movl	%eax, %r12d
	cmpl	$2, (%r14)
	jl	LBB0_25
## %bb.24:
	addl	(%rbx), %r15d
	movl	%r15d, %edi
	callq	_inw
	leaq	L_.str.12(%rip), %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_pr_info
LBB0_25:
	movl	$8, %esi
	movl	%r12d, %ecx
	shll	%cl, %esi
	movq	_Ram_size@GOTPCREL(%rip), %rax
	andl	(%rax), %esi
	movq	_Ram_width@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%r12d, %eax
	leaq	L_.str.15(%rip), %rax
	leaq	L_.str.14(%rip), %rdx
	cmoveq	%rax, %rdx
	movq	_Ram_split@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%r12d, %eax
	movq	_Ram_split_shift@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	cltq
	leaq	l_reltable.corkscrew_setup(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	movq	_Autoselect@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	andl	%r12d, %ecx
	leaq	L_.str.17(%rip), %rcx
	leaq	L_.str.16(%rip), %r8
	cmoveq	%rcx, %r8
	movq	_Xcvr@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	andl	%r12d, %edi
	movq	_Xcvr_shift@GOTPCREL(%rip), %r14
	movb	(%r14), %cl
	sarl	%cl, %edi
	movq	_media_tbl@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movslq	%edi, %rdi
	movl	(%rcx,%rdi,4), %r9d
	leaq	L_.str.13(%rip), %rdi
	movq	%rax, %rcx
	xorl	%eax, %eax
	callq	_pr_info
	movl	(%rbx), %eax
	andl	%r12d, %eax
	movb	(%r14), %cl
	sarl	%cl, %eax
	movq	-320(%rbp), %rbx                ## 8-byte Reload
	movl	%eax, 28(%rbx)
	xorl	%ecx, %ecx
	andl	(%r15), %r12d
	setne	%cl
	movl	%ecx, 32(%rbx)
	movq	-328(%rbp), %r14                ## 8-byte Reload
	movl	%eax, 20(%r14)
	movslq	12(%rbx), %rsi
	cmpq	$7, %rsi
	je	LBB0_27
## %bb.26:
	movq	_media_tbl@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rsi,4), %edx
	leaq	L_.str.18(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	xorl	%eax, %eax
	callq	_pr_info
	movl	12(%rbx), %eax
	movl	%eax, 20(%r14)
LBB0_27:
	movl	%r13d, 36(%rbx)
	shrl	$5, %r13d
	andl	$1, %r13d
	movl	%r13d, 40(%rbx)
	movl	%r13d, 44(%rbx)
	movq	_netdev_ops@GOTPCREL(%rip), %rax
	movq	%rax, 40(%r14)
	movq	_HZ@GOTPCREL(%rip), %rax
	imull	$400, (%rax), %eax              ## imm = 0x190
	cltq
	imulq	$274877907, %rax, %rax          ## imm = 0x10624DD3
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$38, %rax
	addl	%ecx, %eax
	movl	%eax, 24(%r14)
	movq	_netdev_ethtool_ops@GOTPCREL(%rip), %rax
	movq	%rax, 32(%r14)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_28
## %bb.29:
	movq	%r14, %rdi
	addq	$296, %rsp                      ## imm = 0x128
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_register_netdev                ## TAILCALL
LBB0_28:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"3c515"

	.comm	_MAX_UNITS,4,2                  ## @MAX_UNITS
	.comm	_options,8,3                    ## @options
L_.str.1:                               ## @.str.1
	.asciz	"%s: 3Com %s at %#3x,"

	.comm	_EEPROM_Read,8,3                ## @EEPROM_Read
	.comm	_Wn0EepromCmd,4,2               ## @Wn0EepromCmd
	.comm	_Wn0EepromData,4,2              ## @Wn0EepromData
L_.str.2:                               ## @.str.2
	.asciz	" ***INVALID CHECKSUM %4.4x*** "

L_.str.3:                               ## @.str.3
	.asciz	" %pM"

L_.str.4:                               ## @.str.4
	.asciz	", DMA %d allocation failed"

L_.str.5:                               ## @.str.5
	.asciz	", DMA %d"

L_.str.6:                               ## @.str.6
	.asciz	", IRQ %d\n"

	.comm	_corkscrew_debug,4,2            ## @corkscrew_debug
L_.str.7:                               ## @.str.7
	.asciz	" *** Warning: this IRQ is unlikely to work! ***\n"

L_.str.8:                               ## @.str.8
	.asciz	"5:3"

L_.str.9:                               ## @.str.9
	.asciz	"3:1"

L_.str.10:                              ## @.str.10
	.asciz	"1:1"

L_.str.11:                              ## @.str.11
	.asciz	"3:5"

	.section	__TEXT,__const
	.p2align	2                               ## @reltable.corkscrew_setup
l_reltable.corkscrew_setup:
	.long	L_.str.8-l_reltable.corkscrew_setup
	.long	L_.str.9-l_reltable.corkscrew_setup
	.long	L_.str.10-l_reltable.corkscrew_setup
	.long	L_.str.11-l_reltable.corkscrew_setup

	.comm	_Wn3_Options,4,2                ## @Wn3_Options
	.comm	_Wn3_Config,8,3                 ## @Wn3_Config
	.section	__TEXT,__cstring,cstring_literals
L_.str.12:                              ## @.str.12
	.asciz	"  Internal config register is %4.4x, transceivers %#x.\n"

L_.str.13:                              ## @.str.13
	.asciz	"  %dK %s-wide RAM %s Rx:Tx split, %s%s interface.\n"

	.comm	_Ram_size,4,2                   ## @Ram_size
	.comm	_Ram_width,4,2                  ## @Ram_width
L_.str.14:                              ## @.str.14
	.asciz	"word"

L_.str.15:                              ## @.str.15
	.asciz	"byte"

	.comm	_Ram_split,4,2                  ## @Ram_split
	.comm	_Ram_split_shift,4,2            ## @Ram_split_shift
	.comm	_Autoselect,4,2                 ## @Autoselect
L_.str.16:                              ## @.str.16
	.asciz	"autoselect/"

L_.str.17:                              ## @.str.17
	.space	1

	.comm	_media_tbl,8,3                  ## @media_tbl
	.comm	_Xcvr,4,2                       ## @Xcvr
	.comm	_Xcvr_shift,4,2                 ## @Xcvr_shift
L_.str.18:                              ## @.str.18
	.asciz	"  Media override to transceiver type %d (%s).\n"

	.comm	_netdev_ops,4,2                 ## @netdev_ops
	.comm	_HZ,4,2                         ## @HZ
	.comm	_netdev_ethtool_ops,4,2         ## @netdev_ethtool_ops
	.comm	_root_corkscrew_dev,4,2         ## @root_corkscrew_dev
	.no_dead_strip	_corkscrew_setup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function corkscrew_setup
lCPI0_0:
	.long	7                               ; 0x7
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_corkscrew_setup:                       ; @corkscrew_setup
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #416
	.cfi_def_cfa_offset 416
	stp	x28, x27, [sp, #320]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #336]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #352]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #368]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #384]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #400]            ; 16-byte Folded Spill
	add	x29, sp, #400
	.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	x22, x3
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	bl	_netdev_priv
	mov	x20, x0
	mov	w8, #8194
	add	w0, w21, w8
	bl	_inw
	and	w8, w0, #0xf
	stp	w21, w8, [x19]
	add	w0, w21, #2, lsl #12            ; =8192
	bl	_inw
	and	w8, w0, #0x7
	str	w8, [x19, #8]
Lloh3:
	adrp	x8, l_.str@PAGE
Lloh4:
	add	x8, x8, l_.str@PAGEOFF
	str	x8, [x20]
	ldr	w9, [x19, #12]
	str	w9, [x20, #8]
	str	x19, [x20, #56]
	cbz	w9, LBB0_3
; %bb.1:
	tbnz	w9, #31, LBB0_6
LBB0_2:
	and	w10, w9, #0x7
	cmp	w10, #2
	csel	w10, wzr, w10, eq
	ubfx	w11, w9, #3, #1
	stp	w10, w11, [x20, #12]
	ubfx	w9, w9, #4, #1
	b	LBB0_7
LBB0_3:
Lloh5:
	adrp	x9, _MAX_UNITS@GOTPAGE
Lloh6:
	ldr	x9, [x9, _MAX_UNITS@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	cmp	w9, w22
	b.le	LBB0_5
; %bb.4:
Lloh8:
	adrp	x9, _options@GOTPAGE
Lloh9:
	ldr	x9, [x9, _options@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	ldr	w9, [x9, w22, sxtw #2]
	str	w9, [x20, #8]
	tbz	w9, #31, LBB0_2
	b	LBB0_6
LBB0_5:
	mov	w9, #-1
	str	w9, [x20, #8]
LBB0_6:
	mov	w9, #0
Lloh11:
	adrp	x10, lCPI0_0@PAGE
Lloh12:
	ldr	d0, [x10, lCPI0_0@PAGEOFF]
	stur	d0, [x20, #12]
LBB0_7:
	str	w9, [x20, #20]
	ldr	w1, [x19, #48]
	stp	x8, x21, [sp]
Lloh13:
	adrp	x0, l_.str.1@PAGE
Lloh14:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_info
	str	x20, [sp, #40]                  ; 8-byte Folded Spill
	add	x0, x20, #48
	bl	_spin_lock_init
	mov	w0, #0
	bl	_EL3WINDOW
	mov	x24, #0
	mov	w23, #0
Lloh15:
	adrp	x25, _EEPROM_Read@GOTPAGE
Lloh16:
	ldr	x25, [x25, _EEPROM_Read@GOTPAGEOFF]
Lloh17:
	adrp	x26, _Wn0EepromCmd@GOTPAGE
Lloh18:
	ldr	x26, [x26, _Wn0EepromCmd@GOTPAGEOFF]
Lloh19:
	adrp	x27, _Wn0EepromData@GOTPAGE
Lloh20:
	ldr	x27, [x27, _Wn0EepromData@GOTPAGEOFF]
	add	x28, sp, #48
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	eor	w23, w22, w23
	add	x24, x24, #1
	cmp	x24, #24
	b.eq	LBB0_16
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w20, [x19, #16]
	ldr	x8, [x25]
	add	x0, x24, x8
	ldr	w8, [x26]
	add	w1, w8, w21
	bl	_outw
	mov	w0, #162
	bl	_udelay
	ldr	w8, [x26]
	add	w0, w8, w21
	bl	_inw
	tbz	w0, #9, LBB0_14
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	w0, #162
	bl	_udelay
	ldr	w8, [x26]
	add	w0, w8, w21
	bl	_inw
	tbz	w0, #9, LBB0_14
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	w0, #162
	bl	_udelay
	ldr	w8, [x26]
	add	w0, w8, w21
	bl	_inw
	tbz	w0, #9, LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	w0, #162
	bl	_udelay
	ldr	w8, [x26]
	add	w0, w8, w21
	bl	_inw
	tbz	w0, #9, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	w0, #162
	bl	_udelay
	ldr	w8, [x26]
	add	w0, w8, w21
	bl	_inw
LBB0_14:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	w8, [x27]
	add	w0, w8, w21
	bl	_inw
	mov	x22, x0
	str	w0, [x28, x24, lsl #2]
	cmp	x24, #2
	b.hi	LBB0_8
; %bb.15:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x22
	bl	_htons
	str	w0, [x20, x24, lsl #2]
	b	LBB0_8
LBB0_16:
	eor	w8, w23, w23, lsr #8
	ands	w1, w8, #0xff
	b.eq	LBB0_18
; %bb.17:
Lloh21:
	adrp	x0, l_.str.2@PAGE
Lloh22:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_pr_cont
LBB0_18:
	ldr	w1, [x19, #16]
Lloh23:
	adrp	x0, l_.str.3@PAGE
Lloh24:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_pr_cont
	ldr	w23, [sp, #112]
	mov	w8, #4551
	cmp	w23, w8
	ldr	x26, [sp, #40]                  ; 8-byte Folded Reload
	b.ne	LBB0_22
; %bb.19:
	ldr	w0, [x19, #8]
Lloh25:
	adrp	x1, l_.str@PAGE
Lloh26:
	add	x1, x1, l_.str@PAGEOFF
	bl	_request_dma
	ldr	w1, [x19, #8]
	cbz	x0, LBB0_21
; %bb.20:
Lloh27:
	adrp	x0, l_.str.4@PAGE
Lloh28:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_pr_cont
	str	wzr, [x19, #8]
	b	LBB0_22
LBB0_21:
Lloh29:
	adrp	x0, l_.str.5@PAGE
Lloh30:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_pr_cont
LBB0_22:
	ldr	w1, [x19, #4]
Lloh31:
	adrp	x0, l_.str.6@PAGE
Lloh32:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_pr_cont
Lloh33:
	adrp	x20, _corkscrew_debug@GOTPAGE
Lloh34:
	ldr	x20, [x20, _corkscrew_debug@GOTPAGEOFF]
	ldr	w8, [x20]
	cbz	w8, LBB0_25
; %bb.23:
	ldr	w8, [x19, #4]
	sub	w8, w8, #16
	cmn	w8, #16
	b.hi	LBB0_25
; %bb.24:
Lloh35:
	adrp	x0, l_.str.7@PAGE
Lloh36:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_pr_warning
LBB0_25:
	mov	w0, #3
	bl	_EL3WINDOW
Lloh37:
	adrp	x24, _Wn3_Options@GOTPAGE
Lloh38:
	ldr	x24, [x24, _Wn3_Options@GOTPAGEOFF]
	ldr	w8, [x24]
	add	w0, w8, w21
	bl	_inw
	str	w0, [x26, #24]
Lloh39:
	adrp	x8, _Wn3_Config@GOTPAGE
Lloh40:
	ldr	x8, [x8, _Wn3_Config@GOTPAGEOFF]
Lloh41:
	ldr	x8, [x8]
	add	x0, x8, w21, sxtw
	bl	_inl
	mov	x22, x0
	ldr	w8, [x20]
	cmp	w8, #2
	b.lt	LBB0_27
; %bb.26:
	ldr	w8, [x24]
	add	w0, w8, w21
	bl	_inw
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh42:
	adrp	x0, l_.str.12@PAGE
Lloh43:
	add	x0, x0, l_.str.12@PAGEOFF
	mov	x1, x22
	bl	_pr_info
LBB0_27:
	mov	w8, #8
	lsl	w8, w8, w22
Lloh44:
	adrp	x9, _Ram_size@GOTPAGE
Lloh45:
	ldr	x9, [x9, _Ram_size@GOTPAGEOFF]
Lloh46:
	ldr	w9, [x9]
Lloh47:
	adrp	x10, _Ram_width@GOTPAGE
Lloh48:
	ldr	x10, [x10, _Ram_width@GOTPAGEOFF]
	and	w1, w9, w8
Lloh49:
	ldr	w8, [x10]
Lloh50:
	adrp	x9, l_.str.14@PAGE
Lloh51:
	add	x9, x9, l_.str.14@PAGEOFF
Lloh52:
	adrp	x10, l_.str.15@PAGE
Lloh53:
	add	x10, x10, l_.str.15@PAGEOFF
	tst	w8, w22
	csel	x8, x10, x9, eq
Lloh54:
	adrp	x9, _Ram_split@GOTPAGE
Lloh55:
	ldr	x9, [x9, _Ram_split@GOTPAGEOFF]
Lloh56:
	ldr	w9, [x9]
	and	w9, w9, w22
Lloh57:
	adrp	x10, _Ram_split_shift@GOTPAGE
Lloh58:
	ldr	x10, [x10, _Ram_split_shift@GOTPAGEOFF]
Lloh59:
	ldr	w10, [x10]
	asr	w9, w9, w10
Lloh60:
	adrp	x10, l___const.corkscrew_setup.ram_split@PAGE
Lloh61:
	add	x10, x10, l___const.corkscrew_setup.ram_split@PAGEOFF
	ldr	x9, [x10, w9, sxtw #3]
Lloh62:
	adrp	x21, _Autoselect@GOTPAGE
Lloh63:
	ldr	x21, [x21, _Autoselect@GOTPAGEOFF]
Lloh64:
	adrp	x10, l_.str.16@PAGE
Lloh65:
	add	x10, x10, l_.str.16@PAGEOFF
	ldr	w11, [x21]
Lloh66:
	adrp	x12, l_.str.17@PAGE
Lloh67:
	add	x12, x12, l_.str.17@PAGEOFF
	tst	w11, w22
Lloh68:
	adrp	x20, _media_tbl@GOTPAGE
Lloh69:
	ldr	x20, [x20, _media_tbl@GOTPAGEOFF]
	csel	x10, x12, x10, eq
	ldr	x11, [x20]
Lloh70:
	adrp	x24, _Xcvr@GOTPAGE
Lloh71:
	ldr	x24, [x24, _Xcvr@GOTPAGEOFF]
	ldr	w12, [x24]
	and	w12, w12, w22
Lloh72:
	adrp	x25, _Xcvr_shift@GOTPAGE
Lloh73:
	ldr	x25, [x25, _Xcvr_shift@GOTPAGEOFF]
	ldr	w13, [x25]
	asr	w12, w12, w13
	ldr	w11, [x11, w12, sxtw #2]
	stp	x10, x11, [sp, #16]
	stp	x8, x9, [sp]
Lloh74:
	adrp	x0, l_.str.13@PAGE
Lloh75:
	add	x0, x0, l_.str.13@PAGEOFF
	bl	_pr_info
	ldr	w8, [x24]
	and	w8, w8, w22
	ldr	w9, [x25]
	asr	w8, w8, w9
	ldr	w9, [x21]
	tst	w9, w22
	cset	w9, ne
	stp	w8, w9, [x26, #28]
	str	w8, [x19, #20]
	ldrsw	x1, [x26, #12]
	cmp	w1, #7
	b.eq	LBB0_29
; %bb.28:
	ldr	x8, [x20]
	ldr	w8, [x8, x1, lsl #2]
	str	x8, [sp]
Lloh76:
	adrp	x0, l_.str.18@PAGE
Lloh77:
	add	x0, x0, l_.str.18@PAGEOFF
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_pr_info
	ldr	w8, [x26, #12]
	str	w8, [x19, #20]
LBB0_29:
	ubfx	w8, w23, #5, #1
	stp	w23, w8, [x26, #36]
	str	w8, [x26, #44]
Lloh78:
	adrp	x8, _netdev_ops@GOTPAGE
Lloh79:
	ldr	x8, [x8, _netdev_ops@GOTPAGEOFF]
Lloh80:
	adrp	x9, _HZ@GOTPAGE
Lloh81:
	ldr	x9, [x9, _HZ@GOTPAGEOFF]
Lloh82:
	ldr	w9, [x9]
	mov	w10, #400
	mul	w9, w9, w10
	mov	w10, #19923
	movk	w10, #4194, lsl #16
	smull	x9, w9, w10
	lsr	x10, x9, #32
	lsr	x9, x9, #63
	add	w9, w9, w10, asr #6
Lloh83:
	adrp	x10, _netdev_ethtool_ops@GOTPAGE
Lloh84:
	ldr	x10, [x10, _netdev_ethtool_ops@GOTPAGEOFF]
	str	w9, [x19, #24]
	stp	x10, x8, [x19, #32]
	ldur	x8, [x29, #-96]
Lloh85:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh86:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh87:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_31
; %bb.30:
	mov	x0, x19
	ldp	x29, x30, [sp, #400]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #384]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #368]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #352]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #336]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #320]            ; 16-byte Folded Reload
	add	sp, sp, #416
	b	_register_netdev
LBB0_31:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdr	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh74, Lloh75
	.loh AdrpLdrGot	Lloh72, Lloh73
	.loh AdrpLdrGot	Lloh70, Lloh71
	.loh AdrpLdrGot	Lloh68, Lloh69
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpLdrGot	Lloh62, Lloh63
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpAdd	Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpLdrGot	Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGot	Lloh78, Lloh79
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"3c515"

	.comm	_MAX_UNITS,4,2                  ; @MAX_UNITS
	.comm	_options,8,3                    ; @options
l_.str.1:                               ; @.str.1
	.asciz	"%s: 3Com %s at %#3x,"

	.comm	_EEPROM_Read,8,3                ; @EEPROM_Read
	.comm	_Wn0EepromCmd,4,2               ; @Wn0EepromCmd
	.comm	_Wn0EepromData,4,2              ; @Wn0EepromData
l_.str.2:                               ; @.str.2
	.asciz	" ***INVALID CHECKSUM %4.4x*** "

l_.str.3:                               ; @.str.3
	.asciz	" %pM"

l_.str.4:                               ; @.str.4
	.asciz	", DMA %d allocation failed"

l_.str.5:                               ; @.str.5
	.asciz	", DMA %d"

l_.str.6:                               ; @.str.6
	.asciz	", IRQ %d\n"

	.comm	_corkscrew_debug,4,2            ; @corkscrew_debug
l_.str.7:                               ; @.str.7
	.asciz	" *** Warning: this IRQ is unlikely to work! ***\n"

l_.str.8:                               ; @.str.8
	.asciz	"5:3"

l_.str.9:                               ; @.str.9
	.asciz	"3:1"

l_.str.10:                              ; @.str.10
	.asciz	"1:1"

l_.str.11:                              ; @.str.11
	.asciz	"3:5"

	.section	__DATA,__const
	.p2align	3                               ; @__const.corkscrew_setup.ram_split
l___const.corkscrew_setup.ram_split:
	.quad	l_.str.8
	.quad	l_.str.9
	.quad	l_.str.10
	.quad	l_.str.11

	.comm	_Wn3_Options,4,2                ; @Wn3_Options
	.comm	_Wn3_Config,8,3                 ; @Wn3_Config
	.section	__TEXT,__cstring,cstring_literals
l_.str.12:                              ; @.str.12
	.asciz	"  Internal config register is %4.4x, transceivers %#x.\n"

l_.str.13:                              ; @.str.13
	.asciz	"  %dK %s-wide RAM %s Rx:Tx split, %s%s interface.\n"

	.comm	_Ram_size,4,2                   ; @Ram_size
	.comm	_Ram_width,4,2                  ; @Ram_width
l_.str.14:                              ; @.str.14
	.asciz	"word"

l_.str.15:                              ; @.str.15
	.asciz	"byte"

	.comm	_Ram_split,4,2                  ; @Ram_split
	.comm	_Ram_split_shift,4,2            ; @Ram_split_shift
	.comm	_Autoselect,4,2                 ; @Autoselect
l_.str.16:                              ; @.str.16
	.asciz	"autoselect/"

l_.str.17:                              ; @.str.17
	.space	1

	.comm	_media_tbl,8,3                  ; @media_tbl
	.comm	_Xcvr,4,2                       ; @Xcvr
	.comm	_Xcvr_shift,4,2                 ; @Xcvr_shift
l_.str.18:                              ; @.str.18
	.asciz	"  Media override to transceiver type %d (%s).\n"

	.comm	_netdev_ops,4,2                 ; @netdev_ops
	.comm	_HZ,4,2                         ; @HZ
	.comm	_netdev_ethtool_ops,4,2         ; @netdev_ethtool_ops
	.comm	_root_corkscrew_dev,4,2         ; @root_corkscrew_dev
	.no_dead_strip	_corkscrew_setup
.subsections_via_symbols
