	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function multipath_message
_multipath_message:                     ## @multipath_message
	.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	%rdx, %r14
	movl	%esi, %r13d
	movq	%rdi, %r12
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	movq	8(%rdi), %rdi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_mutex_lock
	movq	%r12, %rdi
	callq	_dm_suspended
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_EBUSY@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	movl	%ebx, %r15d
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_26
LBB0_2:
	cmpl	$2, %r13d
	je	LBB0_10
## %bb.3:
	cmpl	$1, %r13d
	jne	LBB0_9
## %bb.4:
	movq	(%r14), %rbx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcasecmp
	testl	%eax, %eax
	je	LBB0_5
## %bb.7:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcasecmp
	testl	%eax, %eax
	je	LBB0_8
LBB0_9:
	leaq	L_.str.2(%rip), %rdi
	movl	%r13d, %esi
	xorl	%eax, %eax
	callq	_DMWARN
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_26
LBB0_10:
	movq	(%r14), %r13
	leaq	L_.str.3(%rip), %rsi
	movq	%r13, %rdi
	callq	_strcasecmp
	testl	%eax, %eax
	je	LBB0_11
## %bb.13:
	leaq	L_.str.4(%rip), %rsi
	movq	%r13, %rdi
	callq	_strcasecmp
	testl	%eax, %eax
	je	LBB0_14
## %bb.15:
	leaq	L_.str.5(%rip), %rsi
	movq	%r13, %rdi
	callq	_strcasecmp
	testl	%eax, %eax
	je	LBB0_16
## %bb.17:
	leaq	L_.str.6(%rip), %rsi
	movq	%r13, %rdi
	callq	_strcasecmp
	testl	%eax, %eax
	je	LBB0_18
## %bb.21:
	leaq	L_.str.7(%rip), %rsi
	movq	%r13, %rdi
	callq	_strcasecmp
	testl	%eax, %eax
	je	LBB0_22
## %bb.23:
	leaq	L_.str.8(%rip), %rdi
	movq	%r13, %rsi
	jmp	LBB0_24
LBB0_5:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	$1, %esi
	jmp	LBB0_6
LBB0_11:
	movq	8(%r14), %rsi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	$1, %edx
	jmp	LBB0_12
LBB0_8:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	xorl	%esi, %esi
LBB0_6:
	xorl	%edx, %edx
	callq	_queue_if_no_path
	movl	%eax, %r15d
	jmp	LBB0_26
LBB0_14:
	movq	8(%r14), %rsi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	xorl	%edx, %edx
LBB0_12:
	callq	_bypass_pg_num
	movl	%eax, %r15d
	jmp	LBB0_26
LBB0_16:
	movq	8(%r14), %rsi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_switch_pg_num
	movl	%eax, %r15d
	jmp	LBB0_26
LBB0_18:
	movq	_reinstate_path@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_22:
	movq	_fail_path@GOTPCREL(%rip), %rax
LBB0_19:
	movl	(%rax), %r13d
	movq	8(%r14), %rbx
	movl	(%r12), %edi
	callq	_dm_table_get_mode
	leaq	-56(%rbp), %rcx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_dm_get_device
	testl	%eax, %eax
	je	LBB0_25
## %bb.20:
	movl	%eax, %r15d
	movq	8(%r14), %rsi
	leaq	L_.str.9(%rip), %rdi
LBB0_24:
	xorl	%eax, %eax
	callq	_DMWARN
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_26
LBB0_25:
	movq	-56(%rbp), %rsi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	%r13d, %edx
	callq	_action_dev
	movl	%eax, %r15d
	movq	-56(%rbp), %rsi
	movq	%r12, %rdi
	callq	_dm_put_device
LBB0_26:
	movq	%rbx, %rdi
	callq	_mutex_unlock
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_EBUSY,4,2                      ## @EBUSY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"queue_if_no_path"

L_.str.1:                               ## @.str.1
	.asciz	"fail_if_no_path"

L_.str.2:                               ## @.str.2
	.asciz	"Invalid multipath message arguments. Expected 2 arguments, got %d."

L_.str.3:                               ## @.str.3
	.asciz	"disable_group"

L_.str.4:                               ## @.str.4
	.asciz	"enable_group"

L_.str.5:                               ## @.str.5
	.asciz	"switch_group"

L_.str.6:                               ## @.str.6
	.asciz	"reinstate_path"

	.comm	_reinstate_path,4,2             ## @reinstate_path
L_.str.7:                               ## @.str.7
	.asciz	"fail_path"

	.comm	_fail_path,4,2                  ## @fail_path
L_.str.8:                               ## @.str.8
	.asciz	"Unrecognised multipath message received: %s"

