	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vxge_hw_vpath_promisc_enable   ## -- Begin function vxge_hw_vpath_promisc_enable
	.p2align	4, 0x90
_vxge_hw_vpath_promisc_enable:          ## @vxge_hw_vpath_promisc_enable
	.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
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movq	(%rdi), %rbx
	cmpq	$0, 16(%rbx)
	je	LBB0_2
## %bb.3:
	movq	_VXGE_HW_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	8(%rbx), %rax
	movq	_VXGE_HW_DEVICE_ACCESS_RIGHT_MRPCIM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_6
## %bb.4:
	movq	(%rbx), %rdi
	callq	_readq
	movq	_VXGE_HW_RXMAC_VCFG0_UCAST_ALL_ADDR_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	testl	%eax, %edi
	jne	LBB0_6
## %bb.5:
	movq	_VXGE_HW_RXMAC_VCFG0_MCAST_ALL_ADDR_EN@GOTPCREL(%rip), %rcx
	movq	_VXGE_HW_RXMAC_VCFG0_BCAST_EN@GOTPCREL(%rip), %rdx
	orl	%eax, %edi
	orl	(%rcx), %edi
	orl	(%rdx), %edi
	movq	_VXGE_HW_RXMAC_VCFG0_ALL_VID_EN@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	(%rbx), %rsi
	callq	_writeq
	jmp	LBB0_6
LBB0_2:
	movq	_VXGE_HW_ERR_INVALID_HANDLE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_6:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VXGE_HW_OK,4,2                 ## @VXGE_HW_OK
	.comm	_VXGE_HW_ERR_INVALID_HANDLE,4,2 ## @VXGE_HW_ERR_INVALID_HANDLE
	.comm	_VXGE_HW_DEVICE_ACCESS_RIGHT_MRPCIM,4,2 ## @VXGE_HW_DEVICE_ACCESS_RIGHT_MRPCIM
	.comm	_VXGE_HW_RXMAC_VCFG0_UCAST_ALL_ADDR_EN,4,2 ## @VXGE_HW_RXMAC_VCFG0_UCAST_ALL_ADDR_EN
	.comm	_VXGE_HW_RXMAC_VCFG0_MCAST_ALL_ADDR_EN,4,2 ## @VXGE_HW_RXMAC_VCFG0_MCAST_ALL_ADDR_EN
	.comm	_VXGE_HW_RXMAC_VCFG0_BCAST_EN,4,2 ## @VXGE_HW_RXMAC_VCFG0_BCAST_EN
	.comm	_VXGE_HW_RXMAC_VCFG0_ALL_VID_EN,4,2 ## @VXGE_HW_RXMAC_VCFG0_ALL_VID_EN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vxge_hw_vpath_promisc_enable   ; -- Begin function vxge_hw_vpath_promisc_enable
	.p2align	2
_vxge_hw_vpath_promisc_enable:          ; @vxge_hw_vpath_promisc_enable
	.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
	cbz	x0, LBB0_5
; %bb.1:
	ldr	x20, [x0]
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, _VXGE_HW_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VXGE_HW_OK@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
	ldr	x8, [x20, #8]
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _VXGE_HW_DEVICE_ACCESS_RIGHT_MRPCIM@GOTPAGE
Lloh4:
	ldr	x9, [x9, _VXGE_HW_DEVICE_ACCESS_RIGHT_MRPCIM@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.3:
	ldr	x0, [x20]
	bl	_readq
Lloh6:
	adrp	x8, _VXGE_HW_RXMAC_VCFG0_UCAST_ALL_ADDR_EN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _VXGE_HW_RXMAC_VCFG0_UCAST_ALL_ADDR_EN@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w0
	b.ne	LBB0_6
; %bb.4:
Lloh9:
	adrp	x9, _VXGE_HW_RXMAC_VCFG0_MCAST_ALL_ADDR_EN@GOTPAGE
Lloh10:
	ldr	x9, [x9, _VXGE_HW_RXMAC_VCFG0_MCAST_ALL_ADDR_EN@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
Lloh12:
	adrp	x10, _VXGE_HW_RXMAC_VCFG0_BCAST_EN@GOTPAGE
Lloh13:
	ldr	x10, [x10, _VXGE_HW_RXMAC_VCFG0_BCAST_EN@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
Lloh15:
	adrp	x11, _VXGE_HW_RXMAC_VCFG0_ALL_VID_EN@GOTPAGE
Lloh16:
	ldr	x11, [x11, _VXGE_HW_RXMAC_VCFG0_ALL_VID_EN@GOTPAGEOFF]
Lloh17:
	ldr	w11, [x11]
	orr	w8, w8, w0
	orr	w8, w8, w9
	orr	w8, w8, w10
	orr	w0, w8, w11
	ldr	x1, [x20]
	bl	_writeq
	b	LBB0_6
LBB0_5:
Lloh18:
	adrp	x8, _VXGE_HW_ERR_INVALID_HANDLE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _VXGE_HW_ERR_INVALID_HANDLE@GOTPAGEOFF]
Lloh20:
	ldr	w19, [x8]
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_VXGE_HW_OK,4,2                 ; @VXGE_HW_OK
	.comm	_VXGE_HW_ERR_INVALID_HANDLE,4,2 ; @VXGE_HW_ERR_INVALID_HANDLE
	.comm	_VXGE_HW_DEVICE_ACCESS_RIGHT_MRPCIM,4,2 ; @VXGE_HW_DEVICE_ACCESS_RIGHT_MRPCIM
	.comm	_VXGE_HW_RXMAC_VCFG0_UCAST_ALL_ADDR_EN,4,2 ; @VXGE_HW_RXMAC_VCFG0_UCAST_ALL_ADDR_EN
	.comm	_VXGE_HW_RXMAC_VCFG0_MCAST_ALL_ADDR_EN,4,2 ; @VXGE_HW_RXMAC_VCFG0_MCAST_ALL_ADDR_EN
	.comm	_VXGE_HW_RXMAC_VCFG0_BCAST_EN,4,2 ; @VXGE_HW_RXMAC_VCFG0_BCAST_EN
	.comm	_VXGE_HW_RXMAC_VCFG0_ALL_VID_EN,4,2 ; @VXGE_HW_RXMAC_VCFG0_ALL_VID_EN
.subsections_via_symbols
