	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function build_inline_wqe
_build_inline_wqe:                      ## @build_inline_wqe
	.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	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r13
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	_MLX4_INLINE_ALIGN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_CTRL_SIZE@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	addl	$-8, %ebx
	movq	%rsi, %rdi
	callq	_skb_headlen
	movl	%eax, %r14d
	movl	(%r15), %eax
	cmpl	%ebx, %eax
	jle	LBB0_1
## %bb.6:
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	movl	%ebx, %edi
	orl	$-2147483648, %edi              ## imm = 0x80000000
	callq	_cpu_to_be32
	movq	%rax, (%r12)
	addq	$8, %r12
	movl	%r14d, %r13d
	subl	%ebx, %r13d
	jbe	LBB0_7
## %bb.11:
	movl	%r14d, -52(%rbp)                ## 4-byte Spill
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	%ebx, %edx
	callq	_skb_copy_from_linear_data
	movslq	%ebx, %rax
	leaq	(%r12,%rax), %r14
	addq	$8, %r14
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	addq	%rax, %r12
	movq	%r15, %rdi
	movl	%ebx, %esi
	movq	%r14, %rdx
	movl	%r13d, %ecx
	callq	_skb_copy_from_linear_data_offset
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	cmpq	$0, 8(%rcx)
	je	LBB0_13
## %bb.12:
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	addq	%rax, %r14
	subq	-64(%rbp), %r14                 ## 8-byte Folded Reload
	movq	(%rcx), %rdi
	callq	_skb_frag_size
	movq	%r14, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	%eax, %edx
	callq	_memcpy
	jmp	LBB0_13
LBB0_1:
	movq	_MIN_PKT_LEN@GOTPCREL(%rip), %rbx
	xorl	%edi, %edi
	cmpl	(%rbx), %eax
	setge	%dil
	callq	_likely
	movl	$-2147483648, %edi              ## imm = 0x80000000
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	orl	(%r15), %edi
	callq	_cpu_to_be32
	movq	%rax, (%r12)
	jmp	LBB0_4
LBB0_7:
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	%r14d, %edx
	callq	_skb_copy_from_linear_data
	cmpl	%ebx, %r14d
	jae	LBB0_8
## %bb.9:
	movl	%r14d, %edi
	addq	%r12, %rdi
	movl	%ebx, %r13d
	subl	%r14d, %r13d
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rsi
	movl	%r13d, %edx
	callq	_memcpy
	addq	%r13, %r14
	movq	%r14, %rsi
	jmp	LBB0_10
LBB0_3:
	orl	(%rbx), %edi
	callq	_cpu_to_be32
	movq	%rax, (%r12)
	movslq	(%r15), %rax
	leaq	(%r12,%rax), %rdi
	addq	$8, %rdi
	movl	(%rbx), %edx
	subl	%eax, %edx
	xorl	%esi, %esi
	callq	_memset
LBB0_4:
	addq	$8, %r12
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	%r14d, %edx
	callq	_skb_copy_from_linear_data
	cmpq	$0, 8(%r13)
	je	LBB0_14
## %bb.5:
	movl	%r14d, %eax
	addq	%rax, %r12
	movq	(%r13), %rdi
	callq	_skb_frag_size
	movq	%r12, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	%eax, %edx
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_memcpy                         ## TAILCALL
LBB0_8:
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
LBB0_10:
	movslq	%ebx, %rax
	leaq	(%r12,%rax), %r14
	leaq	(%r12,%rax), %rdi
	addq	$8, %rdi
	movl	(%r15), %edx
	subl	%ebx, %edx
	callq	_memcpy
	movq	%r14, %r12
LBB0_13:
	xorl	%eax, %eax
	callq	_dma_wmb
	movl	(%r15), %edi
	subl	%ebx, %edi
	orl	$-2147483648, %edi              ## imm = 0x80000000
	callq	_cpu_to_be32
	movq	%rax, (%r12)
