	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mtip_pci_probe
_mtip_pci_probe:                        ## @mtip_pci_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, %r12
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$32, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_pci_set_drvdata
	movq	%r12, %rdi
	callq	_pcim_enable_device
	testl	%eax, %eax
	js	LBB0_3
## %bb.5:
	movq	_MTIP_ABAR@GOTPCREL(%rip), %r13
	movb	(%r13), %cl
	movl	$1, %esi
	shll	%cl, %esi
	movq	_MTIP_DRV_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_pcim_iomap_regions
	testl	%eax, %eax
	js	LBB0_6
## %bb.7:
	movl	$64, %edi
	callq	_DMA_BIT_MASK
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_pci_set_dma_mask
	testl	%eax, %eax
	je	LBB0_8
LBB0_13:
	movq	%r12, %rdi
	callq	_pci_set_master
	movq	%r12, %rdi
	callq	_pci_enable_msi
	testl	%eax, %eax
	je	LBB0_16
## %bb.14:
	movl	%eax, %r15d
	leaq	L_.str.4(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_warn
LBB0_15:
	movq	%r12, %rdi
	callq	_pci_disable_msi
LBB0_11:
	movb	(%r13), %cl
	movl	$1, %esi
	shll	%cl, %esi
	movq	%r12, %rdi
	callq	_pcim_iounmap_regions
	movl	%r15d, %ebx
	jmp	LBB0_12
LBB0_1:
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_err
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_21
LBB0_3:
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_4
LBB0_6:
	movl	%eax, %ebx
	leaq	L_.str.2(%rip), %rsi
LBB0_4:
	movq	%r12, %rdi
	callq	_dev_err
LBB0_12:
	movq	%r14, %rdi
	callq	_kfree
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_pci_set_drvdata
LBB0_21:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movl	$64, %edi
	callq	_DMA_BIT_MASK
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_pci_set_consistent_dma_mask
	testl	%eax, %eax
	je	LBB0_13
## %bb.9:
	movl	$32, %edi
	callq	_DMA_BIT_MASK
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_pci_set_consistent_dma_mask
	testl	%eax, %eax
	je	LBB0_13
## %bb.10:
	movl	%eax, %r15d
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_warn
	jmp	LBB0_11
LBB0_16:
	movq	_mtip_major@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%r14)
	movq	_instance@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	movl	%eax, 24(%r14)
	movq	%r12, 16(%r14)
	movq	%r14, %rdi
	callq	_INIT_LIST_HEAD
	leaq	8(%r14), %rdi
	callq	_INIT_LIST_HEAD
	movq	%r14, %rdi
	callq	_mtip_block_initialize
	movl	%eax, %r15d
	testl	%eax, %eax
	js	LBB0_17
## %bb.18:
	incl	(%rbx)
	movq	_MTIP_FTL_REBUILD_MAGIC@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	cmpl	(%rax), %r15d
	je	LBB0_20
## %bb.19:
	movq	_MTIP_DDF_INIT_DONE_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	addq	$4, %rsi
	callq	_set_bit
	movl	%r15d, %ebx
LBB0_20:
	movq	_dev_lock@GOTPCREL(%rip), %r15
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	movq	_online_list@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_list_add
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
	jmp	LBB0_21
