	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_tx_split
_bnx2x_tx_split:                        ## @bnx2x_tx_split
	.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	%r9, %rbx
	movq	%r8, %r12
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r14
	movq	(%rcx), %r13
	movq	16(%r13), %rdi
	callq	_le16_to_cpu
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r12, %rdi
	callq	_cpu_to_le16
	movq	%rax, 16(%r13)
	movq	_NETIF_MSG_TX_QUEUED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	(%r13), %r8
	movq	8(%r13), %rcx
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdx
	callq	_DP
	movq	%rbx, %rdi
	callq	_NEXT_TX_IDX
	movl	%eax, %edi
	callq	_TX_BD
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	(%r14), %r14
	leaq	(%rax,%rax,2), %r15
	leaq	(%r14,%r15,8), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	8(%r13), %rdi
	callq	_le32_to_cpu
	movl	%eax, %ebx
	movq	(%r13), %rdi
	callq	_le32_to_cpu
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_HILO_U64
	leaq	(%rax,%r12), %rbx
	movq	%rbx, %rdi
	callq	_U64_HI
	movl	%eax, %edi
	callq	_cpu_to_le32
	movq	%rax, 8(%r14,%r15,8)
	movq	%rbx, %rdi
	callq	_U64_LO
	movl	%eax, %edi
	callq	_cpu_to_le32
	movq	%rax, (%r14,%r15,8)
	movslq	-44(%rbp), %rdi                 ## 4-byte Folded Reload
	subq	%r12, %rdi
	callq	_cpu_to_le16
	movq	%rax, 16(%r14,%r15,8)
	movq	_BNX2X_TSO_SPLIT_BD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	orl	%ecx, (%rdx)
	movq	_NETIF_MSG_TX_QUEUED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	(%r14,%r15,8), %r8
	movq	8(%r14,%r15,8), %rcx
	leaq	L_.str.1(%rip), %rsi
	movq	%rax, %rdx
	callq	_DP
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, (%rax)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NETIF_MSG_TX_QUEUED,4,2        ## @NETIF_MSG_TX_QUEUED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TSO split header size is %d (%x:%x)\n"

	.comm	_BNX2X_TSO_SPLIT_BD,4,2         ## @BNX2X_TSO_SPLIT_BD
L_.str.1:                               ## @.str.1
	.asciz	"TSO split data size is %d (%x:%x)\n"

	.no_dead_strip	_bnx2x_tx_split
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_tx_split
_bnx2x_tx_split:                        ; @bnx2x_tx_split
	.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	x23, x5
	mov	x21, x4
	mov	x19, x3
	mov	x20, x2
	mov	x24, x1
	ldr	x27, [x3]
	ldr	x0, [x27, #16]
	bl	_le16_to_cpu
	mov	x22, x0
	mov	x0, x21
	bl	_cpu_to_le16
	mov	x2, x0
	str	x0, [x27, #16]
Lloh0:
	adrp	x25, _NETIF_MSG_TX_QUEUED@GOTPAGE
Lloh1:
	ldr	x25, [x25, _NETIF_MSG_TX_QUEUED@GOTPAGEOFF]
	ldr	w0, [x25]
	ldp	x4, x3, [x27]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_DP
	mov	x0, x23
	bl	_NEXT_TX_IDX
	bl	_TX_BD
	mov	x23, x0
	ldr	x8, [x24]
	mov	w9, #24
	madd	x26, x0, x9, x8
	ldr	x0, [x27, #8]
	bl	_le32_to_cpu
	mov	x24, x0
	ldr	x0, [x27]
	bl	_le32_to_cpu
	mov	x1, x0
	mov	x0, x24
	bl	_HILO_U64
	add	x24, x0, x21
	mov	x0, x24
	bl	_U64_HI
	bl	_cpu_to_le32
	str	x0, [x26, #8]
	mov	x0, x24
	bl	_U64_LO
	bl	_cpu_to_le32
	str	x0, [x26]
	sxtw	x8, w22
	sub	x0, x8, x21
	bl	_cpu_to_le16
	mov	x2, x0
	str	x0, [x26, #16]
Lloh4:
	adrp	x8, _BNX2X_TSO_SPLIT_BD@GOTPAGE
Lloh5:
	ldr	x8, [x8, _BNX2X_TSO_SPLIT_BD@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
	ldr	w0, [x25]
	ldp	x4, x3, [x26]
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_DP
	str	x26, [x19]
	mov	x0, x23
	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 AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_NETIF_MSG_TX_QUEUED,4,2        ; @NETIF_MSG_TX_QUEUED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TSO split header size is %d (%x:%x)\n"

	.comm	_BNX2X_TSO_SPLIT_BD,4,2         ; @BNX2X_TSO_SPLIT_BD
l_.str.1:                               ; @.str.1
	.asciz	"TSO split data size is %d (%x:%x)\n"

	.no_dead_strip	_bnx2x_tx_split
.subsections_via_symbols
