	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function soc15_doorbell_range_init
_soc15_doorbell_range_init:             ## @soc15_doorbell_range_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	callq	_amdgpu_sriov_vf
	testl	%eax, %eax
	je	LBB0_1
## %bb.5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	cmpl	$0, 24(%r14)
	jle	LBB0_4
## %bb.2:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	32(%r14), %rax
	movq	8(%r14), %r9
	movl	(%rax,%rbx,8), %ecx
	movl	4(%rax,%rbx,8), %edx
	movl	16(%r14), %r8d
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	*8(%r9)
	incq	%rbx
	movslq	24(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_3
LBB0_4:
	movq	8(%r14), %rax
	movq	(%rax), %rax
	movl	(%r14), %edx
	movl	4(%r14), %esi
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_soc15_doorbell_range_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function soc15_doorbell_range_init
_soc15_doorbell_range_init:             ; @soc15_doorbell_range_init
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x0
	bl	_amdgpu_sriov_vf
	cbz	w0, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_2:
	ldr	w8, [x19, #24]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.3:
	mov	x21, #0
	mov	x20, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #32]
	ldr	x9, [x19, #8]
	ldr	x9, [x9, #8]
	add	x8, x8, x21
	ldp	w3, w2, [x8]
	ldr	w4, [x19, #16]
	mov	x0, x19
	mov	x1, x20
	blr	x9
	add	x20, x20, #1
	ldrsw	x8, [x19, #24]
	add	x21, x21, #8
	cmp	x20, x8
	b.lt	LBB0_4
LBB0_5:
	ldr	x8, [x19, #8]
	ldr	x3, [x8]
	ldp	w2, w1, [x19]
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	br	x3
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_soc15_doorbell_range_init
.subsections_via_symbols
