	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_set_int_mode             ## -- Begin function bnx2x_set_int_mode
	.p2align	4, 0x90
_bnx2x_set_int_mode:                    ## @bnx2x_set_int_mode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	callq	_IS_VF
	movq	_int_mode@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	cmpl	$128, %ecx
	je	LBB0_3
## %bb.2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	jmp	LBB0_13
LBB0_3:
	cmpl	$130, %ecx
	je	LBB0_11
## %bb.4:
	cmpl	$129, %ecx
	je	LBB0_10
## %bb.5:
	cmpl	$128, %ecx
	jne	LBB0_12
## %bb.6:
	movq	%r14, %rdi
	callq	_bnx2x_enable_msix
	testl	%eax, %eax
	je	LBB0_7
## %bb.8:
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_IS_VF
	testq	%rax, %rax
	jne	LBB0_14
## %bb.9:
	movl	(%r14), %esi
	movl	4(%r14), %edx
	incl	%edx
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_BNX2X_DEV_INFO
LBB0_10:
	movq	%r14, %rdi
	callq	_bnx2x_enable_msi
LBB0_11:
	movl	$1, 8(%r14)
	movl	4(%r14), %eax
	incl	%eax
	movl	%eax, (%r14)
	leaq	L_.str.1(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_BNX2X_DEV_INFO
	jmp	LBB0_14
LBB0_12:
	leaq	L_.str.2(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_BNX2X_DEV_INFO
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_13:
	subl	(%rax), %ebx
LBB0_14:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_7:
	xorl	%ebx, %ebx
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_int_mode,4,2                   ## @int_mode
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to enable multiple MSI-X (%d), set number of queues to %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"set number of queues to 1\n"

L_.str.2:                               ## @.str.2
	.asciz	"unknown value in int_mode module parameter\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_set_int_mode             ; -- Begin function bnx2x_set_int_mode
	.p2align	2
_bnx2x_set_int_mode:                    ; @bnx2x_set_int_mode
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	bl	_IS_VF
Lloh0:
	adrp	x8, _int_mode@GOTPAGE
Lloh1:
	ldr	x8, [x8, _int_mode@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	x0, LBB0_2
; %bb.1:
	cmp	w8, #128
	b.ne	LBB0_11
LBB0_2:
	cmp	w8, #130
	b.eq	LBB0_9
; %bb.3:
	cmp	w8, #129
	b.eq	LBB0_8
; %bb.4:
	cmp	w8, #128
	b.ne	LBB0_10
; %bb.5:
	mov	x0, x19
	bl	_bnx2x_enable_msix
	mov	x20, x0
	cbz	w0, LBB0_12
; %bb.6:
	mov	x0, x19
	bl	_IS_VF
	cbnz	x0, LBB0_12
; %bb.7:
	ldp	w9, w8, [x19]
	add	w8, w8, #1
	stp	x9, x8, [sp]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_BNX2X_DEV_INFO
LBB0_8:
	mov	x0, x19
	bl	_bnx2x_enable_msi
LBB0_9:
	mov	w8, #1
	str	w8, [x19, #8]
	ldr	w8, [x19, #4]
	add	w8, w8, #1
	str	w8, [x19]
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_BNX2X_DEV_INFO
	mov	w20, #0
	b	LBB0_12
LBB0_10:
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_BNX2X_DEV_INFO
LBB0_11:
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_12:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_int_mode,4,2                   ; @int_mode
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to enable multiple MSI-X (%d), set number of queues to %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"set number of queues to 1\n"

l_.str.2:                               ; @.str.2
	.asciz	"unknown value in int_mode module parameter\n"

.subsections_via_symbols
