	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rmnet_map_complement_ipv4_txporthdr_csum_field
_rmnet_map_complement_ipv4_txporthdr_csum_field: ## @rmnet_map_complement_ipv4_txporthdr_csum_field
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdi, %rax
	movq	8(%rdi), %rdi
	movq	_IPPROTO_TCP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rdi
	je	LBB0_2
## %bb.1:
	movq	_IPPROTO_UDP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rdi
	je	LBB0_2
## %bb.3:
	popq	%rbp
	retq
LBB0_2:
	movslq	(%rax), %rcx
	leaq	(%rax,%rcx,4), %rsi
	callq	_rmnet_map_get_csum_field
	notl	(%rax)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IPPROTO_TCP,8,3                ## @IPPROTO_TCP
	.comm	_IPPROTO_UDP,8,3                ## @IPPROTO_UDP
	.no_dead_strip	_rmnet_map_complement_ipv4_txporthdr_csum_field
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rmnet_map_complement_ipv4_txporthdr_csum_field
_rmnet_map_complement_ipv4_txporthdr_csum_field: ; @rmnet_map_complement_ipv4_txporthdr_csum_field
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x8, x0
	ldr	x0, [x0, #8]
Lloh0:
	adrp	x9, _IPPROTO_TCP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IPPROTO_TCP@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _IPPROTO_UDP@GOTPAGE
Lloh4:
	ldr	x10, [x10, _IPPROTO_UDP@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x0, x9
	ccmp	x0, x10, #4, ne
	b.ne	LBB0_2
; %bb.1:
	ldrsw	x9, [x8]
	add	x1, x8, x9, lsl #2
	bl	_rmnet_map_get_csum_field
	ldr	w8, [x0]
	mvn	w8, w8
	str	w8, [x0]
LBB0_2:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IPPROTO_TCP,8,3                ; @IPPROTO_TCP
	.comm	_IPPROTO_UDP,8,3                ; @IPPROTO_UDP
	.no_dead_strip	_rmnet_map_complement_ipv4_txporthdr_csum_field
.subsections_via_symbols
