	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hns3_get_netdev_flags
_hns3_get_netdev_flags:                 ## @hns3_get_netdev_flags
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %ecx
	movq	_IFF_PROMISC@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_HNAE3_USER_UPE@GOTPCREL(%rip), %rcx
	movq	_HNAE3_USER_MPE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	movq	_HNAE3_BPE@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_2:
	movq	_HNAE3_VLAN_FLTR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_IFF_ALLMULTI@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_5
## %bb.3:
	movq	_HNAE3_USER_MPE@GOTPCREL(%rip), %rcx
LBB0_4:
	orl	(%rcx), %eax
LBB0_5:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IFF_PROMISC,4,2                ## @IFF_PROMISC
	.comm	_HNAE3_USER_UPE,4,2             ## @HNAE3_USER_UPE
	.comm	_HNAE3_USER_MPE,4,2             ## @HNAE3_USER_MPE
	.comm	_HNAE3_BPE,4,2                  ## @HNAE3_BPE
	.comm	_HNAE3_VLAN_FLTR,4,2            ## @HNAE3_VLAN_FLTR
	.comm	_IFF_ALLMULTI,4,2               ## @IFF_ALLMULTI
	.no_dead_strip	_hns3_get_netdev_flags
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hns3_get_netdev_flags
_hns3_get_netdev_flags:                 ; @hns3_get_netdev_flags
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _IFF_PROMISC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IFF_PROMISC@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _HNAE3_USER_UPE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HNAE3_USER_UPE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _HNAE3_USER_MPE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _HNAE3_USER_MPE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh9:
	adrp	x9, _HNAE3_BPE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _HNAE3_BPE@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w0, w8, w9
	ret
LBB0_2:
Lloh12:
	adrp	x9, _HNAE3_VLAN_FLTR@GOTPAGE
Lloh13:
	ldr	x9, [x9, _HNAE3_VLAN_FLTR@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x9]
Lloh15:
	adrp	x9, _IFF_ALLMULTI@GOTPAGE
Lloh16:
	ldr	x9, [x9, _IFF_ALLMULTI@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
Lloh18:
	adrp	x8, _HNAE3_USER_MPE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _HNAE3_USER_MPE@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	orr	w0, w8, w0
LBB0_4:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_IFF_PROMISC,4,2                ; @IFF_PROMISC
	.comm	_HNAE3_USER_UPE,4,2             ; @HNAE3_USER_UPE
	.comm	_HNAE3_USER_MPE,4,2             ; @HNAE3_USER_MPE
	.comm	_HNAE3_BPE,4,2                  ; @HNAE3_BPE
	.comm	_HNAE3_VLAN_FLTR,4,2            ; @HNAE3_VLAN_FLTR
	.comm	_IFF_ALLMULTI,4,2               ; @IFF_ALLMULTI
	.no_dead_strip	_hns3_get_netdev_flags
.subsections_via_symbols
