	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vxge_hw_vpath_mac_addr_get_next ## -- Begin function vxge_hw_vpath_mac_addr_get_next
	.p2align	4, 0x90
_vxge_hw_vpath_mac_addr_get_next:       ## @vxge_hw_vpath_mac_addr_get_next
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$0, -36(%rbp)
	movl	$0, -40(%rbp)
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	_VXGE_HW_RTS_ACCESS_STEER_CTRL_ACTION_LIST_NEXT_ENTRY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_VXGE_HW_RTS_ACCESS_STEER_CTRL_DATA_STRUCT_SEL_DA@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-36(%rbp), %r8
	leaq	-40(%rbp), %r9
	xorl	%ecx, %ecx
	callq	___vxge_hw_vpath_rts_table_get
	movl	%eax, %r15d
	movq	_VXGE_HW_OK@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	jne	LBB0_10
## %bb.3:
	movl	-36(%rbp), %edi
	callq	_VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_DA_MAC_ADDR
	movl	%eax, -36(%rbp)
	movl	-40(%rbp), %edi
	callq	_VXGE_HW_RTS_ACCESS_STEER_DATA1_GET_DA_MAC_ADDR_MASK
	movq	_ETH_ALEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	testl	%esi, %esi
	jle	LBB0_10
## %bb.4:
	movl	-36(%rbp), %ecx
	testb	$1, %sil
	jne	LBB0_6
## %bb.5:
	movq	%rsi, %rdx
	cmpl	$1, %esi
	je	LBB0_10
	jmp	LBB0_8
LBB0_1:
	movq	_VXGE_HW_ERR_INVALID_HANDLE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_10:
	movl	%r15d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movzbl	%cl, %r8d
	leaq	-1(%rsi), %rdx
	movl	%edx, %r9d
	movq	%r8, (%r12,%r9,8)
	sarl	$8, %ecx
	movzbl	%al, %edi
	movq	%rdi, (%r14,%r9,8)
	sarl	$8, %eax
	cmpl	$1, %esi
	je	LBB0_10
LBB0_8:
	addq	$-2, %rdx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	%cl, %esi
	leaq	1(%rdx), %rdi
	movl	%edi, %ebx
	movq	%rsi, (%r12,%rbx,8)
	movzbl	%al, %esi
	movq	%rsi, (%r14,%rbx,8)
	movzbl	%ch, %esi
	movl	%edx, %ebx
	shlq	$3, %rbx
	movq	%rsi, (%r12,%rbx)
	sarl	$16, %ecx
	movzbl	%ah, %esi
	movq	%rsi, (%r14,%rbx)
	sarl	$16, %eax
	addq	$-2, %rdx
	cmpq	$1, %rdi
	ja	LBB0_9
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.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_RTS_ACCESS_STEER_CTRL_ACTION_LIST_NEXT_ENTRY,4,2 ## @VXGE_HW_RTS_ACCESS_STEER_CTRL_ACTION_LIST_NEXT_ENTRY
	.comm	_VXGE_HW_RTS_ACCESS_STEER_CTRL_DATA_STRUCT_SEL_DA,4,2 ## @VXGE_HW_RTS_ACCESS_STEER_CTRL_DATA_STRUCT_SEL_DA
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vxge_hw_vpath_mac_addr_get_next ; -- Begin function vxge_hw_vpath_mac_addr_get_next
	.p2align	2
_vxge_hw_vpath_mac_addr_get_next:       ; @vxge_hw_vpath_mac_addr_get_next
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	str	xzr, [sp, #8]
	cbz	x0, LBB0_5
; %bb.1:
	mov	x19, x2
	mov	x20, x1
Lloh0:
	adrp	x8, _VXGE_HW_RTS_ACCESS_STEER_CTRL_ACTION_LIST_NEXT_ENTRY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VXGE_HW_RTS_ACCESS_STEER_CTRL_ACTION_LIST_NEXT_ENTRY@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _VXGE_HW_RTS_ACCESS_STEER_CTRL_DATA_STRUCT_SEL_DA@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VXGE_HW_RTS_ACCESS_STEER_CTRL_DATA_STRUCT_SEL_DA@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	add	x4, sp, #12
	add	x5, sp, #8
	mov	w3, #0
	bl	___vxge_hw_vpath_rts_table_get
	mov	x21, x0
Lloh6:
	adrp	x8, _VXGE_HW_OK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _VXGE_HW_OK@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_6
; %bb.2:
	ldr	w0, [sp, #12]
	bl	_VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_DA_MAC_ADDR
	str	w0, [sp, #12]
	ldr	w0, [sp, #8]
	bl	_VXGE_HW_RTS_ACCESS_STEER_DATA1_GET_DA_MAC_ADDR_MASK
Lloh9:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_6
; %bb.3:
	ldr	w8, [sp, #12]
	add	x9, x9, #1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	sub	w10, w9, #2
	lsl	x10, x10, #3
	and	w11, w8, #0xff
	str	x11, [x20, x10]
	asr	w8, w8, #8
	and	w11, w0, #0xff
	str	x11, [x19, x10]
	asr	w0, w0, #8
	sub	x9, x9, #1
	cmp	x9, #1
	b.hi	LBB0_4
	b	LBB0_6
LBB0_5:
Lloh12:
	adrp	x8, _VXGE_HW_ERR_INVALID_HANDLE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _VXGE_HW_ERR_INVALID_HANDLE@GOTPAGEOFF]
Lloh14:
	ldr	w21, [x8]
LBB0_6:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.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_RTS_ACCESS_STEER_CTRL_ACTION_LIST_NEXT_ENTRY,4,2 ; @VXGE_HW_RTS_ACCESS_STEER_CTRL_ACTION_LIST_NEXT_ENTRY
	.comm	_VXGE_HW_RTS_ACCESS_STEER_CTRL_DATA_STRUCT_SEL_DA,4,2 ; @VXGE_HW_RTS_ACCESS_STEER_CTRL_DATA_STRUCT_SEL_DA
.subsections_via_symbols
