	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hns3_set_default_feature
_hns3_set_default_feature:              ## @hns3_set_default_feature
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_hns3_get_handle
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	8(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_IFF_UNICAST_FLT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 20(%r14)
	movq	_NETIF_F_IP_CSUM@GOTPCREL(%rip), %rdi
	movq	_NETIF_F_IPV6_CSUM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	orl	(%rdi), %r9d
	movq	_NETIF_F_RXCSUM@GOTPCREL(%rip), %rdx
	orl	(%rdx), %r9d
	movq	_NETIF_F_SG@GOTPCREL(%rip), %rax
	orl	(%rax), %r9d
	movq	_NETIF_F_GSO@GOTPCREL(%rip), %r8
	orl	(%r8), %r9d
	movq	_NETIF_F_GRO@GOTPCREL(%rip), %rsi
	orl	(%rsi), %r9d
	movq	_NETIF_F_TSO@GOTPCREL(%rip), %rbx
	orl	(%rbx), %r9d
	movq	_NETIF_F_TSO6@GOTPCREL(%rip), %rsi
	orl	(%rsi), %r9d
	movq	_NETIF_F_GSO_GRE@GOTPCREL(%rip), %r15
	orl	(%r15), %r9d
	movq	_NETIF_F_GSO_GRE_CSUM@GOTPCREL(%rip), %r10
	orl	(%r10), %r9d
	movq	_NETIF_F_GSO_UDP_TUNNEL@GOTPCREL(%rip), %rsi
	orl	(%rsi), %r9d
	movq	_NETIF_F_GSO_UDP_TUNNEL_CSUM@GOTPCREL(%rip), %r12
	orl	(%r12), %r9d
	movq	_NETIF_F_SCTP_CRC@GOTPCREL(%rip), %r13
	orl	(%r13), %r9d
	orl	(%r14), %r9d
	movl	%r9d, (%r14)
	movq	_NETIF_F_TSO_MANGLEID@GOTPCREL(%rip), %r11
	orl	(%r11), %r9d
	movl	%r9d, (%r14)
	movl	(%rcx), %ecx
	orl	(%rdi), %ecx
	movq	_NETIF_F_HW_VLAN_CTAG_RX@GOTPCREL(%rip), %rdi
	movl	(%rdi), %r9d
	movq	_NETIF_F_HW_VLAN_CTAG_TX@GOTPCREL(%rip), %rsi
	orl	(%rsi), %r9d
	movl	(%rdx), %edx
	movl	(%rax), %eax
	movl	(%r8), %esi
	orl	%edx, %r9d
	orl	%eax, %edx
	orl	%esi, %eax
	orl	%esi, %edx
	movq	_NETIF_F_GRO@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	movl	(%rbx), %ebx
	orl	%esi, %eax
	orl	%ebx, %eax
	orl	%ebx, %esi
	movl	(%r10), %r8d
	movq	_NETIF_F_TSO6@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	movl	(%r15), %ebx
	orl	%edi, %esi
	orl	%ebx, %edi
	orl	%ebx, %esi
	movq	_NETIF_F_HW_VLAN_CTAG_FILTER@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ebx
	orl	%r8d, %ebx
	orl	%ecx, %ebx
	orl	%r8d, %ecx
	orl	%ecx, %edx
	orl	%edx, %esi
	movq	_NETIF_F_GSO_UDP_TUNNEL@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	(%r12), %r10d
	orl	%edx, %edi
	orl	%r10d, %edi
	orl	%r10d, %edx
	movl	(%r13), %r10d
	orl	%r10d, %edi
	orl	%r10d, %edx
	orl	%esi, %edx
	orl	%r9d, %ebx
	orl	%r9d, %ecx
	orl	%eax, %ebx
	orl	%eax, %ecx
	movd	%r8d, %xmm0
	orl	%edi, %ebx
	pinsrd	$1, %ebx, %xmm0
	pinsrd	$2, %edx, %xmm0
	orl	%edi, %ecx
	pinsrd	$3, %ecx, %xmm0
	movdqu	4(%r14), %xmm1
	por	%xmm1, %xmm0
	movdqu	%xmm0, 4(%r14)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpl	$33, (%rax)
	jl	LBB0_3
## %bb.1:
	movq	_NETIF_F_GRO_HW@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	pextrd	$3, %xmm0, %eax
	orl	%edx, %eax
	movl	%eax, 16(%r14)
	pextrd	$1, %xmm0, %ecx
	orl	%edx, %ecx
	movl	%ecx, 8(%r14)
	movq	_HNAE3_SUPPORT_VF@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	testl	%edx, (%rsi)
	jne	LBB0_3
## %bb.2:
	movq	_NETIF_F_NTUPLE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	%edx, %eax
	movl	%eax, 16(%r14)
	orl	%edx, %ecx
	movl	%ecx, 8(%r14)
LBB0_3:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IFF_UNICAST_FLT,4,2            ## @IFF_UNICAST_FLT
	.comm	_NETIF_F_IP_CSUM,4,2            ## @NETIF_F_IP_CSUM
	.comm	_NETIF_F_IPV6_CSUM,4,2          ## @NETIF_F_IPV6_CSUM
	.comm	_NETIF_F_RXCSUM,4,2             ## @NETIF_F_RXCSUM
	.comm	_NETIF_F_SG,4,2                 ## @NETIF_F_SG
	.comm	_NETIF_F_GSO,4,2                ## @NETIF_F_GSO
	.comm	_NETIF_F_GRO,4,2                ## @NETIF_F_GRO
	.comm	_NETIF_F_TSO,4,2                ## @NETIF_F_TSO
	.comm	_NETIF_F_TSO6,4,2               ## @NETIF_F_TSO6
	.comm	_NETIF_F_GSO_GRE,4,2            ## @NETIF_F_GSO_GRE
	.comm	_NETIF_F_GSO_GRE_CSUM,4,2       ## @NETIF_F_GSO_GRE_CSUM
	.comm	_NETIF_F_GSO_UDP_TUNNEL,4,2     ## @NETIF_F_GSO_UDP_TUNNEL
	.comm	_NETIF_F_GSO_UDP_TUNNEL_CSUM,4,2 ## @NETIF_F_GSO_UDP_TUNNEL_CSUM
	.comm	_NETIF_F_SCTP_CRC,4,2           ## @NETIF_F_SCTP_CRC
	.comm	_NETIF_F_TSO_MANGLEID,4,2       ## @NETIF_F_TSO_MANGLEID
	.comm	_NETIF_F_HW_VLAN_CTAG_FILTER,4,2 ## @NETIF_F_HW_VLAN_CTAG_FILTER
	.comm	_NETIF_F_HW_VLAN_CTAG_TX,4,2    ## @NETIF_F_HW_VLAN_CTAG_TX
	.comm	_NETIF_F_HW_VLAN_CTAG_RX,4,2    ## @NETIF_F_HW_VLAN_CTAG_RX
	.comm	_NETIF_F_GRO_HW,4,2             ## @NETIF_F_GRO_HW
	.comm	_HNAE3_SUPPORT_VF,4,2           ## @HNAE3_SUPPORT_VF
	.comm	_NETIF_F_NTUPLE,4,2             ## @NETIF_F_NTUPLE
	.no_dead_strip	_hns3_set_default_feature
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hns3_set_default_feature
_hns3_set_default_feature:              ; @hns3_set_default_feature
	.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, x0
	bl	_hns3_get_handle
Lloh0:
	adrp	x8, _IFF_UNICAST_FLT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IFF_UNICAST_FLT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldp	w10, w9, [x19, #16]
	orr	w8, w9, w8
Lloh3:
	adrp	x9, _NETIF_F_IP_CSUM@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NETIF_F_IP_CSUM@GOTPAGEOFF]
	str	w8, [x19, #20]
	ldr	w8, [x9]
Lloh5:
	adrp	x11, _NETIF_F_IPV6_CSUM@GOTPAGE
Lloh6:
	ldr	x11, [x11, _NETIF_F_IPV6_CSUM@GOTPAGEOFF]
	ldr	w12, [x11]
	orr	w8, w12, w8
Lloh7:
	adrp	x12, _NETIF_F_RXCSUM@GOTPAGE
Lloh8:
	ldr	x12, [x12, _NETIF_F_RXCSUM@GOTPAGEOFF]
	ldr	w13, [x12]
	orr	w8, w8, w13
Lloh9:
	adrp	x13, _NETIF_F_SG@GOTPAGE
Lloh10:
	ldr	x13, [x13, _NETIF_F_SG@GOTPAGEOFF]
	ldr	w14, [x13]
	orr	w8, w8, w14
Lloh11:
	adrp	x14, _NETIF_F_GSO@GOTPAGE
Lloh12:
	ldr	x14, [x14, _NETIF_F_GSO@GOTPAGEOFF]
	ldr	w15, [x14]
	orr	w8, w8, w15
Lloh13:
	adrp	x15, _NETIF_F_GRO@GOTPAGE
Lloh14:
	ldr	x15, [x15, _NETIF_F_GRO@GOTPAGEOFF]
	ldr	w16, [x15]
	orr	w8, w8, w16
Lloh15:
	adrp	x16, _NETIF_F_TSO@GOTPAGE
Lloh16:
	ldr	x16, [x16, _NETIF_F_TSO@GOTPAGEOFF]
	ldr	w17, [x16]
	orr	w8, w8, w17
Lloh17:
	adrp	x17, _NETIF_F_TSO6@GOTPAGE
Lloh18:
	ldr	x17, [x17, _NETIF_F_TSO6@GOTPAGEOFF]
	ldr	w1, [x17]
	orr	w8, w8, w1
Lloh19:
	adrp	x1, _NETIF_F_GSO_GRE@GOTPAGE
Lloh20:
	ldr	x1, [x1, _NETIF_F_GSO_GRE@GOTPAGEOFF]
	ldr	w2, [x1]
	orr	w8, w8, w2
Lloh21:
	adrp	x2, _NETIF_F_GSO_GRE_CSUM@GOTPAGE
Lloh22:
	ldr	x2, [x2, _NETIF_F_GSO_GRE_CSUM@GOTPAGEOFF]
	ldr	w3, [x2]
	orr	w8, w8, w3
Lloh23:
	adrp	x3, _NETIF_F_GSO_UDP_TUNNEL@GOTPAGE
Lloh24:
	ldr	x3, [x3, _NETIF_F_GSO_UDP_TUNNEL@GOTPAGEOFF]
	ldr	w4, [x3]
	orr	w8, w8, w4
Lloh25:
	adrp	x4, _NETIF_F_GSO_UDP_TUNNEL_CSUM@GOTPAGE
Lloh26:
	ldr	x4, [x4, _NETIF_F_GSO_UDP_TUNNEL_CSUM@GOTPAGEOFF]
	ldr	w5, [x4]
	orr	w8, w8, w5
Lloh27:
	adrp	x5, _NETIF_F_SCTP_CRC@GOTPAGE
Lloh28:
	ldr	x5, [x5, _NETIF_F_SCTP_CRC@GOTPAGEOFF]
	ldr	w6, [x5]
	orr	w8, w8, w6
	ldp	w6, w7, [x19]
	orr	w8, w8, w6
	str	w8, [x19]
Lloh29:
	adrp	x6, _NETIF_F_TSO_MANGLEID@GOTPAGE
Lloh30:
	ldr	x6, [x6, _NETIF_F_TSO_MANGLEID@GOTPAGEOFF]
Lloh31:
	ldr	w6, [x6]
	orr	w8, w6, w8
	str	w8, [x19]
	ldr	w2, [x2]
	ldr	w8, [x9]
	ldr	w9, [x11]
	orr	w9, w9, w8
Lloh32:
	adrp	x8, _NETIF_F_HW_VLAN_CTAG_FILTER@GOTPAGE
Lloh33:
	ldr	x8, [x8, _NETIF_F_HW_VLAN_CTAG_FILTER@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
Lloh35:
	adrp	x11, _NETIF_F_HW_VLAN_CTAG_TX@GOTPAGE
Lloh36:
	ldr	x11, [x11, _NETIF_F_HW_VLAN_CTAG_TX@GOTPAGEOFF]
Lloh37:
	ldr	w11, [x11]
Lloh38:
	adrp	x6, _NETIF_F_HW_VLAN_CTAG_RX@GOTPAGE
Lloh39:
	ldr	x6, [x6, _NETIF_F_HW_VLAN_CTAG_RX@GOTPAGEOFF]
Lloh40:
	ldr	w6, [x6]
	ldr	w12, [x12]
	ldr	w13, [x13]
	ldr	w14, [x14]
	ldr	w15, [x15]
	ldr	w16, [x16]
	ldr	w17, [x17]
	ldr	w1, [x1]
	ldr	w3, [x3]
	ldr	w4, [x4]
	ldr	w5, [x5]
	orr	w8, w8, w2
	orr	w8, w8, w9
	orr	w8, w8, w11
	orr	w8, w8, w6
	orr	w8, w8, w12
	orr	w8, w8, w13
	orr	w8, w8, w14
	orr	w8, w8, w15
	orr	w8, w8, w16
	orr	w8, w8, w17
	orr	w8, w8, w1
	orr	w8, w8, w3
	orr	w8, w8, w4
	orr	w8, w8, w5
	ldp	w20, w21, [x19, #8]
	orr	w8, w8, w20
	orr	w7, w7, w2
	orr	w9, w9, w2
	orr	w2, w9, w12
	orr	w2, w2, w13
	orr	w2, w2, w14
	orr	w2, w2, w15
	orr	w2, w2, w16
	orr	w2, w2, w17
	orr	w2, w2, w1
	orr	w2, w2, w3
	orr	w2, w2, w4
	orr	w2, w2, w5
	orr	w2, w2, w21
	ldr	x20, [x0, #8]
	stp	w7, w8, [x19, #4]
	orr	w9, w9, w11
	orr	w9, w9, w6
	orr	w9, w9, w12
	orr	w9, w9, w13
	orr	w9, w9, w14
	orr	w9, w9, w15
	orr	w9, w9, w16
	orr	w9, w9, w17
	orr	w9, w9, w1
	orr	w9, w9, w3
	orr	w9, w9, w4
	orr	w9, w9, w5
	orr	w9, w9, w10
	stp	w2, w9, [x19, #12]
	ldr	w10, [x20]
	cmp	w10, #33
	b.lt	LBB0_3
; %bb.1:
Lloh41:
	adrp	x10, _NETIF_F_GRO_HW@GOTPAGE
Lloh42:
	ldr	x10, [x10, _NETIF_F_GRO_HW@GOTPAGEOFF]
Lloh43:
	ldr	w10, [x10]
	orr	w9, w10, w9
	str	w9, [x19, #16]
	orr	w8, w10, w8
	str	w8, [x19, #8]
	ldr	w10, [x0]
Lloh44:
	adrp	x11, _HNAE3_SUPPORT_VF@GOTPAGE
Lloh45:
	ldr	x11, [x11, _HNAE3_SUPPORT_VF@GOTPAGEOFF]
Lloh46:
	ldr	w11, [x11]
	tst	w11, w10
	b.ne	LBB0_3
; %bb.2:
Lloh47:
	adrp	x10, _NETIF_F_NTUPLE@GOTPAGE
Lloh48:
	ldr	x10, [x10, _NETIF_F_NTUPLE@GOTPAGEOFF]
Lloh49:
	ldr	w10, [x10]
	orr	w9, w10, w9
	str	w9, [x19, #16]
	orr	w8, w10, w8
	str	w8, [x19, #8]
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	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.cfi_endproc
                                        ; -- End function
	.comm	_IFF_UNICAST_FLT,4,2            ; @IFF_UNICAST_FLT
	.comm	_NETIF_F_IP_CSUM,4,2            ; @NETIF_F_IP_CSUM
	.comm	_NETIF_F_IPV6_CSUM,4,2          ; @NETIF_F_IPV6_CSUM
	.comm	_NETIF_F_RXCSUM,4,2             ; @NETIF_F_RXCSUM
	.comm	_NETIF_F_SG,4,2                 ; @NETIF_F_SG
	.comm	_NETIF_F_GSO,4,2                ; @NETIF_F_GSO
	.comm	_NETIF_F_GRO,4,2                ; @NETIF_F_GRO
	.comm	_NETIF_F_TSO,4,2                ; @NETIF_F_TSO
	.comm	_NETIF_F_TSO6,4,2               ; @NETIF_F_TSO6
	.comm	_NETIF_F_GSO_GRE,4,2            ; @NETIF_F_GSO_GRE
	.comm	_NETIF_F_GSO_GRE_CSUM,4,2       ; @NETIF_F_GSO_GRE_CSUM
	.comm	_NETIF_F_GSO_UDP_TUNNEL,4,2     ; @NETIF_F_GSO_UDP_TUNNEL
	.comm	_NETIF_F_GSO_UDP_TUNNEL_CSUM,4,2 ; @NETIF_F_GSO_UDP_TUNNEL_CSUM
	.comm	_NETIF_F_SCTP_CRC,4,2           ; @NETIF_F_SCTP_CRC
	.comm	_NETIF_F_TSO_MANGLEID,4,2       ; @NETIF_F_TSO_MANGLEID
	.comm	_NETIF_F_HW_VLAN_CTAG_FILTER,4,2 ; @NETIF_F_HW_VLAN_CTAG_FILTER
	.comm	_NETIF_F_HW_VLAN_CTAG_TX,4,2    ; @NETIF_F_HW_VLAN_CTAG_TX
	.comm	_NETIF_F_HW_VLAN_CTAG_RX,4,2    ; @NETIF_F_HW_VLAN_CTAG_RX
	.comm	_NETIF_F_GRO_HW,4,2             ; @NETIF_F_GRO_HW
	.comm	_HNAE3_SUPPORT_VF,4,2           ; @HNAE3_SUPPORT_VF
	.comm	_NETIF_F_NTUPLE,4,2             ; @NETIF_F_NTUPLE
	.no_dead_strip	_hns3_set_default_feature
.subsections_via_symbols
