	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function igbvf_tx_map_adv
_igbvf_tx_map_adv:                      ## @igbvf_tx_map_adv
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	(%rdi), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%rdx, %rdi
	callq	_skb_headlen
	movl	%eax, %r13d
	movl	(%rbx), %r12d
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	8(%rbx), %rbx
	movq	%r12, %r14
	shlq	$5, %r14
	movq	_IGBVF_MAX_DATA_PER_TXD@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpl	(%rcx), %eax
	setae	%dil
	callq	_BUG_ON
	movl	%r13d, %edx
	movl	%r13d, (%rbx,%r14)
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%rbx,%r14)
	movl	$0, 4(%rbx,%r14)
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	callq	_dma_map_single
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, 16(%rbx,%r14)
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_dma_mapping_error
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	addq	%r14, %r13
	movq	%r13, %rbx
	xorl	%r13d, %r13d
LBB0_10:
	leaq	L_.str(%rip), %rsi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_dev_err
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rbx)
	movq	$0, 16(%rbx)
	cmpl	$2, %r13d
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	jae	LBB0_11
LBB0_15:
	xorl	%eax, %eax
	jmp	LBB0_16
LBB0_2:
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_skb_shinfo
	cmpl	$0, (%rax)
	movq	%rbx, %rdi
	je	LBB0_3
## %bb.4:
	movq	%r15, -80(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	xorl	%r13d, %r13d
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	incl	%r12d
	cmpl	4(%r14), %r12d
	movl	$0, %eax
	cmovel	%eax, %r12d
	callq	_skb_shinfo
	movq	8(%rax), %rdi
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	addq	%rbx, %rdi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_skb_frag_size
	movl	%eax, %ebx
	movq	8(%r14), %r15
	movq	%r12, %r14
	shlq	$5, %r14
	xorl	%edi, %edi
	movq	_IGBVF_MAX_DATA_PER_TXD@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	setae	%dil
	callq	_BUG_ON
	movl	%ebx, (%r15,%r14)
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r15,%r14)
	movl	$1, 4(%r15,%r14)
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	xorl	%edx, %edx
	movl	%ebx, %ecx
	callq	_skb_frag_dma_map
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, 16(%r15,%r14)
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rsi
	callq	_dma_mapping_error
	testq	%rax, %rax
	jne	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	incq	%r13
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	callq	_skb_shinfo
	movl	(%rax), %eax
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	addq	$4, %rbx
	cmpq	%rax, %r13
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r15, %rdi
	jb	LBB0_5
## %bb.7:
	movl	%r12d, %r12d
	incl	%r13d
	movl	%r13d, %eax
	jmp	LBB0_8
LBB0_11:
	decl	%r13d
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_12 Depth=1
	decl	%r12d
	movq	%r12, %rsi
	shlq	$5, %rsi
	addq	8(%r14), %rsi
	movq	%r15, %rdi
	callq	_igbvf_put_txbuf
	testl	%r13d, %r13d
	je	LBB0_15
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	decl	%r13d
	testl	%r12d, %r12d
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movl	4(%r14), %r12d
	jmp	LBB0_14
LBB0_3:
	movl	$1, %eax
	movq	-56(%rbp), %r14                 ## 8-byte Reload
LBB0_8:
	movq	8(%r14), %rdx
	shlq	$5, %r12
	movq	%rdi, 24(%rdx,%r12)
LBB0_16:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	addq	%r14, %rbx
	incl	%r13d
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_IGBVF_MAX_DATA_PER_TXD,4,2     ## @IGBVF_MAX_DATA_PER_TXD
	.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	_igbvf_tx_map_adv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function igbvf_tx_map_adv
