	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function thin_status
_thin_status:                           ## @thin_status
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	%rsp, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	_BDEVNAME_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	(%rbx), %rbx
	movq	24(%rbx), %rdi
	callq	_get_pool_mode
	movq	_PM_FAIL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_9
LBB0_2:
	movl	32(%rbx), %edi
	testl	%edi, %edi
	je	LBB0_3
## %bb.4:
	cmpl	$128, %r15d
	je	LBB0_17
## %bb.5:
	cmpl	$129, %r15d
	jne	LBB0_15
## %bb.6:
	leaq	-48(%rbp), %rsi
	callq	_dm_thin_get_mapped_count
	testl	%eax, %eax
	je	LBB0_10
## %bb.7:
	leaq	L_.str.2(%rip), %rdi
	movl	%eax, %esi
LBB0_8:
	callq	_DMERR
	leaq	L_.str.8(%rip), %rdi
	jmp	LBB0_9
LBB0_17:
	movq	16(%rbx), %rax
	movq	(%rax), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_format_dev_t
	movq	8(%rbx), %rdx
	leaq	L_.str.6(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_DMEMIT
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_15
## %bb.18:
	movq	(%rax), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_format_dev_t
	leaq	L_.str.7(%rip), %rdi
	movl	%eax, %esi
LBB0_14:
	xorl	%eax, %eax
	callq	_DMEMIT
	jmp	LBB0_15
LBB0_10:
	movl	32(%rbx), %edi
	leaq	-44(%rbp), %rsi
	callq	_dm_thin_get_highest_mapped_block
	movl	%eax, %r14d
	testl	%eax, %eax
	js	LBB0_11
## %bb.12:
	movq	24(%rbx), %rax
	movl	(%rax), %esi
	imull	-48(%rbp), %esi
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_DMEMIT
	testl	%r14d, %r14d
	je	LBB0_3
## %bb.13:
	movl	-44(%rbp), %esi
	incl	%esi
	movq	24(%rbx), %rax
	imull	(%rax), %esi
	decl	%esi
	leaq	L_.str.5(%rip), %rdi
	jmp	LBB0_14
LBB0_3:
	leaq	L_.str.1(%rip), %rdi
LBB0_9:
	xorl	%eax, %eax
	callq	_DMEMIT
LBB0_15:
	movq	%r12, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_16
## %bb.19:
	leaq	-32(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	leaq	L_.str.3(%rip), %rdi
	movl	%r14d, %esi
	jmp	LBB0_8
LBB0_16:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_BDEVNAME_SIZE,4,2              ## @BDEVNAME_SIZE
	.comm	_PM_FAIL,8,3                    ## @PM_FAIL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Fail"

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

L_.str.2:                               ## @.str.2
	.asciz	"dm_thin_get_mapped_count returned %d"

L_.str.3:                               ## @.str.3
	.asciz	"dm_thin_get_highest_mapped_block returned %d"

L_.str.4:                               ## @.str.4
	.asciz	"%llu "

L_.str.5:                               ## @.str.5
	.asciz	"%llu"

L_.str.6:                               ## @.str.6
	.asciz	"%s %lu"

L_.str.7:                               ## @.str.7
	.asciz	" %s"

L_.str.8:                               ## @.str.8
	.asciz	"Error"

	.no_dead_strip	_thin_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function thin_status
_thin_status:                           ; @thin_status
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	sub	sp, sp, #16
	mov	x20, x1
	mov	x21, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x8, _BDEVNAME_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BDEVNAME_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x19, x9, x8
	mov	sp, x19
	ldr	x22, [x0]
	ldr	x0, [x22, #24]
	bl	_get_pool_mode
Lloh8:
	adrp	x8, _PM_FAIL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PM_FAIL@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_15
LBB0_2:
	ldr	w0, [x22, #32]
	cbz	w0, LBB0_14
; %bb.3:
	cmp	w20, #128
	b.eq	LBB0_8
; %bb.4:
	cmp	w20, #129
	b.ne	LBB0_16
; %bb.5:
	sub	x1, x29, #44
	bl	_dm_thin_get_mapped_count
	cbz	w0, LBB0_11
; %bb.6:
	mov	x1, x0
Lloh13:
	adrp	x0, l_.str.2@PAGE
Lloh14:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_7:
	bl	_DMERR
Lloh15:
	adrp	x0, l_.str.8@PAGE
Lloh16:
	add	x0, x0, l_.str.8@PAGEOFF
	b	LBB0_15
LBB0_8:
	ldr	x8, [x22, #16]
	ldr	x8, [x8]
	ldr	w1, [x8]
	mov	x0, x19
	bl	_format_dev_t
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	x8, [x22, #8]
	stp	x0, x8, [sp, #-16]!
Lloh17:
	adrp	x0, l_.str.6@PAGE
Lloh18:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_DMEMIT
	add	sp, sp, #16
	ldr	x8, [x22]
	cbz	x8, LBB0_16
; %bb.9:
	ldr	x8, [x8]
	ldr	w1, [x8]
	mov	x0, x19
	bl	_format_dev_t
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp, #-16]!
Lloh19:
	adrp	x0, l_.str.7@PAGE
Lloh20:
	add	x0, x0, l_.str.7@PAGEOFF
LBB0_10:
	bl	_DMEMIT
	add	sp, sp, #16
	b	LBB0_16
LBB0_11:
	ldr	w0, [x22, #32]
	sub	x1, x29, #48
	bl	_dm_thin_get_highest_mapped_block
	mov	x19, x0
	tbnz	w0, #31, LBB0_18
; %bb.12:
	ldur	w8, [x29, #-44]
	ldr	x9, [x22, #24]
	ldr	w9, [x9]
	mul	w8, w9, w8
	str	x8, [sp, #-16]!
Lloh21:
	adrp	x0, l_.str.4@PAGE
Lloh22:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_DMEMIT
	add	sp, sp, #16
	cbz	w19, LBB0_14
; %bb.13:
	ldur	w8, [x29, #-48]
	ldr	x9, [x22, #24]
	ldr	w9, [x9]
	madd	w8, w9, w8, w9
	sub	w8, w8, #1
	str	x8, [sp, #-16]!
Lloh23:
	adrp	x0, l_.str.5@PAGE
Lloh24:
	add	x0, x0, l_.str.5@PAGEOFF
	b	LBB0_10
LBB0_14:
Lloh25:
	adrp	x0, l_.str.1@PAGE
Lloh26:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_15:
	bl	_DMEMIT
LBB0_16:
	mov	sp, x21
	ldur	x8, [x29, #-40]
Lloh27:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh28:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_19
; %bb.17:
	sub	sp, x29, #32
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_18:
Lloh30:
	adrp	x0, l_.str.3@PAGE
Lloh31:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x19
	b	LBB0_7
LBB0_19:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_BDEVNAME_SIZE,4,2              ; @BDEVNAME_SIZE
	.comm	_PM_FAIL,8,3                    ; @PM_FAIL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Fail"

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

l_.str.2:                               ; @.str.2
	.asciz	"dm_thin_get_mapped_count returned %d"

l_.str.3:                               ; @.str.3
	.asciz	"dm_thin_get_highest_mapped_block returned %d"

l_.str.4:                               ; @.str.4
	.asciz	"%llu "

l_.str.5:                               ; @.str.5
	.asciz	"%llu"

l_.str.6:                               ; @.str.6
	.asciz	"%s %lu"

l_.str.7:                               ; @.str.7
	.asciz	" %s"

l_.str.8:                               ; @.str.8
	.asciz	"Error"

	.no_dead_strip	_thin_status
.subsections_via_symbols
