	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function be_get_nic_desc
_be_get_nic_desc:                       ## @be_get_nic_desc
	.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
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	testl	%esi, %esi
	jle	LBB0_12
## %bb.1:
	movl	%esi, %r13d
	movq	%rdi, %rbx
	movq	_NIC_RESOURCE_DESC_TYPE_V0@GOTPCREL(%rip), %r14
	movq	_NIC_RESOURCE_DESC_TYPE_V1@GOTPCREL(%rip), %r15
	movq	_PF_NUM_IGNORE@GOTPCREL(%rip), %r12
	movq	_RESOURCE_DESC_SIZE_V0@GOTPCREL(%rip), %rdi
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%eax, 8(%rbx)
	cltq
	addq	%rax, %rbx
	decl	%r13d
	je	LBB0_12
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rax
	cmpq	(%r14), %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	(%r15), %rax
	jne	LBB0_9
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpq	%rcx, (%r12)
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	%rcx, %rax
	jne	LBB0_9
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_13
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	8(%rbx), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_VFT_SHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	movq	_RESOURCE_DESC_SIZE_V0@GOTPCREL(%rip), %rdi
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	testl	%eax, -48(%rbp)                 ## 4-byte Folded Reload
	jne	LBB0_13
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	8(%rbx), %eax
	testl	%eax, %eax
	jne	LBB0_2
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	(%rdi), %eax
	jmp	LBB0_2
LBB0_12:
	xorl	%eax, %eax
	jmp	LBB0_14
LBB0_13:
	movq	%rbx, %rax
LBB0_14:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NIC_RESOURCE_DESC_TYPE_V0,8,3  ## @NIC_RESOURCE_DESC_TYPE_V0
	.comm	_NIC_RESOURCE_DESC_TYPE_V1,8,3  ## @NIC_RESOURCE_DESC_TYPE_V1
	.comm	_PF_NUM_IGNORE,8,3              ## @PF_NUM_IGNORE
	.comm	_VFT_SHIFT,4,2                  ## @VFT_SHIFT
	.comm	_RESOURCE_DESC_SIZE_V0,4,2      ## @RESOURCE_DESC_SIZE_V0
	.no_dead_strip	_be_get_nic_desc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function be_get_nic_desc
_be_get_nic_desc:                       ; @be_get_nic_desc
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	cmp	w1, #1
	b.lt	LBB0_7
; %bb.1:
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x23, _NIC_RESOURCE_DESC_TYPE_V0@GOTPAGE
Lloh1:
	ldr	x23, [x23, _NIC_RESOURCE_DESC_TYPE_V0@GOTPAGEOFF]
Lloh2:
	adrp	x24, _NIC_RESOURCE_DESC_TYPE_V1@GOTPAGE
Lloh3:
	ldr	x24, [x24, _NIC_RESOURCE_DESC_TYPE_V1@GOTPAGEOFF]
Lloh4:
	adrp	x25, _PF_NUM_IGNORE@GOTPAGE
Lloh5:
	ldr	x25, [x25, _PF_NUM_IGNORE@GOTPAGEOFF]
Lloh6:
	adrp	x26, _VFT_SHIFT@GOTPAGE
Lloh7:
	ldr	x26, [x26, _VFT_SHIFT@GOTPAGEOFF]
Lloh8:
	adrp	x27, _RESOURCE_DESC_SIZE_V0@GOTPAGE
Lloh9:
	ldr	x27, [x27, _RESOURCE_DESC_SIZE_V0@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x19, #8]
	ldr	w9, [x27]
	cmp	w8, #0
	csel	w8, w9, w8, eq
	str	w8, [x19, #8]
	add	x19, x19, w8, sxtw
	subs	w22, w22, #1
	b.eq	LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	ldr	x9, [x23]
	ldr	x10, [x24]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x25]
	cmp	x9, x20
	ccmp	x8, x20, #4, ne
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	cbz	w21, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w28, [x19, #8]
	ldr	w0, [x26]
	bl	_BIT
	tst	w0, w28
	b.eq	LBB0_2
	b	LBB0_8
LBB0_7:
	mov	x19, #0
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_NIC_RESOURCE_DESC_TYPE_V0,8,3  ; @NIC_RESOURCE_DESC_TYPE_V0
	.comm	_NIC_RESOURCE_DESC_TYPE_V1,8,3  ; @NIC_RESOURCE_DESC_TYPE_V1
	.comm	_PF_NUM_IGNORE,8,3              ; @PF_NUM_IGNORE
	.comm	_VFT_SHIFT,4,2                  ; @VFT_SHIFT
	.comm	_RESOURCE_DESC_SIZE_V0,4,2      ; @RESOURCE_DESC_SIZE_V0
	.no_dead_strip	_be_get_nic_desc
.subsections_via_symbols
