	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function corkscrew_start_xmit
_corkscrew_start_xmit:                  ## @corkscrew_start_xmit
	.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	%rsi, %rbx
	movq	%rdi, %r12
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %r14
	movslq	(%rbx), %r15
	movq	%rbx, %rdi
	callq	_netif_stop_queue
	cmpq	$0, 56(%r14)
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_21
## %bb.1:
	movl	(%r14), %ecx
	movq	_TX_RING_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ecx, %eax
	cltd
	idivl	%esi
	cmpl	$0, 4(%r14)
	je	LBB0_3
## %bb.2:
	movq	_NETDEV_TX_BUSY@GOTPCREL(%rip), %rax
	jmp	LBB0_40
LBB0_21:
	movl	(%r12), %edi
	movq	_TX_FIFO@GOTPCREL(%rip), %r14
	movq	(%r14), %rsi
	addq	%r15, %rsi
	callq	_outl
	movl	(%r12), %edx
	addl	%edx, 4(%rbx)
	movq	(%r14), %rdi
	addq	%r15, %rdi
	movq	8(%r12), %rsi
	addl	$3, %edx
	sarl	$2, %edx
	callq	_outsl
	movq	%r12, %rdi
	callq	_dev_kfree_skb
	movq	_TxFree@GOTPCREL(%rip), %rax
	movq	%r15, %rdi
	addq	(%rax), %rdi
	callq	_inw
	cmpl	$1537, %eax                     ## imm = 0x601
	jl	LBB0_23
## %bb.22:
	movq	%rbx, %rdi
	callq	_netif_wake_queue
	jmp	LBB0_24
LBB0_3:
	movl	%edx, %r13d
	testl	%ecx, %ecx
	je	LBB0_4
## %bb.5:
	leal	-1(%rcx), %eax
	cltd
	idivl	%esi
	movslq	%edx, %rax
	shlq	$4, %rax
	addq	40(%r14), %rax
	jmp	LBB0_6
LBB0_23:
	movq	_SetTxThreshold@GOTPCREL(%rip), %rax
	movl	$384, %edi                      ## imm = 0x180
	addl	(%rax), %edi
	movq	_EL3_CMD@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	%r15, %rsi
	callq	_outw
LBB0_24:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%rbx)
	movl	$3, %r13d
	movq	_TxStatus@GOTPCREL(%rip), %rbx
	movq	_EL3_STATUS@GOTPCREL(%rip), %r12
	movq	_CmdInProgress@GOTPCREL(%rip), %r14
	jmp	LBB0_25
	.p2align	4, 0x90
LBB0_37:                                ##   in Loop: Header=BB0_25 Depth=1
	movq	_TxEnable@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EL3_CMD@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	%r15, %rsi
	callq	_outw
LBB0_38:                                ##   in Loop: Header=BB0_25 Depth=1
	movq	_TxStatus@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	addq	%r15, %rsi
	xorl	%edi, %edi
	callq	_outb
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	leal	-1(%rcx), %eax
	cmpl	$1, %ecx
	movl	%eax, %r13d
	jbe	LBB0_39
LBB0_25:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_35 Depth 2
	movq	(%rbx), %rdi
	addq	%r15, %rdi
	callq	_inb
	testw	%ax, %ax
	jle	LBB0_39
## %bb.26:                              ##   in Loop: Header=BB0_25 Depth=1
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movzwl	%ax, %r13d
	testb	$60, %r13b
	je	LBB0_38
## %bb.27:                              ##   in Loop: Header=BB0_25 Depth=1
	movq	_corkscrew_debug@GOTPCREL(%rip), %rcx
	cmpl	$3, (%rcx)
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	jge	LBB0_28
## %bb.29:                              ##   in Loop: Header=BB0_25 Depth=1
	testb	$4, %r13b
	jne	LBB0_30