LBB0_17:
	leaq	L_.str.5(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_err
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unable to allocate memory for driver data\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.1:                               ## @.str.1
	.asciz	"Unable to enable device\n"

	.comm	_MTIP_ABAR,4,2                  ## @MTIP_ABAR
	.comm	_MTIP_DRV_NAME,4,2              ## @MTIP_DRV_NAME
L_.str.2:                               ## @.str.2
	.asciz	"Unable to map regions\n"

L_.str.3:                               ## @.str.3
	.asciz	"64-bit DMA enable failed\n"

L_.str.4:                               ## @.str.4
	.asciz	"Unable to enable MSI interrupt.\n"

	.comm	_mtip_major,4,2                 ## @mtip_major
	.comm	_instance,4,2                   ## @instance
L_.str.5:                               ## @.str.5
	.asciz	"Unable to initialize block layer\n"

	.comm	_MTIP_FTL_REBUILD_MAGIC,4,2     ## @MTIP_FTL_REBUILD_MAGIC
	.comm	_MTIP_DDF_INIT_DONE_BIT,4,2     ## @MTIP_DDF_INIT_DONE_BIT
	.comm	_dev_lock,4,2                   ## @dev_lock
	.comm	_online_list,4,2                ## @online_list
	.no_dead_strip	_mtip_pci_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mtip_pci_probe
_mtip_pci_probe:                        ; @mtip_pci_probe
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #32
	bl	_kzalloc
	cbz	x0, LBB0_8
; %bb.1:
	mov	x19, x0
	mov	x0, x20
	mov	x1, x19
	bl	_pci_set_drvdata
	mov	x0, x20
	bl	_pcim_enable_device
	tbnz	w0, #31, LBB0_9
; %bb.2:
Lloh3:
	adrp	x22, _MTIP_ABAR@GOTPAGE
Lloh4:
	ldr	x22, [x22, _MTIP_ABAR@GOTPAGEOFF]
	ldr	w8, [x22]
	mov	w9, #1
	lsl	w1, w9, w8
Lloh5:
	adrp	x8, _MTIP_DRV_NAME@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MTIP_DRV_NAME@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_pcim_iomap_regions
	tbnz	w0, #31, LBB0_10
; %bb.3:
	mov	w0, #64
	bl	_DMA_BIT_MASK
	mov	x1, x0
	mov	x0, x20
	bl	_pci_set_dma_mask
	cbz	w0, LBB0_14
LBB0_4:
	mov	x0, x20
	bl	_pci_set_master
	mov	x0, x20
	bl	_pci_enable_msi
	cbz	w0, LBB0_17
; %bb.5:
	mov	x21, x0
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_dev_warn
LBB0_6:
	mov	x0, x20
	bl	_pci_disable_msi
LBB0_7:
	ldr	w8, [x22]
	mov	w9, #1
	lsl	w1, w9, w8
	mov	x0, x20
	bl	_pcim_iounmap_regions
	b	LBB0_12
LBB0_8:
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_dev_err
Lloh12:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_13
LBB0_9:
	mov	x21, x0
Lloh15:
	adrp	x1, l_.str.1@PAGE
Lloh16:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_11
LBB0_10:
	mov	x21, x0
Lloh17:
	adrp	x1, l_.str.2@PAGE
Lloh18:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_11:
	mov	x0, x20
	bl	_dev_err
LBB0_12:
	mov	x0, x19
	bl	_kfree
	mov	x0, x20
	mov	x1, #0
	bl	_pci_set_drvdata
LBB0_13:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_14:
	mov	w0, #64
	bl	_DMA_BIT_MASK
	mov	x1, x0
	mov	x0, x20
	bl	_pci_set_consistent_dma_mask
	cbz	w0, LBB0_4
; %bb.15:
	mov	w0, #32
	bl	_DMA_BIT_MASK
	mov	x1, x0
	mov	x0, x20
	bl	_pci_set_consistent_dma_mask
	cbz	w0, LBB0_4
; %bb.16:
	mov	x21, x0
Lloh19:
	adrp	x1, l_.str.3@PAGE
Lloh20:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_dev_warn
	b	LBB0_7
LBB0_17:
Lloh21:
	adrp	x8, _mtip_major@GOTPAGE
Lloh22:
	ldr	x8, [x8, _mtip_major@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
Lloh24:
	adrp	x23, _instance@GOTPAGE
Lloh25:
	ldr	x23, [x23, _instance@GOTPAGEOFF]
	ldr	w9, [x23]
	stp	w9, w8, [x19, #24]
	str	x20, [x19, #16]
	mov	x0, x19
	bl	_INIT_LIST_HEAD
	add	x0, x19, #8
	bl	_INIT_LIST_HEAD
	mov	x0, x19
	bl	_mtip_block_initialize
	mov	x21, x0
	tbnz	w0, #31, LBB0_20
; %bb.18:
	ldr	w8, [x23]
	add	w8, w8, #1
	str	w8, [x23]
Lloh26:
	adrp	x8, _MTIP_FTL_REBUILD_MAGIC@GOTPAGE
Lloh27:
	ldr	x8, [x8, _MTIP_FTL_REBUILD_MAGIC@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	cmp	w21, w8
	b.ne	LBB0_21
; %bb.19:
	mov	w21, #0
	b	LBB0_22
LBB0_20:
Lloh29:
	adrp	x1, l_.str.5@PAGE
Lloh30:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	b	LBB0_6
LBB0_21:
Lloh31:
	adrp	x8, _MTIP_DDF_INIT_DONE_BIT@GOTPAGE
Lloh32:
	ldr	x8, [x8, _MTIP_DDF_INIT_DONE_BIT@GOTPAGEOFF]
Lloh33:
	ldr	w0, [x8]
	add	x1, x19, #4
	bl	_set_bit
LBB0_22:
Lloh34:
	adrp	x20, _dev_lock@GOTPAGE
Lloh35:
	ldr	x20, [x20, _dev_lock@GOTPAGEOFF]
	mov	x0, x20
	bl	_spin_lock_irqsave
Lloh36:
	adrp	x1, _online_list@GOTPAGE
Lloh37:
	ldr	x1, [x1, _online_list@GOTPAGEOFF]
	mov	x0, x19
	bl	_list_add
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	b	LBB0_13
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unable to allocate memory for driver data\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.1:                               ; @.str.1
	.asciz	"Unable to enable device\n"

	.comm	_MTIP_ABAR,4,2                  ; @MTIP_ABAR
	.comm	_MTIP_DRV_NAME,4,2              ; @MTIP_DRV_NAME
l_.str.2:                               ; @.str.2
	.asciz	"Unable to map regions\n"

l_.str.3:                               ; @.str.3
	.asciz	"64-bit DMA enable failed\n"

l_.str.4:                               ; @.str.4
	.asciz	"Unable to enable MSI interrupt.\n"

	.comm	_mtip_major,4,2                 ; @mtip_major
	.comm	_instance,4,2                   ; @instance
l_.str.5:                               ; @.str.5
	.asciz	"Unable to initialize block layer\n"

	.comm	_MTIP_FTL_REBUILD_MAGIC,4,2     ; @MTIP_FTL_REBUILD_MAGIC
	.comm	_MTIP_DDF_INIT_DONE_BIT,4,2     ; @MTIP_DDF_INIT_DONE_BIT
	.comm	_dev_lock,4,2                   ; @dev_lock
	.comm	_online_list,4,2                ; @online_list
	.no_dead_strip	_mtip_pci_probe
.subsections_via_symbols
