	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qlcnic_sriov_cfg_bc_intr       ## -- Begin function qlcnic_sriov_cfg_bc_intr
	.p2align	4, 0x90
_qlcnic_sriov_cfg_bc_intr:              ## @qlcnic_sriov_cfg_bc_intr
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	___QLCNIC_SRIOV_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	8(%r15), %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	_QLCNIC_CMD_BC_EVENT_SETUP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-32(%rbp), %rdi
	movq	%r15, %rsi
	callq	_qlcnic_alloc_mbx_args
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_9
LBB0_1:
	xorl	%ebx, %ebx
	jmp	LBB0_9
LBB0_4:
	testq	%r14, %r14
	je	LBB0_6
## %bb.5:
	movq	-32(%rbp), %rax
	movl	$240, 4(%rax)
LBB0_6:
	leaq	-32(%rbp), %rsi
	movq	%r15, %rdi
	callq	_qlcnic_83xx_issue_cmd
	movl	%eax, %ebx
	movq	_QLCNIC_RCODE_SUCCESS@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	je	LBB0_8
## %bb.7:
	testq	%r14, %r14
	movq	(%r15), %rdi
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rdx
	cmoveq	%rax, %rdx
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %ecx
	callq	_dev_err
LBB0_8:
	leaq	-32(%rbp), %rdi
	callq	_qlcnic_free_mbx_args
LBB0_9:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	___QLCNIC_SRIOV_ENABLE,4,2      ## @__QLCNIC_SRIOV_ENABLE
	.comm	_QLCNIC_CMD_BC_EVENT_SETUP,4,2  ## @QLCNIC_CMD_BC_EVENT_SETUP
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_QLCNIC_RCODE_SUCCESS,4,2       ## @QLCNIC_RCODE_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to %s bc events, err=%d\n"

L_.str.1:                               ## @.str.1
	.asciz	"enable"

L_.str.2:                               ## @.str.2
	.asciz	"disable"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qlcnic_sriov_cfg_bc_intr       ; -- Begin function qlcnic_sriov_cfg_bc_intr
	.p2align	2
_qlcnic_sriov_cfg_bc_intr:              ; @qlcnic_sriov_cfg_bc_intr
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___QLCNIC_SRIOV_ENABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___QLCNIC_SRIOV_ENABLE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x20, #8
	bl	_test_bit
	cbz	w0, LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _QLCNIC_CMD_BC_EVENT_SETUP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _QLCNIC_CMD_BC_EVENT_SETUP@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	add	x0, sp, #8
	mov	x1, x20
	bl	_qlcnic_alloc_mbx_args
	cbz	x0, LBB0_4
; %bb.2:
Lloh6:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_9
LBB0_3:
	mov	w21, #0
	b	LBB0_9
LBB0_4:
	cbz	x19, LBB0_6
; %bb.5:
	ldr	x8, [sp, #8]
	mov	w9, #240
	str	w9, [x8, #4]
LBB0_6:
	add	x1, sp, #8
	mov	x0, x20
	bl	_qlcnic_83xx_issue_cmd
	mov	x21, x0
Lloh9:
	adrp	x8, _QLCNIC_RCODE_SUCCESS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _QLCNIC_RCODE_SUCCESS@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_8
; %bb.7:
	ldr	x0, [x20]
Lloh12:
	adrp	x8, l_.str.1@PAGE
Lloh13:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh14:
	adrp	x9, l_.str.2@PAGE
Lloh15:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	x19, #0
	csel	x2, x9, x8, eq
Lloh16:
	adrp	x1, l_.str@PAGE
Lloh17:
	add	x1, x1, l_.str@PAGEOFF
	mov	x3, x21
	bl	_dev_err
LBB0_8:
	add	x0, sp, #8
	bl	_qlcnic_free_mbx_args
LBB0_9:
	mov	x0, x21
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	___QLCNIC_SRIOV_ENABLE,4,2      ; @__QLCNIC_SRIOV_ENABLE
	.comm	_QLCNIC_CMD_BC_EVENT_SETUP,4,2  ; @QLCNIC_CMD_BC_EVENT_SETUP
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_QLCNIC_RCODE_SUCCESS,4,2       ; @QLCNIC_RCODE_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to %s bc events, err=%d\n"

l_.str.1:                               ; @.str.1
	.asciz	"enable"

l_.str.2:                               ; @.str.2
	.asciz	"disable"

.subsections_via_symbols
