	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function form_cm_frame
_form_cm_frame:                         ## @form_cm_frame
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $r9d killed $r9d def $r9
	movq	%r8, -80(%rbp)                  ## 8-byte Spill
                                        ## kill: def $ecx killed $ecx def $rcx
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	%r9, -48(%rbp)                  ## 8-byte Spill
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	leal	(%rcx,%r9), %ebx
	addl	$144, %ebx
	xorl	%esi, %esi
	callq	_skb_trim
	movl	28(%r12), %edi
	movq	_ETH_HLEN@GOTPCREL(%rip), %r14
	movl	$144, %edx
	addq	(%r14), %rdx
	xorl	%esi, %esi
	callq	_memset
	movl	%ebx, -52(%rbp)                 ## 4-byte Spill
	movslq	%ebx, %rsi
	addq	(%r14), %rsi
	movq	%r12, %rdi
	callq	_skb_put
	movq	%rax, %rbx
	movq	(%r14), %r13
	leaq	(%rax,%r13,4), %r14
	movq	%r12, %rdi
	callq	_skb_reset_mac_header
	movq	_ETH_HLEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r12, %rdi
	callq	_skb_set_network_header
	movq	_ETH_HLEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	$72, %rsi
	movq	%r12, %rdi
	callq	_skb_set_transport_header
	movq	_CHECKSUM_PARTIAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r12)
	movq	72(%r15), %rax
	movq	_NETIF_F_IP_CSUM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	_CHECKSUM_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r12)
LBB0_2:
	movq	%r13, -88(%rbp)                 ## 8-byte Spill
	leaq	(%rbx,%r13,4), %rax
	addq	$288, %rax                      ## imm = 0x120
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	$2048, %edi                     ## imm = 0x800
	callq	_htons
	movq	%rax, 16(%r12)
	movq	$0, 8(%r12)
	movq	_ETH_HLEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r12)
	movq	(%rbx), %rdi
	movq	(%r15), %rsi
	movq	%rbx, %r13
	movq	_ETH_ALEN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	callq	_memcpy
	movq	8(%r13), %rdi
	movq	8(%r15), %rsi
	movl	(%rbx), %edx
	callq	_memcpy
	movl	$2048, %edi                     ## imm = 0x800
	callq	_htons
	movq	%r13, -96(%rbp)                 ## 8-byte Spill
	movq	%rax, 16(%r13)
	movq	_IPVERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 64(%r14)
	movl	$5, (%r14)
	movq	$0, 56(%r14)
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	callq	_htons
	movq	%rax, 48(%r14)
	movl	24(%r15), %edi
	incl	%edi
	movl	%edi, 24(%r15)
	callq	_htons
	movq	%rax, 40(%r14)
	movl	$16384, %edi                    ## imm = 0x4000
	callq	_htons
	movq	%rax, 32(%r14)
	movabsq	$25769803840, %rax              ## imm = 0x600000040
	movq	%rax, 4(%r14)
	movq	64(%r15), %rdi
	callq	_htonl
	movq	%rax, 24(%r14)
	movq	56(%r15), %rdi
	callq	_htonl
	movq	%rax, 16(%r14)
	movl	16(%r15), %edi
	callq	_htons
	movq	%rax, 352(%r14)
	movl	20(%r15), %edi
	callq	_htons
	movq	%rax, 344(%r14)
	movq	32(%r15), %rdi
	callq	_htonl
	movq	%rax, 336(%r14)
	movq	_SET_ACK@GOTPCREL(%rip), %rax
	movl	16(%rbp), %ebx
	testl	%ebx, (%rax)
	je	LBB0_4
## %bb.3:
	movq	48(%r15), %rdi
	movq	%rdi, 40(%r15)
	callq	_htonl
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	%rax, 40(%rdx)
	movl	$1, (%rdx)
	jmp	LBB0_5
LBB0_4:
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	$0, 40(%rdx)
LBB0_5:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	_SET_SYN@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_7
## %bb.6:
	movq	32(%r15), %rax
	incq	%rax
	movq	%rax, 32(%r15)
	movl	$1, 4(%rdx)
	jmp	LBB0_8
LBB0_7:
	movslq	%ecx, %rax
	addq	32(%r15), %rax
	movq	%rax, 32(%r15)
LBB0_8:
	movq	_SET_FIN@GOTPCREL(%rip), %rcx
	testl	%ebx, (%rcx)
	je	LBB0_10
## %bb.9:
	incq	%rax
	movq	%rax, 32(%r15)
	movl	$1, 8(%rdx)
LBB0_10:
	movq	_SET_RST@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	je	LBB0_12
