	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function macb_tx_map
_macb_tx_map:                           ## @macb_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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movq	%rdx, %r15
	movq	%rsi, %r13
	movq	%rdi, %r12
	movl	(%rsi), %ebx
	movq	%rdx, %rdi
	callq	_skb_shinfo
	movl	(%rax), %eax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	%r15, %rdi
	callq	_skb_shinfo
	cmpl	$0, 4(%rax)
	je	LBB0_3
## %bb.1:
	movq	%r15, %rdi
	callq	_ip_hdr
	movq	(%rax), %rax
	movq	_IPPROTO_UDP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.2:
	movq	_MACB_LSO_UFO_ENABLE@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_4:
	movq	_MACB_LSO_TSO_ENABLE@GOTPCREL(%rip), %rax
LBB0_5:
	movq	(%rax), %rax
LBB0_6:
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_skb_headlen
	testl	%eax, %eax
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	movq	%r15, -128(%rbp)                ## 8-byte Spill
	je	LBB0_11
## %bb.7:
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	xorl	%eax, %eax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	leal	(%rax,%rcx), %r13d
	movq	%r12, %rdi
	movl	%r13d, %esi
	callq	_macb_tx_ring_wrap
	movl	%eax, %ebx
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	16(%r12), %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	addq	8(%r15), %rsi
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r14d, %edx
	callq	_dma_map_single
	movq	%r12, %r15
	movq	%rax, %r12
	movq	16(%r15), %rdi
	movq	%rax, %rsi
	callq	_dma_mapping_error
	testq	%rax, %rax
	jne	LBB0_21
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movl	%ebx, %eax
	leaq	(%rax,%rax,2), %r13
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	$0, 16(%rax,%r13,8)
	movq	%r12, 8(%rax,%r13,8)
	movl	%r14d, (%rax,%r13,8)
	movl	$0, 4(%rax,%r13,8)
	addl	%r14d, -44(%rbp)                ## 4-byte Folded Spill
	movq	-120(%rbp), %rax                ## 8-byte Reload
	incl	%eax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movl	24(%r15), %esi
	movl	-64(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edi
	subl	%r14d, %edi
	callq	_min
	subl	%r14d, %ebx
	movl	%ebx, -64(%rbp)                 ## 4-byte Spill
	movl	%eax, %r14d
	movq	%r15, %r12
	movq	-128(%rbp), %r15                ## 8-byte Reload
	jne	LBB0_8
## %bb.10:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r13,8), %rbx
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	addl	-120(%rbp), %eax                ## 4-byte Folded Reload
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_12
LBB0_11:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
LBB0_12:
	cmpq	$0, -104(%rbp)                  ## 8-byte Folded Reload
	movq	%r12, -112(%rbp)                ## 8-byte Spill
	je	LBB0_24
## %bb.13:
	xorl	%r14d, %r14d
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	incq	%r14
	cmpq	-104(%rbp), %r14                ## 8-byte Folded Reload
	je	LBB0_24
LBB0_15:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_17 Depth 2
	movq	%r15, %rdi
	callq	_skb_shinfo
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	leaq	(,%r14,4), %rdi
	addq	8(%rax), %rdi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_skb_frag_size
	testl	%eax, %eax
	je	LBB0_14
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	movl	%eax, %r14d
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_17:                                ##   Parent Loop BB0_15 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	-112(%rbp), %r12                ## 8-byte Reload
	movl	24(%r12), %esi
	movl	%r14d, %edi
	callq	_min
	movl	%eax, %r15d
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_macb_tx_ring_wrap
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %r13
	movq	16(%r12), %rdi
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	%r15d, %ecx
	callq	_skb_frag_dma_map
	movq	%rax, %rbx
	movq	16(%r12), %rdi
	movq	%rax, %rsi
	callq	_dma_mapping_error
	testq	%rax, %rax
	jne	LBB0_20
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=2
	movl	-64(%rbp), %eax                 ## 4-byte Reload
	leaq	(%rax,%rax,2), %rax
	movq	$0, 16(%r13,%rax,8)
	movq	%rbx, 8(%r13,%rax,8)
	movl	%r15d, (%r13,%rax,8)
	movl	$1, 4(%r13,%rax,8)
	addl	%r15d, -44(%rbp)                ## 4-byte Folded Spill
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	incl	%ecx
	movq	%rcx, -120(%rbp)                ## 8-byte Spill
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	incl	%ebx
	subl	%r15d, %r14d
	jne	LBB0_17
## %bb.19:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	leaq	(,%rax,8), %rbx
	addq	%r13, %rbx
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	movq	-112(%rbp), %r12                ## 8-byte Reload
	movq	-128(%rbp), %r15                ## 8-byte Reload
	jmp	LBB0_14
LBB0_20:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, %r13d
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	-112(%rbp), %r15                ## 8-byte Reload
	jmp	LBB0_22
LBB0_21:
	movq	-80(%rbp), %r14                 ## 8-byte Reload
LBB0_22:
	movq	8(%r15), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_netdev_err
	movl	(%r14), %ebx
	xorl	%r12d, %r12d
	cmpl	%r13d, %ebx
	je	LBB0_54
	.p2align	4, 0x90
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_macb_tx_skb
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_macb_tx_unmap
	incl	%ebx
	cmpl	%ebx, %r13d
	jne	LBB0_23
	jmp	LBB0_54
LBB0_24:
	xorl	%edi, %edi
	testq	%rbx, %rbx
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_26
## %bb.25:
	movq	8(%r12), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_netdev_err
	xorl	%r12d, %r12d
	jmp	LBB0_54
LBB0_26:
	movq	%r15, 16(%rbx)
	movq	%r12, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_macb_tx_ring_wrap
	movl	%eax, %ebx
	movq	_TX_USED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MACB_BIT
	movq	%r15, %r14
	movq	%rax, %r15
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_macb_tx_desc
	movq	%r15, (%rax)
	cmpq	$0, -96(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_29
## %bb.27:
	movq	_MACB_LSO_UFO_ENABLE@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	%r14, %rdi
	callq	_skb_shinfo
	movl	4(%rax), %ebx
	cmpq	%r15, -96(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_30
## %bb.28:
	movq	%r14, %rdi
	callq	_skb_transport_offset
	addl	%ebx, %eax
	movq	_ETH_FCS_LEN@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	movl	%eax, -104(%rbp)                ## 4-byte Spill
	jmp	LBB0_31
LBB0_29:
	movl	$0, -104(%rbp)                  ## 4-byte Folded Spill
	jmp	LBB0_31
LBB0_30:
	movl	%ebx, -104(%rbp)                ## 4-byte Spill
LBB0_31:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	leal	-1(%rax), %esi
	movq	%r12, %rdi
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	callq	_macb_tx_ring_wrap
	movl	%eax, %r12d
	movq	8(%r13), %rbx
	movl	%eax, %r14d
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_macb_tx_desc
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	leaq	(%r14,%r14,2), %rax
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movl	(%rbx,%rax,8), %r14d
	movq	_TX_LAST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MACB_BIT
	movq	%rax, %r15
	orq	%r14, %r15
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %eax
	decl	%eax
	xorl	%edi, %edi
	cmpl	%eax, %r12d
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_33
## %bb.32:
	movq	_TX_WRAP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MACB_BIT
	orq	%rax, %r15
LBB0_33:
	movq	-112(%rbp), %r12                ## 8-byte Reload
	movl	-104(%rbp), %esi                ## 4-byte Reload
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	cmpl	(%rax), %r13d
	jne	LBB0_38
## %bb.34:
	movq	_TX_LSO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_MACB_BF
	movq	%rax, %rbx
	orq	%r15, %rbx
	movq	_TX_TCP_SEQ_SRC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_MACB_BF
	movq	%rax, %r14
	orq	%rbx, %r14
	movq	8(%r12), %rax
	movq	_NETIF_F_HW_CSUM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_40
## %bb.35:
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movq	(%rax), %rax
	movq	_CHECKSUM_PARTIAL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_40
## %bb.36:
	cmpq	$0, -96(%rbp)                   ## 8-byte Folded Reload
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	jne	LBB0_39
## %bb.37:
	movq	_TX_NOCRC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MACB_BIT
	orq	%rax, %r14
	jmp	LBB0_39
LBB0_38:
	movq	_MSS_MFS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MACB_BF
	movq	%rax, %r14
	orq	%r15, %r14
	movq	-80(%rbp), %r15                 ## 8-byte Reload
LBB0_39:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	jmp	LBB0_41
LBB0_40:
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
LBB0_41:
	movq	8(%rax,%rcx,8), %rdx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_macb_set_addr
	xorl	%eax, %eax
	callq	_wmb
	movq	%r14, (%rbx)
	jmp	LBB0_44
	.p2align	4, 0x90
LBB0_42:                                ##   in Loop: Header=BB0_44 Depth=1
	movq	_MSS_MFS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	-104(%rbp), %esi                ## 4-byte Reload
	callq	_MACB_BF
	movq	%rax, %r15
	orq	%r14, %r15
LBB0_43:                                ##   in Loop: Header=BB0_44 Depth=1
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax,%r12,8), %rdx
	movq	-112(%rbp), %r12                ## 8-byte Reload
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_macb_set_addr
	xorl	%eax, %eax
	callq	_wmb
	movq	%r15, (%rbx)
	movq	-80(%rbp), %r15                 ## 8-byte Reload
LBB0_44:                                ## =>This Inner Loop Header: Depth=1
	cmpl	(%r15), %r13d
	je	LBB0_53
## %bb.45:                              ##   in Loop: Header=BB0_44 Depth=1
	decl	%r13d
	movq	%r12, %rdi
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	movl	%r13d, %esi
	callq	_macb_tx_ring_wrap
	movl	%eax, %ebx
	movq	8(%r15), %r13
	movl	%eax, %r14d
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_macb_tx_desc
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%r12, %rax
	leaq	(%r14,%r14,2), %r12
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movl	(%r13,%r12,8), %r14d
	movl	(%rax), %eax
	decl	%eax
	xorl	%edi, %edi
	cmpl	%eax, %ebx
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_47
## %bb.46:                              ##   in Loop: Header=BB0_44 Depth=1
	movq	_TX_WRAP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MACB_BIT
	orq	%rax, %r14
LBB0_47:                                ##   in Loop: Header=BB0_44 Depth=1
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	cmpl	(%r15), %r13d
	jne	LBB0_42
## %bb.48:                              ##   in Loop: Header=BB0_44 Depth=1
	movq	_TX_LSO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_MACB_BF
	movq	%rax, %rbx
	orq	%r14, %rbx
	movq	_TX_TCP_SEQ_SRC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_MACB_BF
	movq	%rax, %r15
	orq	%rbx, %r15
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movq	8(%rax), %rax
	movq	_NETIF_F_HW_CSUM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_52
## %bb.49:                              ##   in Loop: Header=BB0_44 Depth=1
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movq	(%rax), %rax
	movq	_CHECKSUM_PARTIAL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_52
## %bb.50:                              ##   in Loop: Header=BB0_44 Depth=1
	cmpq	$0, -96(%rbp)                   ## 8-byte Folded Reload
	jne	LBB0_52
## %bb.51:                              ##   in Loop: Header=BB0_44 Depth=1
	movq	_TX_NOCRC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MACB_BIT
	orq	%rax, %r15
LBB0_52:                                ##   in Loop: Header=BB0_44 Depth=1
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	jmp	LBB0_43
LBB0_53:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, (%r15)
	movq	-120(%rbp), %r12                ## 8-byte Reload
LBB0_54:
	movl	%r12d, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IPPROTO_UDP,8,3                ## @IPPROTO_UDP
	.comm	_MACB_LSO_UFO_ENABLE,8,3        ## @MACB_LSO_UFO_ENABLE
	.comm	_MACB_LSO_TSO_ENABLE,8,3        ## @MACB_LSO_TSO_ENABLE
	.comm	_DMA_TO_DEVICE,4,2              ## @DMA_TO_DEVICE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"BUG! empty skb!\n"

	.comm	_TX_USED,4,2                    ## @TX_USED
	.comm	_ETH_FCS_LEN,4,2                ## @ETH_FCS_LEN
	.comm	_TX_LAST,4,2                    ## @TX_LAST
	.comm	_TX_WRAP,4,2                    ## @TX_WRAP
	.comm	_TX_LSO,4,2                     ## @TX_LSO
	.comm	_TX_TCP_SEQ_SRC,4,2             ## @TX_TCP_SEQ_SRC
	.comm	_NETIF_F_HW_CSUM,4,2            ## @NETIF_F_HW_CSUM
	.comm	_CHECKSUM_PARTIAL,8,3           ## @CHECKSUM_PARTIAL
	.comm	_TX_NOCRC,4,2                   ## @TX_NOCRC
	.comm	_MSS_MFS,4,2                    ## @MSS_MFS
L_.str.1:                               ## @.str.1
	.asciz	"TX DMA map failed\n"

	.no_dead_strip	_macb_tx_map
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function macb_tx_map
_macb_tx_map:                           ; @macb_tx_map
	.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	x25, x3
	mov	x23, x2
	str	x1, [sp, #40]                   ; 8-byte Folded Spill
	mov	x20, x0
	ldr	w21, [x1]
	mov	x0, x2
	bl	_skb_shinfo
	ldr	w22, [x0]
	mov	x0, x23
	bl	_skb_shinfo
	ldr	w8, [x0, #4]
	cbz	w8, LBB0_3
; %bb.1:
	mov	x0, x23
	bl	_ip_hdr
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _IPPROTO_UDP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IPPROTO_UDP@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.2:
Lloh3:
	adrp	x8, _MACB_LSO_UFO_ENABLE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MACB_LSO_UFO_ENABLE@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:
	mov	x24, #0
	b	LBB0_6
LBB0_4:
Lloh5:
	adrp	x8, _MACB_LSO_TSO_ENABLE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MACB_LSO_TSO_ENABLE@GOTPAGEOFF]
LBB0_5:
	ldr	x24, [x8]
LBB0_6:
	mov	x0, x23
	bl	_skb_headlen
	stp	x22, x24, [sp, #16]             ; 16-byte Folded Spill
	cbz	w0, LBB0_11
; %bb.7:
	mov	x26, x0
	mov	w27, #0
	mov	w22, #0
	str	w21, [sp, #32]                  ; 4-byte Folded Spill
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	add	w24, w21, w27
	mov	x0, x20
	mov	x1, x24
	bl	_macb_tx_ring_wrap
	mov	x28, x0
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	ldr	x19, [x8, #8]
	ldr	x0, [x20, #16]
	mov	x21, x23
	ldr	x8, [x23, #8]
	add	x1, x8, w22, uxtw
Lloh7:
	adrp	x8, _DMA_TO_DEVICE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _DMA_TO_DEVICE@GOTPAGEOFF]
Lloh9:
	ldr	w3, [x8]
	mov	x2, x25
	bl	_dma_map_single
	mov	x23, x0
	ldr	x0, [x20, #16]
	mov	x1, x23
	bl	_dma_mapping_error
	cbnz	x0, LBB0_19
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	w8, #24
	umaddl	x19, w28, w8, x19
	stp	x23, xzr, [x19, #8]
	stp	w25, wzr, [x19]
	sub	w26, w26, w25
	add	w22, w25, w22
	add	w27, w27, #1
	ldr	w1, [x20, #24]
	mov	x0, x26
	bl	_min
	mov	x25, x0
	mov	x23, x21
	ldr	w21, [sp, #32]                  ; 4-byte Folded Reload
	cbnz	w26, LBB0_8
; %bb.10:
	add	w21, w21, w27
	ldp	x22, x24, [sp, #16]             ; 16-byte Folded Reload
	cbnz	w22, LBB0_12
	b	LBB0_22
LBB0_11:
	mov	x19, #0
	mov	w27, #0
	cbz	w22, LBB0_22
LBB0_12:
	mov	x28, #0
	str	x23, [sp, #8]                   ; 8-byte Folded Spill
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	add	x28, x28, #1
	cmp	x28, x22
	b.eq	LBB0_22
LBB0_14:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_16 Depth 2
	mov	x0, x23
	bl	_skb_shinfo
	ldr	x8, [x0, #8]
	add	x25, x8, x28, lsl #2
	mov	x0, x25
	bl	_skb_frag_size
	cbz	w0, LBB0_13
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x26, x0
	str	x28, [sp, #32]                  ; 8-byte Folded Spill
	mov	x24, x27
	mov	w27, #0
LBB0_16:                                ;   Parent Loop BB0_14 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w1, [x20, #24]
	mov	x0, x26
	bl	_min
	mov	x28, x0
	mov	x0, x20
	mov	x1, x21
	bl	_macb_tx_ring_wrap
	mov	x23, x0
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	ldr	x19, [x8, #8]
	ldr	x0, [x20, #16]
Lloh10:
	adrp	x8, _DMA_TO_DEVICE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _DMA_TO_DEVICE@GOTPAGEOFF]
Lloh12:
	ldr	w4, [x8]
	mov	x1, x25
	mov	x2, x27
	mov	x3, x28
	bl	_skb_frag_dma_map
	mov	x22, x0
	ldr	x0, [x20, #16]
	mov	x1, x22
	bl	_dma_mapping_error
	cbnz	x0, LBB0_20
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=2
	mov	w8, #24
	umaddl	x19, w23, w8, x19
	stp	x22, xzr, [x19, #8]
	mov	w8, #1
	stp	w28, w8, [x19]
	add	w27, w28, w27
	add	w24, w24, #1
	add	w21, w21, #1
	subs	w26, w26, w28
	b.ne	LBB0_16
; %bb.18:                               ;   in Loop: Header=BB0_14 Depth=1
	ldp	x23, x22, [sp, #8]              ; 16-byte Folded Reload
	mov	x27, x24
	ldp	x24, x28, [sp, #24]             ; 16-byte Folded Reload
	b	LBB0_13
LBB0_19:
	mov	x21, x24
LBB0_20:
	ldr	x19, [sp, #40]                  ; 8-byte Folded Reload
	ldr	x0, [x20, #8]
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_netdev_err
	ldr	w22, [x19]
	cmp	w22, w21
	b.eq	LBB0_24
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x22
	bl	_macb_tx_skb
	mov	x1, x0
	mov	x0, x20
	bl	_macb_tx_unmap
	add	w22, w22, #1
	cmp	w21, w22
	b.ne	LBB0_21
	b	LBB0_24
LBB0_22:
	cmp	x19, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_26
; %bb.23:
	ldr	x0, [x20, #8]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	bl	_netdev_err
LBB0_24:
	mov	w0, #0
LBB0_25:
	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_26:
	str	x23, [x19, #16]
	mov	x0, x20
	mov	x1, x21
	bl	_macb_tx_ring_wrap
	mov	x22, x0
Lloh17:
	adrp	x8, _TX_USED@GOTPAGE
Lloh18:
	ldr	x8, [x8, _TX_USED@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	bl	_MACB_BIT
	mov	x25, x23
	mov	x23, x0
	ldr	x19, [sp, #40]                  ; 8-byte Folded Reload
	mov	x0, x19
	mov	x1, x22
	bl	_macb_tx_desc
	str	x23, [x0]
	str	x25, [sp, #8]                   ; 8-byte Folded Spill
	str	w27, [sp, #16]                  ; 4-byte Folded Spill
	cbz	x24, LBB0_29
; %bb.27:
Lloh20:
	adrp	x8, _MACB_LSO_UFO_ENABLE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _MACB_LSO_UFO_ENABLE@GOTPAGEOFF]
Lloh22:
	ldr	x19, [x8]
	mov	x0, x25
	bl	_skb_shinfo
	ldr	w8, [x0, #4]
	str	w8, [sp, #32]                   ; 4-byte Folded Spill
	cmp	x24, x19
	ldr	x19, [sp, #40]                  ; 8-byte Folded Reload
	b.ne	LBB0_30
; %bb.28:
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	bl	_skb_transport_offset
Lloh23:
	adrp	x8, _ETH_FCS_LEN@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ETH_FCS_LEN@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	ldr	w9, [sp, #32]                   ; 4-byte Folded Reload
	add	w9, w0, w9
	add	w8, w9, w8
	str	w8, [sp, #32]                   ; 4-byte Folded Spill
	b	LBB0_30
LBB0_29:
	str	wzr, [sp, #32]                  ; 4-byte Folded Spill
LBB0_30:
	sub	w26, w21, #1
	mov	x0, x20
	mov	x1, x26
	bl	_macb_tx_ring_wrap
	mov	x22, x0
	mov	x0, x19
	ldr	x19, [x19, #8]
	mov	w28, w22
	mov	x1, x22
	bl	_macb_tx_desc
	mov	x27, x0
	mov	w8, #24
	umull	x8, w22, w8
	ldr	w23, [x19, x8]
Lloh26:
	adrp	x8, _TX_LAST@GOTPAGE
Lloh27:
	ldr	x8, [x8, _TX_LAST@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
	bl	_MACB_BIT
	orr	x23, x0, x23
	ldr	w8, [x20]
	sub	w8, w8, #1
	cmp	w22, w8
	cset	w0, eq
	bl	_unlikely
Lloh29:
	adrp	x8, _TX_WRAP@GOTPAGE
Lloh30:
	ldr	x8, [x8, _TX_WRAP@GOTPAGEOFF]
	cbz	x0, LBB0_32
; %bb.31:
	mov	x25, x8
	ldr	w0, [x8]
	bl	_MACB_BIT
	orr	x23, x0, x23
	b	LBB0_33
LBB0_32:
	mov	x25, x8
LBB0_33:
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	ldr	w8, [x8]
	cmp	w26, w8
	b.ne	LBB0_38
; %bb.34:
Lloh31:
	adrp	x8, _TX_LSO@GOTPAGE
Lloh32:
	ldr	x8, [x8, _TX_LSO@GOTPAGEOFF]
Lloh33:
	ldr	w0, [x8]
	mov	x1, x24
	bl	_MACB_BF
	orr	x22, x0, x23
Lloh34:
	adrp	x8, _TX_TCP_SEQ_SRC@GOTPAGE
Lloh35:
	ldr	x8, [x8, _TX_TCP_SEQ_SRC@GOTPAGEOFF]
Lloh36:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_MACB_BF
	orr	x22, x22, x0
	ldr	x8, [x20, #8]
	ldr	w8, [x8]
Lloh37:
	adrp	x9, _NETIF_F_HW_CSUM@GOTPAGE
Lloh38:
	ldr	x9, [x9, _NETIF_F_HW_CSUM@GOTPAGEOFF]
Lloh39:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_39
; %bb.35:
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	ldr	x8, [x8]
Lloh40:
	adrp	x9, _CHECKSUM_PARTIAL@GOTPAGE
Lloh41:
	ldr	x9, [x9, _CHECKSUM_PARTIAL@GOTPAGEOFF]
Lloh42:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_39
; %bb.36:
	cbnz	x24, LBB0_39
; %bb.37:
Lloh43:
	adrp	x8, _TX_NOCRC@GOTPAGE
Lloh44:
	ldr	x8, [x8, _TX_NOCRC@GOTPAGEOFF]
Lloh45:
	ldr	w0, [x8]
	bl	_MACB_BIT
	orr	x22, x0, x22
	b	LBB0_39
LBB0_38:
Lloh46:
	adrp	x8, _MSS_MFS@GOTPAGE
Lloh47:
	ldr	x8, [x8, _MSS_MFS@GOTPAGEOFF]
Lloh48:
	ldr	w0, [x8]
	ldr	w1, [sp, #32]                   ; 4-byte Folded Reload
	bl	_MACB_BF
	orr	x22, x0, x23
LBB0_39:
	mov	w23, #24
	madd	x8, x28, x23, x19
	ldr	x2, [x8, #8]
	mov	x0, x20
	mov	x1, x27
	bl	_macb_set_addr
	bl	_wmb
	str	x22, [x27]
	b	LBB0_43
LBB0_40:                                ;   in Loop: Header=BB0_43 Depth=1
Lloh49:
	adrp	x8, _MSS_MFS@GOTPAGE
Lloh50:
	ldr	x8, [x8, _MSS_MFS@GOTPAGEOFF]
Lloh51:
	ldr	w0, [x8]
	ldr	w1, [sp, #32]                   ; 4-byte Folded Reload
	bl	_MACB_BF
LBB0_41:                                ;   in Loop: Header=BB0_43 Depth=1
	orr	x19, x0, x19
LBB0_42:                                ;   in Loop: Header=BB0_43 Depth=1
	mov	w8, w28
	madd	x8, x8, x23, x22
	ldr	x2, [x8, #8]
	mov	x0, x20
	mov	x1, x27
	bl	_macb_set_addr
	bl	_wmb
	str	x19, [x27]
LBB0_43:                                ; =>This Inner Loop Header: Depth=1
	ldr	x19, [sp, #40]                  ; 8-byte Folded Reload
	ldr	w8, [x19]
	cmp	w26, w8
	b.eq	LBB0_50
; %bb.44:                               ;   in Loop: Header=BB0_43 Depth=1
	sub	w26, w26, #1
	mov	x0, x20
	mov	x1, x26
	bl	_macb_tx_ring_wrap
	mov	x28, x0
	ldr	x22, [x19, #8]
	mov	x0, x19
	mov	x1, x28
	bl	_macb_tx_desc
	mov	x27, x0
	umull	x8, w28, w23
	ldr	w19, [x22, x8]
	ldr	w8, [x20]
	sub	w8, w8, #1
	cmp	w28, w8
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_46
; %bb.45:                               ;   in Loop: Header=BB0_43 Depth=1
	ldr	w0, [x25]
	bl	_MACB_BIT
	orr	x19, x0, x19
LBB0_46:                                ;   in Loop: Header=BB0_43 Depth=1
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	ldr	w8, [x8]
	cmp	w26, w8
	b.ne	LBB0_40
; %bb.47:                               ;   in Loop: Header=BB0_43 Depth=1
Lloh52:
	adrp	x8, _TX_LSO@GOTPAGE
Lloh53:
	ldr	x8, [x8, _TX_LSO@GOTPAGEOFF]
Lloh54:
	ldr	w0, [x8]
	mov	x1, x24
	bl	_MACB_BF
	orr	x19, x0, x19
Lloh55:
	adrp	x8, _TX_TCP_SEQ_SRC@GOTPAGE
Lloh56:
	ldr	x8, [x8, _TX_TCP_SEQ_SRC@GOTPAGEOFF]
Lloh57:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_MACB_BF
	orr	x19, x19, x0
	ldr	x8, [x20, #8]
	ldr	w8, [x8]
Lloh58:
	adrp	x9, _NETIF_F_HW_CSUM@GOTPAGE
Lloh59:
	ldr	x9, [x9, _NETIF_F_HW_CSUM@GOTPAGEOFF]
Lloh60:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_42
; %bb.48:                               ;   in Loop: Header=BB0_43 Depth=1
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	ldr	x8, [x8]
Lloh61:
	adrp	x9, _CHECKSUM_PARTIAL@GOTPAGE
Lloh62:
	ldr	x9, [x9, _CHECKSUM_PARTIAL@GOTPAGEOFF]
Lloh63:
	ldr	x9, [x9]
	cmp	x8, x9
	ccmp	x24, #0, #0, ne
	b.ne	LBB0_42
; %bb.49:                               ;   in Loop: Header=BB0_43 Depth=1
Lloh64:
	adrp	x8, _TX_NOCRC@GOTPAGE
Lloh65:
	ldr	x8, [x8, _TX_NOCRC@GOTPAGEOFF]
Lloh66:
	ldr	w0, [x8]
	bl	_MACB_BIT
	b	LBB0_41
LBB0_50:
	str	w21, [x19]
	ldr	w0, [sp, #16]                   ; 4-byte Folded Reload
	b	LBB0_25
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.cfi_endproc
                                        ; -- End function
	.comm	_IPPROTO_UDP,8,3                ; @IPPROTO_UDP
	.comm	_MACB_LSO_UFO_ENABLE,8,3        ; @MACB_LSO_UFO_ENABLE
	.comm	_MACB_LSO_TSO_ENABLE,8,3        ; @MACB_LSO_TSO_ENABLE
	.comm	_DMA_TO_DEVICE,4,2              ; @DMA_TO_DEVICE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"BUG! empty skb!\n"

	.comm	_TX_USED,4,2                    ; @TX_USED
	.comm	_ETH_FCS_LEN,4,2                ; @ETH_FCS_LEN
	.comm	_TX_LAST,4,2                    ; @TX_LAST
	.comm	_TX_WRAP,4,2                    ; @TX_WRAP
	.comm	_TX_LSO,4,2                     ; @TX_LSO
	.comm	_TX_TCP_SEQ_SRC,4,2             ; @TX_TCP_SEQ_SRC
	.comm	_NETIF_F_HW_CSUM,4,2            ; @NETIF_F_HW_CSUM
	.comm	_CHECKSUM_PARTIAL,8,3           ; @CHECKSUM_PARTIAL
	.comm	_TX_NOCRC,4,2                   ; @TX_NOCRC
	.comm	_MSS_MFS,4,2                    ; @MSS_MFS
l_.str.1:                               ; @.str.1
	.asciz	"TX DMA map failed\n"

	.no_dead_strip	_macb_tx_map
.subsections_via_symbols