LBB0_14:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX4_INLINE_ALIGN,4,2          ## @MLX4_INLINE_ALIGN
	.comm	_CTRL_SIZE,4,2                  ## @CTRL_SIZE
	.comm	_MIN_PKT_LEN,4,2                ## @MIN_PKT_LEN
	.no_dead_strip	_build_inline_wqe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function build_inline_wqe
_build_inline_wqe:                      ; @build_inline_wqe
	.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, x3
	mov	x21, x2
	mov	x20, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _MLX4_INLINE_ALIGN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLX4_INLINE_ALIGN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _CTRL_SIZE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CTRL_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	sub	w8, w8, w9
	sub	w23, w8, #8
	mov	x0, x1
	bl	_skb_headlen
	mov	x24, x0
	ldr	w8, [x20]
	cmp	w8, w23
	b.le	LBB0_4
; %bb.1:
	orr	w0, w23, #0x80000000
	bl	_cpu_to_be32
	str	x0, [x22], #8
	mov	x0, x20
	mov	x1, x22
	subs	w25, w24, w23
	b.ls	LBB0_6
; %bb.2:
	mov	x2, x23
	bl	_skb_copy_from_linear_data
	sxtw	x27, w23
	add	x26, x22, x27
	add	x22, x26, #8
	mov	x0, x20
	mov	x1, x23
	mov	x2, x22
	mov	x3, x25
	bl	_skb_copy_from_linear_data_offset
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_10
; %bb.3:
	add	x8, x22, w24, uxtw
	sub	x22, x8, x27
	ldr	x0, [x21]
	bl	_skb_frag_size
	mov	x2, x0
	mov	x0, x22
	b	LBB0_9
LBB0_4:
Lloh6:
	adrp	x23, _MIN_PKT_LEN@GOTPAGE
Lloh7:
	ldr	x23, [x23, _MIN_PKT_LEN@GOTPAGEOFF]
	ldr	w9, [x23]
	cmp	w8, w9
	cset	w0, ge
	bl	_likely
	cbz	x0, LBB0_11
; %bb.5:
	ldr	w8, [x20]
	orr	w0, w8, #0x80000000
	bl	_cpu_to_be32
	str	x0, [x22]
	b	LBB0_12
LBB0_6:
	mov	x2, x24
	bl	_skb_copy_from_linear_data
	cmp	w24, w23
	b.hs	LBB0_8
; %bb.7:
	add	x0, x22, w24, uxtw
	sub	w21, w23, w24
	mov	x1, x19
	mov	x2, x21
	bl	_memcpy
	add	x19, x19, x21
LBB0_8:
	add	x26, x22, w23, sxtw
	add	x0, x26, #8
	ldr	w8, [x20]
	sub	w2, w8, w23
LBB0_9:
	mov	x1, x19
	bl	_memcpy
LBB0_10:
	bl	_dma_wmb
	ldr	w8, [x20]
	sub	w8, w8, w23
	orr	w0, w8, #0x80000000
	bl	_cpu_to_be32
	str	x0, [x26]
	b	LBB0_14
LBB0_11:
	ldr	w8, [x23]
	orr	w0, w8, #0x80000000
	bl	_cpu_to_be32
	str	x0, [x22]
	ldrsw	x8, [x20]
	add	x9, x22, x8
	add	x0, x9, #8
	ldr	w9, [x23]
	sub	w2, w9, w8
	mov	w1, #0
	bl	_memset
LBB0_12:
	add	x22, x22, #8
	mov	x0, x20
	mov	x1, x22
	mov	x2, x24
	bl	_skb_copy_from_linear_data
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_14
; %bb.13:
	add	x20, x22, w24, uxtw
	ldr	x0, [x21]
	bl	_skb_frag_size
	mov	x2, x0
	mov	x0, x20
	mov	x1, x19
	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
	b	_memcpy
LBB0_14:
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX4_INLINE_ALIGN,4,2          ; @MLX4_INLINE_ALIGN
	.comm	_CTRL_SIZE,4,2                  ; @CTRL_SIZE
	.comm	_MIN_PKT_LEN,4,2                ; @MIN_PKT_LEN
	.no_dead_strip	_build_inline_wqe
.subsections_via_symbols
