	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_post_vf_bulletin         ## -- Begin function bnx2x_post_vf_bulletin
	.p2align	4, 0x90
_bnx2x_post_vf_bulletin:                ## @bnx2x_post_vf_bulletin
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r12d
	movq	%rdi, %rbx
	callq	_BP_VF_BULLETIN
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_BP_VF_BULLETIN_DMA
	movq	_BULLETIN_CONTENT_SIZE@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %r14
	movslq	%r12d, %r13
	imulq	%r13, %r14
	addq	(%rax), %r14
	movq	_bulletin_map@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_bnx2x_vf
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_state@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_bnx2x_vf
	movq	_VF_ENABLED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	movq	_state@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_bnx2x_vf
	movq	_VF_ACQUIRED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
LBB0_2:
	incl	8(%r15)
	movq	_BULLETIN_CONTENT_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_bnx2x_crc_vf_bulletin
	movl	%eax, 4(%r15)
	movq	_abs_vfid@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_bnx2x_vf
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	callq	_U64_HI
	movl	%eax, %r13d
	movq	%r12, %rdi
	callq	_U64_LO
	movl	(%r15), %ecx
	leal	3(%rcx), %edx
	testl	%ecx, %ecx
	cmovnsl	%ecx, %edx
	sarl	$2, %edx
	movl	%edx, (%rsp)
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movq	%r14, %rdx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%r13d, %r8d
	movl	%eax, %r9d
	callq	_bnx2x_copy32_vf_dmae
	jmp	LBB0_4
LBB0_3:
	xorl	%eax, %eax
LBB0_4:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BULLETIN_CONTENT_SIZE,4,2      ## @BULLETIN_CONTENT_SIZE
	.comm	_bulletin_map,4,2               ## @bulletin_map
	.comm	_state,4,2                      ## @state
	.comm	_VF_ENABLED,8,3                 ## @VF_ENABLED
	.comm	_VF_ACQUIRED,8,3                ## @VF_ACQUIRED
	.comm	_abs_vfid,4,2                   ## @abs_vfid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_post_vf_bulletin         ; -- Begin function bnx2x_post_vf_bulletin
	.p2align	2
_bnx2x_post_vf_bulletin:                ; @bnx2x_post_vf_bulletin
	.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, x1
	mov	x19, x0
	bl	_BP_VF_BULLETIN
	mov	x20, x0
	mov	x0, x19
	bl	_BP_VF_BULLETIN_DMA
	ldr	x23, [x0]
Lloh0:
	adrp	x24, _BULLETIN_CONTENT_SIZE@GOTPAGE
Lloh1:
	ldr	x24, [x24, _BULLETIN_CONTENT_SIZE@GOTPAGEOFF]
	ldrsw	x25, [x24]
Lloh2:
	adrp	x8, _bulletin_map@GOTPAGE
Lloh3:
	ldr	x8, [x8, _bulletin_map@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x21
	bl	_bnx2x_vf
	mov	x22, x0
Lloh5:
	adrp	x26, _state@GOTPAGE
Lloh6:
	ldr	x26, [x26, _state@GOTPAGEOFF]
	ldr	w2, [x26]
	mov	x0, x19
	mov	x1, x21
	bl	_bnx2x_vf
Lloh7:
	adrp	x8, _VF_ENABLED@GOTPAGE
Lloh8:
	ldr	x8, [x8, _VF_ENABLED@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_2
; %bb.1:
	ldr	w2, [x26]
	mov	x0, x19
	mov	x1, x21
	bl	_bnx2x_vf
Lloh10:
	adrp	x8, _VF_ACQUIRED@GOTPAGE
Lloh11:
	ldr	x8, [x8, _VF_ACQUIRED@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_3
LBB0_2:
	sxtw	x8, w21
	madd	x23, x25, x8, x23
	ldr	w8, [x20, #8]
	add	w8, w8, #1
	str	w8, [x20, #8]
	ldr	w8, [x24]
	str	w8, [x20]
	mov	x0, x19
	mov	x1, x20
	bl	_bnx2x_crc_vf_bulletin
	str	w0, [x20, #4]
Lloh13:
	adrp	x8, _abs_vfid@GOTPAGE
Lloh14:
	ldr	x8, [x8, _abs_vfid@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x21
	bl	_bnx2x_vf
	mov	x21, x0
	mov	x0, x22
	bl	_U64_HI
	mov	x24, x0
	mov	x0, x22
	bl	_U64_LO
	mov	x5, x0
	ldr	w8, [x20]
	add	w9, w8, #3
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w6, w8, #2
	mov	x0, x19
	mov	w1, #0
	mov	x2, x23
	mov	x3, x21
	mov	x4, x24
	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
	b	_bnx2x_copy32_vf_dmae
LBB0_3:
	mov	w0, #0
	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
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_BULLETIN_CONTENT_SIZE,4,2      ; @BULLETIN_CONTENT_SIZE
	.comm	_bulletin_map,4,2               ; @bulletin_map
	.comm	_state,4,2                      ; @state
	.comm	_VF_ENABLED,8,3                 ; @VF_ENABLED
	.comm	_VF_ACQUIRED,8,3                ; @VF_ACQUIRED
	.comm	_abs_vfid,4,2                   ; @abs_vfid
.subsections_via_symbols
