	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function jme_map_tx_skb
_jme_map_tx_skb:                        ## @jme_map_tx_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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	8(%rdi), %rax
	movq	16(%rdi), %rcx
	movq	(%rcx), %rdx
	movq	%rdx, -104(%rbp)                ## 8-byte Spill
	movq	8(%rcx), %rcx
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	movq	_NETIF_F_HIGHDMA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	(%rax), %ecx
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movq	%rsi, %rdi
	callq	_skb_shinfo
	movl	(%rax), %ecx
	movl	(%r15), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	testl	%ecx, %ecx
	jle	LBB0_1
## %bb.2:
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	leal	2(%r14), %eax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	movq	%rcx, -112(%rbp)                ## 8-byte Spill
	leaq	(,%rcx,4), %rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	xorl	%r14d, %r14d
	xorl	%r12d, %r12d
	movq	%rbx, -128(%rbp)                ## 8-byte Spill
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_skb_shinfo
	movq	8(%rax), %rbx
	addq	%r14, %rbx
	movq	-136(%rbp), %rax                ## 8-byte Reload
	addl	%r12d, %eax
	andl	-44(%rbp), %eax                 ## 4-byte Folded Reload
	cltq
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, %r13
	movl	4(%r15), %eax
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	callq	_skb_frag_page
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	callq	_skb_frag_off
	movl	%eax, %r15d
	movq	%rbx, %rdi
	callq	_skb_frag_size
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, (%rsp)
	movl	-80(%rbp), %edi                 ## 4-byte Reload
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	-72(%rbp), %ecx                 ## 4-byte Reload
	movl	%r15d, %r8d
	movl	%eax, %r9d
	callq	_jme_fill_tx_map
	testl	%eax, %eax
	jne	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	incl	%r12d
	addq	$4, %r14
	cmpq	%r14, -120(%rbp)                ## 8-byte Folded Reload
	movq	%r13, %r15
	movq	-128(%rbp), %rbx                ## 8-byte Reload
	jne	LBB0_3
## %bb.7:
	movq	-112(%rbp), %r12                ## 8-byte Reload
                                        ## kill: def $r12d killed $r12d killed $r12 def $r12
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_8
LBB0_1:
	xorl	%r12d, %r12d
LBB0_8:
	movq	%rbx, %rdi
	callq	_skb_is_nonlinear
	testq	%rax, %rax
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	je	LBB0_10
## %bb.9:
	movq	%rbx, %rdi
	callq	_skb_headlen
	jmp	LBB0_11
LBB0_4:
	movl	%eax, %ebx
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	movq	%r13, %r15
	jmp	LBB0_5
LBB0_10:
	movl	4(%rbx), %eax
LBB0_11:
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	leal	1(%r14), %eax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	andl	%eax, %ecx
	movslq	%ecx, %rax
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rcx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	4(%r15), %r12d
	movl	(%rbx), %edi
	callq	_virt_to_page
	movl	%eax, %r13d
	movl	(%rbx), %edi
	callq	_offset_in_page
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, (%rsp)
	movl	%r12d, %edi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movl	%r13d, %ecx
	movl	%eax, %r8d
	movl	-56(%rbp), %r9d                 ## 4-byte Reload
	callq	_jme_fill_tx_map
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_12
LBB0_5:
	movq	%r15, %rdi
	movl	%r14d, %esi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_jme_drop_tx_map
	jmp	LBB0_13
LBB0_12:
	xorl	%ebx, %ebx
LBB0_13:
	movl	%ebx, %eax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NETIF_F_HIGHDMA,4,2            ## @NETIF_F_HIGHDMA
	.no_dead_strip	_jme_map_tx_skb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function jme_map_tx_skb
