	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function netdrv_start_xmit
_netdrv_start_xmit:                     ## @netdrv_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, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %r14
	leaq	8(%rax), %r13
	movq	%r13, %rdi
	callq	_atomic_read
	movq	_NUM_TX_DESC@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
	movq	24(%r14), %rax
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movslq	%edx, %r15
	movq	%r15, %rbx
	shlq	$4, %rbx
	xorl	%edi, %edi
	cmpq	$0, 8(%rax,%rbx)
	sete	%dil
	callq	_assert
	movq	24(%r14), %rax
	xorl	%edi, %edi
	cmpq	$0, (%rax,%rbx)
	sete	%dil
	callq	_assert
	movq	24(%r14), %rax
	movq	%r12, 8(%rax,%rbx)
	movq	16(%r14), %rax
	movl	(%rax,%r15,4), %esi
	movl	(%r12), %edx
	movq	%r12, %rdi
	callq	_skb_copy_from_linear_data
	movq	_TxStatus0@GOTPCREL(%rip), %rax
	shlq	$2, %r15
	addq	(%rax), %r15
	movl	(%r12), %eax
	movq	_ETH_ZLEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	cmpl	%esi, %eax
	cmovgl	%eax, %esi
	orl	(%r14), %esi
	movq	%r15, %rdi
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	callq	_NETDRV_W32
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r15)
	movq	%r13, %rdi
	callq	_atomic_inc
	movq	%r13, %rdi
	callq	_atomic_read
	movl	%eax, %ebx
	addq	$4, %r14
	movq	%r14, %rdi
	callq	_atomic_read
	subl	%eax, %ebx
	movq	_NUM_TX_DESC@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jl	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	callq	_netif_stop_queue
LBB0_2:
	movl	(%r15), %esi
	movl	(%r12), %ecx
	movl	4(%r12), %edx
	leaq	L_.str(%rip), %rdi
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	callq	_DPRINTK
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NUM_TX_DESC,4,2                ## @NUM_TX_DESC
	.comm	_TxStatus0,8,3                  ## @TxStatus0
	.comm	_ETH_ZLEN,4,2                   ## @ETH_ZLEN
	.comm	_jiffies,4,2                    ## @jiffies
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: Queued Tx packet at %p size %u to slot %d.\n"

	.comm	_NETDEV_TX_OK,4,2               ## @NETDEV_TX_OK
	.no_dead_strip	_netdrv_start_xmit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function netdrv_start_xmit
_netdrv_start_xmit:                     ; @netdrv_start_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	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_netdev_priv
	mov	x22, x0
	add	x23, x0, #8
	mov	x0, x23
	bl	_atomic_read
Lloh0:
	adrp	x24, _NUM_TX_DESC@GOTPAGE
Lloh1:
	ldr	x24, [x24, _NUM_TX_DESC@GOTPAGEOFF]
	ldr	w8, [x24]
	sdiv	w9, w0, w8
	msub	w21, w9, w8, w0
	ldr	x8, [x22, #24]
	sbfiz	x25, x21, #4, #32
	add	x8, x8, x25
	ldr	x8, [x8, #8]
	cmp	x8, #0
	cset	w0, eq
	bl	_assert
	ldr	x8, [x22, #24]
	ldr	x8, [x8, x25]
	cmp	x8, #0
	cset	w0, eq
	bl	_assert
	ldp	x9, x8, [x22, #16]
	add	x8, x8, x25
	str	x19, [x8, #8]
	sbfiz	x25, x21, #2, #32
	ldr	w1, [x9, x25]
	ldr	w2, [x19]
	mov	x0, x19
	bl	_skb_copy_from_linear_data
Lloh2:
	adrp	x8, _TxStatus0@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TxStatus0@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	add	x0, x8, x25
	ldr	w8, [x22]
	ldr	w9, [x19]
Lloh5:
	adrp	x10, _ETH_ZLEN@GOTPAGE
Lloh6:
	ldr	x10, [x10, _ETH_ZLEN@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	cmp	w9, w10
	csel	w9, w9, w10, gt
	orr	w1, w9, w8
	bl	_NETDRV_W32
Lloh8:
	adrp	x8, _jiffies@GOTPAGE
Lloh9:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	str	w8, [x20, #4]
	mov	x0, x23
	bl	_atomic_inc
	mov	x0, x23
	bl	_atomic_read
	mov	x23, x0
	add	x0, x22, #4
	bl	_atomic_read
	ldr	w8, [x24]
	sub	w9, w23, w0
	cmp	w9, w8
	b.lt	LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_netif_stop_queue
LBB0_2:
	ldr	w1, [x20]
	ldp	w3, w2, [x19]
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	mov	x4, x21
	bl	_DPRINTK
Lloh13:
	adrp	x8, _NETDEV_TX_OK@GOTPAGE
Lloh14:
	ldr	x8, [x8, _NETDEV_TX_OK@GOTPAGEOFF]
Lloh15:
	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 AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_NUM_TX_DESC,4,2                ; @NUM_TX_DESC
	.comm	_TxStatus0,8,3                  ; @TxStatus0
	.comm	_ETH_ZLEN,4,2                   ; @ETH_ZLEN
	.comm	_jiffies,4,2                    ; @jiffies
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: Queued Tx packet at %p size %u to slot %d.\n"

	.comm	_NETDEV_TX_OK,4,2               ; @NETDEV_TX_OK
	.no_dead_strip	_netdrv_start_xmit
.subsections_via_symbols