## %bb.11:
	movl	$1, 12(%rdx)
LBB0_12:
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%rcx,4), %r14
	addq	$576, %r14                      ## imm = 0x240
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	movslq	%ebx, %r13
	leaq	75(%r13), %rax
	shrq	$2, %rax
	movl	%eax, 16(%rdx)
	movl	28(%r15), %edi
	movq	%rbx, %r15
	movq	%rdx, %rbx
	callq	_htons
	movq	%rax, 32(%rbx)
	movq	$0, 24(%rbx)
	testl	%r15d, %r15d
	je	LBB0_14
## %bb.13:
	movq	%r14, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movl	%r15d, %edx
	callq	_memcpy
LBB0_14:
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	testl	%edx, %edx
	je	LBB0_16
## %bb.15:
	leaq	(%r14,%r13,4), %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memcpy
LBB0_16:
	movq	%r12, %rdi
	callq	_skb_shinfo
	movq	$0, (%rax)
	movq	_cm_packets_created@GOTPCREL(%rip), %rax
	incl	(%rax)
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_HLEN,8,3                   ## @ETH_HLEN
	.comm	_CHECKSUM_PARTIAL,4,2           ## @CHECKSUM_PARTIAL
	.comm	_NETIF_F_IP_CSUM,4,2            ## @NETIF_F_IP_CSUM
	.comm	_CHECKSUM_NONE,4,2              ## @CHECKSUM_NONE
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_IPVERSION,4,2                  ## @IPVERSION
	.comm	_SET_ACK,4,2                    ## @SET_ACK
	.comm	_SET_SYN,4,2                    ## @SET_SYN
	.comm	_SET_FIN,4,2                    ## @SET_FIN
	.comm	_SET_RST,4,2                    ## @SET_RST
	.comm	_cm_packets_created,4,2         ## @cm_packets_created
	.no_dead_strip	_form_cm_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function form_cm_frame
