	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function efx_tx_map_data
_efx_tx_map_data:                       ## @efx_tx_map_data
	.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
	movl	%edx, -60(%rbp)                 ## 4-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	8(%rdi), %rax
	movq	(%rax), %r12
	movq	%rsi, %rdi
	callq	_skb_shinfo
	movl	(%rax), %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_skb_headlen
	movq	%rax, %r15
	movl	(%rbx), %esi
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	movq	%r15, %rdx
	callq	_dma_map_single
	movq	%rax, %rsi
	movq	_EFX_TX_BUF_MAP_SINGLE@GOTPCREL(%rip), %rax
	movzwl	(%rax), %r13d
	movq	%r12, %rdi
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	callq	_dma_mapping_error
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_EIO@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_10
LBB0_2:
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, %r14
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, %rsi
	cmpl	$0, -60(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_5
## %bb.3:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_skb_transport_header
	movl	%eax, %r14d
	subl	(%rbx), %r14d
	movq	%rbx, %rdi
	callq	_tcp_hdr
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rax), %eax
	leal	(%r14,%rax,4), %r12d
	movq	%r15, %rbx
	movq	%r15, %r14
	movq	%rcx, %rsi
	subq	%r12, %rbx
	je	LBB0_5
## %bb.4:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	incl	(%rdi)
	movq	%rcx, %rsi
	movq	%r12, %rdx
	callq	_efx_tx_map_chunk
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, %rsi
	addq	%r12, %rsi
	movq	%rbx, %r14
LBB0_5:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	leaq	4(,%rax,4), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	movq	%rcx, %rbx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rdx
	callq	_efx_tx_map_chunk
	movq	_EFX_TX_BUF_CONT@GOTPCREL(%rip), %rcx
	movzwl	(%rcx), %ecx
	orw	%r13w, %cx
	movw	%cx, (%rax)
	movq	%r15, 8(%rax)
	movq	24(%rax), %rcx
	subq	%rbx, %rcx
	movq	%rcx, 16(%rax)
	leaq	4(%r12), %r15
	cmpq	%r15, -48(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_skb_shinfo
	addq	8(%rax), %r12
	movq	%r12, %rdi
	callq	_skb_frag_size
	movq	%rax, %r14
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%r13d, %r13d
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	movq	%r14, %rcx
	callq	_skb_frag_dma_map
	movq	%rbx, %rdi
	movq	%rax, %rbx
	movq	%rax, %rsi
	callq	_dma_mapping_error
	movl	%eax, %edi
	callq	_unlikely
	movq	%r15, %r12
	movq	%r14, %r15
	movq	%rbx, %rsi
	testq	%rax, %rax
	je	LBB0_6
## %bb.9:
	movq	_EIO@GOTPCREL(%rip), %rax
	subl	(%rax), %r13d
	movl	%r13d, %eax
	jmp	LBB0_10
LBB0_7:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, 32(%rax)
	movq	_EFX_TX_BUF_SKB@GOTPCREL(%rip), %rcx
	orw	(%rcx), %r13w
	movw	%r13w, (%rax)
	xorl	%eax, %eax
LBB0_10:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DMA_TO_DEVICE,4,2              ## @DMA_TO_DEVICE
	.comm	_EFX_TX_BUF_MAP_SINGLE,2,1      ## @EFX_TX_BUF_MAP_SINGLE
	.comm	_EIO,4,2                        ## @EIO
	.comm	_EFX_TX_BUF_CONT,2,1            ## @EFX_TX_BUF_CONT
	.comm	_EFX_TX_BUF_SKB,2,1             ## @EFX_TX_BUF_SKB
	.no_dead_strip	_efx_tx_map_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function efx_tx_map_data
_efx_tx_map_data:                       ; @efx_tx_map_data
	.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	x25, x2
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x0, #8]
	ldr	x21, [x8]
	mov	x0, x1
	bl	_skb_shinfo
	ldr	w28, [x0]
	mov	x0, x19
	bl	_skb_headlen
	mov	x23, x0
	ldr	w1, [x19]
Lloh0:
	adrp	x8, _DMA_TO_DEVICE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DMA_TO_DEVICE@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	x0, x21
	mov	x2, x23
	bl	_dma_map_single
	mov	x22, x0
Lloh3:
	adrp	x8, _EFX_TX_BUF_MAP_SINGLE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EFX_TX_BUF_MAP_SINGLE@GOTPAGEOFF]
	ldrh	w27, [x8]
	mov	x0, x21
	mov	x1, x22
	bl	_dma_mapping_error
	bl	_unlikely
	cbnz	x0, LBB0_7