L_.str.9:                               ## @.str.9
	.asciz	"message: error getting device %s"

	.no_dead_strip	_multipath_message
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function multipath_message
_multipath_message:                     ; @multipath_message
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x22, x2
	mov	x23, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	ldr	x19, [x0, #8]
	mov	x0, x19
	bl	_mutex_lock
	mov	x0, x21
	bl	_dm_suspended
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _EBUSY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_20
LBB0_2:
	neg	w20, w20
	cmp	w23, #2
	b.eq	LBB0_7
; %bb.3:
	cmp	w23, #1
	b.ne	LBB0_6
; %bb.4:
	ldr	x21, [x22]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_strcasecmp
	cbz	w0, LBB0_13
; %bb.5:
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_strcasecmp
	cbz	w0, LBB0_15
LBB0_6:
	str	x23, [sp]
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_DMWARN
	b	LBB0_20
LBB0_7:
	ldr	x23, [x22]
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x23
	bl	_strcasecmp
	cbz	w0, LBB0_14
; %bb.8:
Lloh14:
	adrp	x1, l_.str.4@PAGE
Lloh15:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x23
	bl	_strcasecmp
	cbz	w0, LBB0_17
; %bb.9:
Lloh16:
	adrp	x1, l_.str.5@PAGE
Lloh17:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x23
	bl	_strcasecmp
	cbz	w0, LBB0_21
; %bb.10:
Lloh18:
	adrp	x1, l_.str.6@PAGE
Lloh19:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x23
	bl	_strcasecmp
	cbz	w0, LBB0_22
; %bb.11:
Lloh20:
	adrp	x1, l_.str.7@PAGE
Lloh21:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x23
	bl	_strcasecmp
	cbz	w0, LBB0_23
; %bb.12:
	str	x23, [sp]
Lloh22:
	adrp	x0, l_.str.8@PAGE
Lloh23:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_DMWARN
	b	LBB0_20
LBB0_13:
	mov	x0, x19
	mov	w1, #1
	b	LBB0_16
LBB0_14:
	ldr	x1, [x22, #8]
	mov	x0, x19
	mov	w2, #1
	b	LBB0_18
LBB0_15:
	mov	x0, x19
	mov	w1, #0
LBB0_16:
	mov	w2, #0
	bl	_queue_if_no_path
	b	LBB0_19
LBB0_17:
	ldr	x1, [x22, #8]
	mov	x0, x19
	mov	w2, #0
LBB0_18:
	bl	_bypass_pg_num
LBB0_19:
	mov	x20, x0
LBB0_20:
	mov	x0, x19
	bl	_mutex_unlock
	mov	x0, x20
	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
	add	sp, sp, #80
	ret
LBB0_21:
	ldr	x1, [x22, #8]
	mov	x0, x19
	bl	_switch_pg_num
	b	LBB0_19
LBB0_22:
Lloh24:
	adrp	x8, _reinstate_path@GOTPAGE
Lloh25:
	ldr	x8, [x8, _reinstate_path@GOTPAGEOFF]
	b	LBB0_24
LBB0_23:
Lloh26:
	adrp	x8, _fail_path@GOTPAGE
Lloh27:
	ldr	x8, [x8, _fail_path@GOTPAGEOFF]
LBB0_24:
	ldr	w23, [x8]
	ldr	x20, [x22, #8]
	ldr	w0, [x21]
	bl	_dm_table_get_mode
	mov	x2, x0
	add	x3, sp, #8
	mov	x0, x21
	mov	x1, x20
	bl	_dm_get_device
	cbz	w0, LBB0_26
; %bb.25:
	mov	x20, x0
	ldr	x8, [x22, #8]
	str	x8, [sp]
Lloh28:
	adrp	x0, l_.str.9@PAGE
Lloh29:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_DMWARN
	b	LBB0_20
LBB0_26:
	ldr	x1, [sp, #8]
	mov	x0, x19
	mov	x2, x23
	bl	_action_dev
	mov	x20, x0
	ldr	x1, [sp, #8]
	mov	x0, x21
	bl	_dm_put_device
	b	LBB0_20
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_EBUSY,4,2                      ; @EBUSY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"queue_if_no_path"

l_.str.1:                               ; @.str.1
	.asciz	"fail_if_no_path"

l_.str.2:                               ; @.str.2
	.asciz	"Invalid multipath message arguments. Expected 2 arguments, got %d."

l_.str.3:                               ; @.str.3
	.asciz	"disable_group"

l_.str.4:                               ; @.str.4
	.asciz	"enable_group"

l_.str.5:                               ; @.str.5
	.asciz	"switch_group"

l_.str.6:                               ; @.str.6
	.asciz	"reinstate_path"

	.comm	_reinstate_path,4,2             ; @reinstate_path
l_.str.7:                               ; @.str.7
	.asciz	"fail_path"

	.comm	_fail_path,4,2                  ; @fail_path
l_.str.8:                               ; @.str.8
	.asciz	"Unrecognised multipath message received: %s"

l_.str.9:                               ; @.str.9
	.asciz	"message: error getting device %s"

	.no_dead_strip	_multipath_message
.subsections_via_symbols
