	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_usnic_vnic_dump                ## -- Begin function usnic_vnic_dump
	.p2align	4, 0x90
_usnic_vnic_dump:                       ## @usnic_vnic_dump
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -64(%rbp)                  ## 8-byte Spill
	movq	%r8, %r14
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movl	%edx, %r13d
	movq	%rsi, %r12
	movq	%rdi, %r15
	xorl	%esi, %esi
	callq	_usnic_vnic_get_bar
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_usnic_vnic_get_index
	leaq	8(%rbx), %r8
	movl	(%rbx), %ecx
	movl	4(%rbx), %r9d
	movl	%ecx, (%rsp)
	leaq	L_.str(%rip), %rdx
	movq	%r12, %rdi
	movl	%r13d, %esi
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_scnprintf
	movq	%rax, %rbx
	testq	%r14, %r14
	je	LBB0_2
## %bb.1:
	movslq	%ebx, %rsi
	addq	%r12, %rsi
	movl	%r13d, %edx
	subl	%ebx, %edx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	*%r14
	addl	%ebx, %eax
	movl	%eax, %ebx
LBB0_2:
	movslq	%ebx, %r14
	leaq	(%r12,%r14), %rdi
	movl	%r13d, %esi
	subl	%r14d, %esi
	leaq	L_.str.1(%rip), %rdx
	xorl	%eax, %eax
	callq	_scnprintf
	addl	%r14d, %eax
	movslq	%eax, %r14
	leaq	(%r12,%r14), %rdi
	movl	%r13d, %esi
	subl	%r14d, %esi
	leaq	L_.str.2(%rip), %rdx
	xorl	%eax, %eax
	callq	_scnprintf
	addl	%r14d, %eax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	testq	%rcx, %rcx
	je	LBB0_4
## %bb.3:
	movslq	%eax, %r14
	leaq	(%r12,%r14), %rdi
	movl	%r13d, %esi
	subl	%r14d, %esi
	callq	*%rcx
                                        ## kill: def $eax killed $eax def $rax
	addl	%r14d, %eax
LBB0_4:
	movslq	%eax, %rbx
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	leaq	(%r12,%rbx), %rdi
	movl	%r13d, %esi
	subl	%ebx, %esi
	leaq	L_.str.1(%rip), %rdx
	xorl	%eax, %eax
	callq	_scnprintf
	movq	%rax, %r14
	addl	%ebx, %r14d
	movq	%r15, %rdi
	callq	_spin_lock
	movq	8(%r15), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_14
## %bb.5:
	xorl	%ebx, %ebx
	movq	%r15, -80(%rbp)                 ## 8-byte Spill
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movq	8(%r15), %rdi
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
LBB0_13:                                ##   in Loop: Header=BB0_6 Depth=1
	incq	%rbx
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %rbx
	jge	LBB0_14
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
	movq	8(%r15), %rdi
	movq	%rbx, %rax
	shlq	$4, %rax
	cmpl	$0, (%rdi,%rax)
	jle	LBB0_13
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	leaq	(%rdi,%rax), %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	addq	%rdi, %rax
	addq	$8, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=2
	movq	(%r13), %rdi
	movslq	%eax, %rbx
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	leaq	(%r15,%rbx), %rsi
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, %edx
	subl	%ebx, %edx
	callq	*%rcx
                                        ## kill: def $eax killed $eax def $rax
	addl	%ebx, %eax
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=2
	movslq	%eax, %rbx
	leaq	(%r15,%rbx), %rdi
	movl	%r13d, %esi
	subl	%ebx, %esi
	leaq	L_.str.1(%rip), %rdx
	xorl	%eax, %eax
	callq	_scnprintf
	movq	%rax, %r14
	addl	%ebx, %r14d
	incq	%r12
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movslq	(%rax), %rax
	cmpq	%rax, %r12
	movq	%r15, %rcx
	jge	LBB0_12
LBB0_8:                                 ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movl	%r13d, %ebx
	movq	(%rax,%r12,8), %r13
	movslq	%r14d, %r15
	leaq	(%rcx,%r15), %r14
	subl	%r15d, %ebx
	movl	16(%r13), %edi
	callq	_usnic_vnic_res_type_to_str
	movl	8(%r13), %r9d
	movl	12(%r13), %r8d
	xorl	%ecx, %ecx
	cmpq	$0, (%r13)
	setne	%cl
	movl	%ecx, (%rsp)
	movq	%r14, %rdi
	movl	%ebx, %esi
	leaq	L_.str.3(%rip), %rdx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_scnprintf
	addl	%r15d, %eax
	movq	16(%rbp), %rcx
	testq	%rcx, %rcx
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=2
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_11
LBB0_14:
	movq	%r15, %rdi
	callq	_spin_unlock
	movl	%r14d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"VF:%hu BAR0 bus_addr=%pa vaddr=0x%p size=%ld "

L_.str.1:                               ## @.str.1
	.asciz	"\n"