_jme_map_tx_skb:                        ; @jme_map_tx_skb
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x28, x1
	mov	x19, x0
	ldp	x9, x8, [x0, #8]
	ldp	x8, x10, [x8]
	stp	x10, x8, [sp, #40]              ; 16-byte Folded Spill
	ldr	w8, [x9]
Lloh0:
	adrp	x9, _NETIF_F_HIGHDMA@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NETIF_F_HIGHDMA@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w8, w9, w8
	str	w8, [sp, #60]                   ; 4-byte Folded Spill
	mov	x0, x1
	bl	_skb_shinfo
	ldr	w9, [x0]
	ldr	w8, [x19]
	str	w8, [sp, #36]                   ; 4-byte Folded Spill
	cmp	w9, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x20, #0
	mov	w21, #0
	str	w22, [sp, #20]                  ; 4-byte Folded Spill
	add	w8, w22, #2
	str	w8, [sp, #32]                   ; 4-byte Folded Spill
	str	x9, [sp, #8]                    ; 8-byte Folded Spill
	lsl	x8, x9, #2
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x23, x28
	mov	x0, x28
	bl	_skb_shinfo
	ldr	x8, [x0, #8]
	add	x24, x8, x20
	ldp	w8, w9, [sp, #32]               ; 8-byte Folded Reload
	add	w8, w8, w21
	and	w8, w8, w9
	sbfiz	x8, x8, #2, #32
	ldr	x9, [sp, #40]                   ; 8-byte Folded Reload
	add	x25, x9, x8
	ldr	x9, [sp, #48]                   ; 8-byte Folded Reload
	add	x26, x9, x8
	mov	x28, x19
	ldr	w27, [x19, #4]
	mov	x0, x24
	bl	_skb_frag_page
	mov	x22, x0
	mov	x0, x24
	bl	_skb_frag_off
	mov	x19, x0
	mov	x0, x24
	bl	_skb_frag_size
	mov	x5, x0
	mov	x0, x27
	mov	x1, x25
	mov	x2, x26
	mov	x3, x22
	mov	x4, x19
	ldr	w6, [sp, #60]                   ; 4-byte Folded Reload
	bl	_jme_fill_tx_map
	cbnz	w0, LBB0_8
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w21, w21, #1
	add	x20, x20, #4
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	cmp	x8, x20
	mov	x19, x28
	mov	x28, x23
	b.ne	LBB0_2
; %bb.4:
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	mov	x21, x8
	ldr	w22, [sp, #20]                  ; 4-byte Folded Reload
	b	LBB0_6
LBB0_5:
	mov	w21, #0
LBB0_6:
	mov	x0, x28
	bl	_skb_is_nonlinear
	cbz	x0, LBB0_9
; %bb.7:
	mov	x0, x28
	bl	_skb_headlen
	mov	x24, x0
	b	LBB0_10
LBB0_8:
	mov	x24, x0
	ldr	w22, [sp, #20]                  ; 4-byte Folded Reload
	mov	x19, x28
	b	LBB0_11
LBB0_9:
	ldr	w24, [x28, #4]
LBB0_10:
	add	w8, w22, #1
	ldr	w9, [sp, #36]                   ; 4-byte Folded Reload
	and	w8, w9, w8
	sbfiz	x8, x8, #2, #32
	ldr	x9, [sp, #40]                   ; 8-byte Folded Reload
	add	x20, x9, x8
	ldr	x9, [sp, #48]                   ; 8-byte Folded Reload
	add	x25, x9, x8
	ldr	w26, [x19, #4]
	ldr	w0, [x28]
	bl	_virt_to_page
	mov	x27, x0
	ldr	w0, [x28]
	bl	_offset_in_page
	mov	x4, x0
	mov	x0, x26
	mov	x1, x20
	mov	x2, x25
	mov	x3, x27
	mov	x5, x24
	ldr	w6, [sp, #60]                   ; 4-byte Folded Reload
	bl	_jme_fill_tx_map
	mov	x24, x0
	cbz	w0, LBB0_12
LBB0_11:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	_jme_drop_tx_map
LBB0_12:
	mov	x0, x24
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NETIF_F_HIGHDMA,4,2            ; @NETIF_F_HIGHDMA
	.no_dead_strip	_jme_map_tx_skb
.subsections_via_symbols
