	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qed_get_igu_sb_id              ## -- Begin function qed_get_igu_sb_id
	.p2align	4, 0x90
_qed_get_igu_sb_id:                     ## @qed_get_igu_sb_id
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_QED_SP_SB_ID@GOTPCREL(%rip), %r12
	cmpq	%rsi, (%r12)
	jne	LBB0_2
## %bb.1:
	movq	8(%r14), %rax
	movq	(%rax), %r15
	jmp	LBB0_6
LBB0_2:
	movl	(%r14), %edi
	callq	_IS_PF
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	1(%rbx), %rsi
	movq	%r14, %rdi
	callq	_qed_get_pf_igu_sb_id
	jmp	LBB0_5
LBB0_4:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_qed_vf_get_igu_sb_id
LBB0_5:
	movq	%rax, %r15
LBB0_6:
	movq	_NETIF_MSG_INTR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	cmpq	%rbx, (%r12)
	jne	LBB0_8
## %bb.7:
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	movq	%r15, %rcx
	xorl	%eax, %eax
	callq	_DP_VERBOSE
	jmp	LBB0_9
LBB0_8:
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	movq	%rbx, %rcx
	movq	%r15, %r8
	xorl	%eax, %eax
	callq	_DP_VERBOSE
LBB0_9:
	movq	%r15, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QED_SP_SB_ID,8,3               ## @QED_SP_SB_ID
	.comm	_NETIF_MSG_INTR,4,2             ## @NETIF_MSG_INTR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Slowpath SB index in IGU is 0x%04x\n"

L_.str.1:                               ## @.str.1
	.asciz	"SB [%04x] <--> IGU SB [%04x]\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qed_get_igu_sb_id              ; -- Begin function qed_get_igu_sb_id
	.p2align	2
_qed_get_igu_sb_id:                     ; @qed_get_igu_sb_id
	.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	x22, _QED_SP_SB_ID@GOTPAGE
Lloh1:
	ldr	x22, [x22, _QED_SP_SB_ID@GOTPAGEOFF]
	ldr	x8, [x22]
	cmp	x8, x1
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [x20, #8]
	ldr	x21, [x8]
	b	LBB0_6
LBB0_2:
	ldr	w0, [x20]
	bl	_IS_PF
	cbz	x0, LBB0_4
; %bb.3:
	add	x1, x19, #1
	mov	x0, x20
	bl	_qed_get_pf_igu_sb_id
	b	LBB0_5
LBB0_4:
	mov	x0, x20
	mov	x1, x19
	bl	_qed_vf_get_igu_sb_id
LBB0_5:
	mov	x21, x0
LBB0_6:
	ldr	x8, [x22]
Lloh2:
	adrp	x9, _NETIF_MSG_INTR@GOTPAGE
Lloh3:
	ldr	x9, [x9, _NETIF_MSG_INTR@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x9]
	cmp	x8, x19
	b.ne	LBB0_8
; %bb.7:
Lloh5:
	adrp	x2, l_.str@PAGE
Lloh6:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	mov	x3, x21
	b	LBB0_9
LBB0_8:
	str	x21, [sp]
Lloh7:
	adrp	x2, l_.str.1@PAGE
Lloh8:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x3, x19
LBB0_9:
	bl	_DP_VERBOSE
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_QED_SP_SB_ID,8,3               ; @QED_SP_SB_ID
	.comm	_NETIF_MSG_INTR,4,2             ; @NETIF_MSG_INTR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Slowpath SB index in IGU is 0x%04x\n"

l_.str.1:                               ; @.str.1
	.asciz	"SB [%04x] <--> IGU SB [%04x]\n"

.subsections_via_symbols
