	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function multipath_remove_disk
_multipath_remove_disk:                 ## @multipath_remove_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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	(%rdi), %r13
	movslq	(%rsi), %r15
	movq	(%r13), %r14
	movq	%r13, %rdi
	callq	_print_multipath_conf
	xorl	%eax, %eax
	cmpq	%rbx, (%r14,%r15,8)
	jne	LBB0_8
## %bb.1:
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movq	_In_sync@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	8(%rbx), %r15
	movq	%r15, %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	leaq	4(%rbx), %r14
	movq	%r14, %rdi
	callq	_atomic_read
	testq	%rax, %rax
	je	LBB0_4
LBB0_3:
	leaq	L_.str(%rip), %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_pr_warn
	movq	_EBUSY@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_8:
	movq	%r13, %rdi
	movl	%eax, %ebx
	callq	_print_multipath_conf
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	$0, (%r12,%r14,8)
	movq	_RemoveSynchronized@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_5
LBB0_7:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_md_integrity_register
	jmp	LBB0_8
LBB0_5:
	xorl	%eax, %eax
	callq	_synchronize_rcu
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_atomic_read
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	_EBUSY@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	movq	%rbx, (%r12,%r14,8)
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_In_sync,4,2                    ## @In_sync
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"hot-remove-disk, slot %d is identified but is still operational!\n"

	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_RemoveSynchronized,4,2         ## @RemoveSynchronized
	.no_dead_strip	_multipath_remove_disk
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function multipath_remove_disk
_multipath_remove_disk:                 ; @multipath_remove_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	x21, x1
	mov	x22, x0
	ldr	x19, [x0]
	ldrsw	x20, [x1]
	ldr	x25, [x19]
	mov	x0, x19
	bl	_print_multipath_conf
	ldr	x8, [x25, x20, lsl #3]
	cmp	x8, x21
	b.eq	LBB0_2
; %bb.1:
	mov	w22, #0
	b	LBB0_5
LBB0_2:
Lloh0:
	adrp	x8, _In_sync@GOTPAGE
Lloh1:
	ldr	x8, [x8, _In_sync@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x24, x21, #8
	mov	x1, x24
	bl	_test_bit
	cbnz	x0, LBB0_4
; %bb.3:
	add	x23, x21, #4
	mov	x0, x23
	bl	_atomic_read
	cbz	x0, LBB0_6
LBB0_4:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_pr_warn
Lloh5:
	adrp	x8, _EBUSY@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_5:
	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
LBB0_6:
	str	xzr, [x25, x20, lsl #3]
Lloh8:
	adrp	x8, _RemoveSynchronized@GOTPAGE
Lloh9:
	ldr	x8, [x8, _RemoveSynchronized@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	mov	x1, x24
	bl	_test_bit
	cbz	x0, LBB0_8
LBB0_7:
	mov	x0, x22
	bl	_md_integrity_register
	mov	x22, x0
	b	LBB0_5
LBB0_8:
	bl	_synchronize_rcu
	mov	x0, x23
	bl	_atomic_read
	cbz	x0, LBB0_7
; %bb.9:
Lloh11:
	adrp	x8, _EBUSY@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w22, w8
	str	x21, [x25, x20, lsl #3]
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_In_sync,4,2                    ; @In_sync
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"hot-remove-disk, slot %d is identified but is still operational!\n"

	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_RemoveSynchronized,4,2         ; @RemoveSynchronized
	.no_dead_strip	_multipath_remove_disk
.subsections_via_symbols
