	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ef4_tx_map_data
_ef4_tx_map_data:                       ## @ef4_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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %rax
	movq	(%rax), %r15
	movq	%rsi, %rdi
	callq	_skb_shinfo
	movl	(%rax), %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_skb_headlen
	movq	%rax, %rbx
	movl	(%r12), %esi
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	movq	%r15, %rdi
	movq	%rax, %rdx
	callq	_dma_map_single
	movq	%rax, %r14
	movq	_EF4_TX_BUF_MAP_SINGLE@GOTPCREL(%rip), %rax
	movzwl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_dma_mapping_error
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_1
## %bb.7:
	movq	_EIO@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_6
LBB0_1:
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	4(,%rax,4), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_ef4_tx_map_chunk
	movq	_EF4_TX_BUF_CONT@GOTPCREL(%rip), %rcx
	movzwl	(%rcx), %ecx
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	orw	%dx, %cx
	movw	%cx, (%rax)
	movq	%rbx, 8(%rax)
	movq	24(%rax), %rcx
	subq	%r14, %rcx
	movq	%rcx, 32(%rax)
	leaq	4(%r15), %r12
	cmpq	%r12, -56(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_skb_shinfo
	addq	8(%rax), %r15
	movq	%r15, %rdi
	callq	_skb_frag_size
	movq	%rax, %rbx
	movl	(%r13), %r8d
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	movq	%rax, %rcx
	callq	_skb_frag_dma_map
	movq	%rax, %r14
	movq	%r13, %rdi
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %r13
	movq	%rax, %rsi
	callq	_dma_mapping_error
	movl	%eax, %edi
	callq	_unlikely
	movq	%r12, %r15
	testq	%rax, %rax
	je	LBB0_2
## %bb.5:
	movq	_EIO@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	subl	(%rax), %ecx
	movl	%ecx, %eax
	jmp	LBB0_6
LBB0_3:
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, 16(%rax)
	movq	_EF4_TX_BUF_SKB@GOTPCREL(%rip), %rcx
	orw	(%rcx), %dx
	movw	%dx, (%rax)
	xorl	%eax, %eax
LBB0_6:
	addq	$40, %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	_EF4_TX_BUF_MAP_SINGLE,2,1      ## @EF4_TX_BUF_MAP_SINGLE
	.comm	_EIO,4,2                        ## @EIO
	.comm	_EF4_TX_BUF_CONT,2,1            ## @EF4_TX_BUF_CONT
	.comm	_EF4_TX_BUF_SKB,2,1             ## @EF4_TX_BUF_SKB
	.no_dead_strip	_ef4_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 ef4_tx_map_data
_ef4_tx_map_data:                       ; @ef4_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	x19, x1
	mov	x20, x0
	ldr	x8, [x0]
	ldr	x21, [x8]
	mov	x0, x1
	bl	_skb_shinfo
	ldr	w25, [x0]
	mov	x0, x19
	bl	_skb_headlen
	mov	x22, 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, x22
	bl	_dma_map_single
	mov	x23, x0
Lloh3:
	adrp	x8, _EF4_TX_BUF_MAP_SINGLE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EF4_TX_BUF_MAP_SINGLE@GOTPAGEOFF]
	ldrh	w27, [x8]
	mov	x0, x21
	mov	x1, x23
	bl	_dma_mapping_error
	bl	_unlikely
	cbnz	x0, LBB0_4
; %bb.1:
	mov	x24, #0
	lsl	x8, x25, #2
	add	x25, x8, #4
Lloh5:
	adrp	x26, _EF4_TX_BUF_CONT@GOTPAGE
Lloh6:
	ldr	x26, [x26, _EF4_TX_BUF_CONT@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x23
	mov	x2, x22
	bl	_ef4_tx_map_chunk
	ldrh	w9, [x26]
	orr	w9, w9, w27
	strh	w9, [x0]
	str	x22, [x0, #8]
	ldr	x9, [x0, #24]
	sub	x9, x9, x23
	str	x9, [x0, #32]
	add	x28, x24, #4
	cmp	x25, x28
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	bl	_skb_shinfo
	ldr	x8, [x0, #8]
	add	x23, x8, x24
	mov	x0, x23
	bl	_skb_frag_size
	mov	x22, 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, x23
	mov	w2, #0
	mov	x3, x22
	bl	_skb_frag_dma_map
	mov	x23, x0
	mov	x0, x21
	mov	x1, x23
	bl	_dma_mapping_error
	bl	_unlikely
	mov	w27, #0
	mov	x24, x28
	cbz	x0, LBB0_2
LBB0_4:
Lloh10:
	adrp	x8, _EIO@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_6
LBB0_5:
	mov	x8, x0
	mov	w0, #0
	str	x19, [x8, #16]
Lloh13:
	adrp	x9, _EF4_TX_BUF_SKB@GOTPAGE
Lloh14:
	ldr	x9, [x9, _EF4_TX_BUF_SKB@GOTPAGEOFF]
	ldrh	w9, [x9]
	orr	w9, w9, w27
	strh	w9, [x8]
LBB0_6:
	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
	.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	_EF4_TX_BUF_MAP_SINGLE,2,1      ; @EF4_TX_BUF_MAP_SINGLE
	.comm	_EIO,4,2                        ; @EIO
	.comm	_EF4_TX_BUF_CONT,2,1            ; @EF4_TX_BUF_CONT
	.comm	_EF4_TX_BUF_SKB,2,1             ; @EF4_TX_BUF_SKB
	.no_dead_strip	_ef4_tx_map_data
.subsections_via_symbols
