	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function multipath_add_disk
_multipath_add_disk:                    ## @multipath_add_disk
	.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
	movq	%rsi, %r12
	movq	16(%rdi), %r14
	movq	_EEXIST@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movl	(%rdi), %r15d
	decl	%r15d
	movl	(%rsi), %eax
	testl	%eax, %eax
	cmovnsl	%eax, %ebx
	cmovnsl	%eax, %r15d
	movq	%r14, %rdi
	callq	_print_multipath_conf
	cmpl	%r15d, %ebx
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	jg	LBB0_6
## %bb.1:
	movq	%r12, %rax
	movq	8(%r14), %r12
	movl	%ebx, %r14d
	incl	%r15d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%r12,%r14,8)
	je	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%r14
	cmpl	%r14d, %r15d
	jne	LBB0_2
	jmp	LBB0_6
LBB0_3:
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movl	8(%r15), %edi
	movq	%rax, %rbx
	movl	4(%rax), %edx
	movl	12(%rax), %esi
	shll	$9, %edx
	callq	_disk_stack_limits
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_md_integrity_add_rdev
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_6
## %bb.4:
	movq	%r15, %r13
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	callq	_spin_lock_irq
	decl	4(%r13)
	movl	%r14d, (%rbx)
	movq	_In_sync@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	8(%rbx), %rsi
	callq	_set_bit
	movq	%r15, %rdi
	callq	_spin_unlock_irq
	movq	(%r12,%r14,8), %rdi
	movq	%rbx, %rsi
	callq	_rcu_assign_pointer
	xorl	%r13d, %r13d
LBB0_6:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_print_multipath_conf
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EEXIST,4,2                     ## @EEXIST
	.comm	_In_sync,4,2                    ## @In_sync
	.no_dead_strip	_multipath_add_disk
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function multipath_add_disk
_multipath_add_disk:                    ; @multipath_add_disk
	.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
	mov	x20, x1
	mov	x21, x0
	ldr	x19, [x0, #16]
Lloh0:
	adrp	x8, _EEXIST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EEXIST@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w22, w8
	ldr	w8, [x0]
	sub	w8, w8, #1
	ldr	w9, [x1]
	bic	w23, w9, w9, asr #31
	cmp	w9, #0
	csel	w25, w9, w8, ge
	mov	x0, x19
	bl	_print_multipath_conf
	cmp	w23, w25
	b.gt	LBB0_6
; %bb.1:
	ldr	x24, [x19, #8]
	add	w8, w25, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x24, x23, lsl #3]
	cbz	x9, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x23, x23, #1
	cmp	w8, w23
	b.ne	LBB0_2
	b	LBB0_6
LBB0_4:
	ldr	w0, [x21, #8]
	ldr	w1, [x20, #12]
	ldr	w8, [x20, #4]
	lsl	w2, w8, #9
	bl	_disk_stack_limits
	mov	x0, x20
	mov	x1, x21
	bl	_md_integrity_add_rdev
	mov	x22, x0
	cbnz	w0, LBB0_6
; %bb.5:
	mov	x0, x19
	bl	_spin_lock_irq
	ldr	w8, [x21, #4]
	sub	w8, w8, #1
	str	w8, [x21, #4]
	mov	x1, x20
	str	w23, [x1], #8
Lloh3:
	adrp	x8, _In_sync@GOTPAGE
Lloh4:
	ldr	x8, [x8, _In_sync@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_set_bit
	mov	x0, x19
	bl	_spin_unlock_irq
	ldr	x0, [x24, x23, lsl #3]
	mov	x1, x20
	bl	_rcu_assign_pointer
LBB0_6:
	mov	x0, x19
	bl	_print_multipath_conf
	mov	x0, x22
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EEXIST,4,2                     ; @EEXIST
	.comm	_In_sync,4,2                    ; @In_sync
	.no_dead_strip	_multipath_add_disk
.subsections_via_symbols
