	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xge_start_xmit
_xge_start_xmit:                        ## @xge_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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	(%rax), %r15
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	8(%rax), %r13
	movq	(%r15), %r12
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_skb_headlen
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	movq	16(%r15), %r15
	movq	%r12, -96(%rbp)                 ## 8-byte Spill
	shlq	$4, %r12
	leaq	(%r15,%r12), %rbx
	movq	%rbx, %rdi
	callq	_is_tx_slot_available
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	_XGENE_ENET_STD_MTU@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	_xge_start_xmit.dma_addr(%rip), %rdx
	movq	%r13, %rdi
	callq	_dma_alloc_coherent
	movq	%rax, %r14
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_dev_kfree_skb_any
	jmp	LBB0_5
LBB0_1:
	movq	%r14, %rdi
	callq	_netif_stop_queue
	movq	_NETDEV_TX_BUSY@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_memcpy
	movq	_NEXT_DESC_ADDRH@GOTPCREL(%rip), %rax
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movl	(%rax), %ebx
	movq	8(%r15,%r12), %rdi
	callq	_le64_to_cpu
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_GET_BITS
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	_NEXT_DESC_ADDRL@GOTPCREL(%rip), %r13
	movl	(%r13), %ebx
	movq	8(%r15,%r12), %rdi
	callq	_le64_to_cpu
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_GET_BITS
	movl	(%r13), %edi
	movl	%eax, %esi
	callq	_SET_BITS
	movl	%eax, %ebx
	movq	_NEXT_DESC_ADDRH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	-60(%rbp), %esi                 ## 4-byte Reload
	callq	_SET_BITS
	orl	%eax, %ebx
	movq	_PKT_ADDRH@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	_xge_start_xmit.dma_addr(%rip), %edi
	callq	_upper_32_bits
	movl	%r13d, %edi
	movl	%eax, %esi
	callq	_SET_BITS
	orl	%eax, %ebx
	movl	%ebx, %edi
	callq	_cpu_to_le64
	movq	%rax, 8(%r15,%r12)
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	movq	8(%r15), %rax
	movq	%r14, %rsi
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	leaq	(%r14,%r14,2), %rcx
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, 16(%rax,%rcx,8)
	movl	_xge_start_xmit.dma_addr(%rip), %edx
	movl	%edx, 8(%rax,%rcx,8)
	movq	%rsi, (%rax,%rcx,8)
	xorl	%eax, %eax
	callq	_dma_wmb
	movq	_PKT_ADDRL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	_xge_start_xmit.dma_addr(%rip), %esi
	callq	_SET_BITS
	movl	%eax, %ebx
	movq	_PKT_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_SET_BITS
	orl	%eax, %ebx
	movq	_E@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_SET_BITS
	orl	%eax, %ebx
	movl	%ebx, %edi
	callq	_cpu_to_le64
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	movq	%r12, %rdi
	callq	_skb_tx_timestamp
	movq	_DMATXCTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	$1, %edx
	callq	_xge_wr_csr
	incq	%r14
	movq	_XGENE_ENET_NUM_DESC@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	decq	%rax
	andq	%r14, %rax
	movq	%rax, (%r15)
LBB0_5:
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_xge_start_xmit.dma_addr,4,2 ## @xge_start_xmit.dma_addr
	.comm	_NETDEV_TX_BUSY,4,2             ## @NETDEV_TX_BUSY
	.comm	_XGENE_ENET_STD_MTU,4,2         ## @XGENE_ENET_STD_MTU
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_NETDEV_TX_OK,4,2               ## @NETDEV_TX_OK
	.comm	_NEXT_DESC_ADDRH,4,2            ## @NEXT_DESC_ADDRH
	.comm	_NEXT_DESC_ADDRL,4,2            ## @NEXT_DESC_ADDRL
	.comm	_PKT_ADDRH,4,2                  ## @PKT_ADDRH
	.comm	_PKT_ADDRL,4,2                  ## @PKT_ADDRL
	.comm	_PKT_SIZE,4,2                   ## @PKT_SIZE
	.comm	_E,4,2                          ## @E
	.comm	_DMATXCTRL,4,2                  ## @DMATXCTRL
	.comm	_XGENE_ENET_NUM_DESC,4,2        ## @XGENE_ENET_NUM_DESC
	.no_dead_strip	_xge_start_xmit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xge_start_xmit
