	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_enic_get_res_counts            ## -- Begin function enic_get_res_counts
	.p2align	4, 0x90
_enic_get_res_counts:                   ## @enic_get_res_counts
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	32(%rdi), %edi
	movq	_RES_TYPE_WQ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_vnic_dev_get_res_count
	movq	%rax, 24(%rbx)
	movl	32(%rbx), %edi
	movq	_RES_TYPE_RQ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_vnic_dev_get_res_count
	movq	%rax, 16(%rbx)
	movl	32(%rbx), %edi
	movq	_RES_TYPE_CQ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_vnic_dev_get_res_count
	movq	%rax, 8(%rbx)
	movl	32(%rbx), %edi
	movq	_RES_TYPE_INTR_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_vnic_dev_get_res_count
	movq	%rax, (%rbx)
	movq	%rbx, %rdi
	callq	_enic_get_dev
	movq	24(%rbx), %rdx
	movq	16(%rbx), %rcx
	movq	(%rbx), %r9
	movq	8(%rbx), %r8
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_dev_info                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RES_TYPE_WQ,4,2                ## @RES_TYPE_WQ
	.comm	_RES_TYPE_RQ,4,2                ## @RES_TYPE_RQ
	.comm	_RES_TYPE_CQ,4,2                ## @RES_TYPE_CQ
	.comm	_RES_TYPE_INTR_CTRL,4,2         ## @RES_TYPE_INTR_CTRL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"vNIC resources avail: wq %d rq %d cq %d intr %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_enic_get_res_counts            ; -- Begin function enic_get_res_counts
	.p2align	2
_enic_get_res_counts:                   ; @enic_get_res_counts
	.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
	mov	x19, x0
	ldr	w0, [x0, #32]
Lloh0:
	adrp	x8, _RES_TYPE_WQ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RES_TYPE_WQ@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_vnic_dev_get_res_count
	str	x0, [x19, #24]
	ldr	w0, [x19, #32]
Lloh3:
	adrp	x8, _RES_TYPE_RQ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RES_TYPE_RQ@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_vnic_dev_get_res_count
	str	x0, [x19, #16]
	ldr	w0, [x19, #32]
Lloh6:
	adrp	x8, _RES_TYPE_CQ@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RES_TYPE_CQ@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_vnic_dev_get_res_count
	str	x0, [x19, #8]
	ldr	w0, [x19, #32]
Lloh9:
	adrp	x8, _RES_TYPE_INTR_CTRL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RES_TYPE_INTR_CTRL@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_vnic_dev_get_res_count
	str	x0, [x19]
	mov	x0, x19
	bl	_enic_get_dev
	ldp	x3, x2, [x19, #16]
	ldp	x5, x4, [x19]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_dev_info
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RES_TYPE_WQ,4,2                ; @RES_TYPE_WQ
	.comm	_RES_TYPE_RQ,4,2                ; @RES_TYPE_RQ
	.comm	_RES_TYPE_CQ,4,2                ; @RES_TYPE_CQ
	.comm	_RES_TYPE_INTR_CTRL,4,2         ; @RES_TYPE_INTR_CTRL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"vNIC resources avail: wq %d rq %d cq %d intr %d\n"

.subsections_via_symbols
