	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function netxen_nic_xmit_frame
_netxen_nic_xmit_frame:                 ## @netxen_nic_xmit_frame
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	24(%rax), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	(%rax), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	%r14, %rdi
	callq	_skb_shinfo
	movslq	(%rax), %rbx
	leaq	1(%rbx), %r13
	movq	%r14, %rdi
	callq	_skb_is_gso
	testl	%eax, %eax
	jne	LBB0_6
## %bb.1:
	movq	_NETXEN_MAX_FRAGS_PER_TX@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ebx
	jl	LBB0_6
## %bb.2:
	movq	%r12, -96(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, %r15
	xorl	%r14d, %r14d
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movq	%rdx, %r13
	callq	_skb_shinfo
	movq	8(%rax), %rdi
	addq	%rbx, %rdi
	callq	_skb_frag_size
	movq	%r13, %rdx
	addl	%eax, %r12d
	incq	%r14
	movslq	(%r13), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	subq	%rax, %rcx
	addq	$4, %rbx
	cmpq	%rcx, %r14
	jl	LBB0_3
## %bb.4:
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	___pskb_pull_tail
	testl	%eax, %eax
	movq	%r15, %r14
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_23
## %bb.5:
	movq	%r14, %rdi
	callq	_skb_shinfo
	movl	(%rax), %r13d
	incl	%r13d
LBB0_6:
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_netxen_tx_avail
	movq	_TX_STOP_THRESH@GOTPCREL(%rip), %r15
	xorl	%edi, %edi
	cmpq	(%r15), %rax
	setle	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_10
## %bb.7:
	movq	%r12, %rdi
	callq	_netif_stop_queue
	xorl	%eax, %eax
	callq	_smp_mb
	movq	%rbx, %rdi
	callq	_netxen_tx_avail
	cmpq	(%r15), %rax
	jle	LBB0_8
## %bb.9:
	movq	%r12, %rdi
	callq	_netif_start_queue
LBB0_10:
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movq	8(%rbx), %r13
	movq	16(%rbx), %rax
	leaq	(,%r13,2), %r15
	addq	%r13, %r15
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	leaq	(%rax,%r15,8), %rbx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax), %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_netxen_map_tx_skb
	testq	%rax, %rax
	je	LBB0_11
LBB0_23:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	incl	(%rax)
	movq	%r14, %rdi
	callq	_dev_kfree_skb_any
	jmp	LBB0_24
LBB0_8:
	movq	_NETDEV_TX_BUSY@GOTPCREL(%rip), %rax
	jmp	LBB0_25
LBB0_11:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%r14, 16(%rax,%r15,8)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, (%rbx)
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	leaq	(,%r13,4), %rbx
	addq	%r13, %rbx
	movq	%rax, %r13
	shlq	$3, %rbx
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	addq	24(%rax), %rbx
	movq	%rbx, %rdi
	callq	_netxen_clear_cmddesc
	movq	(%r14), %rdx
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_netxen_set_tx_frags_len
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	12(%rax), %esi
	movq	%rbx, %rdi
	callq	_netxen_set_tx_port
	testl	%r13d, %r13d
	movq	%r14, -112(%rbp)                ## 8-byte Spill
	movq	%r12, -96(%rbp)                 ## 8-byte Spill
	jle	LBB0_12
