	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mv643xx_eth_xmit
_mv643xx_eth_xmit:                      ## @mv643xx_eth_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, %r15
	movq	%rdi, %r13
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	%r13, %rdi
	callq	_skb_get_queue_mapping
	movl	%eax, %r12d
	movq	(%rbx), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_netdev_get_tx_queue
	movq	%rax, %rbx
	movq	%r13, %rdi
	callq	_has_tiny_unaligned_frags
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%r13, %rdi
	callq	___skb_linearize
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_KERN_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rsi
	callq	_netdev_printk
	movq	_NETDEV_TX_BUSY@GOTPCREL(%rip), %rbx
	jmp	LBB0_10
LBB0_3:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movslq	%r12d, %r14
	shlq	$5, %r14
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r14), %r12
	movl	(%r13), %ebx
	movq	%r13, %rdi
	callq	_skb_is_gso
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	%r15, %rdx
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	callq	_txq_submit_tso
	testl	%eax, %eax
	je	LBB0_7
LBB0_9:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	incl	24(%rax,%r14)
	movq	%r13, %rdi
	callq	_dev_kfree_skb_any
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rbx
	jmp	LBB0_10
LBB0_5:
	callq	_txq_submit_skb
	testl	%eax, %eax
	jne	LBB0_9
LBB0_7:
	addl	%ebx, (%r12)
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	incl	28(%rcx,%r14)
	movq	8(%rcx,%r14), %rax
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rbx
	cmpq	16(%rcx,%r14), %rax
	jl	LBB0_10
## %bb.8:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_netif_tx_stop_queue
LBB0_10:
	movl	(%rbx), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_KERN_DEBUG,4,2                 ## @KERN_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to linearize skb with tiny unaligned fragment\n"

	.comm	_NETDEV_TX_BUSY,4,2             ## @NETDEV_TX_BUSY
	.comm	_NETDEV_TX_OK,4,2               ## @NETDEV_TX_OK
	.no_dead_strip	_mv643xx_eth_xmit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mv643xx_eth_xmit
_mv643xx_eth_xmit:                      ; @mv643xx_eth_xmit
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x1
	mov	x19, x0
	mov	x0, x1
	bl	_netdev_priv
	mov	x20, x0
	mov	x0, x19
	bl	_skb_get_queue_mapping
	mov	x22, x0
	ldr	x23, [x20]
	mov	x0, x21
	mov	x1, x22
	bl	_netdev_get_tx_queue
	mov	x20, x0
	mov	x0, x19
	bl	_has_tiny_unaligned_frags
	cbz	x0, LBB0_3
; %bb.1:
	mov	x0, x19
	bl	___skb_linearize
	cbz	x0, LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _KERN_DEBUG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _KERN_DEBUG@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x1, x21
	bl	_netdev_printk
Lloh5:
	adrp	x8, _NETDEV_TX_BUSY@GOTPAGE
Lloh6:
	ldr	x8, [x8, _NETDEV_TX_BUSY@GOTPAGEOFF]
	b	LBB0_10
LBB0_3:
	sxtw	x24, w22
	add	x22, x23, x24, lsl #5
	ldr	w25, [x19]
	mov	x0, x19
	bl	_skb_is_gso
	cbz	x0, LBB0_6
; %bb.4:
	mov	x0, x22
	mov	x1, x19
	mov	x2, x21
	bl	_txq_submit_tso
	cbz	w0, LBB0_7
LBB0_5:
	add	x8, x23, x24, lsl #5
	ldr	w9, [x8, #24]
	add	w9, w9, #1
	str	w9, [x8, #24]
	mov	x0, x19
	bl	_dev_kfree_skb_any
	b	LBB0_9
LBB0_6:
	mov	x0, x22
	mov	x1, x19
	mov	x2, x21
	bl	_txq_submit_skb
	cbnz	w0, LBB0_5
LBB0_7:
	ldr	w8, [x22]
	add	w8, w8, w25
	str	w8, [x22]
	add	x8, x23, x24, lsl #5
	ldr	w9, [x8, #28]
	add	w9, w9, #1
	str	w9, [x8, #28]
	ldp	x9, x8, [x8, #8]
	cmp	x9, x8
	b.lt	LBB0_9
; %bb.8:
	mov	x0, x20
	bl	_netif_tx_stop_queue
LBB0_9:
Lloh7:
	adrp	x8, _NETDEV_TX_OK@GOTPAGE
Lloh8:
	ldr	x8, [x8, _NETDEV_TX_OK@GOTPAGEOFF]
LBB0_10:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_KERN_DEBUG,4,2                 ; @KERN_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to linearize skb with tiny unaligned fragment\n"

	.comm	_NETDEV_TX_BUSY,4,2             ; @NETDEV_TX_BUSY
	.comm	_NETDEV_TX_OK,4,2               ; @NETDEV_TX_OK
	.no_dead_strip	_mv643xx_eth_xmit
.subsections_via_symbols