lCPI0_0:
	.long	64                              ; 0x40
	.long	6                               ; 0x6
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_form_cm_frame:                         ; @form_cm_frame
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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, x6
	mov	x20, x5
	stp	x2, x4, [sp]                    ; 16-byte Folded Spill
	mov	x22, x3
	mov	x24, x1
	mov	x19, x0
	add	w8, w3, w5
	add	w26, w8, #144
	mov	w1, #0
	bl	_skb_trim
	ldr	w0, [x19, #28]
Lloh0:
	adrp	x23, _ETH_HLEN@GOTPAGE
Lloh1:
	ldr	x23, [x23, _ETH_HLEN@GOTPAGEOFF]
	ldr	x8, [x23]
	add	x2, x8, #144
	mov	w1, #0
	bl	_memset
	ldr	x8, [x23]
	add	x1, x8, w26, sxtw
	mov	x0, x19
	bl	_skb_put
	mov	x27, x0
	ldr	x8, [x23]
	add	x28, x0, x8, lsl #2
	mov	x0, x19
	bl	_skb_reset_mac_header
	ldr	x1, [x23]
	mov	x0, x19
	bl	_skb_set_network_header
	ldr	x8, [x23]
	add	x1, x8, #72
	mov	x0, x19
	bl	_skb_set_transport_header
Lloh2:
	adrp	x8, _CHECKSUM_PARTIAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CHECKSUM_PARTIAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x19, #24]
	ldr	x8, [x24, #72]
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _NETIF_F_IP_CSUM@GOTPAGE
Lloh6:
	ldr	x9, [x9, _NETIF_F_IP_CSUM@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_2
; %bb.1:
Lloh8:
	adrp	x8, _CHECKSUM_NONE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CHECKSUM_NONE@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	str	w8, [x19, #24]
LBB0_2:
	add	x21, x28, #288
	mov	w0, #2048
	bl	_htons
	stp	xzr, x0, [x19, #8]
	ldr	x8, [x23]
	str	x8, [x19]
	ldr	x0, [x27]
	ldr	x1, [x24]
Lloh11:
	adrp	x23, _ETH_ALEN@GOTPAGE
Lloh12:
	ldr	x23, [x23, _ETH_ALEN@GOTPAGEOFF]
	ldr	w2, [x23]
	bl	_memcpy
	ldr	x0, [x27, #8]
	ldr	x1, [x24, #8]
	ldr	w2, [x23]
	bl	_memcpy
	mov	w0, #2048
	bl	_htons
Lloh13:
	adrp	x8, _IPVERSION@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IPVERSION@GOTPAGEOFF]
	str	x0, [x27, #16]
Lloh15:
	ldr	w8, [x8]
	str	w8, [x28, #64]
	mov	w8, #5
	str	w8, [x28]
	str	xzr, [x28, #56]
	mov	x0, x26
	bl	_htons
	str	x0, [x28, #48]
	ldr	w8, [x24, #24]
	add	w0, w8, #1
	str	w0, [x24, #24]
	bl	_htons
	str	x0, [x28, #40]
	mov	w0, #16384
	bl	_htons
	str	x0, [x28, #32]
Lloh16:
	adrp	x8, lCPI0_0@PAGE
Lloh17:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	stur	d0, [x28, #4]
	ldr	x0, [x24, #64]
	bl	_htonl
	str	x0, [x28, #24]
	ldr	x0, [x24, #56]
	bl	_htonl
	str	x0, [x28, #16]
	ldr	w0, [x24, #16]
	bl	_htons
	str	x0, [x28, #352]
	ldr	w0, [x24, #20]
	bl	_htons
	str	x0, [x28, #344]
	ldr	x0, [x24, #32]
	bl	_htonl
	str	x0, [x28, #336]
Lloh18:
	adrp	x8, _SET_ACK@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SET_ACK@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	tst	w8, w25
	b.eq	LBB0_4
; %bb.3:
	ldr	x0, [x24, #48]
	str	x0, [x24, #40]
	bl	_htonl
	str	x0, [x21, #40]
	mov	w8, #1
	str	w8, [x21]
	b	LBB0_5
LBB0_4:
	str	xzr, [x21, #40]
LBB0_5:
Lloh21:
	adrp	x8, _SET_SYN@GOTPAGE
Lloh22:
	ldr	x8, [x8, _SET_SYN@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	tst	w8, w25
	b.eq	LBB0_7
; %bb.6:
	ldr	x8, [x24, #32]
	add	x8, x8, #1
	str	x8, [x24, #32]
	mov	w9, #1
	str	w9, [x21, #4]
	b	LBB0_8
LBB0_7:
	ldr	x8, [x24, #32]
	add	x8, x8, w20, sxtw
	str	x8, [x24, #32]
LBB0_8:
Lloh24:
	adrp	x9, _SET_FIN@GOTPAGE
Lloh25:
	ldr	x9, [x9, _SET_FIN@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	tst	w9, w25
	b.eq	LBB0_10
; %bb.9:
	add	x8, x8, #1
	str	x8, [x24, #32]
	mov	w8, #1
	str	w8, [x21, #8]
LBB0_10:
Lloh27:
	adrp	x8, _SET_RST@GOTPAGE
Lloh28:
	ldr	x8, [x8, _SET_RST@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	tst	w8, w25
	b.eq	LBB0_12
; %bb.11:
	mov	w8, #1
	str	w8, [x21, #12]
LBB0_12:
	add	x25, x28, #576
	sxtw	x23, w22
	add	x8, x23, #75
	lsr	x8, x8, #2
	str	w8, [x21, #16]
	ldr	w0, [x24, #28]
	bl	_htons
	stp	xzr, x0, [x21, #24]
	cbz	w22, LBB0_14
; %bb.13:
	mov	x0, x25
	ldr	x1, [sp]                        ; 8-byte Folded Reload
	mov	x2, x22
	bl	_memcpy
LBB0_14:
	cbz	w20, LBB0_16
; %bb.15:
	add	x0, x25, x23, lsl #2
	ldr	x1, [sp, #8]                    ; 8-byte Folded Reload
	mov	x2, x20
	bl	_memcpy
LBB0_16:
	mov	x0, x19
	bl	_skb_shinfo
	str	xzr, [x0]
Lloh30:
	adrp	x8, _cm_packets_created@GOTPAGE
Lloh31:
	ldr	x8, [x8, _cm_packets_created@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdr	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_HLEN,8,3                   ; @ETH_HLEN
	.comm	_CHECKSUM_PARTIAL,4,2           ; @CHECKSUM_PARTIAL
	.comm	_NETIF_F_IP_CSUM,4,2            ; @NETIF_F_IP_CSUM
	.comm	_CHECKSUM_NONE,4,2              ; @CHECKSUM_NONE
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_IPVERSION,4,2                  ; @IPVERSION
	.comm	_SET_ACK,4,2                    ; @SET_ACK
	.comm	_SET_SYN,4,2                    ; @SET_SYN
	.comm	_SET_FIN,4,2                    ; @SET_FIN
	.comm	_SET_RST,4,2                    ; @SET_RST
	.comm	_cm_packets_created,4,2         ; @cm_packets_created
	.no_dead_strip	_form_cm_frame
.subsections_via_symbols
