	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xrx200_start_xmit
_xrx200_start_xmit:                     ## @xrx200_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	$24, %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, %rbx
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %r14
	movq	16(%rax), %r15
	movq	24(%rax), %r13
	movq	%r12, 8(%rbx)
	movq	_ETH_ZLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_skb_put_padto
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	incl	4(%r12)
LBB0_13:
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_2:
	movq	_LTQ_DMA_OWN@GOTPCREL(%rip), %rcx
	movq	_LTQ_DMA_C@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	testl	%eax, (%r13,%r15,8)
	jne	LBB0_4
## %bb.3:
	movq	16(%r14), %rax
	movq	32(%r14), %rcx
	cmpq	$0, (%rcx,%rax,8)
	je	LBB0_5
LBB0_4:
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_netdev_err
	movq	%r12, %rdi
	callq	_netif_stop_queue
	movq	_NETDEV_TX_BUSY@GOTPCREL(%rip), %rax
LBB0_14:
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movl	(%rbx), %edx
	movq	%rbx, (%rcx,%rax,8)
	movl	(%r14), %edi
	movl	4(%rbx), %esi
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%edx, -52(%rbp)                 ## 4-byte Spill
	callq	_dma_map_single
                                        ## kill: def $eax killed $eax def $rax
	movl	(%r14), %edi
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	%eax, %esi
	callq	_dma_mapping_error
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_6
## %bb.12:
	movq	%rbx, %rdi
	callq	_dev_kfree_skb
	incl	4(%r12)
	incl	(%r12)
	jmp	LBB0_13
LBB0_6:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	leal	15(%rcx), %eax
	testl	%ecx, %ecx
	cmovnsl	%ecx, %eax
	andl	$-16, %eax
	subl	%eax, %ecx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movl	%eax, 4(%r13,%r15,8)
	xorl	%eax, %eax
	callq	_wmb
	movq	_LTQ_DMA_SOP@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_LTQ_DMA_OWN@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_LTQ_DMA_EOP@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_LTQ_DMA_TX_OFFSET
	movq	_LTQ_DMA_SIZE_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	andl	%esi, %ecx
	orl	%ebx, %ecx
	orl	%eax, %ecx
	movl	%ecx, (%r13,%r15,8)
	movq	16(%r14), %rax
	incq	%rax
	movq	_LTQ_DESC_NUM@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rax, %rdx
	orq	%rcx, %rdx
	shrq	$32, %rdx
	je	LBB0_7
## %bb.8:
	xorl	%edx, %edx
	divq	%rcx
	jmp	LBB0_9
LBB0_7:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $edx killed $edx def $rdx
LBB0_9:
	movq	%rdx, 16(%r14)
	cmpq	8(%r14), %rdx
	jne	LBB0_11
## %bb.10:
	movq	%r12, %rdi
	movl	%esi, %ebx
	callq	_netif_stop_queue
	movl	%ebx, %esi
LBB0_11:
	movq	%r12, %rdi
	callq	_netdev_sent_queue
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_ZLEN,4,2                   ## @ETH_ZLEN
	.comm	_NETDEV_TX_OK,4,2               ## @NETDEV_TX_OK
	.comm	_LTQ_DMA_OWN,4,2                ## @LTQ_DMA_OWN
	.comm	_LTQ_DMA_C,4,2                  ## @LTQ_DMA_C
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"tx ring full\n"

	.comm	_NETDEV_TX_BUSY,4,2             ## @NETDEV_TX_BUSY
	.comm	_DMA_TO_DEVICE,4,2              ## @DMA_TO_DEVICE
	.comm	_LTQ_DMA_SOP,4,2                ## @LTQ_DMA_SOP
	.comm	_LTQ_DMA_EOP,4,2                ## @LTQ_DMA_EOP
	.comm	_LTQ_DMA_SIZE_MASK,4,2          ## @LTQ_DMA_SIZE_MASK
	.comm	_LTQ_DESC_NUM,8,3               ## @LTQ_DESC_NUM
	.no_dead_strip	_xrx200_start_xmit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xrx200_start_xmit
