	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pxa168_eth_start_xmit
_pxa168_eth_start_xmit:                 ## @pxa168_eth_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
	pushq	%rax
	.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, %r12
	movq	%rax, %rdi
	callq	_eth_alloc_tx_desc_index
	movq	16(%r12), %rcx
	movq	24(%r12), %r13
	cltq
	movl	(%rbx), %edx
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%rbx, (%rcx,%rax,8)
	leaq	(%rax,%rax,2), %r15
	movl	%edx, (%r13,%r15,4)
	movq	8(%r12), %rdi
	movl	4(%rbx), %esi
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_dma_map_single
	movl	%eax, 8(%r13,%r15,4)
	movq	%rbx, %rdi
	callq	_skb_tx_timestamp
	xorl	%eax, %eax
	callq	_dma_wmb
	movq	_BUF_OWNED_BY_DMA@GOTPCREL(%rip), %rax
	movq	_TX_GEN_CRC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_TX_FIRST_DESC@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_TX_ZERO_PADDING@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_TX_LAST_DESC@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_TX_EN_INT@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, 4(%r13,%r15,4)
	xorl	%eax, %eax
	callq	_wmb
	movq	_SDMA_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SDMA_CMD_TXDH@GOTPCREL(%rip), %rax
	movq	_SDMA_CMD_ERD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	%r12, %rdi
	callq	_wrl
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	addl	%eax, (%r14)
	incl	4(%r14)
	movq	%r14, %rdi
	callq	_netif_trans_update
	movl	(%r12), %eax
	subl	4(%r12), %eax
	cmpl	$1, %eax
	jg	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	_netif_stop_queue
LBB0_2:
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DMA_TO_DEVICE,4,2              ## @DMA_TO_DEVICE
	.comm	_BUF_OWNED_BY_DMA,4,2           ## @BUF_OWNED_BY_DMA
	.comm	_TX_GEN_CRC,4,2                 ## @TX_GEN_CRC
	.comm	_TX_FIRST_DESC,4,2              ## @TX_FIRST_DESC
	.comm	_TX_ZERO_PADDING,4,2            ## @TX_ZERO_PADDING
	.comm	_TX_LAST_DESC,4,2               ## @TX_LAST_DESC
	.comm	_TX_EN_INT,4,2                  ## @TX_EN_INT
	.comm	_SDMA_CMD,4,2                   ## @SDMA_CMD
	.comm	_SDMA_CMD_TXDH,4,2              ## @SDMA_CMD_TXDH
	.comm	_SDMA_CMD_ERD,4,2               ## @SDMA_CMD_ERD
	.comm	_NETDEV_TX_OK,4,2               ## @NETDEV_TX_OK
	.no_dead_strip	_pxa168_eth_start_xmit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pxa168_eth_start_xmit
_pxa168_eth_start_xmit:                 ; @pxa168_eth_start_xmit
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	mov	x22, x0
	mov	x0, x1
	bl	_netdev_priv
	mov	x20, x0
	bl	_eth_alloc_tx_desc_index
	ldp	x9, x8, [x20, #16]
	str	x22, [x9, w0, sxtw #3]
	mov	w9, #12
	smaddl	x23, w0, w9, x8
	ldp	w21, w1, [x22]
	str	w21, [x23]
	ldr	x0, [x20, #8]
Lloh0:
	adrp	x8, _DMA_TO_DEVICE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DMA_TO_DEVICE@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	x2, x21
	bl	_dma_map_single
	str	w0, [x23, #8]
	mov	x0, x22
	bl	_skb_tx_timestamp
	bl	_dma_wmb
Lloh3:
	adrp	x8, _BUF_OWNED_BY_DMA@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BUF_OWNED_BY_DMA@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _TX_GEN_CRC@GOTPAGE
Lloh7:
	ldr	x9, [x9, _TX_GEN_CRC@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh9:
	adrp	x9, _TX_FIRST_DESC@GOTPAGE
Lloh10:
	ldr	x9, [x9, _TX_FIRST_DESC@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
Lloh12:
	adrp	x10, _TX_ZERO_PADDING@GOTPAGE
Lloh13:
	ldr	x10, [x10, _TX_ZERO_PADDING@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh14:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh15:
	adrp	x9, _TX_LAST_DESC@GOTPAGE
Lloh16:
	ldr	x9, [x9, _TX_LAST_DESC@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh18:
	adrp	x9, _TX_EN_INT@GOTPAGE
Lloh19:
	ldr	x9, [x9, _TX_EN_INT@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x23, #4]
	bl	_wmb
Lloh21:
	adrp	x8, _SDMA_CMD@GOTPAGE
Lloh22:
	ldr	x8, [x8, _SDMA_CMD@GOTPAGEOFF]
Lloh23:
	adrp	x9, _SDMA_CMD_TXDH@GOTPAGE
Lloh24:
	ldr	x9, [x9, _SDMA_CMD_TXDH@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
Lloh26:
	ldr	w8, [x9]
Lloh27:
	adrp	x9, _SDMA_CMD_ERD@GOTPAGE
Lloh28:
	ldr	x9, [x9, _SDMA_CMD_ERD@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x20
	bl	_wrl
	ldr	d0, [x19]
	movi.2s	v1, #1
	mov.s	v1[0], w21
	add.2s	v0, v0, v1
	str	d0, [x19]
	mov	x0, x19
	bl	_netif_trans_update
	ldp	w8, w9, [x20]
	sub	w8, w8, w9
	cmp	w8, #1
	b.gt	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_netif_stop_queue
LBB0_2:
Lloh30:
	adrp	x8, _NETDEV_TX_OK@GOTPAGE
Lloh31:
	ldr	x8, [x8, _NETDEV_TX_OK@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh25
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_DMA_TO_DEVICE,4,2              ; @DMA_TO_DEVICE
	.comm	_BUF_OWNED_BY_DMA,4,2           ; @BUF_OWNED_BY_DMA
	.comm	_TX_GEN_CRC,4,2                 ; @TX_GEN_CRC
	.comm	_TX_FIRST_DESC,4,2              ; @TX_FIRST_DESC
	.comm	_TX_ZERO_PADDING,4,2            ; @TX_ZERO_PADDING
	.comm	_TX_LAST_DESC,4,2               ; @TX_LAST_DESC
	.comm	_TX_EN_INT,4,2                  ; @TX_EN_INT
	.comm	_SDMA_CMD,4,2                   ; @SDMA_CMD
	.comm	_SDMA_CMD_TXDH,4,2              ; @SDMA_CMD_TXDH
	.comm	_SDMA_CMD_ERD,4,2               ; @SDMA_CMD_ERD
	.comm	_NETDEV_TX_OK,4,2               ; @NETDEV_TX_OK
	.no_dead_strip	_pxa168_eth_start_xmit
.subsections_via_symbols
