	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rvu_probe
_rvu_probe:                             ## @rvu_probe
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movl	$48, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	movl	(%rbx), %edx
	movq	%r13, %rdi
	movl	$4, %esi
	callq	_devm_kzalloc
	movq	%rax, (%r14)
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_pci_set_drvdata
	movq	%r13, 40(%r14)
	movq	%r13, 32(%r14)
	movq	%r13, %rdi
	callq	_pci_enable_device
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movl	%eax, %r15d
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_28
LBB0_3:
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_devm_kfree
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_29
LBB0_6:
	movq	_DRV_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_pci_request_regions
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	movl	%eax, %r15d
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_27
LBB0_8:
	movl	$48, %edi
	callq	_DMA_BIT_MASK
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_pci_set_dma_mask
	testl	%eax, %eax
	je	LBB0_11
## %bb.9:
	movl	%eax, %r15d
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_10
LBB0_11:
	movl	$48, %edi
	callq	_DMA_BIT_MASK
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_pci_set_consistent_dma_mask
	testl	%eax, %eax
	je	LBB0_13
## %bb.12:
	movl	%eax, %r15d
	leaq	L_.str.3(%rip), %rsi
LBB0_10:
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_dev_err
LBB0_26:
	movq	%r13, %rdi
	callq	_pci_release_regions
LBB0_27:
	movq	%r13, %rdi
	callq	_pci_disable_device
LBB0_28:
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_pci_set_drvdata
	movq	(%r14), %rsi
	movq	%r13, %rdi
	callq	_devm_kfree
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_devm_kfree
LBB0_29:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movq	_PCI_AF_REG_BAR_NUM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r15d, %r15d
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_pcim_iomap
	movq	%rax, 24(%r14)
	movq	_PCI_PF_REG_BAR_NUM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_pcim_iomap
	movq	%rax, 16(%r14)
	cmpq	$0, 24(%r14)
	je	LBB0_15
## %bb.14:
	testq	%rax, %rax
	je	LBB0_15
## %bb.16:
	movq	%r14, %rdi
	callq	_rvu_update_module_params
	movq	%r14, %rdi
	callq	_rvu_check_block_implemented
	movq	%r14, %rdi
	callq	_rvu_reset_all_blocks
	movq	%r14, %rdi
	callq	_rvu_setup_hw_resources
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_26
## %bb.17:
	movq	%r14, %r12
	addq	$8, %r12
	movq	_TYPE_AFPF@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	(%r14), %rax
	movl	12(%rax), %ecx
	movq	_rvu_afpf_mbox_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_rvu_afpf_mbox_up_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_rvu_mbox_init
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_25
## %bb.18:
	movq	%r14, %rdi
	callq	_rvu_flr_init
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_24
## %bb.19:
	movq	%r14, %rdi
	callq	_rvu_register_interrupts
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_23
## %bb.20:
	movq	%r14, %rdi
	callq	_rvu_enable_sriov
	testl	%eax, %eax
	je	LBB0_21
## %bb.22:
	movl	%eax, %r15d
	movq	%r14, %rdi
	callq	_rvu_unregister_interrupts
LBB0_23:
	movq	%r14, %rdi
	callq	_rvu_flr_wq_destroy
LBB0_24:
	movq	%r12, %rdi
	callq	_rvu_mbox_destroy
LBB0_25:
	movq	%r14, %rdi
	callq	_rvu_cgx_exit
	movq	%r14, %rdi
	callq	_rvu_reset_all_blocks
	movq	%r14, %rdi
	callq	_rvu_free_hw_resources
	jmp	LBB0_26
LBB0_15:
	leaq	L_.str.4(%rip), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %r15d
	jmp	LBB0_26
LBB0_21:
	xorl	%r15d, %r15d
	jmp	LBB0_29
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to enable PCI device\n"

	.comm	_DRV_NAME,4,2                   ## @DRV_NAME
