	.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	%rdi, %r14
	movq	_IGU_REG_MAPPING_MEMORY_SIZE@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_10
## %bb.1:
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_IGU_FID_PF_NUM_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %eax
	andl	%r13d, %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%r15d, %edi
	movq	_IGU_FID_ENCODE_IS_PF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%r13d, %eax
	leaq	L_.str.1(%rip), %r14
	leaq	L_.str.2(%rip), %rax
	cmoveq	%rax, %r14
	movq	%rcx, %rax
	cmoveq	_IGU_FID_VF_NUM_MASK@GOTPCREL(%rip), %rax
	movq	_BNX2X_MSG_IOV@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movl	(%rax), %r15d
	andl	%r13d, %r15d
	movq	_IGU_REG_MAPPING_MEMORY_VECTOR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_GET_FIELD
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdx
	movl	%r15d, %ecx
	movl	%ebx, %r8d
	movl	%eax, %r9d
	xorl	%eax, %eax
	callq	_DP
	movq	-56(%rbp), %r14                 ## 8-byte Reload
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movq	_IGU_REG_MAPPING_MEMORY_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	addq	$4, %r12
	cmpq	%rax, %rbx
	jge	LBB0_10
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_IGU_REG_MAPPING_MEMORY@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	%r12, %rsi
	movq	%r14, %rdi
	callq	_REG_RD
	movl	%eax, %ecx
	movq	_IGU_REG_MAPPING_MEMORY_VALID@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_IGU_REG_MAPPING_MEMORY_FID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ecx, %r15d
	movl	%ecx, %edi
	callq	_GET_FIELD
	movl	%eax, %r13d
	movq	_IGU_FID_ENCODE_IS_PF@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	jne	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	callq	_BP_FUNC
	cmpl	%eax, -44(%rbp)                 ## 4-byte Folded Reload
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_IGU_FID_VF_NUM_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	andl	%r13d, %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_bnx2x_vf_set_igu_info
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_IGU_FID_PF_NUM_MASK@GOTPCREL(%rip), %rcx
	jmp	LBB0_8
LBB0_10:
	movq	_BNX2X_MSG_IOV@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r14, %rdi
	callq	_BP_VFDB
	movl	(%rax), %edx
	leaq	L_.str.3(%rip), %rsi
	movl	%ebx, %edi
	xorl	%eax, %eax
	callq	_DP
	movq	%r14, %rdi
	callq	_BP_VFDB
	movl	(%rax), %eax
	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_PF_NUM_MASK,4,2        ## @IGU_FID_PF_NUM_MASK
	.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_REG_MAPPING_MEMORY_VECTOR,4,2 ## @IGU_REG_MAPPING_MEMORY_VECTOR
L_.str.3:                               ## @.str.3
	.asciz	"vf_sbs_pool is %d\n"

	.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:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _IGU_REG_MAPPING_MEMORY_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IGU_REG_MAPPING_MEMORY_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.1:
	mov	x27, #0
	mov	x20, #0
	mov	w28, #0
Lloh3:
	adrp	x25, _IGU_FID_ENCODE_IS_PF@GOTPAGE
Lloh4:
	ldr	x25, [x25, _IGU_FID_ENCODE_IS_PF@GOTPAGEOFF]
Lloh5:
	adrp	x26, _IGU_FID_PF_NUM_MASK@GOTPAGE
Lloh6:
	ldr	x26, [x26, _IGU_FID_PF_NUM_MASK@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x26]
	and	w28, w8, w23
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
Lloh7:
	adrp	x8, _BNX2X_MSG_IOV@GOTPAGE
Lloh8:
	ldr	x8, [x8, _BNX2X_MSG_IOV@GOTPAGEOFF]
Lloh9:
	ldr	w24, [x8]
	ldr	w8, [x25]
	tst	w8, w23
Lloh10:
	adrp	x8, l_.str.1@PAGE
Lloh11:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh12:
	adrp	x9, l_.str.2@PAGE
Lloh13:
	add	x9, x9, l_.str.2@PAGEOFF
	csel	x21, x9, x8, eq
Lloh14:
	adrp	x8, _IGU_FID_VF_NUM_MASK@GOTPAGE
Lloh15:
	ldr	x8, [x8, _IGU_FID_VF_NUM_MASK@GOTPAGEOFF]
	csel	x8, x8, x26, eq
	ldr	w8, [x8]
	and	w23, w8, w23
Lloh16:
	adrp	x8, _IGU_REG_MAPPING_MEMORY_VECTOR@GOTPAGE
Lloh17:
	ldr	x8, [x8, _IGU_REG_MAPPING_MEMORY_VECTOR@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_GET_FIELD
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x20, x0, [sp, #16]
	stp	x21, x23, [sp]
	mov	x0, x24
Lloh19:
	adrp	x1, l_.str@PAGE
Lloh20:
	add	x1, x1, l_.str@PAGEOFF
	bl	_DP
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x20, x20, #1
Lloh21:
	adrp	x8, _IGU_REG_MAPPING_MEMORY_SIZE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _IGU_REG_MAPPING_MEMORY_SIZE@GOTPAGEOFF]
Lloh23:
	ldrsw	x8, [x8]
	add	x27, x27, #4
	cmp	x20, x8
	b.ge	LBB0_9
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
Lloh24:
	adrp	x8, _IGU_REG_MAPPING_MEMORY@GOTPAGE
Lloh25:
	ldr	x8, [x8, _IGU_REG_MAPPING_MEMORY@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
	add	x1, x27, x8
	mov	x0, x19
	bl	_REG_RD
Lloh27:
	adrp	x8, _IGU_REG_MAPPING_MEMORY_VALID@GOTPAGE
Lloh28:
	ldr	x8, [x8, _IGU_REG_MAPPING_MEMORY_VALID@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x22, x0
Lloh30:
	adrp	x8, _IGU_REG_MAPPING_MEMORY_FID@GOTPAGE
Lloh31:
	ldr	x8, [x8, _IGU_REG_MAPPING_MEMORY_FID@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	bl	_GET_FIELD
	mov	x23, x0
	ldr	w8, [x25]
	tst	w8, w0
	b.ne	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	bl	_BP_FUNC
	cmp	w28, w0
	b.ne	LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh33:
	adrp	x8, _IGU_FID_VF_NUM_MASK@GOTPAGE
Lloh34:
	ldr	x8, [x8, _IGU_FID_VF_NUM_MASK@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	and	w2, w8, w23
	mov	x0, x19
	mov	x1, x20
	bl	_bnx2x_vf_set_igu_info
	b	LBB0_3
LBB0_9:
Lloh36:
	adrp	x8, _BNX2X_MSG_IOV@GOTPAGE
Lloh37:
	ldr	x8, [x8, _BNX2X_MSG_IOV@GOTPAGEOFF]
Lloh38:
	ldr	w20, [x8]
	mov	x0, x19
	bl	_BP_VFDB
	ldr	w8, [x0]
	str	x8, [sp]
Lloh39:
	adrp	x1, l_.str.3@PAGE
Lloh40:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_DP
	mov	x0, x19
	bl	_BP_VFDB
	ldr	w0, [x0]
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.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_PF_NUM_MASK,4,2        ; @IGU_FID_PF_NUM_MASK
	.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_REG_MAPPING_MEMORY_VECTOR,4,2 ; @IGU_REG_MAPPING_MEMORY_VECTOR
l_.str.3:                               ; @.str.3
	.asciz	"vf_sbs_pool is %d\n"

	.no_dead_strip	_bnx2x_get_vf_igu_cam_info
.subsections_via_symbols
