	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vema_get_mac_list
_vema_get_mac_list:                     ## @vema_get_mac_list
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r13
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %rsi
	movq	_OPA_VNIC_EMA_DATA@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	addq	$-16, %rax
	movq	_ETH_ALEN@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movq	%rax, %rdx
	orq	%rcx, %rdx
	shrq	$32, %rdx
	je	LBB0_1
## %bb.2:
	xorl	%edx, %edx
	divq	%rcx
	movq	%rax, %rbx
	jmp	LBB0_3
LBB0_1:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
	movl	%eax, %ebx
LBB0_3:
	movq	%r12, %rdi
	callq	_vema_get_vport_adapter
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	movq	%rax, %r14
	movq	%rbx, %rdi
	movq	(%r12), %rax
	movq	(%r15), %rbx
	movl	8(%rax), %ecx
	movl	%ecx, 8(%rbx)
	movq	(%rax), %rax
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_cpu_to_be16
LBB0_6:
	movq	%rax, (%rbx)
	movq	_OPA_EM_ATTR_IFACE_MCAST_MACS@GOTPCREL(%rip), %rax
	cmpq	%r13, (%rax)
	jne	LBB0_7
## %bb.9:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_opa_vnic_query_mcast_macs      ## TAILCALL
LBB0_8:
	movq	_OPA_VNIC_INVAL_ATTR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r15)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_opa_vnic_query_ucast_macs      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_OPA_VNIC_EMA_DATA,4,2          ## @OPA_VNIC_EMA_DATA
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_OPA_VNIC_INVAL_ATTR,4,2        ## @OPA_VNIC_INVAL_ATTR
	.comm	_OPA_EM_ATTR_IFACE_MCAST_MACS,8,3 ## @OPA_EM_ATTR_IFACE_MCAST_MACS
	.no_dead_strip	_vema_get_mac_list
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vema_get_mac_list
_vema_get_mac_list:                     ; @vema_get_mac_list
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x3
	mov	x21, x2
	mov	x22, x1
	mov	x1, x0
Lloh0:
	adrp	x8, _OPA_VNIC_EMA_DATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OPA_VNIC_EMA_DATA@GOTPAGEOFF]
Lloh2:
	ldrsw	x23, [x8]
Lloh3:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh5:
	ldrsw	x24, [x8]
	mov	x0, x22
	bl	_vema_get_vport_adapter
	cbz	x0, LBB0_5
; %bb.1:
	mov	x20, x0
	ldr	x8, [x22]
	ldr	x21, [x21]
	ldr	w9, [x8, #8]
	str	w9, [x21, #8]
	ldr	x0, [x8]
	cbnz	x0, LBB0_3
; %bb.2:
	sub	x8, x23, #16
	udiv	x0, x8, x24
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_cpu_to_be16
LBB0_3:
	str	x0, [x21]
Lloh6:
	adrp	x8, _OPA_EM_ATTR_IFACE_MCAST_MACS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _OPA_EM_ATTR_IFACE_MCAST_MACS@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	mov	x0, x20
	mov	x1, x21
	cmp	x8, x19
	b.ne	LBB0_6
; %bb.4:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_opa_vnic_query_mcast_macs
LBB0_5:
Lloh9:
	adrp	x8, _OPA_VNIC_INVAL_ATTR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _OPA_VNIC_INVAL_ATTR@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x21, #8]
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_6:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_opa_vnic_query_ucast_macs
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_OPA_VNIC_EMA_DATA,4,2          ; @OPA_VNIC_EMA_DATA
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_OPA_VNIC_INVAL_ATTR,4,2        ; @OPA_VNIC_INVAL_ATTR
	.comm	_OPA_EM_ATTR_IFACE_MCAST_MACS,8,3 ; @OPA_EM_ATTR_IFACE_MCAST_MACS
	.no_dead_strip	_vema_get_mac_list
.subsections_via_symbols
