	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function aq_nic_map_skb
_aq_nic_map_skb:                        ## @aq_nic_map_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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r12
	movq	%rdi, %r13
	movq	%rsi, %rdi
	callq	_skb_shinfo
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movl	(%rbx), %eax
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	8(%rbx), %r15
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	imulq	$88, %rax, %rbx
	movl	$0, (%r15,%rbx)
	movq	%r12, %rdi
	callq	_skb_is_gso
	movl	%eax, %edi
	callq	_unlikely
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%r12, %rdi
	callq	_skb_shinfo
	movl	16(%rax), %eax
	movl	%eax, 84(%r15,%rbx)
	movl	$1, 4(%r15,%rbx)
	movl	16(%r12), %eax
	movl	%eax, 64(%r15,%rbx)
	movq	_ETH_HLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 80(%r15,%rbx)
	movq	%r12, %rdi
	callq	_ip_hdrlen
	movl	%eax, 76(%r15,%rbx)
	movq	%r12, %rdi
	callq	_tcp_hdrlen
	movl	%eax, 72(%r15,%rbx)
	movl	$65535, 8(%r15,%rbx)            ## imm = 0xFFFF
	movq	%r12, %rdi
	callq	_ip_hdr
	xorl	%ecx, %ecx
	cmpl	$6, (%rax)
	sete	%cl
	movl	%ecx, 12(%r15,%rbx)
LBB0_2:
	cmpq	$0, (%r13)
	je	LBB0_6
## %bb.3:
	movq	%r12, %rdi
	callq	_skb_vlan_tag_present
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	%r12, %rdi
	callq	_skb_vlan_tag_get
	movl	%eax, 68(%r15,%rbx)
	movl	16(%r12), %eax
	movl	%eax, 64(%r15,%rbx)
	movl	$1, 16(%r15,%rbx)
	jmp	LBB0_5
LBB0_6:
	testq	%r14, %r14
	je	LBB0_7
LBB0_5:
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_aq_ring_next_dx
	movl	%eax, %r15d
	movq	8(%rbx), %rax
	movl	%r15d, %ecx
	imulq	$88, %rcx, %rcx
	leaq	(%rax,%rcx), %r14
	movl	$0, (%rax,%rcx)
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	movq	%r13, %rbx
	jmp	LBB0_8
LBB0_7:
	movq	%r15, %r14
	addq	%rbx, %r14
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movq	%r13, %rbx
	movq	-56(%rbp), %r15                 ## 8-byte Reload
LBB0_8:
	movq	%r12, %rdi
	callq	_skb_headlen
	movl	%eax, 20(%r14)
	movq	%rbx, %rdi
	callq	_aq_nic_get_dev
	movl	20(%r12), %esi
	movl	20(%r14), %edx
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%eax, %edi
	callq	_dma_map_single
	movq	%rax, 48(%r14)
	movq	%rbx, %rdi
	callq	_aq_nic_get_dev
	movq	48(%r14), %rsi
	movl	%eax, %edi
	callq	_dma_mapping_error
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_36
## %bb.9:
	movl	16(%r12), %eax
	movl	%eax, 64(%r14)
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, 24(%r14)
	movq	(%r12), %rax
	movq	_CHECKSUM_PARTIAL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_15
## %bb.10:
	movq	%r15, %r13
	movq	_ETH_P_IP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	xorl	%ecx, %ecx
	cmpq	8(%r12), %rax
	sete	%cl
	movl	%ecx, 32(%r14)
	movq	%r12, %rdi
	callq	_ip_hdr
	movl	(%rax), %r15d
	movq	%r12, %rdi
	callq	_ip_hdr
	cmpl	$4, %r15d
	jne	LBB0_12
## %bb.11:
	movq	8(%rax), %rax
	movq	_IPPROTO_TCP@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpq	(%rcx), %rax
	sete	%dl
	movl	%edx, 36(%r14)
	movq	%r12, %rdi
	callq	_ip_hdr
	addq	$8, %rax
	movq	_IPPROTO_UDP@GOTPCREL(%rip), %rcx
	movq	%r13, %r15
	jmp	LBB0_14
LBB0_12:
	cmpl	$6, (%rax)
	movq	%r13, %r15
	jne	LBB0_15
