	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_iov_remove_one           ## -- Begin function bnx2x_iov_remove_one
	.p2align	4, 0x90
_bnx2x_iov_remove_one:                  ## @bnx2x_iov_remove_one
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	callq	_IS_SRIOV
	testl	%eax, %eax
	je	LBB0_5
## %bb.1:
	movq	%r15, %rdi
	callq	_bnx2x_disable_sriov
	movq	(%r15), %rax
	cmpl	$0, (%rax)
	jle	LBB0_4
## %bb.2:
	xorl	%ebx, %ebx
	movq	_BNX2X_MSG_IOV@GOTPCREL(%rip), %r12
	leaq	L_.str(%rip), %r14
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rax), %rsi
	addq	%rbx, %rsi
	movq	%r15, %rdi
	callq	_HW_VF_HANDLE
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_bnx2x_pretend_func
	movl	(%r12), %edi
	movq	(%r15), %rax
	movq	8(%rax), %rdx
	addq	%rbx, %rdx
	movq	%r14, %rsi
	callq	_DP
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_bnx2x_vf_enable_internal
	movq	%r15, %rdi
	callq	_BP_ABS_FUNC
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_bnx2x_pretend_func
	incq	%rbx
	movq	(%r15), %rax
	movslq	(%rax), %rcx
	cmpq	%rcx, %rbx
	jl	LBB0_3
LBB0_4:
	movq	%r15, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	___bnx2x_iov_free_vfdb          ## TAILCALL
LBB0_5:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BNX2X_MSG_IOV,4,2              ## @BNX2X_MSG_IOV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"disabling internal access for vf %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_iov_remove_one           ; -- Begin function bnx2x_iov_remove_one
	.p2align	2
_bnx2x_iov_remove_one:                  ; @bnx2x_iov_remove_one
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	bl	_IS_SRIOV
	cbz	w0, LBB0_5
; %bb.1:
	mov	x0, x19
	bl	_bnx2x_disable_sriov
	ldr	x8, [x19]
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_4
; %bb.2:
	mov	x21, #0
Lloh0:
	adrp	x22, _BNX2X_MSG_IOV@GOTPAGE
Lloh1:
	ldr	x22, [x22, _BNX2X_MSG_IOV@GOTPAGEOFF]
Lloh2:
	adrp	x20, l_.str@PAGE
Lloh3:
	add	x20, x20, l_.str@PAGEOFF
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x8, #8]
	add	x1, x21, x8
	mov	x0, x19
	bl	_HW_VF_HANDLE
	mov	x1, x0
	mov	x0, x19
	bl	_bnx2x_pretend_func
	ldr	w0, [x22]
	ldr	x8, [x19]
	ldr	x8, [x8, #8]
	add	x2, x21, x8
	mov	x1, x20
	bl	_DP
	mov	x0, x19
	mov	w1, #0
	bl	_bnx2x_vf_enable_internal
	mov	x0, x19
	bl	_BP_ABS_FUNC
	mov	x1, x0
	mov	x0, x19
	bl	_bnx2x_pretend_func
	add	x21, x21, #1
	ldr	x8, [x19]
	ldrsw	x9, [x8]
	cmp	x21, x9
	b.lt	LBB0_3
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	___bnx2x_iov_free_vfdb
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_BNX2X_MSG_IOV,4,2              ; @BNX2X_MSG_IOV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"disabling internal access for vf %d\n"

.subsections_via_symbols
