	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function e1000_tx_map
_e1000_tx_map:                          ## @e1000_tx_map
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r12d
	movl	%r8d, -92(%rbp)                 ## 4-byte Spill
	movl	%ecx, -132(%rbp)                ## 4-byte Spill
	movq	%rsi, %r13
	movl	16(%rbp), %r14d
	movq	%rdi, -104(%rbp)                ## 8-byte Spill
	movq	8(%rdi), %rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movq	%rdx, %rdi
	callq	_skb_headlen
	movl	(%r13), %ebx
	testl	%eax, %eax
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_1
## %bb.11:
	movl	%eax, %r15d
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	testl	%r14d, %r14d
	setne	%al
	movq	%r12, -112(%rbp)                ## 8-byte Spill
	testl	%r12d, %r12d
	sete	%cl
	andb	%al, %cl
	movb	%cl, -76(%rbp)                  ## 1-byte Spill
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_34:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	addl	%r12d, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	incl	-44(%rbp)                       ## 4-byte Folded Spill
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	16(%rbx), %r14
	movl	%r15d, %edi
	movl	-92(%rbp), %esi                 ## 4-byte Reload
	callq	_min
	movl	%eax, %r12d
	cmpl	$0, 8(%r13)
	je	LBB0_13
LBB0_16:                                ##   in Loop: Header=BB0_12 Depth=1
	cmpl	%r15d, %r12d
	sete	%al
	andb	-76(%rbp), %al                  ## 1-byte Folded Reload
	cmpl	$9, %r12d
	setae	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_12 Depth=1
	addl	$-4, %r12d
LBB0_18:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	-104(%rbp), %r13                ## 8-byte Reload
	movq	16(%r13), %rax
	movq	_e1000_bus_type_pcix@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	sete	%al
	cmpl	$2016, %r12d                    ## imm = 0x7E0
	setae	%cl
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	sete	%dl
	andb	%al, %dl
	andb	%cl, %dl
	movzbl	%dl, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_12 Depth=1
	movl	$2015, %r12d                    ## imm = 0x7DF
LBB0_20:                                ##   in Loop: Header=BB0_12 Depth=1
	movl	-72(%rbp), %eax                 ## 4-byte Reload
	leaq	(%rax,%rax,2), %rbx
	shlq	$4, %rbx
	cmpq	$0, (%r13)
	je	LBB0_21
## %bb.22:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	movl	(%r13), %eax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	addl	%r12d, %ecx
	addl	%ecx, %eax
	decl	%eax
	testb	$4, %al
	sete	%cl
	cmpl	$5, %r12d
	setae	%al
	andb	%cl, %al
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_12 Depth=1
	cmpl	$0, 4(%rbx)
	je	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%r13, %rdi
	callq	_skb_is_gso
	testl	%eax, %eax
	jne	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	$0, 4(%rax)
	addl	$-4, %r12d
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_12 Depth=1
	xorl	%eax, %eax
	movq	-88(%rbp), %r13                 ## 8-byte Reload
LBB0_23:                                ##   in Loop: Header=BB0_12 Depth=1
	leaq	(%r14,%rbx), %rcx
	movq	%rcx, -128(%rbp)                ## 8-byte Spill
	movzbl	%al, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_12 Depth=1
	addl	$-4, %r12d
LBB0_25:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movl	%r12d, (%rax)
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 40(%r14,%rbx)
	movl	$0, 4(%r14,%rbx)
	movl	(%r13), %esi
	addl	-64(%rbp), %esi                 ## 4-byte Folded Reload
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	-120(%rbp), %r13                ## 8-byte Reload
	movq	%r13, %rdi
	movl	%r12d, %edx
	callq	_dma_map_single
	movq	%rax, 24(%r14,%rbx)
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_dma_mapping_error
	testq	%rax, %rax
	jne	LBB0_26
## %bb.31:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, 8(%r14,%rbx)
	movq	%rax, %rbx
	subl	%r12d, %r15d
	je	LBB0_2
## %bb.32:                              ##   in Loop: Header=BB0_12 Depth=1
	incl	%ebx
	xorl	%edi, %edi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpl	8(%rax), %ebx
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_34
## %bb.33:                              ##   in Loop: Header=BB0_12 Depth=1
	xorl	%ebx, %ebx
	jmp	LBB0_34
LBB0_1:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	testl	%r12d, %r12d
	jne	LBB0_4
	jmp	LBB0_41
