	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iavf_features_check
_iavf_features_check:                   ## @iavf_features_check
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	(%rdi), %rax
	movq	_CHECKSUM_PARTIAL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.1:
	movq	%rdi, %rbx
	callq	_skb_is_gso
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	%rbx, %rdi
	callq	_skb_shinfo
	cmpl	$63, (%rax)
	jg	LBB0_4
## %bb.3:
	movq	_NETIF_F_GSO_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %r14d
LBB0_4:
	movq	%rbx, %rdi
	callq	_skb_network_header
	subq	8(%rbx), %rax
	testq	$-127, %rax
	jne	LBB0_9
## %bb.5:
	movq	%rbx, %rdi
	callq	_skb_transport_header
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_skb_network_header
	subq	%rax, %r15
	testq	$-509, %r15                     ## imm = 0xFE03
	je	LBB0_6
LBB0_9:
	movq	_NETIF_F_CSUM_MASK@GOTPCREL(%rip), %rax
	movq	_NETIF_F_GSO_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	notl	%ecx
	andl	%ecx, %r14d
LBB0_10:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	cmpq	$0, 16(%rbx)
	je	LBB0_10
## %bb.7:
	movq	%rbx, %rdi
	callq	_skb_inner_network_header
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_skb_transport_header
	subq	%rax, %r15
	testq	$-255, %r15
	jne	LBB0_9
## %bb.8:
	movq	%rbx, %rdi
	callq	_skb_inner_transport_header
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_skb_inner_network_header
	subq	%rax, %r15
	testq	$-509, %r15                     ## imm = 0xFE03
	jne	LBB0_9
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_CHECKSUM_PARTIAL,8,3           ## @CHECKSUM_PARTIAL
	.comm	_NETIF_F_GSO_MASK,4,2           ## @NETIF_F_GSO_MASK
	.comm	_NETIF_F_CSUM_MASK,4,2          ## @NETIF_F_CSUM_MASK
	.no_dead_strip	_iavf_features_check
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iavf_features_check
_iavf_features_check:                   ; @iavf_features_check
	.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	x19, x2
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _CHECKSUM_PARTIAL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CHECKSUM_PARTIAL@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.1:
	mov	x20, x0
	bl	_skb_is_gso
Lloh3:
	adrp	x22, _NETIF_F_GSO_MASK@GOTPAGE
Lloh4:
	ldr	x22, [x22, _NETIF_F_GSO_MASK@GOTPAGEOFF]
	cbz	x0, LBB0_4
; %bb.2:
	mov	x0, x20
	bl	_skb_shinfo
	ldr	w8, [x0]
	cmp	w8, #63
	b.gt	LBB0_4
; %bb.3:
	ldr	w8, [x22]
	bic	w19, w19, w8
LBB0_4:
	mov	x0, x20
	bl	_skb_network_header
	ldr	x8, [x20, #8]
	sub	x8, x0, x8
	tst	x8, #0xffffffffffffff81
	b.ne	LBB0_6
; %bb.5:
	mov	x0, x20
	bl	_skb_transport_header
	mov	x21, x0
	mov	x0, x20
	bl	_skb_network_header
	sub	x8, x21, x0
	tst	x8, #0xfffffffffffffe03
	b.eq	LBB0_8
LBB0_6:
Lloh5:
	adrp	x8, _NETIF_F_CSUM_MASK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _NETIF_F_CSUM_MASK@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	ldr	w9, [x22]
	orr	w8, w9, w8
	bic	w19, w19, w8
LBB0_7:
	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
	ret
LBB0_8:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_7
; %bb.9:
	mov	x0, x20
	bl	_skb_inner_network_header
	mov	x21, x0
	mov	x0, x20
	bl	_skb_transport_header
	sub	x8, x21, x0
	tst	x8, #0xffffffffffffff01
	b.ne	LBB0_6
; %bb.10:
	mov	x0, x20
	bl	_skb_inner_transport_header
	mov	x21, x0
	mov	x0, x20
	bl	_skb_inner_network_header
	sub	x8, x21, x0
	tst	x8, #0xfffffffffffffe03
	b.ne	LBB0_6
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_CHECKSUM_PARTIAL,8,3           ; @CHECKSUM_PARTIAL
	.comm	_NETIF_F_GSO_MASK,4,2           ; @NETIF_F_GSO_MASK
	.comm	_NETIF_F_CSUM_MASK,4,2          ; @NETIF_F_CSUM_MASK
	.no_dead_strip	_iavf_features_check
.subsections_via_symbols
