	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __qlcnic_sriov_send_bc_msg
___qlcnic_sriov_send_bc_msg:            ## @__qlcnic_sriov_send_bc_msg
	.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
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	_QLC_BC_VF_FLR@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_1
LBB0_3:
	movl	$132, (%rbx)
LBB0_4:
	movq	_EIO@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	movq	_QLC_BC_VF_CHANNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_clear_bit
LBB0_14:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	leaq	LJTI0_0(%rip), %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_qlcnic_sriov_wait_for_channel_free
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r12), %edi
	movq	%r15, %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_3
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rax
	cmpq	$0, (%rax)
	jne	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %eax
	addl	$-128, %eax
	cmpl	$4, %eax
	ja	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movslq	(%r13,%rax,4), %rax
	addq	%r13, %rax
	jmpq	*%rax
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_qlcnic_sriov_wait_for_resp
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$129, (%rbx)
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_qlcnic_sriov_issue_bc_post
	testl	%eax, %eax
	je	LBB0_12
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$132, (%rbx)
	jmp	LBB0_12
LBB0_10:
	movq	_EIO@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_14
LBB0_13:
	xorl	%ebx, %ebx
	jmp	LBB0_14
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
	.long	L0_0_set_9
	.long	L0_0_set_11
	.long	L0_0_set_7
	.long	L0_0_set_13
	.long	L0_0_set_4
	.end_data_region
                                        ## -- End function
	.comm	_EIO,4,2                        ## @EIO
	.comm	_QLC_BC_VF_FLR,4,2              ## @QLC_BC_VF_FLR
	.comm	_QLC_BC_VF_CHANNEL,4,2          ## @QLC_BC_VF_CHANNEL
	.no_dead_strip	___qlcnic_sriov_send_bc_msg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __qlcnic_sriov_send_bc_msg
___qlcnic_sriov_send_bc_msg:            ; @__qlcnic_sriov_send_bc_msg
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x22, _QLC_BC_VF_FLR@GOTPAGE
Lloh1:
	ldr	x22, [x22, _QLC_BC_VF_FLR@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_test_bit
	cbz	x0, LBB0_4
LBB0_1:
	mov	w8, #132
	str	w8, [x20]
LBB0_2:
Lloh2:
	adrp	x8, _EIO@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w20, w8
Lloh5:
	adrp	x8, _QLC_BC_VF_CHANNEL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _QLC_BC_VF_CHANNEL@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_clear_bit
LBB0_3:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh8:
	adrp	x23, lJTI0_0@PAGE
Lloh9:
	add	x23, x23, lJTI0_0@PAGEOFF
	mov	w24, #129
	mov	w25, #132
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_qlcnic_sriov_wait_for_channel_free
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x22]
	mov	x1, x19
	bl	_test_bit
	cbnz	x0, LBB0_1
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	cbnz	x8, LBB0_1
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x20]
	sub	w8, w8, #128
	cmp	w8, #4
	b.hi	LBB0_13
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	adr	x9, LBB0_2
	ldrb	w10, [x23, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_10:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x20
	bl	_qlcnic_sriov_wait_for_resp
	b	LBB0_6
LBB0_11:                                ;   in Loop: Header=BB0_7 Depth=1
	str	w24, [x20]
	mov	x0, x20
	mov	x1, x21
	bl	_qlcnic_sriov_issue_bc_post
	cbz	w0, LBB0_6
; %bb.12:                               ;   in Loop: Header=BB0_7 Depth=1
	str	w25, [x20]
	b	LBB0_6
LBB0_13:
Lloh10:
	adrp	x8, _EIO@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_3
LBB0_14:
	mov	w20, #0
	b	LBB0_3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_14-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
                                        ; -- End function
	.comm	_EIO,4,2                        ; @EIO
	.comm	_QLC_BC_VF_FLR,4,2              ; @QLC_BC_VF_FLR
	.comm	_QLC_BC_VF_CHANNEL,4,2          ; @QLC_BC_VF_CHANNEL
	.no_dead_strip	___qlcnic_sriov_send_bc_msg
.subsections_via_symbols
