	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_get_vf_igu_cam_info
_bnx2x_get_vf_igu_cam_info:             ## @bnx2x_get_vf_igu_cam_info
	.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
	movq	_IGU_REG_MAPPING_MEMORY_SIZE@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_8
## %bb.1:
	movq	%rdi, %r14
	xorl	%r13d, %r13d
	movq	_IGU_FID_ENCODE_IS_PF@GOTPCREL(%rip), %r15
	xorl	%ebx, %ebx
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_IGU_FID_VF_NUM_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	andl	%esi, %edx
	movq	%r14, %rdi
	movl	%esi, %r14d
	movl	%ebx, %esi
	callq	_bnx2x_vf_set_igu_info
	movl	%r14d, %esi
	movq	_IGU_FID_VF_NUM_MASK@GOTPCREL(%rip), %rcx
	movl	(%r15), %eax
	andl	%r14d, %eax
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	testl	%eax, %eax
	leaq	L_.str.1(%rip), %r14
	leaq	L_.str.2(%rip), %rax
	cmoveq	%rax, %r14
	movq	_IGU_FID_PF_NUM_MASK@GOTPCREL(%rip), %rax
	cmoveq	%rcx, %rax
	movq	_BNX2X_MSG_IOV@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	(%rax), %r15d
	andl	%esi, %r15d
	movq	_IGU_REG_MAPPING_MEMORY_VECTOR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edi
	callq	_GET_FIELD
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdx
	movl	%r15d, %ecx
	movl	%ebx, %r8d
	movl	%eax, %r9d
	callq	_DP
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	_IGU_FID_ENCODE_IS_PF@GOTPCREL(%rip), %r15
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movq	_IGU_REG_MAPPING_MEMORY_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	addq	$4, %r13
	cmpq	%rax, %rbx
	jge	LBB0_8
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_IGU_REG_MAPPING_MEMORY@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	%r13, %rsi
	movq	%r14, %rdi
	callq	_REG_RD
	movl	%eax, %r12d
	movq	_IGU_REG_MAPPING_MEMORY_VALID@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_IGU_REG_MAPPING_MEMORY_FID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edi
	callq	_GET_FIELD
	movl	%eax, %esi
	testl	%eax, (%r15)
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %eax
	movq	_IGU_FID_VF_NUM_MASK@GOTPCREL(%rip), %rcx
	jmp	LBB0_6
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IGU_REG_MAPPING_MEMORY_SIZE,4,2 ## @IGU_REG_MAPPING_MEMORY_SIZE
	.comm	_IGU_REG_MAPPING_MEMORY,8,3     ## @IGU_REG_MAPPING_MEMORY
	.comm	_IGU_REG_MAPPING_MEMORY_VALID,4,2 ## @IGU_REG_MAPPING_MEMORY_VALID
	.comm	_IGU_REG_MAPPING_MEMORY_FID,4,2 ## @IGU_REG_MAPPING_MEMORY_FID
	.comm	_IGU_FID_ENCODE_IS_PF,4,2       ## @IGU_FID_ENCODE_IS_PF
	.comm	_IGU_FID_VF_NUM_MASK,4,2        ## @IGU_FID_VF_NUM_MASK
	.comm	_BNX2X_MSG_IOV,4,2              ## @BNX2X_MSG_IOV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s[%d], igu_sb_id=%d, msix=%d\n"

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

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

	.comm	_IGU_FID_PF_NUM_MASK,4,2        ## @IGU_FID_PF_NUM_MASK
	.comm	_IGU_REG_MAPPING_MEMORY_VECTOR,4,2 ## @IGU_REG_MAPPING_MEMORY_VECTOR
	.no_dead_strip	_bnx2x_get_vf_igu_cam_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_get_vf_igu_cam_info
_bnx2x_get_vf_igu_cam_info:             ; @bnx2x_get_vf_igu_cam_info
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x26, _IGU_REG_MAPPING_MEMORY_SIZE@GOTPAGE
Lloh1:
	ldr	x26, [x26, _IGU_REG_MAPPING_MEMORY_SIZE@GOTPAGEOFF]
	ldr	w8, [x26]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.1:
	mov	x19, x0
	mov	x27, #0
	mov	x20, #0
Lloh2:
	adrp	x28, _IGU_REG_MAPPING_MEMORY@GOTPAGE
Lloh3:
	ldr	x28, [x28, _IGU_REG_MAPPING_MEMORY@GOTPAGEOFF]
Lloh4:
	adrp	x21, _IGU_REG_MAPPING_MEMORY_VALID@GOTPAGE
Lloh5:
	ldr	x21, [x21, _IGU_REG_MAPPING_MEMORY_VALID@GOTPAGEOFF]