LBB0_31:                                ##   in Loop: Header=BB0_25 Depth=1
	testb	$56, %r13b
	je	LBB0_33
LBB0_32:                                ##   in Loop: Header=BB0_25 Depth=1
	incl	8(%rbx)
LBB0_33:                                ##   in Loop: Header=BB0_25 Depth=1
	testb	$48, %r13b
	je	LBB0_37
## %bb.34:                              ##   in Loop: Header=BB0_25 Depth=1
	movq	_TxReset@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EL3_CMD@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	%r15, %rsi
	callq	_outw
	movl	$-20, %ebx
	.p2align	4, 0x90
LBB0_35:                                ##   Parent Loop BB0_25 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r12), %rdi
	addq	%r15, %rdi
	callq	_inw
	testl	%eax, (%r14)
	je	LBB0_37
## %bb.36:                              ##   in Loop: Header=BB0_35 Depth=2
	leal	1(%rbx), %eax
	testl	%ebx, %ebx
	movl	%eax, %ebx
	jne	LBB0_35
	jmp	LBB0_37
	.p2align	4, 0x90
LBB0_28:                                ##   in Loop: Header=BB0_25 Depth=1
	movl	16(%rbx), %esi
	movswl	%ax, %edx
	leaq	L_.str.1(%rip), %rdi
	callq	_pr_debug
	testb	$4, %r13b
	je	LBB0_31
LBB0_30:                                ##   in Loop: Header=BB0_25 Depth=1
	incl	12(%rbx)
	testb	$56, %r13b
	jne	LBB0_32
	jmp	LBB0_33
LBB0_4:
	xorl	%eax, %eax
LBB0_6:
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	_corkscrew_debug@GOTPCREL(%rip), %rax
	cmpl	$4, (%rax)
	jl	LBB0_8
## %bb.7:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	16(%rax), %esi
	movswl	%cx, %edx
	leaq	L_.str(%rip), %rdi
	callq	_pr_debug
LBB0_8:
	movq	48(%r14), %rax
	movslq	%r13d, %rbx
	movq	%r12, (%rax,%rbx,8)
	movq	40(%r14), %rax
	shlq	$4, %rbx
	movl	$0, (%rax,%rbx)
	movq	8(%r12), %rdi
	callq	_isa_virt_to_bus
	movq	40(%r14), %rcx
	movl	%eax, 4(%rcx,%rbx)
	movl	$-2147483648, %eax              ## imm = 0x80000000
	orl	(%r12), %eax
	movl	%eax, 8(%rcx,%rbx)
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movl	%eax, 12(%rcx,%rbx)
	movq	%r14, %rbx
	addq	$32, %r14
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	_DownStall@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EL3_CMD@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	%r15, %rsi
	callq	_outw
	movl	$-20, %r12d
	movq	_EL3_STATUS@GOTPCREL(%rip), %r14
	movq	_CmdInProgress@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rdi
	addq	%r15, %rdi
	callq	_inw
	testl	%eax, (%r13)
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	leal	1(%r12), %eax
	testl	%r12d, %r12d
	movl	%eax, %r12d
	jne	LBB0_9
LBB0_11:
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	testq	%r12, %r12
	je	LBB0_13
## %bb.12:
	movq	40(%rbx), %rdi
	addq	-64(%rbp), %rdi                 ## 8-byte Folded Reload
	callq	_isa_virt_to_bus
	movl	%eax, (%r12)
LBB0_13:
	movq	_DownListPtr@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	addq	%r15, %rdi
	callq	_inl
	testq	%rax, %rax
	jne	LBB0_15
## %bb.14:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	addq	40(%rbx), %rdi
	callq	_isa_virt_to_bus
	movq	(%r14), %rsi
	addq	%r15, %rsi
	movl	%eax, %edi
	callq	_outl
	movq	_queued_packet@GOTPCREL(%rip), %rax
	incl	(%rax)
