	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hns3_nic_set_features
_hns3_nic_set_features:                 ## @hns3_nic_set_features
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r14
	movl	(%rdi), %ebx
	xorl	%esi, %ebx
	callq	_netdev_priv
	movq	(%rax), %r12
	movq	_NETIF_F_GRO_HW@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%ebx, %eax
	je	LBB0_3
## %bb.1:
	movq	(%r12), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rcx
	testq	%rcx, %rcx
	je	LBB0_3
## %bb.2:
	xorl	%esi, %esi
	testl	%r15d, %eax
	setne	%sil
	movq	%r12, %rdi
	callq	*%rcx
	testl	%eax, %eax
	jne	LBB0_13
LBB0_3:
	movq	_NETIF_F_HW_VLAN_CTAG_FILTER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%ebx, %eax
	je	LBB0_6
## %bb.4:
	movq	(%r12), %rcx
	movq	(%rcx), %rcx
	movq	24(%rcx), %rcx
	testq	%rcx, %rcx
	je	LBB0_6
## %bb.5:
	xorl	%esi, %esi
	testl	%r15d, %eax
	setne	%sil
	movq	%r12, %rdi
	callq	*%rcx
LBB0_6:
	movq	_NETIF_F_HW_VLAN_CTAG_RX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%ebx, %eax
	je	LBB0_9
## %bb.7:
	movq	(%r12), %rcx
	movq	(%rcx), %rcx
	movq	8(%rcx), %rcx
	testq	%rcx, %rcx
	je	LBB0_9
## %bb.8:
	xorl	%esi, %esi
	testl	%r15d, %eax
	setne	%sil
	movq	%r12, %rdi
	callq	*%rcx
	testl	%eax, %eax
	jne	LBB0_13
LBB0_9:
	movq	_NETIF_F_NTUPLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%ebx, %eax
	je	LBB0_12
## %bb.10:
	movq	(%r12), %rcx
	movq	(%rcx), %rcx
	movq	16(%rcx), %rcx
	testq	%rcx, %rcx
	je	LBB0_12
## %bb.11:
	xorl	%esi, %esi
	testl	%r15d, %eax
	setne	%sil
	movq	%r12, %rdi
	callq	*%rcx
LBB0_12:
	movl	%r15d, (%r14)
	xorl	%eax, %eax
LBB0_13:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NETIF_F_GRO_HW,4,2             ## @NETIF_F_GRO_HW
	.comm	_NETIF_F_HW_VLAN_CTAG_FILTER,4,2 ## @NETIF_F_HW_VLAN_CTAG_FILTER
	.comm	_NETIF_F_HW_VLAN_CTAG_RX,4,2    ## @NETIF_F_HW_VLAN_CTAG_RX
	.comm	_NETIF_F_NTUPLE,4,2             ## @NETIF_F_NTUPLE
	.no_dead_strip	_hns3_nic_set_features
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hns3_nic_set_features
_hns3_nic_set_features:                 ; @hns3_nic_set_features
	.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, x1
	mov	x20, x0
	ldr	w8, [x0]
	eor	w22, w8, w1
	bl	_netdev_priv
	ldr	x21, [x0]
Lloh0:
	adrp	x8, _NETIF_F_GRO_HW@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NETIF_F_GRO_HW@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_3
; %bb.1:
	ldr	x9, [x21]
	ldr	x9, [x9]
	ldr	x9, [x9]
	cbz	x9, LBB0_3
; %bb.2:
	tst	w8, w19
	cset	w1, ne
	mov	x0, x21
	blr	x9
	cbnz	w0, LBB0_13
LBB0_3:
Lloh3:
	adrp	x8, _NETIF_F_HW_VLAN_CTAG_FILTER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NETIF_F_HW_VLAN_CTAG_FILTER@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_6
; %bb.4:
	ldr	x9, [x21]
	ldr	x9, [x9]
	ldr	x9, [x9, #24]
	cbz	x9, LBB0_6
; %bb.5:
	tst	w8, w19
	cset	w1, ne
	mov	x0, x21
	blr	x9
LBB0_6:
Lloh6:
	adrp	x8, _NETIF_F_HW_VLAN_CTAG_RX@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NETIF_F_HW_VLAN_CTAG_RX@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_9
; %bb.7:
	ldr	x9, [x21]
	ldr	x9, [x9]
	ldr	x9, [x9, #8]
	cbz	x9, LBB0_9
; %bb.8:
	tst	w8, w19
	cset	w1, ne
	mov	x0, x21
	blr	x9
	cbnz	w0, LBB0_13
LBB0_9:
Lloh9:
	adrp	x8, _NETIF_F_NTUPLE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NETIF_F_NTUPLE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_12
; %bb.10:
	ldr	x9, [x21]
	ldr	x9, [x9]
	ldr	x9, [x9, #16]
	cbz	x9, LBB0_12
; %bb.11:
	tst	w8, w19
	cset	w1, ne
	mov	x0, x21
	blr	x9
LBB0_12:
	mov	w0, #0
	str	w19, [x20]
LBB0_13:
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_NETIF_F_GRO_HW,4,2             ; @NETIF_F_GRO_HW
	.comm	_NETIF_F_HW_VLAN_CTAG_FILTER,4,2 ; @NETIF_F_HW_VLAN_CTAG_FILTER
	.comm	_NETIF_F_HW_VLAN_CTAG_RX,4,2    ; @NETIF_F_HW_VLAN_CTAG_RX
	.comm	_NETIF_F_NTUPLE,4,2             ; @NETIF_F_NTUPLE
	.no_dead_strip	_hns3_nic_set_features
.subsections_via_symbols
