	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function txq_submit_skb
_txq_submit_skb:                        ## @txq_submit_skb
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r13
	movq	%rsi, %r15
	movq	%rdi, %r12
	callq	_txq_to_mp
	movq	%rax, %r14
	movq	%r15, %rdi
	callq	_skb_shinfo
	movslq	(%rax), %rdx
	movl	$0, -44(%rbp)
	movq	$0, -72(%rbp)
	movq	(%r12), %rax
	subq	8(%r12), %rax
	movq	_MAX_SKB_FRAGS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_1
## %bb.4:
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movl	(%r15), %r8d
	leaq	-72(%rbp), %rdx
	leaq	-44(%rbp), %rcx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_skb_tx_csum
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_9
## %bb.5:
	movq	_TX_FIRST_DESC@GOTPCREL(%rip), %rax
	movq	_GEN_CRC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_BUFFER_OWNED_BY_DMA@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	orl	%ecx, -44(%rbp)
	movq	16(%r12), %rax
	leaq	1(%rax), %rcx
	xorl	%edx, %edx
	cmpq	(%r12), %rcx
	cmovneq	%rcx, %rdx
	movq	32(%r12), %rcx
	movq	%rdx, 16(%r12)
	movq	40(%r12), %rdx
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movslq	%eax, %rbx
	movq	_DESC_DMA_MAP_SINGLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rcx,%rbx,4)
	cmpl	$0, -64(%rbp)                   ## 4-byte Folded Reload
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_7
## %bb.6:
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_txq_submit_frag_skb
	movq	%r15, %rdi
	callq	_skb_headlen
	movl	%eax, %edx
	jmp	LBB0_8
LBB0_1:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_net_ratelimit
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	callq	_netdev_err
LBB0_3:
	movq	_EBUSY@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_9
LBB0_7:
	movq	_ZERO_PADDING@GOTPCREL(%rip), %rax
	movq	_TX_LAST_DESC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_TX_ENABLE_INTERRUPT@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	orl	%ecx, -44(%rbp)
	movl	(%r15), %edx
LBB0_8:
	movq	-72(%rbp), %rax
	leaq	(%rbx,%rbx,2), %r13
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	%rax, 16(%r14,%r13,8)
	movl	%edx, (%r14,%r13,8)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movl	(%rax), %edi
	movl	4(%r15), %esi
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_dma_map_single
	movl	%eax, 8(%r14,%r13,8)
	leaq	28(%r12), %rdi
	movq	%r15, %rsi
	callq	___skb_queue_tail
	movq	%r15, %rdi
	callq	_skb_tx_timestamp
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_wmb
	movl	-44(%rbp), %eax
	movl	%eax, 4(%r14,%r13,8)
	movb	24(%r12), %cl
	movl	$-2, %eax
	roll	%cl, %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	andl	%eax, (%rcx)
	xorl	%eax, %eax
	callq	_wmb
	movq	%r12, %rdi
	callq	_txq_enable
	movq	8(%r12), %rax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	addq	%rcx, %rax
	incq	%rax
	movq	%rax, 8(%r12)
LBB0_9:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_SKB_FRAGS,8,3              ## @MAX_SKB_FRAGS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"tx queue full?!\n"

	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_TX_FIRST_DESC,4,2              ## @TX_FIRST_DESC
	.comm	_GEN_CRC,4,2                    ## @GEN_CRC
	.comm	_BUFFER_OWNED_BY_DMA,4,2        ## @BUFFER_OWNED_BY_DMA
	.comm	_DESC_DMA_MAP_SINGLE,4,2        ## @DESC_DMA_MAP_SINGLE
	.comm	_ZERO_PADDING,4,2               ## @ZERO_PADDING
	.comm	_TX_LAST_DESC,4,2               ## @TX_LAST_DESC
	.comm	_TX_ENABLE_INTERRUPT,4,2        ## @TX_ENABLE_INTERRUPT
	.comm	_DMA_TO_DEVICE,4,2              ## @DMA_TO_DEVICE
	.no_dead_strip	_txq_submit_skb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function txq_submit_skb
