	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_mbuf_csumflags
_update_mbuf_csumflags:                 ## @update_mbuf_csumflags
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %eax
	movq	_CSUM_IP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_CSUM_IP_CHECKED@GOTPCREL(%rip), %rdx
	movq	_CSUM_IP_VALID@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	orl	(%rdx), %edi
	andl	%eax, %ecx
	testl	%ecx, %ecx
	cmovel	%ecx, %edi
	movq	_CSUM_DELAY_DATA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_CSUM_DATA_VALID@GOTPCREL(%rip), %r8
	movq	_CSUM_PSEUDO_HDR@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%r8), %edx
	andl	%eax, %ecx
	testl	%ecx, %ecx
	cmovel	%ecx, %edx
	orl	%edi, %edx
	movq	_CSUM_SCTP@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	je	LBB0_2
## %bb.1:
	movq	_CSUM_SCTP_VALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_2:
	orl	%eax, %edx
	orl	%edx, (%rsi)
	testl	%edx, (%r8)
	je	LBB0_4
## %bb.3:
	movl	$65535, 4(%rsi)                 ## imm = 0xFFFF
LBB0_4:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CSUM_IP,4,2                    ## @CSUM_IP
	.comm	_CSUM_IP_CHECKED,4,2            ## @CSUM_IP_CHECKED
	.comm	_CSUM_IP_VALID,4,2              ## @CSUM_IP_VALID
	.comm	_CSUM_DELAY_DATA,4,2            ## @CSUM_DELAY_DATA
	.comm	_CSUM_DATA_VALID,4,2            ## @CSUM_DATA_VALID
	.comm	_CSUM_PSEUDO_HDR,4,2            ## @CSUM_PSEUDO_HDR
	.comm	_CSUM_SCTP,4,2                  ## @CSUM_SCTP
	.comm	_CSUM_SCTP_VALID,4,2            ## @CSUM_SCTP_VALID
	.no_dead_strip	_update_mbuf_csumflags
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_mbuf_csumflags
_update_mbuf_csumflags:                 ; @update_mbuf_csumflags
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _CSUM_IP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CSUM_IP@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _CSUM_IP_CHECKED@GOTPAGE
Lloh4:
	ldr	x10, [x10, _CSUM_IP_CHECKED@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
Lloh6:
	adrp	x11, _CSUM_IP_VALID@GOTPAGE
Lloh7:
	ldr	x11, [x11, _CSUM_IP_VALID@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x11]
	orr	w10, w11, w10
	tst	w9, w8
	csel	w9, wzr, w10, eq
Lloh9:
	adrp	x10, _CSUM_DELAY_DATA@GOTPAGE
Lloh10:
	ldr	x10, [x10, _CSUM_DELAY_DATA@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
Lloh12:
	adrp	x11, _CSUM_DATA_VALID@GOTPAGE
Lloh13:
	ldr	x11, [x11, _CSUM_DATA_VALID@GOTPAGEOFF]
	ldr	w12, [x11]
Lloh14:
	adrp	x13, _CSUM_PSEUDO_HDR@GOTPAGE
Lloh15:
	ldr	x13, [x13, _CSUM_PSEUDO_HDR@GOTPAGEOFF]
Lloh16:
	ldr	w13, [x13]
	orr	w12, w13, w12
	tst	w10, w8
	csel	w10, wzr, w12, eq
	orr	w9, w10, w9
Lloh17:
	adrp	x10, _CSUM_SCTP@GOTPAGE
Lloh18:
	ldr	x10, [x10, _CSUM_SCTP@GOTPAGEOFF]
Lloh19:
	ldr	w10, [x10]
Lloh20:
	adrp	x12, _CSUM_SCTP_VALID@GOTPAGE
Lloh21:
	ldr	x12, [x12, _CSUM_SCTP_VALID@GOTPAGEOFF]
Lloh22:
	ldr	w12, [x12]
	tst	w10, w8
	csel	w8, wzr, w12, eq
	orr	w8, w9, w8
	ldr	w9, [x1]
	orr	w9, w8, w9
	str	w9, [x1]
	ldr	w9, [x11]
	tst	w8, w9
	b.eq	LBB0_2
; %bb.1:
	mov	w8, #65535
	str	w8, [x1, #4]
LBB0_2:
	ret
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CSUM_IP,4,2                    ; @CSUM_IP
	.comm	_CSUM_IP_CHECKED,4,2            ; @CSUM_IP_CHECKED
	.comm	_CSUM_IP_VALID,4,2              ; @CSUM_IP_VALID
	.comm	_CSUM_DELAY_DATA,4,2            ; @CSUM_DELAY_DATA
	.comm	_CSUM_DATA_VALID,4,2            ; @CSUM_DATA_VALID
	.comm	_CSUM_PSEUDO_HDR,4,2            ; @CSUM_PSEUDO_HDR
	.comm	_CSUM_SCTP,4,2                  ; @CSUM_SCTP
	.comm	_CSUM_SCTP_VALID,4,2            ; @CSUM_SCTP_VALID
	.no_dead_strip	_update_mbuf_csumflags
.subsections_via_symbols