_igbvf_tx_map_adv:                      ; @igbvf_tx_map_adv
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x22, x2
	mov	x19, x1
	mov	x20, x0
	ldr	x21, [x0]
	mov	x0, x2
	bl	_skb_headlen
	mov	x23, x0
	ldr	w26, [x19]
	ldr	x8, [x19, #8]
	add	x28, x8, x26, lsl #5
Lloh0:
	adrp	x8, _IGBVF_MAX_DATA_PER_TXD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IGBVF_MAX_DATA_PER_TXD@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	cset	w0, hs
	bl	_BUG_ON
Lloh3:
	adrp	x8, _jiffies@GOTPAGE
Lloh4:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	str	x8, [x28, #8]
	stp	w23, wzr, [x28]
	ldr	w1, [x22]
Lloh6:
	adrp	x8, _DMA_TO_DEVICE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DMA_TO_DEVICE@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	mov	x0, x21
	mov	x2, x23
	bl	_dma_map_single
	mov	x1, x0
	str	x0, [x28, #16]
	mov	x0, x21
	bl	_dma_mapping_error
	cbz	x0, LBB0_4
; %bb.1:
	mov	w22, #0
LBB0_2:
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_dev_err
	stp	xzr, xzr, [x28, #8]
	str	xzr, [x28]
	cmp	w22, #2
	b.hs	LBB0_11
LBB0_3:
	mov	w0, #0
	b	LBB0_10
LBB0_4:
	mov	x0, x22
	bl	_skb_shinfo
	ldr	w8, [x0]
	mov	w0, #1
	cbz	w8, LBB0_9
; %bb.5:
	mov	x23, #0
	mov	x27, #0
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add	w8, w26, #1
	ldr	w9, [x19, #4]
	cmp	w8, w9
	csinc	w26, wzr, w26, eq
	mov	x0, x22
	bl	_skb_shinfo
	ldr	x8, [x0, #8]
	add	x24, x8, x23
	mov	x0, x24
	bl	_skb_frag_size
	mov	x25, x0
	ldr	x8, [x19, #8]
	add	x28, x8, x26, lsl #5
Lloh11:
	adrp	x8, _IGBVF_MAX_DATA_PER_TXD@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IGBVF_MAX_DATA_PER_TXD@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	cmp	w0, w8
	cset	w0, hs
	bl	_BUG_ON
Lloh14:
	adrp	x8, _jiffies@GOTPAGE
Lloh15:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	str	x8, [x28, #8]
	mov	w8, #1
	stp	w25, w8, [x28]
Lloh17:
	adrp	x8, _DMA_TO_DEVICE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _DMA_TO_DEVICE@GOTPAGEOFF]
Lloh19:
	ldr	w4, [x8]
	mov	x0, x21
	mov	x1, x24
	mov	w2, #0
	mov	x3, x25
	bl	_skb_frag_dma_map
	mov	x1, x0
	str	x0, [x28, #16]
	mov	x0, x21
	bl	_dma_mapping_error
	cbnz	x0, LBB0_15
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x27, x27, #1
	mov	x0, x22
	bl	_skb_shinfo
	ldr	w8, [x0]
	add	x23, x23, #4
	cmp	x27, x8
	b.lo	LBB0_6
; %bb.8:
	add	w0, w27, #1
LBB0_9:
	ldr	x8, [x19, #8]
	add	x8, x8, x26, lsl #5
	str	x22, [x8, #24]
LBB0_10:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_11:
	sub	w21, w22, #1
                                        ; kill: def $w26 killed $w26 killed $x26 def $x26
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	sub	w26, w26, #1
	ldr	x8, [x19, #8]
	add	x1, x8, x26, lsl #5
	mov	x0, x20
	bl	_igbvf_put_txbuf
	cbz	w21, LBB0_3
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	sub	w21, w21, #1
	cbnz	w26, LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	w26, [x19, #4]
	b	LBB0_12
LBB0_15:
	add	w22, w27, #1
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_IGBVF_MAX_DATA_PER_TXD,4,2     ; @IGBVF_MAX_DATA_PER_TXD
	.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	_igbvf_tx_map_adv
.subsections_via_symbols
