	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mpt_raid_phys_disk_get_num_paths ## -- Begin function mpt_raid_phys_disk_get_num_paths
	.p2align	4, 0x90
_mpt_raid_phys_disk_get_num_paths:      ## @mpt_raid_phys_disk_get_num_paths
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r13
	leaq	-88(%rbp), %r12
	xorl	%r14d, %r14d
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$40, %edx
	callq	_memset
	leaq	-128(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$40, %edx
	callq	_memset
	movq	_MPI_RAIDPHYSDISKPAGE1_PAGEVERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -92(%rbp)
	movq	_MPI_CONFIG_PAGETYPE_RAID_PHYSDISK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -96(%rbp)
	movl	$1, -128(%rbp)
	movq	%rbx, -64(%rbp)
	movl	$-1, -84(%rbp)
	movq	_MPI_CONFIG_ACTION_PAGE_HEADER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_mpt_config
	testq	%rax, %rax
	je	LBB0_1
LBB0_6:
	movl	%r14d, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	-120(%rbp), %esi
	testl	%esi, %esi
	je	LBB0_6
## %bb.2:
	movl	(%r13), %edi
	shll	$2, %esi
	leaq	-44(%rbp), %rdx
	callq	_pci_alloc_consistent
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	%rax, %r12
	movl	-44(%rbp), %eax
	movl	%eax, -84(%rbp)
	movq	_MPI_CONFIG_ACTION_PAGE_READ_CURRENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)
	movl	%r15d, -76(%rbp)
	leaq	-88(%rbp), %rsi
	movq	%r13, %rdi
	callq	_mpt_config
	xorl	%r14d, %r14d
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	movl	(%r12), %r14d
LBB0_5:
	movl	(%r13), %edi
	movl	-120(%rbp), %esi
	shll	$2, %esi
	movl	-44(%rbp), %ecx
	movq	%r12, %rdx
	callq	_pci_free_consistent
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_MPI_RAIDPHYSDISKPAGE1_PAGEVERSION,4,2 ## @MPI_RAIDPHYSDISKPAGE1_PAGEVERSION
	.comm	_MPI_CONFIG_PAGETYPE_RAID_PHYSDISK,4,2 ## @MPI_CONFIG_PAGETYPE_RAID_PHYSDISK
	.comm	_MPI_CONFIG_ACTION_PAGE_HEADER,4,2 ## @MPI_CONFIG_ACTION_PAGE_HEADER
	.comm	_MPI_CONFIG_ACTION_PAGE_READ_CURRENT,4,2 ## @MPI_CONFIG_ACTION_PAGE_READ_CURRENT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mpt_raid_phys_disk_get_num_paths ; -- Begin function mpt_raid_phys_disk_get_num_paths
	.p2align	2
_mpt_raid_phys_disk_get_num_paths:      ; @mpt_raid_phys_disk_get_num_paths
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x20, x1
	mov	x19, x0
	add	x0, sp, #56
	mov	w1, #0
	mov	w2, #40
	bl	_memset
	add	x21, sp, #16
	add	x0, sp, #16
	mov	w1, #0
	mov	w2, #40
	bl	_memset
Lloh0:
	adrp	x8, _MPI_RAIDPHYSDISKPAGE1_PAGEVERSION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MPI_RAIDPHYSDISKPAGE1_PAGEVERSION@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x8]
Lloh3:
	adrp	x9, _MPI_CONFIG_PAGETYPE_RAID_PHYSDISK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MPI_CONFIG_PAGETYPE_RAID_PHYSDISK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x9]
	mov	w9, #1
	stp	w8, w10, [sp, #48]
	str	w9, [sp, #16]
	str	x21, [sp, #80]
	mov	w8, #-1
Lloh6:
	adrp	x9, _MPI_CONFIG_ACTION_PAGE_HEADER@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MPI_CONFIG_ACTION_PAGE_HEADER@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	str	w8, [sp, #60]
	str	w9, [sp, #72]
	add	x1, sp, #56
	mov	x0, x19
	bl	_mpt_config
	mov	w22, #0
	cbnz	x0, LBB0_8
; %bb.1:
	ldr	w8, [sp, #24]
	cbz	w8, LBB0_5
; %bb.2:
	ldr	w0, [x19]
	lsl	w1, w8, #2
	add	x2, sp, #12
	bl	_pci_alloc_consistent
	cbz	x0, LBB0_5
; %bb.3:
	mov	x21, x0
	ldr	w8, [sp, #12]
Lloh9:
	adrp	x9, _MPI_CONFIG_ACTION_PAGE_READ_CURRENT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _MPI_CONFIG_ACTION_PAGE_READ_CURRENT@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	stp	w20, w9, [sp, #68]
	str	w8, [sp, #60]
	add	x1, sp, #56
	mov	x0, x19
	bl	_mpt_config
	cbz	x0, LBB0_6
; %bb.4:
	mov	w22, #0
	b	LBB0_7
LBB0_5:
	mov	w22, #0
	b	LBB0_8
LBB0_6:
	ldr	w22, [x21]
LBB0_7:
	ldr	w0, [x19]
	ldr	w8, [sp, #24]
	lsl	w1, w8, #2
	ldr	w3, [sp, #12]
	mov	x2, x21
	bl	_pci_free_consistent
LBB0_8:
	mov	x0, x22
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_MPI_RAIDPHYSDISKPAGE1_PAGEVERSION,4,2 ; @MPI_RAIDPHYSDISKPAGE1_PAGEVERSION
	.comm	_MPI_CONFIG_PAGETYPE_RAID_PHYSDISK,4,2 ; @MPI_CONFIG_PAGETYPE_RAID_PHYSDISK
	.comm	_MPI_CONFIG_ACTION_PAGE_HEADER,4,2 ; @MPI_CONFIG_ACTION_PAGE_HEADER
	.comm	_MPI_CONFIG_ACTION_PAGE_READ_CURRENT,4,2 ; @MPI_CONFIG_ACTION_PAGE_READ_CURRENT
.subsections_via_symbols
