	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bch_extent_bad_expensive
_bch_extent_bad_expensive:              ## @bch_extent_bad_expensive
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdi), %rdi
	callq	_PTR_BUCKET
	movq	%rax, %r14
	movq	(%rbx), %rdi
	callq	_mutex_trylock
	xorl	%r13d, %r13d
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	movq	(%rbx), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_6
## %bb.2:
	movq	%r14, %rdi
	callq	_GC_MARK
	testq	%rax, %rax
	je	LBB0_8
## %bb.3:
	movq	%r14, %rdi
	callq	_GC_MARK
	movq	_GC_MARK_METADATA@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_8
## %bb.4:
	movq	%r14, %rdi
	callq	_GC_MARK
	movq	_GC_MARK_DIRTY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_6
## %bb.5:
	movq	%r12, %rdi
	callq	_KEY_DIRTY
	testq	%rax, %rax
	jne	LBB0_8
LBB0_6:
	movq	(%r14), %rax
	movq	_BTREE_PRIO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
LBB0_8:
	movq	(%rbx), %rdi
	callq	_mutex_unlock
	leaq	-128(%rbp), %rdi
	movl	$80, %esi
	movq	%r12, %rdx
	callq	_bch_extent_to_text
	movq	(%rbx), %rdi
	movq	%r12, %rsi
	movl	%r15d, %edx
	callq	_PTR_BUCKET_NR
	movl	%eax, -132(%rbp)                ## 4-byte Spill
	movq	%r14, %rdi
	addq	$16, %rdi
	callq	_atomic_read
	movl	%eax, %r12d
	movq	(%r14), %r13
	movl	12(%r14), %eax
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	movl	8(%r14), %r15d
	movq	%r14, %rdi
	callq	_GC_MARK
	subq	$8, %rsp
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	leaq	-128(%rbp), %rdx
	movl	-132(%rbp), %ecx                ## 4-byte Reload
	movl	%r12d, %r8d
	movq	%r13, %r9
	pushq	%rax
	pushq	%r15
	pushq	-144(%rbp)                      ## 8-byte Folded Reload
	callq	_btree_bug
	addq	$32, %rsp
	movl	$1, %r13d
	jmp	LBB0_9
LBB0_7:
	movq	(%rbx), %rdi
	callq	_mutex_unlock
LBB0_9:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_11
## %bb.10:
	movl	%r13d, %eax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_GC_MARK_METADATA,8,3           ## @GC_MARK_METADATA
	.comm	_GC_MARK_DIRTY,8,3              ## @GC_MARK_DIRTY
	.comm	_BTREE_PRIO,8,3                 ## @BTREE_PRIO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"inconsistent extent pointer %s:\nbucket %zu pin %i prio %i gen %i last_gc %i mark %llu"

	.no_dead_strip	_bch_extent_bad_expensive
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bch_extent_bad_expensive
_bch_extent_bad_expensive:              ; @bch_extent_bad_expensive
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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, x2
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	ldr	x0, [x0]
	bl	_PTR_BUCKET
	mov	x20, x0
	ldr	x0, [x19]
	bl	_mutex_trylock
	cbz	x0, LBB0_9
; %bb.1:
	ldr	x8, [x19]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_6
; %bb.2:
	mov	x0, x20
	bl	_GC_MARK
	cbz	x0, LBB0_7
; %bb.3:
	mov	x0, x20
	bl	_GC_MARK
Lloh3:
	adrp	x8, _GC_MARK_METADATA@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GC_MARK_METADATA@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_7
; %bb.4:
	mov	x0, x20
	bl	_GC_MARK
Lloh6:
	adrp	x8, _GC_MARK_DIRTY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GC_MARK_DIRTY@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_6
; %bb.5:
	mov	x0, x22
	bl	_KEY_DIRTY
	cbnz	x0, LBB0_7
LBB0_6:
	ldr	x8, [x20]
Lloh9:
	adrp	x9, _BTREE_PRIO@GOTPAGE
Lloh10:
	ldr	x9, [x9, _BTREE_PRIO@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
LBB0_7:
	ldr	x0, [x19]
	bl	_mutex_unlock
	add	x0, sp, #8
	mov	w1, #80
	mov	x2, x22
	bl	_bch_extent_to_text
	ldr	x0, [x19]
	mov	x1, x22
	mov	x2, x21
	bl	_PTR_BUCKET_NR
	mov	x21, x0
	add	x0, x20, #16
	bl	_atomic_read
	mov	x22, x0
	ldr	x23, [x20]
	ldp	w25, w24, [x20, #8]
	mov	x0, x20
	bl	_GC_MARK
	str	x0, [sp]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #8
	mov	x0, x19
	mov	x3, x21
	mov	x4, x22
	mov	x5, x23
	mov	x6, x24
	mov	x7, x25
	bl	_btree_bug
	mov	w0, #1
	b	LBB0_9
LBB0_8:
	ldr	x0, [x19]
	bl	_mutex_unlock
	mov	w0, #0
LBB0_9:
	ldur	x8, [x29, #-72]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.10:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_GC_MARK_METADATA,8,3           ; @GC_MARK_METADATA
	.comm	_GC_MARK_DIRTY,8,3              ; @GC_MARK_DIRTY
	.comm	_BTREE_PRIO,8,3                 ; @BTREE_PRIO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"inconsistent extent pointer %s:\nbucket %zu pin %i prio %i gen %i last_gc %i mark %llu"

	.no_dead_strip	_bch_extent_bad_expensive
.subsections_via_symbols