; %bb.1:
	mov	x24, x23
	mov	x1, x22
	cbz	w25, LBB0_4
; %bb.2:
	mov	x0, x19
	bl	_skb_transport_header
	ldr	w8, [x19]
	sub	w24, w0, w8
	mov	x0, x19
	bl	_tcp_hdr
	ldr	w8, [x0]
	add	w25, w24, w8, lsl #2
	mov	x24, x23
	mov	x1, x22
	subs	x26, x23, x25
	b.eq	LBB0_4
; %bb.3:
	ldr	w8, [x20]
	add	w8, w8, #1
	str	w8, [x20]
	mov	x0, x20
	mov	x1, x22
	mov	x2, x25
	bl	_efx_tx_map_chunk
	add	x1, x22, x25
	mov	x24, x26
LBB0_4:
	mov	x26, #0
	lsl	x8, x28, #2
	add	x25, x8, #4
Lloh5:
	adrp	x28, _EFX_TX_BUF_CONT@GOTPAGE
Lloh6:
	ldr	x28, [x28, _EFX_TX_BUF_CONT@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x2, x24
	bl	_efx_tx_map_chunk
	ldrh	w9, [x28]
	orr	w9, w9, w27
	strh	w9, [x0]
	ldr	x9, [x0, #24]
	sub	x9, x9, x22
	stp	x23, x9, [x0, #8]
	add	x23, x26, #4
	cmp	x25, x23
	b.eq	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	bl	_skb_shinfo
	ldr	x8, [x0, #8]
	add	x22, x8, x26
	mov	x0, x22
	bl	_skb_frag_size
	mov	x24, x0
Lloh7:
	adrp	x8, _DMA_TO_DEVICE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _DMA_TO_DEVICE@GOTPAGEOFF]
Lloh9:
	ldr	w4, [x8]
	mov	x0, x21
	mov	x1, x22
	mov	w2, #0
	mov	x3, x24
	bl	_skb_frag_dma_map
	mov	x22, x0
	mov	x0, x21
	mov	x1, x22
	bl	_dma_mapping_error
	bl	_unlikely
	mov	w27, #0
	mov	x26, x23
	mov	x23, x24
	mov	x1, x22
	cbz	x0, LBB0_5
LBB0_7:
Lloh10:
	adrp	x8, _EIO@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
	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_9:
	mov	x8, x0
	mov	w0, #0
	str	x19, [x8, #32]
Lloh13:
	adrp	x9, _EFX_TX_BUF_SKB@GOTPAGE
Lloh14:
	ldr	x9, [x9, _EFX_TX_BUF_SKB@GOTPAGEOFF]
	ldrh	w9, [x9]
	orr	w9, w9, w27
	strh	w9, [x8]
	b	LBB0_8
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_DMA_TO_DEVICE,4,2              ; @DMA_TO_DEVICE
	.comm	_EFX_TX_BUF_MAP_SINGLE,2,1      ; @EFX_TX_BUF_MAP_SINGLE
	.comm	_EIO,4,2                        ; @EIO
	.comm	_EFX_TX_BUF_CONT,2,1            ; @EFX_TX_BUF_CONT
	.comm	_EFX_TX_BUF_SKB,2,1             ; @EFX_TX_BUF_SKB
	.no_dead_strip	_efx_tx_map_data
.subsections_via_symbols
