	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dsa_xmit                       ## -- Begin function dsa_xmit
	.p2align	4, 0x90
_dsa_xmit:                              ## @dsa_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	%rsi, %rdi
	callq	_netdev_priv
	incl	4(%rbx)
	movl	24(%r15), %ecx
	addl	%ecx, (%rbx)
	movq	%rax, %r14
	movq	(%r15), %rbx
	movq	_ETH_P_8021Q@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	cmpq	%rax, %rbx
	jne	LBB0_4
## %bb.1:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_skb_cow_head
	testq	%rax, %rax
	js	LBB0_7
## %bb.2:
	movq	8(%r15), %rax
	movq	_ETH_ALEN@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movq	8(%r14), %rdx
	movl	(%rdx), %edx
	orl	$96, %edx
	movl	%edx, (%rax,%rcx,8)
	movl	(%r14), %edx
	shll	$3, %edx
	movl	%edx, 4(%rax,%rcx,8)
	movl	8(%rax,%rcx,8), %esi
	testb	$16, %sil
	je	LBB0_6
## %bb.3:
	addq	%rcx, %rcx
	orl	$1, %edx
	movl	%edx, 4(%rax,%rcx,4)
	andl	$-17, %esi
	movl	%esi, 8(%rax,%rcx,4)
	jmp	LBB0_6
LBB0_4:
	movq	_DSA_HLEN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_skb_cow_head
	testq	%rax, %rax
	js	LBB0_7
## %bb.5:
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_skb_push
	movq	8(%r15), %rdi
	movslq	(%rbx), %rax
	leaq	(%rdi,%rax,4), %rsi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	addl	%edx, %edx
	callq	_memmove
	movq	8(%r15), %rax
	movslq	(%rbx), %rcx
	movq	8(%r14), %rdx
	movl	(%rdx), %edx
	orl	$64, %edx
	movl	%edx, (%rax,%rcx,8)
	movl	(%r14), %edx
	shll	$3, %edx
	movl	%edx, 4(%rax,%rcx,8)
	movq	$0, 8(%rax,%rcx,8)
LBB0_6:
	movq	_ETH_P_DSA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	movq	%rax, (%r15)
	movq	8(%r14), %rax
	movq	8(%rax), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r15)
	movq	%r15, %rdi
	callq	_dev_queue_xmit
	jmp	LBB0_8
LBB0_7:
	movq	%r15, %rdi
	callq	_kfree_skb
LBB0_8:
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_P_8021Q,4,2                ## @ETH_P_8021Q
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_DSA_HLEN,4,2                   ## @DSA_HLEN
	.comm	_ETH_P_DSA,4,2                  ## @ETH_P_DSA
	.comm	_NETDEV_TX_OK,4,2               ## @NETDEV_TX_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dsa_xmit                       ; -- Begin function dsa_xmit
	.p2align	2
_dsa_xmit:                              ; @dsa_xmit
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x21, x1
	mov	x19, x0
	mov	x0, x1
	bl	_netdev_priv
	mov	x20, x0
	add	x8, x19, #24
	ldr	d0, [x21]
	movi.2s	v1, #1
	ld1.s	{ v1 }[0], [x8]
	add.2s	v0, v0, v1
	str	d0, [x21]
	ldr	x21, [x19]
Lloh0:
	adrp	x8, _ETH_P_8021Q@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_P_8021Q@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_htons
	cmp	x21, x0
	b.ne	LBB0_4
; %bb.1:
	mov	x0, x19
	mov	w1, #0
	bl	_skb_cow_head
	tbnz	x0, #63, LBB0_7
; %bb.2:
	ldr	x8, [x19, #8]
Lloh3:
	adrp	x9, _ETH_ALEN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ETH_ALEN@GOTPAGEOFF]
Lloh5:
	ldrsw	x9, [x9]
	add	x8, x8, x9, lsl #3
	ldr	x9, [x20, #8]
	ldr	w9, [x9]
	orr	w9, w9, #0x60
	str	w9, [x8]
	ldr	w9, [x20]
	lsl	w9, w9, #3
	str	w9, [x8, #4]
	ldr	w10, [x8, #8]
	tbz	w10, #4, LBB0_6
; %bb.3:
	orr	w9, w9, #0x1
	and	w10, w10, #0xffffffef
	stp	w9, w10, [x8, #4]
	b	LBB0_6
LBB0_4:
Lloh6:
	adrp	x21, _DSA_HLEN@GOTPAGE
Lloh7:
	ldr	x21, [x21, _DSA_HLEN@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_skb_cow_head
	tbnz	x0, #63, LBB0_7
; %bb.5:
	ldr	w1, [x21]
	mov	x0, x19
	bl	_skb_push
	ldr	x0, [x19, #8]
	ldrsw	x8, [x21]
	add	x1, x0, x8, lsl #2
Lloh8:
	adrp	x21, _ETH_ALEN@GOTPAGE
Lloh9:
	ldr	x21, [x21, _ETH_ALEN@GOTPAGEOFF]
	ldr	w8, [x21]
	lsl	w2, w8, #1
	bl	_memmove
	ldr	x8, [x19, #8]
	ldrsw	x9, [x21]
	add	x8, x8, x9, lsl #3
	ldr	x9, [x20, #8]
	ldr	w9, [x9]
	orr	w9, w9, #0x40
	str	w9, [x8]
	ldr	w9, [x20]
	lsl	w9, w9, #3
	str	w9, [x8, #4]
	str	xzr, [x8, #8]
LBB0_6:
Lloh10:
	adrp	x8, _ETH_P_DSA@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ETH_P_DSA@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	bl	_htons
	str	x0, [x19]
	ldr	x8, [x20, #8]
	ldr	x8, [x8, #8]
	ldr	w8, [x8]
	str	w8, [x19, #16]
	mov	x0, x19
	bl	_dev_queue_xmit
	b	LBB0_8
LBB0_7:
	mov	x0, x19
	bl	_kfree_skb
LBB0_8:
Lloh13:
	adrp	x8, _NETDEV_TX_OK@GOTPAGE
Lloh14:
	ldr	x8, [x8, _NETDEV_TX_OK@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_P_8021Q,4,2                ; @ETH_P_8021Q
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_DSA_HLEN,4,2                   ; @DSA_HLEN
	.comm	_ETH_P_DSA,4,2                  ; @ETH_P_DSA
	.comm	_NETDEV_TX_OK,4,2               ; @NETDEV_TX_OK
.subsections_via_symbols