Lloh6:
	adrp	x24, _IGU_FID_ENCODE_IS_PF@GOTPAGE
Lloh7:
	ldr	x24, [x24, _IGU_FID_ENCODE_IS_PF@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
Lloh8:
	adrp	x25, _IGU_FID_VF_NUM_MASK@GOTPAGE
Lloh9:
	ldr	x25, [x25, _IGU_FID_VF_NUM_MASK@GOTPAGEOFF]
	ldr	w8, [x25]
	and	w2, w8, w23
	mov	x0, x19
	mov	x1, x20
	bl	_bnx2x_vf_set_igu_info
	mov	x9, x25
	ldr	w8, [x24]
	and	w8, w8, w23
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
Lloh10:
	adrp	x10, _BNX2X_MSG_IOV@GOTPAGE
Lloh11:
	ldr	x10, [x10, _BNX2X_MSG_IOV@GOTPAGEOFF]
Lloh12:
	ldr	w24, [x10]
	cmp	w8, #0
Lloh13:
	adrp	x8, l_.str.1@PAGE
Lloh14:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh15:
	adrp	x10, l_.str.2@PAGE
Lloh16:
	add	x10, x10, l_.str.2@PAGEOFF
	csel	x25, x10, x8, eq
Lloh17:
	adrp	x8, _IGU_FID_PF_NUM_MASK@GOTPAGE
Lloh18:
	ldr	x8, [x8, _IGU_FID_PF_NUM_MASK@GOTPAGEOFF]
	csel	x8, x9, x8, eq
	ldr	w8, [x8]
	and	w23, w8, w23
Lloh19:
	adrp	x8, _IGU_REG_MAPPING_MEMORY_VECTOR@GOTPAGE
Lloh20:
	ldr	x8, [x8, _IGU_REG_MAPPING_MEMORY_VECTOR@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_GET_FIELD
	mov	x5, x0
	mov	x0, x24
Lloh22:
	adrp	x1, l_.str@PAGE
Lloh23:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x25
	mov	x3, x23
	mov	x4, x20
	bl	_DP
Lloh24:
	adrp	x24, _IGU_FID_ENCODE_IS_PF@GOTPAGE
Lloh25:
	ldr	x24, [x24, _IGU_FID_ENCODE_IS_PF@GOTPAGEOFF]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x20, x20, #1
	ldrsw	x8, [x26]
	add	x27, x27, #4
	cmp	x20, x8
	b.ge	LBB0_8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x28]
	add	x1, x27, x8
	mov	x0, x19
	bl	_REG_RD
	ldr	w8, [x21]
	tst	w8, w0
	b.eq	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x22, x0
Lloh26:
	adrp	x8, _IGU_REG_MAPPING_MEMORY_FID@GOTPAGE
Lloh27:
	ldr	x8, [x8, _IGU_REG_MAPPING_MEMORY_FID@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	bl	_GET_FIELD
	mov	x23, x0
	ldr	w8, [x24]
	tst	w8, w0
	b.eq	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w8, #1
Lloh29:
	adrp	x9, _IGU_FID_VF_NUM_MASK@GOTPAGE
Lloh30:
	ldr	x9, [x9, _IGU_FID_VF_NUM_MASK@GOTPAGEOFF]
	b	LBB0_3
LBB0_8:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_IGU_REG_MAPPING_MEMORY_SIZE,4,2 ; @IGU_REG_MAPPING_MEMORY_SIZE
	.comm	_IGU_REG_MAPPING_MEMORY,8,3     ; @IGU_REG_MAPPING_MEMORY
	.comm	_IGU_REG_MAPPING_MEMORY_VALID,4,2 ; @IGU_REG_MAPPING_MEMORY_VALID
	.comm	_IGU_REG_MAPPING_MEMORY_FID,4,2 ; @IGU_REG_MAPPING_MEMORY_FID
	.comm	_IGU_FID_ENCODE_IS_PF,4,2       ; @IGU_FID_ENCODE_IS_PF
	.comm	_IGU_FID_VF_NUM_MASK,4,2        ; @IGU_FID_VF_NUM_MASK
	.comm	_BNX2X_MSG_IOV,4,2              ; @BNX2X_MSG_IOV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s[%d], igu_sb_id=%d, msix=%d\n"

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

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

	.comm	_IGU_FID_PF_NUM_MASK,4,2        ; @IGU_FID_PF_NUM_MASK
	.comm	_IGU_REG_MAPPING_MEMORY_VECTOR,4,2 ; @IGU_REG_MAPPING_MEMORY_VECTOR
	.no_dead_strip	_bnx2x_get_vf_igu_cam_info
.subsections_via_symbols