## %bb.13:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r15,8), %rax
	addq	$8, %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	%r13d, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	movq	%rbx, %r12
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_14
LBB0_20:                                ##   in Loop: Header=BB0_14 Depth=1
	movl	(%r13,%r15,8), %edi
	callq	_cpu_to_le64
	movq	%rax, (%r12)
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	incq	%r15
	cmpq	%r15, -56(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_22
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movl	%r15d, %ebx
	andl	$3, %ebx
	testq	%r15, %r15
	je	LBB0_26
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	testl	%ebx, %ebx
	jne	LBB0_26
## %bb.16:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	%r14, %rdi
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	callq	_get_next_index
	movq	%rax, %r14
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	24(%rbx), %rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	leaq	(%r14,%r14,4), %rcx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	leaq	(%rax,%rcx,8), %r12
	movq	%r12, %rdi
	callq	_netxen_clear_cmddesc
	movq	16(%rbx), %rax
	leaq	(%r14,%r14,2), %rcx
	movq	$0, 16(%rax,%rcx,8)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %r13
	movl	4(%r13,%r15,8), %edi
	callq	_cpu_to_le16
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	-120(%rbp), %rdx                ## 8-byte Reload
	movq	32(%rdx,%rcx,8), %rcx
	movl	%eax, (%rcx)
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %r13
	movl	4(%r13,%r15,8), %edi
	callq	_cpu_to_le16
	movq	32(%r12), %rcx
	movl	%ebx, %edx
	movl	%eax, (%rcx,%rdx,4)
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rdx,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_14 Depth=1
	movl	(%r13,%r15,8), %edi
	callq	_cpu_to_le64
	movq	%rax, 24(%r12)
	jmp	LBB0_21
LBB0_18:                                ##   in Loop: Header=BB0_14 Depth=1
	movl	(%r13,%r15,8), %edi
	callq	_cpu_to_le64
	movq	%rax, 16(%r12)
	jmp	LBB0_21
LBB0_19:                                ##   in Loop: Header=BB0_14 Depth=1
	movl	(%r13,%r15,8), %edi
	callq	_cpu_to_le64
	movq	%rax, 8(%r12)
	jmp	LBB0_21
LBB0_12:
	movq	-72(%rbp), %r14                 ## 8-byte Reload
LBB0_22:
	movq	%r14, %rdi
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	callq	_get_next_index
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	movq	%rax, 8(%r14)
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	movq	%rbx, %rdx
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rcx
	callq	_netxen_tso_check
	movl	(%rbx), %eax
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	addl	%eax, 8(%rdi)
	incl	4(%rdi)
	movq	%r14, %rsi
	callq	_netxen_nic_update_cmd_producer
LBB0_24:
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rax
LBB0_25:
	movl	(%rax), %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
LJTI0_0:
	.long	L0_0_set_17
	.long	L0_0_set_18
	.long	L0_0_set_19
	.long	L0_0_set_20
	.end_data_region
                                        ## -- End function
	.comm	_NETXEN_MAX_FRAGS_PER_TX,4,2    ## @NETXEN_MAX_FRAGS_PER_TX
	.comm	_TX_STOP_THRESH,8,3             ## @TX_STOP_THRESH
	.comm	_NETDEV_TX_BUSY,4,2             ## @NETDEV_TX_BUSY
	.comm	_NETDEV_TX_OK,4,2               ## @NETDEV_TX_OK
	.no_dead_strip	_netxen_nic_xmit_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function netxen_nic_xmit_frame
_netxen_nic_xmit_frame:                 ; @netxen_nic_xmit_frame
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x28, x1
	mov	x20, x0
	mov	x0, x1
	bl	_netdev_priv
	mov	x27, x0
	ldr	x21, [x0, #24]
	ldr	x8, [x21]
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
	mov	x0, x20
	bl	_skb_shinfo
	ldrsw	x19, [x0]
	add	x26, x19, #1
	mov	x0, x20
	bl	_skb_is_gso
	cbnz	w0, LBB0_6
; %bb.1:
Lloh0:
	adrp	x22, _NETXEN_MAX_FRAGS_PER_TX@GOTPAGE
Lloh1:
	ldr	x22, [x22, _NETXEN_MAX_FRAGS_PER_TX@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w19, w8
	b.lt	LBB0_6
; %bb.2:
	mov	x23, #0
	mov	x25, #0
	mov	w24, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_skb_shinfo
	ldr	x8, [x0, #8]
	add	x0, x8, x23
	bl	_skb_frag_size
	add	w24, w24, w0
	add	x25, x25, #1
	ldrsw	x8, [x22]
	add	x23, x23, #4
	sub	x8, x26, x8
	cmp	x25, x8
	b.lt	LBB0_3
; %bb.4:
	mov	x0, x20
	mov	x1, x24
	bl	___pskb_pull_tail
	cbz	w0, LBB0_10
; %bb.5:
	mov	x0, x20
	bl	_skb_shinfo
	ldr	w8, [x0]
	add	w26, w8, #1
LBB0_6:
	mov	x0, x21
	bl	_netxen_tx_avail
Lloh2:
	adrp	x22, _TX_STOP_THRESH@GOTPAGE
Lloh3:
	ldr	x22, [x22, _TX_STOP_THRESH@GOTPAGEOFF]
	ldr	x8, [x22]
	cmp	x0, x8
	cset	w0, le
	bl	_unlikely
	cbz	x0, LBB0_9
; %bb.7:
	mov	x0, x28
	bl	_netif_stop_queue
	bl	_smp_mb
	mov	x0, x21
	bl	_netxen_tx_avail
	ldr	x8, [x22]
	cmp	x0, x8
	b.le	LBB0_11
; %bb.8:
	mov	x0, x28
	bl	_netif_start_queue
LBB0_9:
	ldp	x24, x22, [x21, #8]
	mov	w8, #24
	madd	x25, x24, x8, x22
	ldr	x0, [x27, #16]
	mov	x1, x20
	mov	x2, x25
	bl	_netxen_map_tx_skb
	cbz	x0, LBB0_12
LBB0_10:
	ldr	w8, [x27]
	add	w8, w8, #1
	str	w8, [x27]
	mov	x0, x20
	bl	_dev_kfree_skb_any
	b	LBB0_24
LBB0_11:
Lloh4:
	adrp	x8, _NETDEV_TX_BUSY@GOTPAGE
Lloh5:
	ldr	x8, [x8, _NETDEV_TX_BUSY@GOTPAGEOFF]
	b	LBB0_25
LBB0_12:
	mov	w8, #24
	madd	x8, x24, x8, x22
	str	x20, [x8, #16]
	str	w26, [x25]
	ldr	x8, [x21, #24]
	mov	w9, #40
	madd	x19, x24, x9, x8
	mov	x0, x19
	bl	_netxen_clear_cmddesc
	ldr	x2, [x20]
	mov	x0, x19
	mov	x1, x26
	bl	_netxen_set_tx_frags_len
	ldr	w1, [x27, #12]
	mov	x0, x19
	bl	_netxen_set_tx_port
	cmp	w26, #1
	stp	x28, x27, [sp, #8]              ; 16-byte Folded Spill
	str	x19, [sp]                       ; 8-byte Folded Spill
	b.lt	LBB0_23
; %bb.13:
	mov	w27, #0
	mov	x28, #0
	mov	w8, #24
	madd	x8, x24, x8, x22
	add	x25, x8, #8
	mov	w8, w26
	lsl	x22, x8, #3
	mov	x26, x19
	b	LBB0_16
LBB0_14:                                ;   in Loop: Header=BB0_16 Depth=1
	ldr	w0, [x23, x28]
	bl	_cpu_to_le64
	str	x0, [x26]
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=1
	add	x28, x28, #8
	add	w27, w27, #1
	cmp	x22, x28
	b.eq	LBB0_23
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	and	w19, w27, #0x3
	cbz	x28, LBB0_19
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	cbnz	w19, LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	x0, x24
	ldr	x1, [sp, #24]                   ; 8-byte Folded Reload
	bl	_get_next_index
	mov	x24, x0
	ldr	x8, [x21, #24]
	mov	w9, #40
	madd	x26, x0, x9, x8
	mov	x0, x26
	bl	_netxen_clear_cmddesc
	ldr	x8, [x21, #16]
	mov	w9, #24
	madd	x8, x24, x9, x8
	str	xzr, [x8, #16]
	ldr	x23, [x25]
	add	x8, x23, x28
	ldr	w0, [x8, #4]
	bl	_cpu_to_le16
	ldr	x8, [x26, #32]
	str	w0, [x8]
	b	LBB0_20
LBB0_19:                                ;   in Loop: Header=BB0_16 Depth=1
	ldr	x23, [x25]
	add	x8, x23, x28
	ldr	w0, [x8, #4]
	bl	_cpu_to_le16
	ldr	x8, [x26, #32]
	str	w0, [x8, w19, uxtw #2]
Lloh6:
	adrp	x10, lJTI0_0@PAGE
Lloh7:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x8, LBB0_14
	ldrb	w9, [x10, x19]
	add	x8, x8, x9, lsl #2
	br	x8
LBB0_20:                                ;   in Loop: Header=BB0_16 Depth=1
	ldr	w0, [x23, x28]
	bl	_cpu_to_le64
	str	x0, [x26, #24]
	b	LBB0_15
LBB0_21:                                ;   in Loop: Header=BB0_16 Depth=1
	ldr	w0, [x23, x28]
	bl	_cpu_to_le64
	str	x0, [x26, #8]
	b	LBB0_15
LBB0_22:                                ;   in Loop: Header=BB0_16 Depth=1
	ldr	w0, [x23, x28]
	bl	_cpu_to_le64
	str	x0, [x26, #16]
	b	LBB0_15
LBB0_23:
	mov	x0, x24
	ldr	x1, [sp, #24]                   ; 8-byte Folded Reload
	bl	_get_next_index
	str	x0, [x21, #8]
	ldp	x2, x0, [sp]                    ; 16-byte Folded Reload
	mov	x1, x21
	mov	x3, x20
	bl	_netxen_tso_check
	ldr	w8, [x20]
	ldr	x0, [sp, #16]                   ; 8-byte Folded Reload
	ldp	w10, w9, [x0, #4]
	add	w8, w9, w8
	add	w9, w10, #1
	stp	w9, w8, [x0, #4]
	mov	x1, x21
	bl	_netxen_nic_update_cmd_producer
LBB0_24:
Lloh8:
	adrp	x8, _NETDEV_TX_OK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NETDEV_TX_OK@GOTPAGEOFF]
LBB0_25:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_20-LBB0_14)>>2
	.byte	(LBB0_22-LBB0_14)>>2
	.byte	(LBB0_21-LBB0_14)>>2
	.byte	(LBB0_14-LBB0_14)>>2
                                        ; -- End function
	.comm	_NETXEN_MAX_FRAGS_PER_TX,4,2    ; @NETXEN_MAX_FRAGS_PER_TX
	.comm	_TX_STOP_THRESH,8,3             ; @TX_STOP_THRESH
	.comm	_NETDEV_TX_BUSY,4,2             ; @NETDEV_TX_BUSY
	.comm	_NETDEV_TX_OK,4,2               ; @NETDEV_TX_OK
	.no_dead_strip	_netxen_nic_xmit_frame
.subsections_via_symbols
