	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbe_find_vlvf_slot
_ixgbe_find_vlvf_slot:                  ## @ixgbe_find_vlvf_slot
	.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
	testl	%esi, %esi
	je	LBB0_1
## %bb.2:
	movl	%edx, %r12d
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	_IXGBE_ERR_NO_SPACE@GOTPCREL(%rip), %r13
	testl	%edx, %edx
	je	LBB0_4
## %bb.3:
	movl	(%r13), %r12d
LBB0_4:
	movq	_IXGBE_VLVF_ENTRIES@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	decl	%ebx
	je	LBB0_10
## %bb.5:
	movq	_IXGBE_VLVF_VIEN@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	decl	%ebx
	je	LBB0_10
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_IXGBE_VLVF
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_IXGBE_READ_REG
	cmpl	%r15d, %eax
	je	LBB0_15
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	orl	%r12d, %eax
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	%ebx, %r12d
	jmp	LBB0_9
LBB0_10:
	testl	%r12d, %r12d
	je	LBB0_11
## %bb.12:
	testl	%r12d, %r12d
	jne	LBB0_14
LBB0_13:
	movl	(%r13), %r12d
LBB0_14:
	movl	%r12d, %ebx
	jmp	LBB0_15
LBB0_1:
	xorl	%ebx, %ebx
LBB0_15:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_hw_dbg
	testl	%r12d, %r12d
	je	LBB0_13
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_IXGBE_ERR_NO_SPACE,4,2         ## @IXGBE_ERR_NO_SPACE
	.comm	_IXGBE_VLVF_VIEN,4,2            ## @IXGBE_VLVF_VIEN
	.comm	_IXGBE_VLVF_ENTRIES,4,2         ## @IXGBE_VLVF_ENTRIES
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"No space in VLVF.\n"

	.no_dead_strip	_ixgbe_find_vlvf_slot
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbe_find_vlvf_slot
_ixgbe_find_vlvf_slot:                  ; @ixgbe_find_vlvf_slot
	.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
	cbz	w1, LBB0_8
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x21, _IXGBE_ERR_NO_SPACE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _IXGBE_ERR_NO_SPACE@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w2, #0
	csel	w22, wzr, w8, eq
Lloh2:
	adrp	x8, _IXGBE_VLVF_ENTRIES@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IXGBE_VLVF_ENTRIES@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	subs	w20, w8, #1
	b.eq	LBB0_5
; %bb.2:
Lloh5:
	adrp	x8, _IXGBE_VLVF_VIEN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IXGBE_VLVF_VIEN@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	orr	w23, w8, w1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_IXGBE_VLVF
	mov	x1, x0
	mov	x0, x19
	bl	_IXGBE_READ_REG
	cmp	w0, w23
	b.eq	LBB0_9
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	orr	w8, w22, w0
	cmp	w8, #0
	csel	w22, w22, w20, ne
	subs	w20, w20, #1
	b.ne	LBB0_3
LBB0_5:
	cbnz	w22, LBB0_7
; %bb.6:
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_hw_dbg
LBB0_7:
	ldr	w8, [x21]
	cmp	w22, #0
	csel	w20, w8, w22, eq
	b	LBB0_9
LBB0_8:
	mov	w20, #0
LBB0_9:
	mov	x0, x20
	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
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_IXGBE_ERR_NO_SPACE,4,2         ; @IXGBE_ERR_NO_SPACE
	.comm	_IXGBE_VLVF_VIEN,4,2            ; @IXGBE_VLVF_VIEN
	.comm	_IXGBE_VLVF_ENTRIES,4,2         ; @IXGBE_VLVF_ENTRIES
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No space in VLVF.\n"

	.no_dead_strip	_ixgbe_find_vlvf_slot
.subsections_via_symbols
