	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gre_handle_offloads            ## -- Begin function gre_handle_offloads
	.p2align	4, 0x90
_gre_handle_offloads:                   ## @gre_handle_offloads
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	xorl	%edi, %edi
	cmpl	$0, (%rbx)
	sete	%dil
	callq	_likely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	$1, (%rbx)
LBB0_2:
	movq	%rbx, %rdi
	callq	_skb_is_gso
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_skb_unclone
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_8
## %bb.4:
	movq	_SKB_GSO_GRE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%rbx, %rdi
	callq	_skb_shinfo
	orl	%r14d, (%rax)
	jmp	LBB0_11
LBB0_5:
	movq	8(%rbx), %rax
	movq	_CHECKSUM_PARTIAL@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	testl	%r14d, %r14d
	je	LBB0_9
## %bb.6:
	cmpq	%rcx, %rax
	jne	LBB0_9
## %bb.7:
	movq	%rbx, %rdi
	callq	_skb_checksum_help
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_11
LBB0_8:
	movq	%rbx, %rdi
	callq	_kfree_skb
	movl	%r14d, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
LBB0_9:
	cmpq	%rcx, %rax
	je	LBB0_11
## %bb.10:
	movq	_CHECKSUM_NONE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%rbx)
LBB0_11:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_SKB_GSO_GRE,4,2                ## @SKB_GSO_GRE
	.comm	_CHECKSUM_PARTIAL,8,3           ## @CHECKSUM_PARTIAL
	.comm	_CHECKSUM_NONE,8,3              ## @CHECKSUM_NONE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gre_handle_offloads            ; -- Begin function gre_handle_offloads
	.p2align	2
_gre_handle_offloads:                   ; @gre_handle_offloads
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	ldr	w8, [x0]
	cmp	w8, #0
	cset	w0, eq
	bl	_likely
	cbz	x0, LBB0_2
; %bb.1:
	mov	w8, #1
	str	w8, [x19]
LBB0_2:
	mov	x0, x19
	bl	_skb_is_gso
	cbz	x0, LBB0_5
; %bb.3:
Lloh0:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_skb_unclone
	mov	x20, x0
	bl	_unlikely
	cbnz	x0, LBB0_8
; %bb.4:
Lloh3:
	adrp	x8, _SKB_GSO_GRE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SKB_GSO_GRE@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
	mov	x0, x19
	bl	_skb_shinfo
	ldr	w8, [x0]
	orr	w8, w8, w20
	str	w8, [x0]
	b	LBB0_11
LBB0_5:
	ldr	x8, [x19, #8]
Lloh6:
	adrp	x9, _CHECKSUM_PARTIAL@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CHECKSUM_PARTIAL@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cbz	w20, LBB0_9
; %bb.6:
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.7:
	mov	x0, x19
	bl	_skb_checksum_help
	mov	x20, x0
	bl	_unlikely
	cbz	x0, LBB0_11
LBB0_8:
	mov	x0, x19
	bl	_kfree_skb
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ERR_PTR
LBB0_9:
	cmp	x8, x9
	b.eq	LBB0_11
; %bb.10:
Lloh9:
	adrp	x8, _CHECKSUM_NONE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CHECKSUM_NONE@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	str	x8, [x19, #8]
LBB0_11:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_SKB_GSO_GRE,4,2                ; @SKB_GSO_GRE
	.comm	_CHECKSUM_PARTIAL,8,3           ; @CHECKSUM_PARTIAL
	.comm	_CHECKSUM_NONE,8,3              ; @CHECKSUM_NONE
.subsections_via_symbols