LBB0_2:
	incl	-44(%rbp)                       ## 4-byte Folded Spill
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movl	16(%rbp), %r14d
	movq	-112(%rbp), %r12                ## 8-byte Reload
	testl	%r12d, %r12d
	je	LBB0_41
LBB0_4:
	leal	-1(%r12), %eax
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	movl	%r12d, %eax
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	xorl	%r15d, %r15d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_40:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	-160(%rbp), %r15                ## 8-byte Reload
	incq	%r15
	cmpq	-152(%rbp), %r15                ## 8-byte Folded Reload
	movl	16(%rbp), %r14d
	je	LBB0_41
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_skb_shinfo
	leaq	(,%r15,4), %rdi
	addq	8(%rax), %rdi
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	callq	_skb_frag_size
	testl	%eax, %eax
	movq	%r15, -160(%rbp)                ## 8-byte Spill
	je	LBB0_40
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%eax, %ecx
	testl	%r14d, %r14d
	setne	%al
	cmpq	-144(%rbp), %r15                ## 8-byte Folded Reload
	sete	%dl
	andb	%al, %dl
	movb	%dl, -112(%rbp)                 ## 1-byte Spill
	xorl	%r12d, %r12d
	movl	%ecx, %r14d
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	incl	%ebx
	xorl	%edi, %edi
	cmpl	8(%r13), %ebx
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	movl	$0, %eax
	cmovnel	%eax, %ebx
	movq	16(%r13), %r15
	movl	%r14d, %edi
	movl	-92(%rbp), %esi                 ## 4-byte Reload
	callq	_min
	movl	%eax, %r13d
	cmpl	%r14d, %eax
	sete	%al
	andb	-112(%rbp), %al                 ## 1-byte Folded Reload
	cmpl	$9, %r13d
	setae	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_unlikely
	testq	%rax, %rax
	movl	%r14d, -76(%rbp)                ## 4-byte Spill
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=2
	addl	$-4, %r13d
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=2
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	leaq	(%rbx,%rbx,2), %r14
	shlq	$4, %r14
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_skb_frag_page
	movl	%eax, %edi
	callq	_page_to_phys
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	cmpq	$0, (%rcx)
	je	LBB0_10
## %bb.35:                              ##   in Loop: Header=BB0_7 Depth=2
	leal	(%r12,%r13), %ecx
	addl	%ecx, %eax
	decl	%eax
	testb	$4, %al
	sete	%cl
	cmpl	$5, %r13d
	setae	%al
	andb	%cl, %al
	jmp	LBB0_36
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=2
	xorl	%eax, %eax
LBB0_36:                                ##   in Loop: Header=BB0_7 Depth=2
	leaq	(%r15,%r14), %rbx
	movzbl	%al, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_38
## %bb.37:                              ##   in Loop: Header=BB0_7 Depth=2
	addl	$-4, %r13d
