	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function udp4_csum_init
_udp4_csum_init:                        ## @udp4_csum_init
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r12
	movq	%rdi, %r14
	callq	_UDP_SKB_CB
	movq	$0, 8(%rax)
	movl	8(%r14), %ebx
	movq	%r14, %rdi
	callq	_UDP_SKB_CB
	movl	%ebx, (%rax)
	movl	%r15d, %ebx
	movq	_IPPROTO_UDPLITE@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_udplite_checksum_init
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_8
LBB0_2:
	movq	%r14, %rdi
	callq	_ip_hdr
	movq	%rax, %r15
	cmpq	$0, (%r12)
	je	LBB0_5
## %bb.3:
	movq	(%r14), %rax
	movq	_CHECKSUM_COMPLETE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.4:
	movl	(%r15), %esi
	movl	4(%r15), %edi
	movl	8(%r14), %edx
	movl	12(%r14), %r8d
	movl	%ebx, %ecx
	callq	_csum_tcpudp_magic
	testl	%eax, %eax
	jne	LBB0_6
LBB0_5:
	movq	_CHECKSUM_UNNECESSARY@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r14)
LBB0_6:
	movq	%r14, %rdi
	callq	_skb_csum_unnecessary
	xorl	%r13d, %r13d
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:
	movl	(%r15), %esi
	movl	4(%r15), %edi
	movl	8(%r14), %edx
	xorl	%r13d, %r13d
	movl	%ebx, %ecx
	xorl	%r8d, %r8d
	callq	_csum_tcpudp_nofold
	movl	%eax, 12(%r14)
LBB0_8:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IPPROTO_UDPLITE,4,2            ## @IPPROTO_UDPLITE
	.comm	_CHECKSUM_UNNECESSARY,8,3       ## @CHECKSUM_UNNECESSARY
	.comm	_CHECKSUM_COMPLETE,8,3          ## @CHECKSUM_COMPLETE
	.no_dead_strip	_udp4_csum_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function udp4_csum_init
_udp4_csum_init:                        ; @udp4_csum_init
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x2
	mov	x22, x1
	mov	x19, x0
	bl	_UDP_SKB_CB
	str	xzr, [x0, #8]
	ldr	w21, [x19, #8]
	mov	x0, x19
	bl	_UDP_SKB_CB
	str	w21, [x0]
Lloh0:
	adrp	x8, _IPPROTO_UDPLITE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IPPROTO_UDPLITE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w20
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x19
	mov	x1, x22
	bl	_udplite_checksum_init
	cbnz	w0, LBB0_9
LBB0_2:
	mov	x0, x19
	bl	_ip_hdr
	mov	x21, x0
	ldr	x8, [x22]
	cbz	x8, LBB0_5
; %bb.3:
	ldr	x8, [x19]
Lloh3:
	adrp	x9, _CHECKSUM_COMPLETE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CHECKSUM_COMPLETE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.4:
	ldp	w1, w0, [x21]
	ldp	w2, w4, [x19, #8]
	mov	x3, x20
	bl	_csum_tcpudp_magic
	cbnz	w0, LBB0_6
LBB0_5:
Lloh6:
	adrp	x8, _CHECKSUM_UNNECESSARY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CHECKSUM_UNNECESSARY@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	str	x8, [x19]
LBB0_6:
	mov	x0, x19
	bl	_skb_csum_unnecessary
	cbz	w0, LBB0_8
; %bb.7:
	mov	w0, #0
	b	LBB0_9
LBB0_8:
	ldp	w1, w0, [x21]
	ldr	w2, [x19, #8]
	mov	x3, x20
	mov	w4, #0
	bl	_csum_tcpudp_nofold
	mov	x8, x0
	mov	w0, #0
	str	w8, [x19, #12]
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_IPPROTO_UDPLITE,4,2            ; @IPPROTO_UDPLITE
	.comm	_CHECKSUM_UNNECESSARY,8,3       ; @CHECKSUM_UNNECESSARY
	.comm	_CHECKSUM_COMPLETE,8,3          ; @CHECKSUM_COMPLETE
	.no_dead_strip	_udp4_csum_init
.subsections_via_symbols