## %bb.13:
	movq	%r12, %rdi
	callq	_ipv6_hdr
	movq	(%rax), %rax
	movq	_NEXTHDR_TCP@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpq	(%rcx), %rax
	sete	%dl
	movl	%edx, 36(%r14)
	movq	%r12, %rdi
	callq	_ipv6_hdr
	movq	_NEXTHDR_UDP@GOTPCREL(%rip), %rcx
LBB0_14:
	movq	(%rax), %rax
	xorl	%edx, %edx
	cmpq	(%rcx), %rax
	sete	%dl
	movl	%edx, 40(%r14)
LBB0_15:
	incl	-44(%rbp)                       ## 4-byte Folded Spill
	cmpl	$0, -60(%rbp)                   ## 4-byte Folded Reload
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, -104(%rbp)                ## 8-byte Spill
	je	LBB0_16
## %bb.17:
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	movq	%r14, %r13
	movq	%r12, -96(%rbp)                 ## 8-byte Spill
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_18 Depth=1
	movl	-60(%rbp), %eax                 ## 4-byte Reload
	decl	%eax
	incq	%rbx
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	je	LBB0_24
LBB0_18:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_20 Depth 2
	movq	%r12, %rdi
	callq	_skb_shinfo
	leaq	(,%rbx,4), %rdi
	addq	8(%rax), %rdi
	movq	%rdi, -120(%rbp)                ## 8-byte Spill
	callq	_skb_frag_size
	testl	%eax, %eax
	je	LBB0_23
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=1
	movl	%eax, %r14d
	movq	%rbx, -112(%rbp)                ## 8-byte Spill
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_20:                                ##   Parent Loop BB0_18 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	_AQ_CFG_TX_FRAME_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	cmpl	%r15d, %r14d
	cmovbl	%r14d, %r15d
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	callq	_aq_nic_get_dev
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movl	%eax, %edi
	movq	-120(%rbp), %rsi                ## 8-byte Reload
	movl	%ebx, -76(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edx
	movl	%r15d, %ecx
	callq	_skb_frag_dma_map
	movq	%rax, %r12
	movq	%r13, %rdi
	callq	_aq_nic_get_dev
	movl	%eax, %edi
	movq	%r12, %rsi
	callq	_dma_mapping_error
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_25
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=2
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_aq_ring_next_dx
                                        ## kill: def $eax killed $eax def $rax
	movq	8(%rbx), %r13
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	%eax, %eax
	imulq	$88, %rax, %rax
	movl	$0, (%r13,%rax)
	movl	%r15d, 20(%r13,%rax)
	movq	%r12, 48(%r13,%rax)
	movl	$1, 28(%r13,%rax)
	movl	$65535, 8(%r13,%rax)            ## imm = 0xFFFF
	movl	-76(%rbp), %ebx                 ## 4-byte Reload
	addl	%r15d, %ebx
	incl	-44(%rbp)                       ## 4-byte Folded Spill
	subl	%r15d, %r14d
	jne	LBB0_20
## %bb.22:                              ##   in Loop: Header=BB0_18 Depth=1
	addq	%rax, %r13
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	jmp	LBB0_23
LBB0_25:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_35
## %bb.26:
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movl	(%r14), %eax
	xorl	%ebx, %ebx
	jmp	LBB0_27
LBB0_31:                                ##   in Loop: Header=BB0_27 Depth=1
	callq	_dma_unmap_single
LBB0_33:                                ##   in Loop: Header=BB0_27 Depth=1
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_34:                                ##   in Loop: Header=BB0_27 Depth=1
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_aq_ring_next_dx
	incl	%ebx
	cmpl	%ebx, -44(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_35
LBB0_27:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %r12
	movl	%eax, %r15d
	imulq	$88, %r15, %r13
	cmpl	$0, 4(%r12,%r13)
	jne	LBB0_34
## %bb.28:                              ##   in Loop: Header=BB0_27 Depth=1
	cmpl	$0, 16(%r12,%r13)
	jne	LBB0_34
## %bb.29:                              ##   in Loop: Header=BB0_27 Depth=1
	cmpq	$0, 48(%r12,%r13)
	je	LBB0_34
## %bb.30:                              ##   in Loop: Header=BB0_27 Depth=1
	leaq	(%r12,%r13), %rax
	addq	$48, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	24(%r12,%r13), %edi
	callq	_unlikely
	movq	%rax, %r14
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_aq_nic_get_dev
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rsi
	movl	20(%r12,%r13), %edx
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%eax, %edi
	testq	%r14, %r14
	jne	LBB0_31
## %bb.32:                              ##   in Loop: Header=BB0_27 Depth=1
	callq	_dma_unmap_page
	jmp	LBB0_33
LBB0_35:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_36
LBB0_16:
	movq	%r14, %r13
LBB0_24:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	movl	%eax, 8(%rcx)
	movl	$1, 44(%r13)
	movq	%r12, 56(%r13)
LBB0_36:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_HLEN,4,2                   ## @ETH_HLEN
	.comm	_DMA_TO_DEVICE,4,2              ## @DMA_TO_DEVICE
	.comm	_CHECKSUM_PARTIAL,8,3           ## @CHECKSUM_PARTIAL
	.comm	_ETH_P_IP,4,2                   ## @ETH_P_IP
	.comm	_IPPROTO_TCP,8,3                ## @IPPROTO_TCP
	.comm	_IPPROTO_UDP,8,3                ## @IPPROTO_UDP
	.comm	_NEXTHDR_TCP,8,3                ## @NEXTHDR_TCP
	.comm	_NEXTHDR_UDP,8,3                ## @NEXTHDR_UDP
	.comm	_AQ_CFG_TX_FRAME_MAX,4,2        ## @AQ_CFG_TX_FRAME_MAX
	.no_dead_strip	_aq_nic_map_skb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function aq_nic_map_skb
_aq_nic_map_skb:                        ; @aq_nic_map_skb
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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, x2
	mov	x26, x1
	mov	x20, x0
	mov	x0, x1
	bl	_skb_shinfo
	ldr	w27, [x0]
	ldr	w22, [x19]
	ldr	x24, [x19, #8]
	mov	w8, #88
	umaddl	x25, w22, w8, x24
	str	wzr, [x25]
	mov	x0, x26
	bl	_skb_is_gso
	bl	_unlikely
	mov	x23, x0
	str	x20, [sp, #40]                  ; 8-byte Folded Spill
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x26
	bl	_skb_shinfo
	ldr	w8, [x0, #16]
	mov	w9, #88
	madd	x21, x22, x9, x24
	str	w8, [x21, #84]
	mov	w8, #1
	str	w8, [x21, #4]
	ldr	w8, [x26, #16]
	str	w8, [x21, #64]
Lloh0:
	adrp	x8, _ETH_HLEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_HLEN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x21, #80]
	mov	x0, x26
	bl	_ip_hdrlen
	str	w0, [x21, #76]
	mov	x0, x26
	bl	_tcp_hdrlen
	str	w0, [x21, #72]
	mov	w8, #65535
	str	w8, [x21, #8]
	mov	x0, x26
	bl	_ip_hdr
	ldr	w8, [x0]
	cmp	w8, #6
	cset	w8, eq
	str	w8, [x21, #12]
	ldr	x20, [sp, #40]                  ; 8-byte Folded Reload
LBB0_2:
	ldr	x8, [x20]
	cbz	x8, LBB0_5
; %bb.3:
	mov	x0, x26
	bl	_skb_vlan_tag_present
	cbz	x0, LBB0_5
; %bb.4:
	mov	x0, x26
	bl	_skb_vlan_tag_get
	mov	w8, #88
	madd	x8, x22, x8, x24
	ldr	w9, [x26, #16]
	stp	w9, w0, [x8, #64]
	mov	w9, #1
	str	w9, [x8, #16]
	b	LBB0_6
LBB0_5:
	cbz	x23, LBB0_7
LBB0_6:
	mov	x0, x19
	mov	x1, x22
	bl	_aq_ring_next_dx
	mov	x22, x0
	ldr	x8, [x19, #8]
	mov	w9, #88
	umaddl	x25, w0, w9, x8
	str	wzr, [x25]
	mov	w23, #1
LBB0_7:
	mov	x0, x26
	bl	_skb_headlen
	str	w0, [x25, #20]
	mov	x0, x20
	bl	_aq_nic_get_dev
	ldr	w1, [x26, #20]
	ldr	w2, [x25, #20]
Lloh3:
	adrp	x28, _DMA_TO_DEVICE@GOTPAGE
Lloh4:
	ldr	x28, [x28, _DMA_TO_DEVICE@GOTPAGEOFF]
	ldr	w3, [x28]
	bl	_dma_map_single
	str	x0, [x25, #48]
	mov	x0, x20
	bl	_aq_nic_get_dev
	ldr	x1, [x25, #48]
	bl	_dma_mapping_error
	bl	_unlikely
	cbz	x0, LBB0_9
LBB0_8:
	mov	x0, x23
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_9:
	ldr	w8, [x26, #16]
	str	w8, [x25, #64]
	movi.2s	v0, #1
	str	d0, [x25, #24]
	add	w23, w23, #1
	ldr	x8, [x26]
Lloh5:
	adrp	x9, _CHECKSUM_PARTIAL@GOTPAGE
Lloh6:
	ldr	x9, [x9, _CHECKSUM_PARTIAL@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_15
; %bb.10:
Lloh8:
	adrp	x8, _ETH_P_IP@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ETH_P_IP@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_htons
	ldr	x8, [x26, #8]
	cmp	x0, x8
	cset	w8, eq
	str	w8, [x25, #32]
	mov	x0, x26
	bl	_ip_hdr
	ldr	w21, [x0]
	mov	x0, x26
	bl	_ip_hdr
	cmp	w21, #4
	b.ne	LBB0_12
; %bb.11:
	ldr	x8, [x0, #8]
Lloh11:
	adrp	x9, _IPPROTO_TCP@GOTPAGE
Lloh12:
	ldr	x9, [x9, _IPPROTO_TCP@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w8, eq
	str	w8, [x25, #36]
	mov	x0, x26
	bl	_ip_hdr
	add	x0, x0, #8
Lloh14:
	adrp	x8, _IPPROTO_UDP@GOTPAGE
Lloh15:
	ldr	x8, [x8, _IPPROTO_UDP@GOTPAGEOFF]
	b	LBB0_14
LBB0_12:
	ldr	w8, [x0]
	cmp	w8, #6
	b.ne	LBB0_15
; %bb.13:
	mov	x0, x26
	bl	_ipv6_hdr
	ldr	x8, [x0]
Lloh16:
	adrp	x9, _NEXTHDR_TCP@GOTPAGE
Lloh17:
	ldr	x9, [x9, _NEXTHDR_TCP@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w8, eq
	str	w8, [x25, #36]
	mov	x0, x26
	bl	_ipv6_hdr
Lloh19:
	adrp	x8, _NEXTHDR_UDP@GOTPAGE
Lloh20:
	ldr	x8, [x8, _NEXTHDR_UDP@GOTPAGEOFF]
LBB0_14:
	ldr	x9, [x0]
	ldr	x8, [x8]
	cmp	x9, x8
	cset	w8, eq
	str	w8, [x25, #40]
LBB0_15:
	str	x25, [sp, #16]                  ; 8-byte Folded Spill
	cbz	w27, LBB0_32
; %bb.16:
	mov	x20, #0
	mov	x21, x25
	str	x26, [sp, #8]                   ; 8-byte Folded Spill
	b	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_18 Depth=1
	add	x20, x20, #1
	sub	w27, w27, #1
	cbz	w27, LBB0_33
LBB0_18:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_20 Depth 2
	mov	x0, x26
	bl	_skb_shinfo
	ldr	x8, [x0, #8]
	add	x24, x8, x20, lsl #2
	mov	x0, x24
	bl	_skb_frag_size
	cbz	w0, LBB0_17
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	mov	x25, x0
	str	x20, [sp, #24]                  ; 8-byte Folded Spill
	str	w27, [sp, #36]                  ; 4-byte Folded Spill
	mov	w26, #0
LBB0_20:                                ;   Parent Loop BB0_18 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
Lloh21:
	adrp	x8, _AQ_CFG_TX_FRAME_MAX@GOTPAGE
Lloh22:
	ldr	x8, [x8, _AQ_CFG_TX_FRAME_MAX@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	cmp	w25, w8
	csel	w27, w25, w8, lo
	ldr	x21, [sp, #40]                  ; 8-byte Folded Reload
	mov	x0, x21
	bl	_aq_nic_get_dev
	mov	x20, x28
	ldr	w4, [x28]
	mov	x1, x24
	mov	x2, x26
	mov	x3, x27
	bl	_skb_frag_dma_map
	mov	x28, x0
	mov	x0, x21
	bl	_aq_nic_get_dev
	mov	x1, x28
	bl	_dma_mapping_error
	bl	_unlikely
	cbnz	x0, LBB0_23
; %bb.21:                               ;   in Loop: Header=BB0_20 Depth=2
	mov	x0, x19
	mov	x1, x22
	bl	_aq_ring_next_dx
	mov	x22, x0
	ldr	x8, [x19, #8]
	mov	w9, #88
	umaddl	x21, w0, w9, x8
	str	wzr, [x21]
	str	w27, [x21, #20]
	str	x28, [x21, #48]
	mov	w8, #1
	str	w8, [x21, #28]
	mov	w8, #65535
	str	w8, [x21, #8]
	add	w26, w27, w26
	add	w23, w23, #1
	subs	w25, w25, w27
	mov	x28, x20
	b.ne	LBB0_20
; %bb.22:                               ;   in Loop: Header=BB0_18 Depth=1
	ldr	x26, [sp, #8]                   ; 8-byte Folded Reload
	ldr	w27, [sp, #36]                  ; 4-byte Folded Reload
	ldr	x20, [sp, #24]                  ; 8-byte Folded Reload
	b	LBB0_17
LBB0_23:
	cbz	w23, LBB0_8
; %bb.24:
	mov	w24, #0
	ldr	w0, [x19]
	mov	w25, #88
	b	LBB0_27
LBB0_25:                                ;   in Loop: Header=BB0_27 Depth=1
	bl	_dma_unmap_single
LBB0_26:                                ;   in Loop: Header=BB0_27 Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_aq_ring_next_dx
	add	w24, w24, #1
	cmp	w23, w24
	b.eq	LBB0_34
LBB0_27:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	mov	w21, w0
	umaddl	x9, w0, w25, x8
	ldr	w9, [x9, #4]
	cbnz	w9, LBB0_26
; %bb.28:                               ;   in Loop: Header=BB0_27 Depth=1
	madd	x9, x21, x25, x8
	ldr	w9, [x9, #16]
	cbnz	w9, LBB0_26
; %bb.29:                               ;   in Loop: Header=BB0_27 Depth=1
	madd	x26, x21, x25, x8
	ldr	x9, [x26, #48]!
	cbz	x9, LBB0_26
; %bb.30:                               ;   in Loop: Header=BB0_27 Depth=1
	madd	x27, x21, x25, x8
	ldr	w0, [x27, #24]
	bl	_unlikely
	mov	x22, x0
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	bl	_aq_nic_get_dev
	ldr	x1, [x26]
	ldr	w2, [x27, #20]
	ldr	w3, [x20]
	cbnz	x22, LBB0_25
; %bb.31:                               ;   in Loop: Header=BB0_27 Depth=1
	bl	_dma_unmap_page
	b	LBB0_26
LBB0_32:
	mov	x21, x25
LBB0_33:
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	str	w22, [x8, #8]
	mov	w8, #1
	str	w8, [x21, #44]
	str	x26, [x21, #56]
	b	LBB0_8
LBB0_34:
	mov	w23, #0
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_HLEN,4,2                   ; @ETH_HLEN
	.comm	_DMA_TO_DEVICE,4,2              ; @DMA_TO_DEVICE
	.comm	_CHECKSUM_PARTIAL,8,3           ; @CHECKSUM_PARTIAL
	.comm	_ETH_P_IP,4,2                   ; @ETH_P_IP
	.comm	_IPPROTO_TCP,8,3                ; @IPPROTO_TCP
	.comm	_IPPROTO_UDP,8,3                ; @IPPROTO_UDP
	.comm	_NEXTHDR_TCP,8,3                ; @NEXTHDR_TCP
	.comm	_NEXTHDR_UDP,8,3                ; @NEXTHDR_UDP
	.comm	_AQ_CFG_TX_FRAME_MAX,4,2        ; @AQ_CFG_TX_FRAME_MAX
	.no_dead_strip	_aq_nic_map_skb
.subsections_via_symbols