LBB0_38:                                ##   in Loop: Header=BB0_7 Depth=2
	movl	%r13d, (%rbx)
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 40(%r15,%r14)
	movl	$1, 4(%r15,%r14)
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%rbx, -128(%rbp)                ## 8-byte Spill
	movq	-120(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	%r12d, %edx
	movl	%r13d, %ecx
	callq	_skb_frag_dma_map
	movq	%rax, 24(%r15,%r14)
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_dma_mapping_error
	testq	%rax, %rax
	jne	LBB0_26
## %bb.39:                              ##   in Loop: Header=BB0_7 Depth=2
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movl	%ebx, 8(%r15,%r14)
	addl	%r13d, %r12d
	incl	-44(%rbp)                       ## 4-byte Folded Spill
	movl	-76(%rbp), %r14d                ## 4-byte Reload
	subl	%r13d, %r14d
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	jne	LBB0_7
	jmp	LBB0_40
LBB0_26:
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	movq	-104(%rbp), %r13                ## 8-byte Reload
	leaq	L_.str(%rip), %rsi
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	callq	_dev_err
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movq	$0, 24(%rax)
	xorl	%r14d, %r14d
	cmpl	$2, %r12d
	jb	LBB0_42
## %bb.27:
	decl	%r12d
	jmp	LBB0_28
	.p2align	4, 0x90
LBB0_30:                                ##   in Loop: Header=BB0_28 Depth=1
	decl	%ebx
	leaq	(%rbx,%rbx,2), %rsi
	shlq	$4, %rsi
	addq	16(%r15), %rsi
	movq	%r13, %rdi
	callq	_e1000_unmap_and_free_tx_resource
	testl	%r12d, %r12d
	je	LBB0_42
LBB0_28:                                ## =>This Inner Loop Header: Depth=1
	decl	%r12d
	testl	%ebx, %ebx
	jne	LBB0_30
## %bb.29:                              ##   in Loop: Header=BB0_28 Depth=1
	movl	8(%r15), %ebx
	jmp	LBB0_30
LBB0_41:
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	callq	_skb_shinfo
	movq	(%rax), %rax
	testq	%rax, %rax
	movl	$1, %r15d
	cmovnel	%eax, %r15d
	leal	-1(%r15), %r14d
	movq	%r12, %rdi
	callq	_skb_headlen
	imull	%r14d, %eax
	addl	4(%r12), %eax
	movq	16(%r13), %rcx
	movl	%ebx, %edx
	leaq	(%rdx,%rdx,2), %rdx
	shlq	$4, %rdx
	movq	%r12, 32(%rcx,%rdx)
	movl	%r15d, 12(%rcx,%rdx)
	movl	%eax, 16(%rcx,%rdx)
	movl	-132(%rbp), %eax                ## 4-byte Reload
	leaq	(%rax,%rax,2), %rax
	shlq	$4, %rax
	movl	%ebx, 8(%rcx,%rax)
	movl	-44(%rbp), %r14d                ## 4-byte Reload
LBB0_42:
	movl	%r14d, %eax
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_e1000_bus_type_pcix,8,3        ## @e1000_bus_type_pcix
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_DMA_TO_DEVICE,4,2              ## @DMA_TO_DEVICE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TX DMA map failed\n"

	.no_dead_strip	_e1000_tx_map
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function e1000_tx_map
_e1000_tx_map:                          ; @e1000_tx_map
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x28, x27, [sp, #96]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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	x23, x6
	mov	x22, x5
	str	w4, [sp, #68]                   ; 4-byte Folded Spill
	mov	x20, x3
	mov	x24, x2
	mov	x19, x1
	ldr	x8, [x0, #8]
	stp	x8, x0, [sp, #72]               ; 16-byte Folded Spill
	mov	x0, x2
	bl	_skb_headlen
	ldr	w26, [x19]
	str	x24, [sp, #32]                  ; 8-byte Folded Spill
	stp	w20, w23, [sp, #16]             ; 8-byte Folded Spill
	str	x19, [sp, #56]                  ; 8-byte Folded Spill
	cbz	w0, LBB0_12
; %bb.1:
	mov	x27, x0
	mov	w21, #0
	mov	w25, #0
	str	w22, [sp, #8]                   ; 4-byte Folded Spill
	cmp	w22, #0
	ccmp	w23, #0, #4, eq
	cset	w8, ne
	str	w8, [sp, #24]                   ; 4-byte Folded Spill
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x23, [x19, #16]
	mov	x0, x27
	ldr	w1, [sp, #68]                   ; 4-byte Folded Reload
	bl	_min
	mov	x22, x0
	ldr	w8, [x24, #8]
	str	x23, [sp, #48]                  ; 8-byte Folded Spill
	cbz	w8, LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_2 Depth=1
	str	w27, [sp, #44]                  ; 4-byte Folded Spill
	cmp	w22, w27
	cset	w8, eq
	ldr	w9, [sp, #24]                   ; 4-byte Folded Reload
	and	w8, w9, w8
	cmp	w22, #8
	cset	w9, hi
	and	w0, w8, w9
	bl	_unlikely
	sub	w8, w22, #4
	cmp	x0, #0
	csel	w20, w22, w8, eq
	ldr	x23, [sp, #80]                  ; 8-byte Folded Reload
	ldr	x8, [x23, #16]
Lloh0:
	adrp	x9, _e1000_bus_type_pcix@GOTPAGE
Lloh1:
	ldr	x9, [x9, _e1000_bus_type_pcix@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	mov	w19, #2015
	ccmp	w20, w19, #0, eq
	ccmp	w21, #0, #0, hi
	cset	w0, eq
	bl	_unlikely
	cmp	x0, #0
	csel	w22, w20, w19, eq
	ldr	x8, [x23]
	stur	w21, [x29, #-84]                ; 4-byte Folded Spill
	cbz	x8, LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x24]
	mov	x27, x25
	add	w9, w25, w22
	add	w8, w9, w8
	sub	w8, w8, #1
	tst	w8, #0x4
	ccmp	w22, #4, #0, eq
	cset	w0, hi
	mov	x19, x24
	b	LBB0_9
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x24
	bl	_skb_is_gso
	cbnz	w0, LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	str	wzr, [x19, #4]
	sub	w22, w22, #4
	b	LBB0_3
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	w0, #0
	mov	x19, x24
	mov	x27, x25
LBB0_9:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	w20, w26
	mov	w21, #48
	ldr	x28, [sp, #48]                  ; 8-byte Folded Reload
	umaddl	x23, w26, w21, x28
	bl	_unlikely
	sub	w8, w22, #4
	cmp	x0, #0
	csel	w22, w22, w8, eq
	str	w22, [x23]
Lloh3:
	adrp	x8, _jiffies@GOTPAGE
Lloh4:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	madd	x24, x20, x21, x28
	str	x8, [x24, #40]
	str	wzr, [x24, #4]
	ldr	w8, [x19]
	mov	x25, x27
	add	w1, w8, w27
Lloh6:
	adrp	x8, _DMA_TO_DEVICE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DMA_TO_DEVICE@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	ldr	x19, [sp, #72]                  ; 8-byte Folded Reload
	mov	x0, x19
	mov	x2, x22
	bl	_dma_map_single
	mov	x1, x0
	str	x0, [x24, #24]
	mov	x0, x19
	bl	_dma_mapping_error
	cbnz	x0, LBB0_20
; %bb.10:                               ;   in Loop: Header=BB0_2 Depth=1
	madd	x8, x20, x21, x28
	str	w26, [x8, #8]
	ldr	w27, [sp, #44]                  ; 4-byte Folded Reload
	subs	w27, w27, w22
	b.eq	LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_2 Depth=1
	add	w25, w22, w25
	add	w8, w26, #1
	ldr	x19, [sp, #56]                  ; 8-byte Folded Reload
	ldr	w9, [x19, #8]
	cmp	w8, w9
	cset	w0, eq
	bl	_unlikely
	cmp	x0, #0
	csinc	w26, wzr, w26, ne
	ldur	w21, [x29, #-84]                ; 4-byte Folded Reload
	add	w21, w21, #1
	ldr	x24, [sp, #32]                  ; 8-byte Folded Reload
	b	LBB0_2
LBB0_12:
	mov	w21, #0
	cbnz	w22, LBB0_14
	b	LBB0_26
LBB0_13:
	ldur	w21, [x29, #-84]                ; 4-byte Folded Reload
	add	w21, w21, #1
	ldr	x24, [sp, #32]                  ; 8-byte Folded Reload
	ldr	x19, [sp, #56]                  ; 8-byte Folded Reload
	ldr	w23, [sp, #20]                  ; 4-byte Folded Reload
	ldr	w22, [sp, #8]                   ; 4-byte Folded Reload
	cbz	w22, LBB0_26
LBB0_14:
	mov	x20, #0
	sub	w9, w22, #1
	mov	w27, #48
	mov	w8, w22
	stp	x9, x8, [sp]                    ; 16-byte Folded Spill
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=1
	ldp	x20, x24, [sp, #24]             ; 16-byte Folded Reload
	add	x20, x20, #1
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	cmp	x20, x8
	ldr	w23, [sp, #20]                  ; 4-byte Folded Reload
	ldur	w21, [x29, #-84]                ; 4-byte Folded Reload
	b.eq	LBB0_26
LBB0_16:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_18 Depth 2
	mov	x0, x24
	bl	_skb_shinfo
	ldr	x8, [x0, #8]
	add	x0, x8, x20, lsl #2
	str	x0, [sp, #48]                   ; 8-byte Folded Spill
	bl	_skb_frag_size
	str	x20, [sp, #24]                  ; 8-byte Folded Spill
	stur	w21, [x29, #-84]                ; 4-byte Folded Spill
	cbz	w0, LBB0_15
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	x28, x0
	mov	w22, #0
	cmp	w23, #0
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	ccmp	x20, x8, #0, ne
	cset	w8, eq
	str	w8, [sp, #44]                   ; 4-byte Folded Spill
LBB0_18:                                ;   Parent Loop BB0_16 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	w8, w26, #1
	ldr	w9, [x19, #8]
	cmp	w8, w9
	cset	w0, eq
	bl	_unlikely
	cmp	x0, #0
	csinc	w26, wzr, w26, ne
	ldr	x20, [x19, #16]
	umaddl	x23, w26, w27, x20
	mov	x0, x28
	ldr	w1, [sp, #68]                   ; 4-byte Folded Reload
	bl	_min
	mov	x25, x0
	cmp	w0, w28
	cset	w8, eq
	ldr	w9, [sp, #44]                   ; 4-byte Folded Reload
	and	w8, w9, w8
	cmp	w0, #8
	cset	w9, hi
	and	w0, w8, w9
	bl	_unlikely
	sub	w8, w25, #4
	cmp	x0, #0
	csel	w24, w25, w8, eq
	ldr	x21, [sp, #48]                  ; 8-byte Folded Reload
	mov	x0, x21
	bl	_skb_frag_page
	bl	_page_to_phys
	ldr	x8, [sp, #80]                   ; 8-byte Folded Reload
	ldr	x8, [x8]
	add	w9, w22, w24
	add	w9, w9, w0
	sub	w9, w9, #1
	tst	x9, #0x4
	ccmp	w24, #4, #0, eq
	cset	w9, hi
	cmp	x8, #0
	csel	w0, wzr, w9, eq
	bl	_unlikely
	sub	w8, w24, #4
	cmp	x0, #0
	csel	w25, w24, w8, eq
	str	w25, [x23]
Lloh9:
	adrp	x8, _jiffies@GOTPAGE
Lloh10:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	madd	x24, x26, x27, x20
	str	x8, [x24, #40]
	mov	w8, #1
	str	w8, [x24, #4]
Lloh12:
	adrp	x8, _DMA_TO_DEVICE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DMA_TO_DEVICE@GOTPAGEOFF]
Lloh14:
	ldr	w4, [x8]
	mov	w19, #48
	ldr	x27, [sp, #72]                  ; 8-byte Folded Reload
	mov	x0, x27
	mov	x1, x21
	mov	x2, x22
	mov	x3, x25
	bl	_skb_frag_dma_map
	mov	x1, x0
	str	x0, [x24, #24]
	mov	x0, x27
	bl	_dma_mapping_error
	cbnz	x0, LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=2
	madd	x8, x26, x19, x20
	str	w26, [x8, #8]
	add	w22, w25, w22
	ldur	w8, [x29, #-84]                 ; 4-byte Folded Reload
	add	w8, w8, #1
	stur	w8, [x29, #-84]                 ; 4-byte Folded Spill
	subs	w28, w28, w25
	mov	w27, #48
	ldr	x19, [sp, #56]                  ; 8-byte Folded Reload
	b.ne	LBB0_18
	b	LBB0_15
LBB0_20:
	ldr	x19, [sp, #56]                  ; 8-byte Folded Reload
	ldur	w21, [x29, #-84]                ; 4-byte Folded Reload
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	ldr	x0, [sp, #72]                   ; 8-byte Folded Reload
	bl	_dev_err
	str	xzr, [x23, #24]
	cmp	w21, #2
	b.hs	LBB0_22
LBB0_21:
	mov	w21, #0
	b	LBB0_27
LBB0_22:
	sub	w20, w21, #1
	mov	w21, #48
	b	LBB0_24
LBB0_23:                                ;   in Loop: Header=BB0_24 Depth=1
	sub	w26, w26, #1
	ldr	x8, [x19, #16]
	umaddl	x1, w26, w21, x8
	ldr	x0, [sp, #80]                   ; 8-byte Folded Reload
	bl	_e1000_unmap_and_free_tx_resource
	cbz	w20, LBB0_21
LBB0_24:                                ; =>This Inner Loop Header: Depth=1
	sub	w20, w20, #1
	cbnz	w26, LBB0_23
; %bb.25:                               ;   in Loop: Header=BB0_24 Depth=1
	ldr	w26, [x19, #8]
	b	LBB0_23
LBB0_26:
	mov	x0, x24
	bl	_skb_shinfo
	ldr	x8, [x0]
	cmp	x8, #0
	csinc	w20, w8, wzr, ne
	sub	w22, w20, #1
	mov	x0, x24
	bl	_skb_headlen
	ldr	w8, [x24, #4]
	madd	w8, w22, w0, w8
	ldr	x9, [x19, #16]
	mov	w10, #48
	umaddl	x11, w26, w10, x9
	str	x24, [x11, #32]
	stp	w20, w8, [x11, #12]
	ldr	w8, [sp, #16]                   ; 4-byte Folded Reload
	umaddl	x8, w8, w10, x9
	str	w26, [x8, #8]
LBB0_27:
	mov	x0, x21
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_e1000_bus_type_pcix,8,3        ; @e1000_bus_type_pcix
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_DMA_TO_DEVICE,4,2              ; @DMA_TO_DEVICE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TX DMA map failed\n"

	.no_dead_strip	_e1000_tx_map
.subsections_via_symbols
