	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function notify_of_pool_mode_change
_notify_of_pool_mode_change:            ## @notify_of_pool_mode_change
	.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	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	leaq	L_.str(%rip), %rax
	movq	%rax, -80(%rbp)
	leaq	L_.str.1(%rip), %rax
	movq	%rax, -72(%rbp)
	leaq	L_.str.2(%rip), %rax
	movq	%rax, -64(%rbp)
	movq	%rax, -56(%rbp)
	leaq	L_.str.3(%rip), %rax
	movq	%rax, -48(%rbp)
	callq	_get_pool_mode
	movl	%eax, %r15d
	movq	_PM_OUT_OF_DATA_SPACE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	jne	LBB0_1
## %bb.2:
	cmpl	$0, 16(%rbx)
	leaq	L_.str.4(%rip), %rax
	leaq	L_.str.5(%rip), %r14
	cmoveq	%rax, %r14
	jmp	LBB0_3
LBB0_1:
	leaq	L_.str.7(%rip), %r14
LBB0_3:
	movq	8(%rbx), %rax
	movl	(%rax), %edi
	callq	_dm_table_event
	movl	(%rbx), %edi
	callq	_dm_device_name
	movslq	%r15d, %rcx
	movq	-80(%rbp,%rcx,8), %rdx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-32(%rbp), %rcx
	jne	LBB0_4
## %bb.5:
	leaq	L_.str.6(%rip), %rdi
	movl	%eax, %esi
	movq	%r14, %rcx
	addq	$56, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_DMINFO                         ## TAILCALL
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"write"

L_.str.1:                               ## @.str.1
	.asciz	"out-of-data-space"

L_.str.2:                               ## @.str.2
	.asciz	"read-only"

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

	.comm	_PM_OUT_OF_DATA_SPACE,4,2       ## @PM_OUT_OF_DATA_SPACE
L_.str.4:                               ## @.str.4
	.asciz	" (queue IO)"

L_.str.5:                               ## @.str.5
	.asciz	" (error IO)"

L_.str.6:                               ## @.str.6
	.asciz	"%s: switching pool to %s%s mode"

L_.str.7:                               ## @.str.7
	.space	1

	.no_dead_strip	_notify_of_pool_mode_change
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function notify_of_pool_mode_change
_notify_of_pool_mode_change:            ; @notify_of_pool_mode_change
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, l_.str@PAGE
Lloh4:
	add	x9, x9, l_.str@PAGEOFF
	str	x8, [sp, #40]
Lloh5:
	adrp	x8, l_.str.1@PAGE
Lloh6:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh7:
	adrp	x10, l_.str.2@PAGE
Lloh8:
	add	x10, x10, l_.str.2@PAGEOFF
	stp	x9, x8, [sp]
	stp	x10, x10, [sp, #16]
Lloh9:
	adrp	x8, l_.str.3@PAGE
Lloh10:
	add	x8, x8, l_.str.3@PAGEOFF
	str	x8, [sp, #32]
	bl	_get_pool_mode
	mov	x20, x0
Lloh11:
	adrp	x8, _PM_OUT_OF_DATA_SPACE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _PM_OUT_OF_DATA_SPACE@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_2
; %bb.1:
	ldr	w8, [x19, #16]
Lloh14:
	adrp	x9, l_.str.5@PAGE
Lloh15:
	add	x9, x9, l_.str.5@PAGEOFF
Lloh16:
	adrp	x10, l_.str.4@PAGE
Lloh17:
	add	x10, x10, l_.str.4@PAGEOFF
	cmp	w8, #0
	csel	x21, x10, x9, eq
	b	LBB0_3
LBB0_2:
Lloh18:
	adrp	x21, l_.str.7@PAGE
Lloh19:
	add	x21, x21, l_.str.7@PAGEOFF
LBB0_3:
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	bl	_dm_table_event
	ldr	w0, [x19]
	bl	_dm_device_name
	mov	x8, sp
	ldr	x2, [x8, w20, sxtw #3]
	ldr	x8, [sp, #40]
Lloh20:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh21:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	mov	x1, x0
Lloh23:
	adrp	x0, l_.str.6@PAGE
Lloh24:
	add	x0, x0, l_.str.6@PAGEOFF
	mov	x3, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_DMINFO
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"write"

l_.str.1:                               ; @.str.1
	.asciz	"out-of-data-space"

l_.str.2:                               ; @.str.2
	.asciz	"read-only"

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

	.comm	_PM_OUT_OF_DATA_SPACE,4,2       ; @PM_OUT_OF_DATA_SPACE
l_.str.4:                               ; @.str.4
	.asciz	" (queue IO)"

l_.str.5:                               ; @.str.5
	.asciz	" (error IO)"

l_.str.6:                               ; @.str.6
	.asciz	"%s: switching pool to %s%s mode"

l_.str.7:                               ; @.str.7
	.space	1

	.no_dead_strip	_notify_of_pool_mode_change
.subsections_via_symbols