L_.str.2:                               ## @.str.2
	.asciz	"|RES\t|CTRL_PIN\t\t|IN_USE\t"

L_.str.3:                               ## @.str.3
	.asciz	"|%s[%u]\t|0x%p\t|%u\t"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_usnic_vnic_dump                ; -- Begin function usnic_vnic_dump
	.p2align	2
_usnic_vnic_dump:                       ; @usnic_vnic_dump
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	mov	x20, x6
	mov	x23, x5
	mov	x24, x4
	mov	x25, x3
	mov	x21, x2
	mov	x22, x1
	mov	x27, x0
	mov	w1, #0
	bl	_usnic_vnic_get_bar
	mov	x26, x0
	mov	x0, x27
	bl	_usnic_vnic_get_index
                                        ; kill: def $w0 killed $w0 def $x0
	add	x8, x26, #8
	ldp	w10, w9, [x26]
	stp	x9, x10, [sp, #16]
	stp	x0, x8, [sp]
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x22
	mov	x1, x21
	bl	_scnprintf
	mov	x26, x0
	cbz	x24, LBB0_2
; %bb.1:
	add	x1, x22, w26, sxtw
	sub	w2, w21, w26
	mov	x0, x25
	blr	x24
	add	w26, w0, w26
LBB0_2:
	add	x0, x22, w26, sxtw
	sub	w1, w21, w26
Lloh2:
	adrp	x2, l_.str.1@PAGE
Lloh3:
	add	x2, x2, l_.str.1@PAGEOFF
	bl	_scnprintf
	add	w19, w26, w0
	sub	w1, w21, w19
	add	x0, x22, w19, sxtw
Lloh4:
	adrp	x2, l_.str.2@PAGE
Lloh5:
	add	x2, x2, l_.str.2@PAGEOFF
	bl	_scnprintf
	add	w19, w19, w0
	cbz	x23, LBB0_4
; %bb.3:
	add	x0, x22, w19, sxtw
	sub	w1, w21, w19
	blr	x23
	add	w19, w0, w19
LBB0_4:
	add	x0, x22, w19, sxtw
	sub	w1, w21, w19
Lloh6:
	adrp	x2, l_.str.1@PAGE
Lloh7:
	add	x2, x2, l_.str.1@PAGEOFF
	bl	_scnprintf
	add	w25, w19, w0
	mov	x0, x27
	bl	_spin_lock
	ldr	x0, [x27, #8]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_13
; %bb.5:
	mov	x23, #0
	str	x27, [sp, #32]                  ; 8-byte Folded Spill
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldp	x27, x23, [sp, #32]             ; 16-byte Folded Reload
	ldr	x0, [x27, #8]
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x23, x23, #1
	bl	_ARRAY_SIZE
	cmp	x23, w0, sxtw
	b.ge	LBB0_13
LBB0_8:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
	ldr	x0, [x27, #8]
	add	x19, x0, x23, lsl #4
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	str	x23, [sp, #40]                  ; 8-byte Folded Spill
	mov	x28, #0
	add	x23, x19, #8
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=2
	add	x0, x22, w25, sxtw
	sub	w1, w21, w25
Lloh8:
	adrp	x2, l_.str.1@PAGE
Lloh9:
	add	x2, x2, l_.str.1@PAGEOFF
	bl	_scnprintf
	add	w25, w25, w0
	add	x28, x28, #1
	ldrsw	x8, [x19]
	cmp	x28, x8
	b.ge	LBB0_6
LBB0_11:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x23]
	ldr	x24, [x8, x28, lsl #3]
	add	x26, x22, w25, sxtw
	sub	w27, w21, w25
	ldr	w0, [x24, #16]
	bl	_usnic_vnic_res_type_to_str
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	x8, [x24]
	cmp	x8, #0
	cset	w8, ne
	ldp	w10, w9, [x24, #8]
	stp	x10, x8, [sp, #16]
	stp	x0, x9, [sp]
	mov	x0, x26
	mov	x1, x27
Lloh10:
	adrp	x2, l_.str.3@PAGE
Lloh11:
	add	x2, x2, l_.str.3@PAGEOFF
	bl	_scnprintf
	add	w25, w25, w0
	cbz	x20, LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=2
	ldr	x0, [x24]
	add	x1, x22, w25, sxtw
	sub	w2, w21, w25
	blr	x20
	add	w25, w0, w25
	b	LBB0_10
LBB0_13:
	mov	x0, x27
	bl	_spin_unlock
	mov	x0, x25
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"VF:%hu BAR0 bus_addr=%pa vaddr=0x%p size=%ld "

l_.str.1:                               ; @.str.1
	.asciz	"\n"

l_.str.2:                               ; @.str.2
	.asciz	"|RES\t|CTRL_PIN\t\t|IN_USE\t"

l_.str.3:                               ; @.str.3
	.asciz	"|%s[%u]\t|0x%p\t|%u\t"

.subsections_via_symbols
