	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_fixed_ipv4_csum
_get_fixed_ipv4_csum:                   ## @get_fixed_ipv4_csum
	.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
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movl	%edi, %r15d
	movq	(%rdx), %r12
	movq	_IPPROTO_SCTP@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpq	(%rax), %r12
	sete	%dil
	callq	_unlikely
	movl	$-1, %r13d
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movl	20(%rbx), %edi
	callq	_be16_to_cpu
	movl	8(%rbx), %ecx
	movl	12(%rbx), %esi
	shll	$2, %ecx
	movslq	%ecx, %rcx
	subq	%rcx, %rax
	movl	16(%rbx), %edi
	xorl	%r13d, %r13d
	movq	%rax, %rdx
	movq	%r12, %rcx
	xorl	%r8d, %r8d
	callq	_csum_tcpudp_nofold
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_csum_sub
	movl	%eax, (%r14)
LBB0_2:
	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_SCTP,8,3               ## @IPPROTO_SCTP
	.no_dead_strip	_get_fixed_ipv4_csum
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_fixed_ipv4_csum
_get_fixed_ipv4_csum:                   ; @get_fixed_ipv4_csum
	.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	x22, x2
	mov	x19, x1
	mov	x20, x0
	ldr	x21, [x2]
Lloh0:
	adrp	x8, _IPPROTO_SCTP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IPPROTO_SCTP@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x21, x8
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
	mov	w0, #-1
	b	LBB0_3
LBB0_2:
	ldr	w0, [x22, #20]
	bl	_be16_to_cpu
	ldp	w8, w1, [x22, #8]
	lsl	w8, w8, #2
	sub	x2, x0, w8, sxtw
	ldr	w0, [x22, #16]
	mov	x3, x21
	mov	w4, #0
	bl	_csum_tcpudp_nofold
	mov	x1, x0
	mov	x0, x20
	bl	_csum_sub
	mov	x8, x0
	mov	w0, #0
	str	w8, [x19]
LBB0_3:
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_IPPROTO_SCTP,8,3               ; @IPPROTO_SCTP
	.no_dead_strip	_get_fixed_ipv4_csum
.subsections_via_symbols