_txq_submit_skb:                        ; @txq_submit_skb
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x22, x2
	mov	x21, x1
	mov	x19, x0
	bl	_txq_to_mp
	mov	x20, x0
	mov	x0, x21
	bl	_skb_shinfo
	ldrsw	x23, [x0]
	str	wzr, [sp, #12]
	str	xzr, [sp]
	ldp	x8, x9, [x19]
Lloh0:
	adrp	x10, _MAX_SKB_FRAGS@GOTPAGE
Lloh1:
	ldr	x10, [x10, _MAX_SKB_FRAGS@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	sub	x8, x8, x9
	cmp	x8, x10
	b.le	LBB0_4
; %bb.1:
	ldr	w4, [x21]
	mov	x2, sp
	add	x3, sp, #12
	mov	x0, x20
	mov	x1, x21
	bl	_skb_tx_csum
	cbnz	w0, LBB0_9
; %bb.2:
Lloh3:
	adrp	x8, _TX_FIRST_DESC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TX_FIRST_DESC@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _GEN_CRC@GOTPAGE
Lloh7:
	ldr	x9, [x9, _GEN_CRC@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh9:
	adrp	x9, _BUFFER_OWNED_BY_DMA@GOTPAGE
Lloh10:
	ldr	x9, [x9, _BUFFER_OWNED_BY_DMA@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w8, w9
	ldr	w9, [sp, #12]
	orr	w8, w8, w9
	str	w8, [sp, #12]
	ldr	x8, [x19, #16]
	add	x9, x8, #1
	ldr	x10, [x19]
	cmp	x9, x10
	csinc	x9, xzr, x8, eq
	str	x9, [x19, #16]
	sxtw	x22, w8
Lloh12:
	adrp	x9, _DESC_DMA_MAP_SINGLE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _DESC_DMA_MAP_SINGLE@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	ldp	x10, x24, [x19, #32]
	sbfiz	x8, x8, #2, #32
	str	w9, [x10, x8]
	cbz	w23, LBB0_7
; %bb.3:
	mov	x0, x19
	mov	x1, x21
	bl	_txq_submit_frag_skb
	mov	x0, x21
	bl	_skb_headlen
	mov	x2, x0
	b	LBB0_8
LBB0_4:
	bl	_net_ratelimit
	cbz	x0, LBB0_6
; %bb.5:
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	bl	_netdev_err
LBB0_6:
Lloh17:
	adrp	x8, _EBUSY@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_9
LBB0_7:
Lloh20:
	adrp	x8, _ZERO_PADDING@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ZERO_PADDING@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
Lloh23:
	adrp	x9, _TX_LAST_DESC@GOTPAGE
Lloh24:
	ldr	x9, [x9, _TX_LAST_DESC@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh26:
	adrp	x9, _TX_ENABLE_INTERRUPT@GOTPAGE
Lloh27:
	ldr	x9, [x9, _TX_ENABLE_INTERRUPT@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	orr	w8, w8, w9
	ldr	w9, [sp, #12]
	orr	w8, w8, w9
	str	w8, [sp, #12]
	ldr	w2, [x21]
LBB0_8:
	ldr	x8, [sp]
	mov	w9, #24
	madd	x22, x22, x9, x24
	str	x8, [x22, #16]
	str	w2, [x22]
	ldr	x8, [x20, #8]
	ldr	w0, [x8]
	ldr	w1, [x21, #4]
Lloh29:
	adrp	x8, _DMA_TO_DEVICE@GOTPAGE
Lloh30:
	ldr	x8, [x8, _DMA_TO_DEVICE@GOTPAGEOFF]
Lloh31:
	ldr	w3, [x8]
	bl	_dma_map_single
	str	w0, [x22, #8]
	add	x0, x19, #28
	mov	x1, x21
	bl	___skb_queue_tail
	mov	x0, x21
	bl	_skb_tx_timestamp
	bl	_wmb
	ldr	w8, [sp, #12]
	str	w8, [x22, #4]
	ldr	w8, [x19, #24]
	mov	w9, #1
	lsl	w8, w9, w8
	ldr	w9, [x20]
	bic	w8, w9, w8
	str	w8, [x20]
	bl	_wmb
	mov	x0, x19
	bl	_txq_enable
	mov	w0, #0
	ldr	x8, [x19, #8]
	add	x8, x23, x8
	add	x8, x8, #1
	str	x8, [x19, #8]
LBB0_9:
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_SKB_FRAGS,8,3              ; @MAX_SKB_FRAGS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"tx queue full?!\n"

	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_TX_FIRST_DESC,4,2              ; @TX_FIRST_DESC
	.comm	_GEN_CRC,4,2                    ; @GEN_CRC
	.comm	_BUFFER_OWNED_BY_DMA,4,2        ; @BUFFER_OWNED_BY_DMA
	.comm	_DESC_DMA_MAP_SINGLE,4,2        ; @DESC_DMA_MAP_SINGLE
	.comm	_ZERO_PADDING,4,2               ; @ZERO_PADDING
	.comm	_TX_LAST_DESC,4,2               ; @TX_LAST_DESC
	.comm	_TX_ENABLE_INTERRUPT,4,2        ; @TX_ENABLE_INTERRUPT
	.comm	_DMA_TO_DEVICE,4,2              ; @DMA_TO_DEVICE
	.no_dead_strip	_txq_submit_skb
.subsections_via_symbols
