	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function write_swqe2_immediate
_write_swqe2_immediate:                 ## @write_swqe2_immediate
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r13d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_skb_headlen
	movl	%eax, %r15d
	movq	40(%r14), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_SWQE2_MAX_IMM@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	$0, 8(%r14)
	movq	%rbx, %rdi
	callq	_skb_is_gso
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_EHEA_SWQE_TSO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 20(%r14)
	movq	%rbx, %rdi
	callq	_skb_shinfo
	movl	(%rax), %eax
	movl	%eax, 16(%r14)
	movq	_ETH_HLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%rbx, %rdi
	callq	_ip_hdrlen
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	movl	%eax, %r13d
	addl	%r12d, %r13d
	movq	%rbx, %rdi
	callq	_tcp_hdrlen
	movl	%eax, %r12d
	addl	%r13d, %r12d
	movl	-44(%rbp), %r13d                ## 4-byte Reload
LBB0_2:
	movq	%rbx, %rdi
	callq	_skb_is_gso
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movq	_SWQE2_MAX_IMM@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	jge	LBB0_4
## %bb.6:
	movq	%rbx, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%r15d, %edx
	callq	_skb_copy_from_linear_data
	movl	%r15d, (%r14)
	jmp	LBB0_7
LBB0_4:
	movq	%rbx, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%r12d, %edx
	callq	_skb_copy_from_linear_data
	movl	%r12d, (%r14)
	subl	%r12d, %r15d
	jbe	LBB0_7
## %bb.5:
	movl	%r13d, 32(%r14)
	movl	%r15d, 24(%r14)
	movl	%r12d, %edi
	addq	(%rbx), %rdi
	callq	_ehea_map_vaddr
	movl	%eax, 28(%r14)
	incq	8(%r14)
LBB0_7:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SWQE2_MAX_IMM,4,2              ## @SWQE2_MAX_IMM
	.comm	_EHEA_SWQE_TSO,4,2              ## @EHEA_SWQE_TSO
	.comm	_ETH_HLEN,4,2                   ## @ETH_HLEN
	.no_dead_strip	_write_swqe2_immediate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function write_swqe2_immediate
_write_swqe2_immediate:                 ; @write_swqe2_immediate
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	bl	_skb_headlen
	mov	x22, x0
	ldr	x23, [x19, #40]
Lloh0:
	adrp	x25, _SWQE2_MAX_IMM@GOTPAGE
Lloh1:
	ldr	x25, [x25, _SWQE2_MAX_IMM@GOTPAGEOFF]
	ldr	w24, [x25]
	str	xzr, [x19, #8]
	mov	x0, x20
	bl	_skb_is_gso
	cbz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _EHEA_SWQE_TSO@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EHEA_SWQE_TSO@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	ldr	w9, [x19, #20]
	orr	w8, w9, w8
	str	w8, [x19, #20]
	mov	x0, x20
	bl	_skb_shinfo
	ldr	w8, [x0]
	str	w8, [x19, #16]
Lloh5:
	adrp	x8, _ETH_HLEN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ETH_HLEN@GOTPAGEOFF]
Lloh7:
	ldr	w24, [x8]
	mov	x0, x20
	bl	_ip_hdrlen
	add	w24, w0, w24
	mov	x0, x20
	bl	_tcp_hdrlen
	add	w24, w24, w0
LBB0_2:
	mov	x0, x20
	bl	_skb_is_gso
	cbnz	x0, LBB0_5
; %bb.3:
	ldr	w8, [x25]
	cmp	w22, w8
	b.ge	LBB0_5
; %bb.4:
	mov	x0, x20
	mov	x1, x23
	mov	x2, x22
	bl	_skb_copy_from_linear_data
	str	w22, [x19]
	b	LBB0_7
LBB0_5:
	mov	x0, x20
	mov	x1, x23
	mov	x2, x24
	bl	_skb_copy_from_linear_data
	str	w24, [x19]
	subs	w8, w22, w24
	b.ls	LBB0_7
; %bb.6:
	str	w21, [x19, #32]
	str	w8, [x19, #24]
	ldr	x8, [x20]
	add	x0, x8, w24, uxtw
	bl	_ehea_map_vaddr
	str	w0, [x19, #28]
	ldr	x8, [x19, #8]
	add	x8, x8, #1
	str	x8, [x19, #8]
LBB0_7:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_SWQE2_MAX_IMM,4,2              ; @SWQE2_MAX_IMM
	.comm	_EHEA_SWQE_TSO,4,2              ; @EHEA_SWQE_TSO
	.comm	_ETH_HLEN,4,2                   ; @ETH_HLEN
	.no_dead_strip	_write_swqe2_immediate
.subsections_via_symbols
