	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pool_message
_pool_message:                          ## @pool_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movl	%esi, %r13d
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	movq	(%rdi), %rax
	movq	(%rax), %r14
	movq	%r14, %rdi
	callq	_get_pool_mode
	movq	_PM_OUT_OF_METADATA_SPACE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_8
## %bb.1:
	movl	%r13d, %ebx
	movq	(%r15), %r13
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %rdi
	callq	_strcasecmp
	testl	%eax, %eax
	je	LBB0_9
## %bb.2:
	leaq	L_.str.2(%rip), %rsi
	movq	%r13, %rdi
	callq	_strcasecmp
	testl	%eax, %eax
	je	LBB0_10
## %bb.3:
	leaq	L_.str.3(%rip), %rsi
	movq	%r13, %rdi
	callq	_strcasecmp
	testl	%eax, %eax
	je	LBB0_11
## %bb.4:
	leaq	L_.str.4(%rip), %rsi
	movq	%r13, %rdi
	callq	_strcasecmp
	testl	%eax, %eax
	je	LBB0_12
## %bb.5:
	leaq	L_.str.5(%rip), %rsi
	movq	%r13, %rdi
	callq	_strcasecmp
	testl	%eax, %eax
	je	LBB0_13
## %bb.6:
	leaq	L_.str.6(%rip), %rsi
	movq	%r13, %rdi
	callq	_strcasecmp
	testl	%eax, %eax
	je	LBB0_17
## %bb.7:
	leaq	L_.str.7(%rip), %rdi
	movq	%r13, %rsi
	callq	_DMWARN
	testl	%r12d, %r12d
	jne	LBB0_16
	jmp	LBB0_15
LBB0_8:
	movl	(%r14), %edi
	callq	_dm_device_name
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_DMERR
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	movl	%ebx, %r12d
	jmp	LBB0_16
LBB0_9:
	movl	%ebx, %edi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_process_create_thin_mesg
	jmp	LBB0_14
LBB0_10:
	movl	%ebx, %edi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_process_create_snap_mesg
	jmp	LBB0_14
LBB0_11:
	movl	%ebx, %edi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_process_delete_mesg
	jmp	LBB0_14
LBB0_12:
	movl	%ebx, %edi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_process_set_transaction_id_mesg
	jmp	LBB0_14
LBB0_13:
	movl	%ebx, %edi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_process_reserve_metadata_snap_mesg
	jmp	LBB0_14
LBB0_17:
	movl	%ebx, %edi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_process_release_metadata_snap_mesg
LBB0_14:
	movl	%eax, %r12d
	testl	%r12d, %r12d
	jne	LBB0_16
LBB0_15:
	movq	%r14, %rdi
	callq	_commit
	xorl	%r12d, %r12d
LBB0_16:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_PM_OUT_OF_METADATA_SPACE,8,3   ## @PM_OUT_OF_METADATA_SPACE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: unable to service pool target messages in READ_ONLY or FAIL mode"

	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
L_.str.1:                               ## @.str.1
	.asciz	"create_thin"

L_.str.2:                               ## @.str.2
	.asciz	"create_snap"

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

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

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

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

L_.str.7:                               ## @.str.7
	.asciz	"Unrecognised thin pool target message received: %s"

	.no_dead_strip	_pool_message
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pool_message
_pool_message:                          ; @pool_message
	.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, x2
	mov	x21, x1
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w23, [x8]
	ldr	x8, [x0]
	ldr	x19, [x8]
	mov	x0, x19
	bl	_get_pool_mode
Lloh3:
	adrp	x8, _PM_OUT_OF_METADATA_SPACE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PM_OUT_OF_METADATA_SPACE@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ge	LBB0_8
; %bb.1:
	ldr	x22, [x20]
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x22
	bl	_strcasecmp
	cbz	w0, LBB0_9
; %bb.2:
Lloh8:
	adrp	x1, l_.str.2@PAGE
Lloh9:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x22
	bl	_strcasecmp
	cbz	w0, LBB0_10
; %bb.3:
Lloh10:
	adrp	x1, l_.str.3@PAGE
Lloh11:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x22
	bl	_strcasecmp
	cbz	w0, LBB0_11
; %bb.4:
Lloh12:
	adrp	x1, l_.str.4@PAGE
Lloh13:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x22
	bl	_strcasecmp
	cbz	w0, LBB0_12
; %bb.5:
Lloh14:
	adrp	x1, l_.str.5@PAGE
Lloh15:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x22
	bl	_strcasecmp
	cbz	w0, LBB0_13
; %bb.6:
Lloh16:
	adrp	x1, l_.str.6@PAGE
Lloh17:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x22
	bl	_strcasecmp
	cbz	w0, LBB0_16
; %bb.7:
	neg	w20, w23
Lloh18:
	adrp	x0, l_.str.7@PAGE
Lloh19:
	add	x0, x0, l_.str.7@PAGEOFF
	mov	x1, x22
	bl	_DMWARN
	cbnz	w20, LBB0_15
	b	LBB0_14
LBB0_8:
	ldr	w0, [x19]
	bl	_dm_device_name
	mov	x1, x0
Lloh20:
	adrp	x0, l_.str@PAGE
Lloh21:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DMERR
Lloh22:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh23:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_15
LBB0_9:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_process_create_thin_mesg
	mov	x20, x0
	cbnz	w20, LBB0_15
	b	LBB0_14
LBB0_10:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_process_create_snap_mesg
	mov	x20, x0
	cbnz	w20, LBB0_15
	b	LBB0_14
LBB0_11:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_process_delete_mesg
	mov	x20, x0
	cbnz	w20, LBB0_15
	b	LBB0_14
LBB0_12:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_process_set_transaction_id_mesg
	mov	x20, x0
	cbnz	w20, LBB0_15
	b	LBB0_14
LBB0_13:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_process_reserve_metadata_snap_mesg
	mov	x20, x0
	cbnz	w20, LBB0_15
LBB0_14:
	mov	x0, x19
	bl	_commit
LBB0_15:
	mov	x0, x20
	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_16:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_process_release_metadata_snap_mesg
	mov	x20, x0
	cbnz	w20, LBB0_15
	b	LBB0_14
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.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 AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_PM_OUT_OF_METADATA_SPACE,8,3   ; @PM_OUT_OF_METADATA_SPACE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: unable to service pool target messages in READ_ONLY or FAIL mode"

	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
l_.str.1:                               ; @.str.1
	.asciz	"create_thin"

l_.str.2:                               ; @.str.2
	.asciz	"create_snap"

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

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

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

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

l_.str.7:                               ; @.str.7
	.asciz	"Unrecognised thin pool target message received: %s"

	.no_dead_strip	_pool_message
.subsections_via_symbols
