	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnxt_ulp_sriov_cfg             ## -- Begin function bnxt_ulp_sriov_cfg
	.p2align	4, 0x90
_bnxt_ulp_sriov_cfg:                    ## @bnxt_ulp_sriov_cfg
	.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, -44(%rbp)                 ## 4-byte Spill
	movq	(%rdi), %r15
	testq	%r15, %r15
	je	LBB0_8
## %bb.1:
	movq	_BNXT_MAX_ULP@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_8
## %bb.2:
	xorl	%r14d, %r14d
	xorl	%r13d, %r13d
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	callq	_rcu_read_unlock
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%r13
	movq	_BNXT_MAX_ULP@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	addq	$8, %r14
	cmpq	%rax, %r13
	jge	LBB0_8
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %r12
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movl	4(%r12,%r14), %edi
	callq	_rcu_dereference
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %rbx
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	(%r12,%r14), %r15
	movq	%r15, %rdi
	callq	_bnxt_ulp_get
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	movl	(%r12,%r14), %edi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	*(%rbx)
	movq	%r15, %rdi
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	callq	_bnxt_ulp_put
	jmp	LBB0_7
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BNXT_MAX_ULP,4,2               ## @BNXT_MAX_ULP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnxt_ulp_sriov_cfg             ; -- Begin function bnxt_ulp_sriov_cfg
	.p2align	2
_bnxt_ulp_sriov_cfg:                    ; @bnxt_ulp_sriov_cfg
	.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
	ldr	x22, [x0]
Lloh0:
	adrp	x23, _BNXT_MAX_ULP@GOTPAGE
Lloh1:
	ldr	x23, [x23, _BNXT_MAX_ULP@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	x22, #0
	ccmp	w8, #1, #8, ne
	b.ge	LBB0_2
LBB0_1:
	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_2:
	mov	x19, x1
	mov	x24, #0
	mov	x25, #0
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	bl	_rcu_read_unlock
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x25, x25, #1
	ldrsw	x8, [x23]
	add	x24, x24, #8
	cmp	x25, x8
	b.ge	LBB0_1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x26, [x22]
	add	x20, x26, x24
	bl	_rcu_read_lock
	ldr	w0, [x20, #4]
	bl	_rcu_dereference
	cbz	x0, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x21, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
	bl	_bnxt_ulp_get
	bl	_rcu_read_unlock
	ldr	x8, [x21]
	ldr	w0, [x26, x24]
	mov	x1, x19
	blr	x8
	mov	x0, x20
	bl	_bnxt_ulp_put
	b	LBB0_4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_BNXT_MAX_ULP,4,2               ; @BNXT_MAX_ULP
.subsections_via_symbols