L_.str.1:                               ## @.str.1
	.asciz	"PCI request regions failed 0x%x\n"

L_.str.2:                               ## @.str.2
	.asciz	"Unable to set DMA mask\n"

L_.str.3:                               ## @.str.3
	.asciz	"Unable to set consistent DMA mask\n"

	.comm	_PCI_AF_REG_BAR_NUM,4,2         ## @PCI_AF_REG_BAR_NUM
	.comm	_PCI_PF_REG_BAR_NUM,4,2         ## @PCI_PF_REG_BAR_NUM
L_.str.4:                               ## @.str.4
	.asciz	"Unable to map admin function CSRs, aborting\n"

	.comm	_TYPE_AFPF,4,2                  ## @TYPE_AFPF
	.comm	_rvu_afpf_mbox_handler,4,2      ## @rvu_afpf_mbox_handler
	.comm	_rvu_afpf_mbox_up_handler,4,2   ## @rvu_afpf_mbox_up_handler
	.no_dead_strip	_rvu_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rvu_probe
_rvu_probe:                             ; @rvu_probe
	.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, x0
Lloh0:
	adrp	x21, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x21, [x21, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	w1, #48
	bl	_devm_kzalloc
	cbz	x0, LBB0_5
; %bb.1:
	mov	x20, x0
	ldr	w2, [x21]
	mov	x0, x19
	mov	w1, #4
	bl	_devm_kzalloc
	str	x0, [x20]
	cbz	x0, LBB0_4
; %bb.2:
	mov	x0, x19
	mov	x1, x20
	bl	_pci_set_drvdata
	stp	x19, x19, [x20, #32]
	mov	x0, x19
	bl	_pci_enable_device
	cbz	w0, LBB0_6
; %bb.3:
	mov	x21, x0
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_15
LBB0_4:
	mov	x0, x19
	mov	x1, x20
	bl	_devm_kfree
LBB0_5:
Lloh4:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_16
LBB0_6:
Lloh7:
	adrp	x8, _DRV_NAME@GOTPAGE
Lloh8:
	ldr	x8, [x8, _DRV_NAME@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_pci_request_regions
	cbz	w0, LBB0_8
; %bb.7:
	mov	x21, x0
	str	x21, [sp]
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_14
LBB0_8:
	mov	w0, #48
	bl	_DMA_BIT_MASK
	mov	x1, x0
	mov	x0, x19
	bl	_pci_set_dma_mask
	cbz	w0, LBB0_10
; %bb.9:
	mov	x21, x0
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_12
LBB0_10:
	mov	w0, #48
	bl	_DMA_BIT_MASK
	mov	x1, x0
	mov	x0, x19
	bl	_pci_set_consistent_dma_mask
	cbz	w0, LBB0_17
; %bb.11:
	mov	x21, x0
Lloh14:
	adrp	x1, l_.str.3@PAGE
Lloh15:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_12:
	mov	x0, x19
	bl	_dev_err
LBB0_13:
	mov	x0, x19
	bl	_pci_release_regions
LBB0_14:
	mov	x0, x19
	bl	_pci_disable_device
LBB0_15:
	mov	x0, x19
	mov	x1, #0
	bl	_pci_set_drvdata
	ldr	x1, [x20]
	mov	x0, x19
	bl	_devm_kfree
	mov	x0, x19
	mov	x1, x20
	bl	_devm_kfree
LBB0_16:
	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
LBB0_17:
Lloh16:
	adrp	x8, _PCI_AF_REG_BAR_NUM@GOTPAGE
Lloh17:
	ldr	x8, [x8, _PCI_AF_REG_BAR_NUM@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_pcim_iomap
	str	x0, [x20, #24]
Lloh19:
	adrp	x8, _PCI_PF_REG_BAR_NUM@GOTPAGE
Lloh20:
	ldr	x8, [x8, _PCI_PF_REG_BAR_NUM@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_pcim_iomap
	str	x0, [x20, #16]
	ldr	x8, [x20, #24]
	cmp	x8, #0
	ccmp	x0, #0, #4, ne
	b.ne	LBB0_19
; %bb.18:
Lloh22:
	adrp	x1, l_.str.4@PAGE
Lloh23:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh24:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_13
LBB0_19:
	mov	x0, x20
	bl	_rvu_update_module_params
	mov	x0, x20
	bl	_rvu_check_block_implemented
	mov	x0, x20
	bl	_rvu_reset_all_blocks
	mov	x0, x20
	bl	_rvu_setup_hw_resources
	mov	x21, x0
	cbnz	w0, LBB0_13
; %bb.20:
	mov	x22, x20
	ldr	x8, [x22], #8
Lloh27:
	adrp	x9, _TYPE_AFPF@GOTPAGE
Lloh28:
	ldr	x9, [x9, _TYPE_AFPF@GOTPAGEOFF]
Lloh29:
	ldr	w2, [x9]
	ldr	w3, [x8, #12]
Lloh30:
	adrp	x8, _rvu_afpf_mbox_handler@GOTPAGE
Lloh31:
	ldr	x8, [x8, _rvu_afpf_mbox_handler@GOTPAGEOFF]
Lloh32:
	ldr	w4, [x8]
Lloh33:
	adrp	x8, _rvu_afpf_mbox_up_handler@GOTPAGE
Lloh34:
	ldr	x8, [x8, _rvu_afpf_mbox_up_handler@GOTPAGEOFF]
Lloh35:
	ldr	w5, [x8]
	mov	x0, x20
	mov	x1, x22
	bl	_rvu_mbox_init
	mov	x21, x0
	cbnz	w0, LBB0_27
; %bb.21:
	mov	x0, x20
	bl	_rvu_flr_init
	mov	x21, x0
	cbnz	w0, LBB0_26
; %bb.22:
	mov	x0, x20
	bl	_rvu_register_interrupts
	mov	x21, x0
	cbnz	w0, LBB0_25
; %bb.23:
	mov	x0, x20
	bl	_rvu_enable_sriov
	mov	x21, x0
	cbz	w0, LBB0_16
; %bb.24:
	mov	x0, x20
	bl	_rvu_unregister_interrupts
LBB0_25:
	mov	x0, x20
	bl	_rvu_flr_wq_destroy
LBB0_26:
	mov	x0, x22
	bl	_rvu_mbox_destroy
LBB0_27:
	mov	x0, x20
	bl	_rvu_cgx_exit
	mov	x0, x20
	bl	_rvu_reset_all_blocks
	mov	x0, x20
	bl	_rvu_free_hw_resources
	b	LBB0_13
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to enable PCI device\n"

	.comm	_DRV_NAME,4,2                   ; @DRV_NAME
l_.str.1:                               ; @.str.1
	.asciz	"PCI request regions failed 0x%x\n"

l_.str.2:                               ; @.str.2
	.asciz	"Unable to set DMA mask\n"

l_.str.3:                               ; @.str.3
	.asciz	"Unable to set consistent DMA mask\n"

	.comm	_PCI_AF_REG_BAR_NUM,4,2         ; @PCI_AF_REG_BAR_NUM
	.comm	_PCI_PF_REG_BAR_NUM,4,2         ; @PCI_PF_REG_BAR_NUM
l_.str.4:                               ; @.str.4
	.asciz	"Unable to map admin function CSRs, aborting\n"

	.comm	_TYPE_AFPF,4,2                  ; @TYPE_AFPF
	.comm	_rvu_afpf_mbox_handler,4,2      ; @rvu_afpf_mbox_handler
	.comm	_rvu_afpf_mbox_up_handler,4,2   ; @rvu_afpf_mbox_up_handler
	.no_dead_strip	_rvu_probe
.subsections_via_symbols
