	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___pblk_map_invalidate          ## -- Begin function __pblk_map_invalidate
	.p2align	4, 0x90
___pblk_map_invalidate:                 ## @__pblk_map_invalidate
	.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
	movl	%edx, %r12d
	movq	%rsi, %rbx
	movq	%rdi, %r14
	leaq	12(%rsi), %r15
	movq	%r15, %rdi
	callq	_spin_lock
	movq	(%rbx), %rax
	movq	_PBLK_LINESTATE_FREE@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_WARN_ON
	movl	20(%rbx), %esi
	movl	%r12d, %edi
	callq	_test_and_set_bit
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_WARN_ONCE
	jmp	LBB0_3
LBB0_2:
	movl	16(%rbx), %edi
	movl	$-1, %esi
	callq	_le32_add_cpu
	movq	(%rbx), %rax
	movq	_PBLK_LINESTATE_CLOSED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.5:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_pblk_line_gc_list
	movq	%rax, %r12
	movq	%r15, %rdi
	callq	_spin_unlock
	testq	%r12, %r12
	je	LBB0_9
## %bb.6:
	movq	%r14, %rdi
	callq	_spin_lock
	movq	%r15, %rdi
	callq	_spin_lock
	movq	(%rbx), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_PBLK_LINESTATE_GC@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	%r15, %rdi
	callq	_spin_unlock
	cmpq	%r13, -48(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_8
## %bb.7:
	movq	%r14, %rdi
	jmp	LBB0_4
LBB0_3:
	movq	%r15, %rdi
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock                    ## TAILCALL
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	addq	$8, %rbx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_list_move_tail
	movq	%r14, %rdi
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_PBLK_LINESTATE_FREE,8,3        ## @PBLK_LINESTATE_FREE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pblk: double invalidate\n"

	.comm	_PBLK_LINESTATE_CLOSED,8,3      ## @PBLK_LINESTATE_CLOSED
	.comm	_PBLK_LINESTATE_GC,8,3          ## @PBLK_LINESTATE_GC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___pblk_map_invalidate          ; -- Begin function __pblk_map_invalidate
	.p2align	2
___pblk_map_invalidate:                 ; @__pblk_map_invalidate
	.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	x22, x2
	mov	x20, x1
	mov	x19, x0
	add	x21, x1, #12
	mov	x0, x21
	bl	_spin_lock
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _PBLK_LINESTATE_FREE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PBLK_LINESTATE_FREE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_WARN_ON
	ldr	w1, [x20, #20]
	mov	x0, x22
	bl	_test_and_set_bit
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_WARN_ONCE
	b	LBB0_6
LBB0_2:
	ldr	w0, [x20, #16]
	mov	w1, #-1
	bl	_le32_add_cpu
	ldr	x8, [x20]
Lloh5:
	adrp	x9, _PBLK_LINESTATE_CLOSED@GOTPAGE
Lloh6:
	ldr	x9, [x9, _PBLK_LINESTATE_CLOSED@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.3:
	mov	x0, x19
	mov	x1, x20
	bl	_pblk_line_gc_list
	mov	x22, x0
	mov	x0, x21
	bl	_spin_unlock
	cbz	x22, LBB0_8
; %bb.4:
	mov	x0, x19
	bl	_spin_lock
	mov	x0, x21
	bl	_spin_lock
	ldr	x23, [x20]
Lloh8:
	adrp	x8, _PBLK_LINESTATE_GC@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PBLK_LINESTATE_GC@GOTPAGEOFF]
Lloh10:
	ldr	x24, [x8]
	mov	x0, x21
	bl	_spin_unlock
	cmp	x23, x24
	b.ne	LBB0_9
; %bb.5:
	mov	x0, x19
	b	LBB0_7
LBB0_6:
	mov	x0, x21
LBB0_7:
	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
	b	_spin_unlock
LBB0_8:
	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_9:
	add	x0, x20, #8
	mov	x1, x22
	bl	_list_move_tail
	mov	x0, x19
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_PBLK_LINESTATE_FREE,8,3        ; @PBLK_LINESTATE_FREE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pblk: double invalidate\n"

	.comm	_PBLK_LINESTATE_CLOSED,8,3      ; @PBLK_LINESTATE_CLOSED
	.comm	_PBLK_LINESTATE_GC,8,3          ; @PBLK_LINESTATE_GC
.subsections_via_symbols
