	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function checksum_udp
_checksum_udp:                          ## @checksum_udp
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpq	$0, (%rsi)
	je	LBB0_4
## %bb.1:
	movl	%r8d, %r14d
	movl	%ecx, %r15d
	movl	%edx, %r12d
	movq	%rdi, %rbx
	callq	_skb_csum_unnecessary
	testq	%rax, %rax
	je	LBB0_2
LBB0_4:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	_IPPROTO_UDP@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movzwl	%r12w, %edx
	movl	%r15d, %edi
	movl	%r14d, %esi
	xorl	%r8d, %r8d
	callq	_csum_tcpudp_nofold
	movl	%eax, %r14d
	movq	(%rbx), %rax
	movq	_CHECKSUM_COMPLETE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.3:
	movl	8(%rbx), %esi
	movl	%r14d, %edi
	callq	_csum_add
	movl	%eax, %edi
	callq	_csum_fold
	testl	%eax, %eax
	je	LBB0_4
LBB0_5:
	movl	%r14d, 8(%rbx)
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	___skb_checksum_complete        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IPPROTO_UDP,4,2                ## @IPPROTO_UDP
	.comm	_CHECKSUM_COMPLETE,8,3          ## @CHECKSUM_COMPLETE
	.no_dead_strip	_checksum_udp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function checksum_udp
_checksum_udp:                          ; @checksum_udp
	.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
	ldr	x8, [x1]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x20, x4
	mov	x22, x3
	mov	x21, x2
	mov	x19, x0
	bl	_skb_csum_unnecessary
	cbz	x0, LBB0_3
LBB0_2:
	mov	w0, #0
	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
LBB0_3:
Lloh0:
	adrp	x8, _IPPROTO_UDP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IPPROTO_UDP@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	x0, x22
	mov	x1, x20
	mov	x2, x21
	mov	w4, #0
	bl	_csum_tcpudp_nofold
	mov	x20, x0
	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_5
; %bb.4:
	ldr	w1, [x19, #8]
	mov	x0, x20
	bl	_csum_add
	bl	_csum_fold
	cbz	w0, LBB0_2
LBB0_5:
	str	w20, [x19, #8]
	mov	x0, x19
	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
	b	___skb_checksum_complete
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IPPROTO_UDP,4,2                ; @IPPROTO_UDP
	.comm	_CHECKSUM_COMPLETE,8,3          ; @CHECKSUM_COMPLETE
	.no_dead_strip	_checksum_udp
.subsections_via_symbols