LBB0_15:
	movq	_DownUnstall@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EL3_CMD@GOTPCREL(%rip), %rax
	addq	(%rax), %r15
	movq	%r15, %rsi
	callq	_outw
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_unlock_irqrestore
	movl	(%rbx), %eax
	incl	%eax
	movl	%eax, (%rbx)
	subl	8(%rbx), %eax
	movq	_TX_RING_SIZE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jge	LBB0_16
## %bb.17:
	testq	%r12, %r12
	je	LBB0_19
## %bb.18:
	andb	$127, 15(%r12)
LBB0_19:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_netif_wake_queue
	jmp	LBB0_20
LBB0_16:
	movl	$1, 4(%rbx)
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
LBB0_20:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%rbx)
LBB0_39:
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rax
LBB0_40:
	movl	(%rax), %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TX_RING_SIZE,4,2               ## @TX_RING_SIZE
	.comm	_NETDEV_TX_BUSY,4,2             ## @NETDEV_TX_BUSY
	.comm	_corkscrew_debug,4,2            ## @corkscrew_debug
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: Trying to send a packet, Tx index %d.\n"

	.comm	_DownStall,4,2                  ## @DownStall
	.comm	_EL3_CMD,8,3                    ## @EL3_CMD
	.comm	_EL3_STATUS,8,3                 ## @EL3_STATUS
	.comm	_CmdInProgress,4,2              ## @CmdInProgress
	.comm	_DownListPtr,8,3                ## @DownListPtr
	.comm	_queued_packet,4,2              ## @queued_packet
	.comm	_DownUnstall,4,2                ## @DownUnstall
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_NETDEV_TX_OK,4,2               ## @NETDEV_TX_OK
	.comm	_TX_FIFO,8,3                    ## @TX_FIFO
	.comm	_TxFree,8,3                     ## @TxFree
	.comm	_SetTxThreshold,4,2             ## @SetTxThreshold
	.comm	_TxStatus,8,3                   ## @TxStatus
L_.str.1:                               ## @.str.1
	.asciz	"%s: Tx error, status %2.2x.\n"

	.comm	_TxReset,4,2                    ## @TxReset
	.comm	_TxEnable,4,2                   ## @TxEnable
	.comm	_StartDMADown,4,2               ## @StartDMADown
	.comm	_Wn7_MasterAddr,8,3             ## @Wn7_MasterAddr
	.comm	_Wn7_MasterLen,8,3              ## @Wn7_MasterLen
	.no_dead_strip	_corkscrew_start_xmit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function corkscrew_start_xmit
_corkscrew_start_xmit:                  ; @corkscrew_start_xmit
	.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	x19, x1
	mov	x21, x0
	mov	x0, x1
	bl	_netdev_priv
	mov	x20, x0
	ldrsw	x22, [x19]
	mov	x0, x19
	bl	_netif_stop_queue
	ldr	x8, [x20, #56]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	w8, [x20, #4]
	cbz	w8, LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, _NETDEV_TX_BUSY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NETDEV_TX_BUSY@GOTPAGEOFF]
	b	LBB0_38
LBB0_3:
	ldr	w0, [x21]
Lloh2:
	adrp	x20, _TX_FIFO@GOTPAGE