_xrx200_start_xmit:                     ; @xrx200_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	x22, x0
	mov	x0, x1
	bl	_netdev_priv
	mov	x20, x0
	ldp	x26, x25, [x0, #16]
	str	x19, [x22, #8]
Lloh0:
	adrp	x8, _ETH_ZLEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_ZLEN@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_skb_put_padto
	cbz	x0, LBB0_3
; %bb.1:
	ldr	w8, [x19, #4]
	add	w8, w8, #1
	str	w8, [x19, #4]
LBB0_2:
Lloh3:
	adrp	x8, _NETDEV_TX_OK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NETDEV_TX_OK@GOTPAGEOFF]
	b	LBB0_6
LBB0_3:
	add	x24, x25, x26, lsl #3
	ldr	w8, [x24]
Lloh5:
	adrp	x27, _LTQ_DMA_OWN@GOTPAGE
Lloh6:
	ldr	x27, [x27, _LTQ_DMA_OWN@GOTPAGEOFF]
	ldr	w9, [x27]
Lloh7:
	adrp	x10, _LTQ_DMA_C@GOTPAGE
Lloh8:
	ldr	x10, [x10, _LTQ_DMA_C@GOTPAGEOFF]
Lloh9:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w8
	b.ne	LBB0_5
; %bb.4:
	ldr	x8, [x20, #32]
	ldr	x9, [x20, #16]
	ldr	x10, [x8, x9, lsl #3]
	cbz	x10, LBB0_7
LBB0_5:
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_netdev_err
	mov	x0, x19
	bl	_netif_stop_queue
Lloh12:
	adrp	x8, _NETDEV_TX_BUSY@GOTPAGE
Lloh13:
	ldr	x8, [x8, _NETDEV_TX_BUSY@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
LBB0_7:
	str	x22, [x8, x9, lsl #3]
	ldr	w0, [x20]
	ldp	w21, w1, [x22]
Lloh14:
	adrp	x8, _DMA_TO_DEVICE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _DMA_TO_DEVICE@GOTPAGEOFF]
Lloh16:
	ldr	w3, [x8]
	mov	x2, x21
	bl	_dma_map_single
	mov	x23, x0
	ldr	w0, [x20]
	mov	x1, x23
	bl	_dma_mapping_error
	bl	_unlikely
	cbz	x0, LBB0_9
; %bb.8:
	mov	x0, x22
	bl	_dev_kfree_skb
	ldr	d0, [x19]
	movi.2s	v1, #1
	add.2s	v0, v0, v1
	str	d0, [x19]
	b	LBB0_2
LBB0_9:
	negs	w8, w23
	and	w8, w8, #0xf
	and	w9, w23, #0xf
	csneg	w22, w9, w8, mi
	sub	w8, w23, w22
	add	x9, x25, x26, lsl #3
	str	w8, [x9, #4]
	bl	_wmb
	ldr	w8, [x27]
Lloh17:
	adrp	x9, _LTQ_DMA_SOP@GOTPAGE
Lloh18:
	ldr	x9, [x9, _LTQ_DMA_SOP@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh20:
	adrp	x9, _LTQ_DMA_EOP@GOTPAGE
Lloh21:
	ldr	x9, [x9, _LTQ_DMA_EOP@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	orr	w23, w8, w9
	mov	x0, x22
	bl	_LTQ_DMA_TX_OFFSET
	orr	w8, w23, w0
Lloh23:
	adrp	x9, _LTQ_DMA_SIZE_MASK@GOTPAGE
Lloh24:
	ldr	x9, [x9, _LTQ_DMA_SIZE_MASK@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	and	w9, w9, w21
	orr	w8, w8, w9
	str	w8, [x24]
Lloh26:
	adrp	x8, _LTQ_DESC_NUM@GOTPAGE
Lloh27:
	ldr	x8, [x8, _LTQ_DESC_NUM@GOTPAGEOFF]
	ldp	x10, x9, [x20, #8]
	add	x9, x9, #1
Lloh28:
	ldr	x8, [x8]
	udiv	x11, x9, x8
	msub	x8, x11, x8, x9
	str	x8, [x20, #16]
	cmp	x8, x10
	b.ne	LBB0_11
; %bb.10:
	mov	x0, x19
	bl	_netif_stop_queue
LBB0_11:
	mov	x0, x19
	mov	x1, x21
	bl	_netdev_sent_queue
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_ZLEN,4,2                   ; @ETH_ZLEN
	.comm	_NETDEV_TX_OK,4,2               ; @NETDEV_TX_OK
	.comm	_LTQ_DMA_OWN,4,2                ; @LTQ_DMA_OWN
	.comm	_LTQ_DMA_C,4,2                  ; @LTQ_DMA_C
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"tx ring full\n"

	.comm	_NETDEV_TX_BUSY,4,2             ; @NETDEV_TX_BUSY
	.comm	_DMA_TO_DEVICE,4,2              ; @DMA_TO_DEVICE
	.comm	_LTQ_DMA_SOP,4,2                ; @LTQ_DMA_SOP
	.comm	_LTQ_DMA_EOP,4,2                ; @LTQ_DMA_EOP
	.comm	_LTQ_DMA_SIZE_MASK,4,2          ; @LTQ_DMA_SIZE_MASK
	.comm	_LTQ_DESC_NUM,8,3               ; @LTQ_DESC_NUM
	.no_dead_strip	_xrx200_start_xmit
.subsections_via_symbols