_xge_start_xmit:                        ; @xge_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	x23, x1
	mov	x19, x0
	mov	x0, x1
	bl	_netdev_priv
	mov	x20, x0
	ldp	x26, x24, [x0]
	ldr	x27, [x26]
	mov	x0, x19
	bl	_skb_headlen
	mov	x22, x0
	ldr	x25, [x26, #16]
	add	x21, x25, x27, lsl #4
	mov	x0, x21
	bl	_is_tx_slot_available
	cbz	w0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _XGENE_ENET_STD_MTU@GOTPAGE
Lloh1:
	ldr	x8, [x8, _XGENE_ENET_STD_MTU@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
Lloh6:
	adrp	x2, _xge_start_xmit.dma_addr@PAGE
Lloh7:
	add	x2, x2, _xge_start_xmit.dma_addr@PAGEOFF
	mov	x0, x24
	bl	_dma_alloc_coherent
	mov	x23, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_4
; %bb.2:
	mov	x0, x19
	bl	_dev_kfree_skb_any
	b	LBB0_5
LBB0_3:
	mov	x0, x23
	bl	_netif_stop_queue
Lloh8:
	adrp	x8, _NETDEV_TX_BUSY@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NETDEV_TX_BUSY@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
	ldr	w1, [x19]
	mov	x0, x23
	mov	x2, x22
	bl	_memcpy
Lloh10:
	adrp	x8, _NEXT_DESC_ADDRH@GOTPAGE
Lloh11:
	ldr	x8, [x8, _NEXT_DESC_ADDRH@GOTPAGEOFF]
Lloh12:
	ldr	w24, [x8]
	add	x28, x25, x27, lsl #4
	ldr	x0, [x28, #8]
	bl	_le64_to_cpu
	mov	x1, x0
	mov	x0, x24
	bl	_GET_BITS
	mov	x24, x0
Lloh13:
	adrp	x8, _NEXT_DESC_ADDRL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _NEXT_DESC_ADDRL@GOTPAGEOFF]
Lloh15:
	ldr	w25, [x8]
	ldr	x0, [x28, #8]
	bl	_le64_to_cpu
	mov	x1, x0
	mov	x0, x25
	bl	_GET_BITS
	mov	x1, x0
Lloh16:
	adrp	x8, _NEXT_DESC_ADDRL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _NEXT_DESC_ADDRL@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	bl	_SET_BITS
	mov	x25, x0
Lloh19:
	adrp	x8, _NEXT_DESC_ADDRH@GOTPAGE
Lloh20:
	ldr	x8, [x8, _NEXT_DESC_ADDRH@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	mov	x1, x24
	bl	_SET_BITS
	orr	w25, w0, w25
Lloh22:
	adrp	x8, _PKT_ADDRH@GOTPAGE
Lloh23:
	ldr	x8, [x8, _PKT_ADDRH@GOTPAGEOFF]
Lloh24:
	ldr	w24, [x8]
Lloh25:
	adrp	x8, _xge_start_xmit.dma_addr@PAGE
Lloh26:
	ldr	w0, [x8, _xge_start_xmit.dma_addr@PAGEOFF]
	bl	_upper_32_bits
	mov	x1, x0
	mov	x0, x24
	bl	_SET_BITS
	orr	w0, w25, w0
	bl	_cpu_to_le64
	str	x0, [x28, #8]
	ldr	x8, [x26, #8]
	mov	w9, #24
	madd	x8, x27, x9, x8
	str	x19, [x8, #16]
	adrp	x24, _xge_start_xmit.dma_addr@PAGE
	ldr	w9, [x24, _xge_start_xmit.dma_addr@PAGEOFF]
	str	w9, [x8, #8]
	str	x23, [x8]
	bl	_dma_wmb
Lloh27:
	adrp	x8, _PKT_ADDRL@GOTPAGE
Lloh28:
	ldr	x8, [x8, _PKT_ADDRL@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	ldr	w1, [x24, _xge_start_xmit.dma_addr@PAGEOFF]
	bl	_SET_BITS
	mov	x23, x0
Lloh30:
	adrp	x8, _PKT_SIZE@GOTPAGE
Lloh31:
	ldr	x8, [x8, _PKT_SIZE@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
	mov	x1, x22
	bl	_SET_BITS
	orr	w22, w0, w23
Lloh33:
	adrp	x8, _E@GOTPAGE
Lloh34:
	ldr	x8, [x8, _E@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_SET_BITS
	orr	w0, w22, w0
	bl	_cpu_to_le64
	str	x0, [x21]
	mov	x0, x19
	bl	_skb_tx_timestamp
Lloh36:
	adrp	x8, _DMATXCTRL@GOTPAGE
Lloh37:
	ldr	x8, [x8, _DMATXCTRL@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #1
	bl	_xge_wr_csr
	add	x8, x27, #1
Lloh39:
	adrp	x9, _XGENE_ENET_NUM_DESC@GOTPAGE
Lloh40:
	ldr	x9, [x9, _XGENE_ENET_NUM_DESC@GOTPAGEOFF]
Lloh41:
	ldrsw	x9, [x9]
	sub	x9, x9, #1
	and	x8, x8, x9
	str	x8, [x26]
LBB0_5:
Lloh42:
	adrp	x8, _NETDEV_TX_OK@GOTPAGE
Lloh43:
	ldr	x8, [x8, _NETDEV_TX_OK@GOTPAGEOFF]
LBB0_6:
	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 AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdr	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh42, Lloh43
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_xge_start_xmit.dma_addr,4,2 ; @xge_start_xmit.dma_addr
	.comm	_NETDEV_TX_BUSY,4,2             ; @NETDEV_TX_BUSY
	.comm	_XGENE_ENET_STD_MTU,4,2         ; @XGENE_ENET_STD_MTU
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_NETDEV_TX_OK,4,2               ; @NETDEV_TX_OK
	.comm	_NEXT_DESC_ADDRH,4,2            ; @NEXT_DESC_ADDRH
	.comm	_NEXT_DESC_ADDRL,4,2            ; @NEXT_DESC_ADDRL
	.comm	_PKT_ADDRH,4,2                  ; @PKT_ADDRH
	.comm	_PKT_ADDRL,4,2                  ; @PKT_ADDRL
	.comm	_PKT_SIZE,4,2                   ; @PKT_SIZE
	.comm	_E,4,2                          ; @E
	.comm	_DMATXCTRL,4,2                  ; @DMATXCTRL
	.comm	_XGENE_ENET_NUM_DESC,4,2        ; @XGENE_ENET_NUM_DESC
	.no_dead_strip	_xge_start_xmit
.subsections_via_symbols