Lloh3:
	ldr	x20, [x20, _TX_FIFO@GOTPAGEOFF]
	ldr	x8, [x20]
	add	x1, x8, x22
	bl	_outl
	ldr	w8, [x21]
	ldr	w9, [x19, #4]
	add	w9, w9, w8
	str	w9, [x19, #4]
	ldr	x9, [x20]
	add	x0, x9, x22
	ldr	x1, [x21, #8]
	add	w8, w8, #3
	asr	w2, w8, #2
	bl	_outsl
	mov	x0, x21
	bl	_dev_kfree_skb
Lloh4:
	adrp	x8, _TxFree@GOTPAGE
Lloh5:
	ldr	x8, [x8, _TxFree@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	add	x0, x8, x22
	bl	_inw
	cmp	w0, #1537
	b.lt	LBB0_7
; %bb.4:
	mov	x0, x19
	bl	_netif_wake_queue
	b	LBB0_8
LBB0_5:
	ldr	w8, [x20]
Lloh7:
	adrp	x9, _TX_RING_SIZE@GOTPAGE
Lloh8:
	ldr	x9, [x9, _TX_RING_SIZE@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	sdiv	w10, w8, w9
	msub	w26, w10, w9, w8
	cbz	w8, LBB0_22
; %bb.6:
	ldr	x10, [x20, #40]
	sub	w11, w8, #1
	sdiv	w12, w11, w9
	msub	w9, w12, w9, w11
	add	x24, x10, w9, sxtw #4
	b	LBB0_23
LBB0_7:
Lloh10:
	adrp	x8, _SetTxThreshold@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SetTxThreshold@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	add	w0, w8, #384
Lloh13:
	adrp	x8, _EL3_CMD@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EL3_CMD@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	add	x1, x8, x22
	bl	_outw
LBB0_8:
Lloh16:
	adrp	x8, _jiffies@GOTPAGE
Lloh17:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	str	x8, [x19, #24]
	mov	w23, #3
Lloh19:
	adrp	x24, _TxStatus@GOTPAGE
Lloh20:
	ldr	x24, [x24, _TxStatus@GOTPAGEOFF]
Lloh21:
	adrp	x25, _corkscrew_debug@GOTPAGE
Lloh22:
	ldr	x25, [x25, _corkscrew_debug@GOTPAGEOFF]
Lloh23:
	adrp	x26, _TxEnable@GOTPAGE
Lloh24:
	ldr	x26, [x26, _TxEnable@GOTPAGEOFF]
Lloh25:
	adrp	x27, _EL3_CMD@GOTPAGE
Lloh26:
	ldr	x27, [x27, _EL3_CMD@GOTPAGEOFF]
Lloh27:
	adrp	x20, _EL3_STATUS@GOTPAGE
Lloh28:
	ldr	x20, [x20, _EL3_STATUS@GOTPAGEOFF]
Lloh29:
	adrp	x28, _CmdInProgress@GOTPAGE
Lloh30:
	ldr	x28, [x28, _CmdInProgress@GOTPAGEOFF]
	b	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=1
	ldr	w0, [x26]
	ldr	x8, [x27]
	add	x1, x8, x22
	bl	_outw
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	ldr	x8, [x24]
	add	x1, x8, x22
	mov	w0, #0
	bl	_outb
	subs	w23, w23, #1
	b.ls	LBB0_37
LBB0_11:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_19 Depth 2
	ldr	x8, [x24]
	add	x0, x8, x22
	bl	_inb
	cmp	w0, #1
	b.lt	LBB0_37
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	and	w21, w0, #0xffff
	tst	w21, #0x3c
	b.eq	LBB0_10
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	w8, [x25]
	cmp	w8, #3
	b.ge	LBB0_20
; %bb.14:                               ;   in Loop: Header=BB0_11 Depth=1
	tbnz	w21, #2, LBB0_21
LBB0_15:                                ;   in Loop: Header=BB0_11 Depth=1
	tst	w21, #0x38
	b.eq	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_11 Depth=1
	ldr	w8, [x19, #8]
	add	w8, w8, #1
	str	w8, [x19, #8]
LBB0_17:                                ;   in Loop: Header=BB0_11 Depth=1
	tst	w21, #0x30
	b.eq	LBB0_9
; %bb.18:                               ;   in Loop: Header=BB0_11 Depth=1
Lloh31:
	adrp	x8, _TxReset@GOTPAGE
Lloh32:
	ldr	x8, [x8, _TxReset@GOTPAGEOFF]
Lloh33:
	ldr	w0, [x8]
	ldr	x8, [x27]
	add	x1, x8, x22
	bl	_outw
	mov	w21, #-20
LBB0_19:                                ;   Parent Loop BB0_11 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x20]
	add	x0, x8, x22
	bl	_inw
	ldr	w8, [x28]
	and	w8, w8, w0
	cmp	w8, #0
	ccmp	w21, #0, #4, ne
	add	w21, w21, #1
	b.ne	LBB0_19
	b	LBB0_9
LBB0_20:                                ;   in Loop: Header=BB0_11 Depth=1
	ldr	w1, [x19, #16]
	sxth	w2, w21
Lloh34:
	adrp	x0, l_.str.1@PAGE
Lloh35:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_debug
	tbz	w21, #2, LBB0_15
LBB0_21:                                ;   in Loop: Header=BB0_11 Depth=1
	ldr	w8, [x19, #12]
	add	w8, w8, #1
	str	w8, [x19, #12]
	tst	w21, #0x38
	b.ne	LBB0_16
	b	LBB0_17
LBB0_22:
	mov	x24, #0
LBB0_23:
Lloh36:
	adrp	x9, _corkscrew_debug@GOTPAGE
Lloh37:
	ldr	x9, [x9, _corkscrew_debug@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
	cmp	w9, #4
	b.lt	LBB0_25
; %bb.24:
	ldr	w1, [x19, #16]
	sxth	w2, w8
Lloh39:
	adrp	x0, l_.str@PAGE
Lloh40:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_debug
LBB0_25:
	ldr	x8, [x20, #48]
	str	x21, [x8, w26, sxtw #3]
	sxtw	x25, w26
	ldr	x8, [x20, #40]
	sbfiz	x23, x26, #4, #32
	str	wzr, [x8, x23]
	ldr	x0, [x21, #8]
	bl	_isa_virt_to_bus
	ldr	x8, [x20, #40]
	add	x8, x8, x23
	ldr	w9, [x21]
	orr	w9, w9, #0x80000000
	stp	w0, w9, [x8, #4]
	str	w9, [x8, #12]
	add	x21, x20, #32
	mov	x0, x21
	bl	_spin_lock_irqsave
Lloh41:
	adrp	x8, _DownStall@GOTPAGE
Lloh42:
	ldr	x8, [x8, _DownStall@GOTPAGEOFF]
Lloh43:
	ldr	w0, [x8]
Lloh44:
	adrp	x26, _EL3_CMD@GOTPAGE
Lloh45:
	ldr	x26, [x26, _EL3_CMD@GOTPAGEOFF]
	ldr	x8, [x26]
	add	x1, x8, x22
	bl	_outw
	mov	w27, #-20
Lloh46:
	adrp	x28, _EL3_STATUS@GOTPAGE
Lloh47:
	ldr	x28, [x28, _EL3_STATUS@GOTPAGEOFF]
Lloh48:
	adrp	x23, _CmdInProgress@GOTPAGE
Lloh49:
	ldr	x23, [x23, _CmdInProgress@GOTPAGEOFF]
LBB0_26:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x28]
	add	x0, x8, x22
	bl	_inw
	ldr	w8, [x23]
	and	w8, w8, w0
	cmp	w8, #0
	ccmp	w27, #0, #4, ne
	add	w27, w27, #1
	b.ne	LBB0_26
; %bb.27:
	cbz	x24, LBB0_29
; %bb.28:
	ldr	x8, [x20, #40]
	add	x0, x8, x25, lsl #4
	bl	_isa_virt_to_bus
	str	w0, [x24]
LBB0_29:
Lloh50:
	adrp	x23, _DownListPtr@GOTPAGE
Lloh51:
	ldr	x23, [x23, _DownListPtr@GOTPAGEOFF]
	ldr	x8, [x23]
	add	x0, x8, x22
	bl	_inl
	cbnz	x0, LBB0_31
; %bb.30:
	ldr	x8, [x20, #40]
	add	x0, x8, x25, lsl #4
	bl	_isa_virt_to_bus
	ldr	x8, [x23]
	add	x1, x8, x22
	bl	_outl
Lloh52:
	adrp	x8, _queued_packet@GOTPAGE
Lloh53:
	ldr	x8, [x8, _queued_packet@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
LBB0_31:
Lloh54:
	adrp	x8, _DownUnstall@GOTPAGE
Lloh55:
	ldr	x8, [x8, _DownUnstall@GOTPAGEOFF]
Lloh56:
	ldr	w0, [x8]
	ldr	x8, [x26]
	add	x1, x8, x22
	bl	_outw
	mov	x0, x21
	bl	_spin_unlock_irqrestore
	ldr	w8, [x20]
	add	w8, w8, #1
	str	w8, [x20]
	ldr	w9, [x20, #8]
Lloh57:
	adrp	x10, _TX_RING_SIZE@GOTPAGE
Lloh58:
	ldr	x10, [x10, _TX_RING_SIZE@GOTPAGEOFF]
Lloh59:
	ldr	w10, [x10]
	sub	w8, w8, w9
	cmp	w8, w10
	b.ge	LBB0_35
; %bb.32:
	cbz	x24, LBB0_34
; %bb.33:
	ldr	w8, [x24, #12]
	and	w8, w8, #0x7fffffff
	str	w8, [x24, #12]
LBB0_34:
	mov	x0, x19
	bl	_netif_wake_queue
	b	LBB0_36
LBB0_35:
	mov	w8, #1
	str	w8, [x20, #4]
LBB0_36:
Lloh60:
	adrp	x8, _jiffies@GOTPAGE
Lloh61:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh62:
	ldr	x8, [x8]
	str	x8, [x19, #24]
LBB0_37:
Lloh63:
	adrp	x8, _NETDEV_TX_OK@GOTPAGE
Lloh64:
	ldr	x8, [x8, _NETDEV_TX_OK@GOTPAGEOFF]
LBB0_38:
	ldr	w0, [x8]
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGot	Lloh63, Lloh64
	.cfi_endproc
                                        ; -- End function
	.comm	_TX_RING_SIZE,4,2               ; @TX_RING_SIZE
	.comm	_NETDEV_TX_BUSY,4,2             ; @NETDEV_TX_BUSY
	.comm	_corkscrew_debug,4,2            ; @corkscrew_debug
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: Trying to send a packet, Tx index %d.\n"

	.comm	_DownStall,4,2                  ; @DownStall
	.comm	_EL3_CMD,8,3                    ; @EL3_CMD
	.comm	_EL3_STATUS,8,3                 ; @EL3_STATUS
	.comm	_CmdInProgress,4,2              ; @CmdInProgress
	.comm	_DownListPtr,8,3                ; @DownListPtr
	.comm	_queued_packet,4,2              ; @queued_packet
	.comm	_DownUnstall,4,2                ; @DownUnstall
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_NETDEV_TX_OK,4,2               ; @NETDEV_TX_OK
	.comm	_TX_FIFO,8,3                    ; @TX_FIFO
	.comm	_TxFree,8,3                     ; @TxFree
	.comm	_SetTxThreshold,4,2             ; @SetTxThreshold
	.comm	_TxStatus,8,3                   ; @TxStatus
l_.str.1:                               ; @.str.1
	.asciz	"%s: Tx error, status %2.2x.\n"

	.comm	_TxReset,4,2                    ; @TxReset
	.comm	_TxEnable,4,2                   ; @TxEnable
	.comm	_StartDMADown,4,2               ; @StartDMADown
	.comm	_Wn7_MasterAddr,8,3             ; @Wn7_MasterAddr
	.comm	_Wn7_MasterLen,8,3              ; @Wn7_MasterLen
	.no_dead_strip	_corkscrew_start_xmit
.subsections_via_symbols
