	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_sriov_configure          ## -- Begin function bnx2x_sriov_configure
	.p2align	4, 0x90
_bnx2x_sriov_configure:                 ## @bnx2x_sriov_configure
	.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
	movl	%esi, %r15d
	movq	%rdi, %r14
	callq	_pci_get_drvdata
	movl	%eax, %edi
	callq	_netdev_priv
	movq	%rax, %r12
	movq	_BNX2X_MSG_IOV@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r12, %rdi
	callq	_BNX2X_NR_VIRTFN
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edi
	movl	%r15d, %edx
	movl	%eax, %ecx
	callq	_DP
	movq	(%r12), %rax
	movq	_BNX2X_STATE_OPEN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	%r12, %rdi
	callq	_BNX2X_NR_VIRTFN
	cmpl	%r15d, %eax
	jge	LBB0_4
## %bb.3:
	movq	%r12, %rdi
	callq	_BNX2X_NR_VIRTFN
	leaq	L_.str.2(%rip), %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_BNX2X_ERR
	movq	%r12, %rdi
	callq	_BNX2X_NR_VIRTFN
	movl	%eax, %r15d
LBB0_4:
	movl	%r15d, 8(%r12)
	testl	%r15d, %r15d
	je	LBB0_5
## %bb.7:
	movq	%r12, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bnx2x_enable_sriov             ## TAILCALL
LBB0_1:
	leaq	L_.str.1(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_BNX2X_ERR
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_6
LBB0_5:
	movq	%r14, %rdi
	callq	_pci_disable_sriov
	xorl	%ebx, %ebx
LBB0_6:
	movl	%ebx, %eax
	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	"bnx2x_sriov_configure called with %d, BNX2X_NR_VIRTFN(bp) was %d\n"

	.comm	_BNX2X_STATE_OPEN,8,3           ## @BNX2X_STATE_OPEN
L_.str.1:                               ## @.str.1
	.asciz	"VF num configuration via sysfs not supported while PF is down\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.2:                               ## @.str.2
	.asciz	"truncating requested number of VFs (%d) down to maximum allowed (%d)\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_sriov_configure          ; -- Begin function bnx2x_sriov_configure
	.p2align	2
_bnx2x_sriov_configure:                 ; @bnx2x_sriov_configure
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x21, x1
	mov	x19, x0
	bl	_pci_get_drvdata
	bl	_netdev_priv
	mov	x20, x0
Lloh0:
	adrp	x8, _BNX2X_MSG_IOV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BNX2X_MSG_IOV@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
	bl	_BNX2X_NR_VIRTFN
	mov	x3, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	mov	x2, x21
	bl	_DP
	ldr	x8, [x20]
Lloh5:
	adrp	x9, _BNX2X_STATE_OPEN@GOTPAGE
Lloh6:
	ldr	x9, [x9, _BNX2X_STATE_OPEN@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.1:
	mov	x0, x20
	bl	_BNX2X_NR_VIRTFN
	cmp	w0, w21
	b.ge	LBB0_3
; %bb.2:
	mov	x0, x20
	bl	_BNX2X_NR_VIRTFN
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x21, x0, [sp]
Lloh8:
	adrp	x0, l_.str.2@PAGE
Lloh9:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_BNX2X_ERR
	mov	x0, x20
	bl	_BNX2X_NR_VIRTFN
	mov	x21, x0
LBB0_3:
	str	w21, [x20, #8]
	cbz	w21, LBB0_6
; %bb.4:
	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
	add	sp, sp, #64
	b	_bnx2x_enable_sriov
LBB0_5:
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_BNX2X_ERR
Lloh12:
	adrp	x8, _EINVAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_7
LBB0_6:
	mov	x0, x19
	bl	_pci_disable_sriov
	mov	w0, #0
LBB0_7:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_BNX2X_MSG_IOV,4,2              ; @BNX2X_MSG_IOV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bnx2x_sriov_configure called with %d, BNX2X_NR_VIRTFN(bp) was %d\n"

	.comm	_BNX2X_STATE_OPEN,8,3           ; @BNX2X_STATE_OPEN
l_.str.1:                               ; @.str.1
	.asciz	"VF num configuration via sysfs not supported while PF is down\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.2:                               ; @.str.2
	.asciz	"truncating requested number of VFs (%d) down to maximum allowed (%d)\n"

.subsections_via_symbols
