	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pblk_gc_init                   ## -- Begin function pblk_gc_init
	.p2align	4, 0x90
_pblk_gc_init:                          ## @pblk_gc_init
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_pblk_gc_ts@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rsi
	callq	_kthread_create
	movq	%rax, 8(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_1
## %bb.13:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_pblk_err
	movq	8(%rbx), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	movq	_pblk_gc_writer_ts@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rdx
	movq	%rbx, %rsi
	callq	_kthread_create
	movq	%rax, 16(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_pblk_err
	movq	16(%rbx), %rdi
	callq	_PTR_ERR
	movl	%eax, %r14d
	jmp	LBB0_11
LBB0_3:
	movq	_pblk_gc_reader_ts@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rdx
	movq	%rbx, %rsi
	callq	_kthread_create
	movq	%rax, 24(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	callq	_pblk_err
	movq	24(%rbx), %rdi
	callq	_PTR_ERR
	movl	%eax, %r14d
	jmp	LBB0_10
LBB0_5:
	leaq	104(%rbx), %r14
	movq	_pblk_gc_timer@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_timer_setup
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	_GC_TIME_MSECS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msecs_to_jiffies
	addq	%rax, %r15
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_mod_timer
	xorps	%xmm0, %xmm0
	movups	%xmm0, 88(%rbx)
	movl	$1, (%rbx)
	movq	$0, 80(%rbx)
	leaq	76(%rbx), %rdi
	xorl	%esi, %esi
	callq	_atomic_set
	leaq	72(%rbx), %rdi
	xorl	%esi, %esi
	callq	_atomic_set
	movq	_WQ_MEM_RECLAIM@GOTPCREL(%rip), %r14
	movq	_WQ_UNBOUND@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	orl	(%r14), %esi
	movq	_PBLK_GC_MAX_READERS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.6(%rip), %rdi
	callq	_alloc_workqueue
	movq	%rax, 32(%rbx)
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movl	(%r15), %esi
	orl	(%r14), %esi
	leaq	L_.str.8(%rip), %rdi
	movl	$1, %edx
	callq	_alloc_workqueue
	movq	%rax, 64(%rbx)
	testq	%rax, %rax
	je	LBB0_8
## %bb.14:
	leaq	60(%rbx), %rdi
	callq	_spin_lock_init
	leaq	56(%rbx), %rdi
	callq	_spin_lock_init
	leaq	52(%rbx), %rdi
	callq	_spin_lock_init
	leaq	48(%rbx), %rdi
	movq	_PBLK_GC_RQ_QD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_sema_init
	leaq	44(%rbx), %rdi
	callq	_INIT_LIST_HEAD
	addq	$40, %rbx
	movq	%rbx, %rdi
	callq	_INIT_LIST_HEAD
	xorl	%r14d, %r14d
	jmp	LBB0_12
LBB0_6:
	leaq	L_.str.7(%rip), %rsi
	movq	%rbx, %rdi
	callq	_pblk_err
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_9
LBB0_8:
	leaq	L_.str.9(%rip), %rsi
	movq	%rbx, %rdi
	callq	_pblk_err
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	32(%rbx), %rdi
	callq	_destroy_workqueue
LBB0_9:
	negl	%r14d
	movq	24(%rbx), %rdi
	callq	_kthread_stop
LBB0_10:
	movq	16(%rbx), %rdi
	callq	_kthread_stop
LBB0_11:
	movq	8(%rbx), %rdi
	callq	_kthread_stop
LBB0_12:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pblk_gc_ts,4,2                 ## @pblk_gc_ts
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pblk-gc-ts"

L_.str.1:                               ## @.str.1
	.asciz	"could not allocate GC main kthread\n"

	.comm	_pblk_gc_writer_ts,4,2          ## @pblk_gc_writer_ts
L_.str.2:                               ## @.str.2
	.asciz	"pblk-gc-writer-ts"

L_.str.3:                               ## @.str.3
	.asciz	"could not allocate GC writer kthread\n"

	.comm	_pblk_gc_reader_ts,4,2          ## @pblk_gc_reader_ts
L_.str.4:                               ## @.str.4
	.asciz	"pblk-gc-reader-ts"

L_.str.5:                               ## @.str.5
	.asciz	"could not allocate GC reader kthread\n"

	.comm	_pblk_gc_timer,4,2              ## @pblk_gc_timer
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_GC_TIME_MSECS,4,2              ## @GC_TIME_MSECS
L_.str.6:                               ## @.str.6
	.asciz	"pblk-gc-line-reader-wq"

	.comm	_WQ_MEM_RECLAIM,4,2             ## @WQ_MEM_RECLAIM
	.comm	_WQ_UNBOUND,4,2                 ## @WQ_UNBOUND
	.comm	_PBLK_GC_MAX_READERS,4,2        ## @PBLK_GC_MAX_READERS
L_.str.7:                               ## @.str.7
	.asciz	"could not allocate GC line reader workqueue\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.8:                               ## @.str.8
	.asciz	"pblk-gc-line_wq"

L_.str.9:                               ## @.str.9
	.asciz	"could not allocate GC reader workqueue\n"

	.comm	_PBLK_GC_RQ_QD,4,2              ## @PBLK_GC_RQ_QD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pblk_gc_init                   ; -- Begin function pblk_gc_init
	.p2align	2
_pblk_gc_init:                          ; @pblk_gc_init
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _pblk_gc_ts@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pblk_gc_ts@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x1, x19
	bl	_kthread_create
	str	x0, [x19, #8]
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_pblk_err
	ldr	x0, [x19, #8]
	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
	b	_PTR_ERR
LBB0_2:
Lloh7:
	adrp	x8, _pblk_gc_writer_ts@GOTPAGE
Lloh8:
	ldr	x8, [x8, _pblk_gc_writer_ts@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
Lloh10:
	adrp	x2, l_.str.2@PAGE
Lloh11:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x1, x19
	bl	_kthread_create
	str	x0, [x19, #16]
	bl	_IS_ERR
	cbz	x0, LBB0_4
; %bb.3:
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_pblk_err
	ldr	x0, [x19, #16]
	bl	_PTR_ERR
	mov	x20, x0
	b	LBB0_13
LBB0_4:
Lloh14:
	adrp	x8, _pblk_gc_reader_ts@GOTPAGE
Lloh15:
	ldr	x8, [x8, _pblk_gc_reader_ts@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x2, l_.str.4@PAGE
Lloh18:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x1, x19
	bl	_kthread_create
	str	x0, [x19, #24]
	bl	_IS_ERR
	cbz	x0, LBB0_6
; %bb.5:
Lloh19:
	adrp	x1, l_.str.5@PAGE
Lloh20:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_pblk_err
	ldr	x0, [x19, #24]
	bl	_PTR_ERR
	mov	x20, x0
	b	LBB0_12
LBB0_6:
	add	x20, x19, #104
Lloh21:
	adrp	x8, _pblk_gc_timer@GOTPAGE
Lloh22:
	ldr	x8, [x8, _pblk_gc_timer@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_timer_setup
Lloh24:
	adrp	x8, _jiffies@GOTPAGE
Lloh25:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh26:
	ldr	x21, [x8]
Lloh27:
	adrp	x8, _GC_TIME_MSECS@GOTPAGE
Lloh28:
	ldr	x8, [x8, _GC_TIME_MSECS@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	bl	_msecs_to_jiffies
	add	x1, x0, x21
	mov	x0, x20
	bl	_mod_timer
	stp	xzr, xzr, [x19, #88]
	mov	w8, #1
	str	w8, [x19]
	str	xzr, [x19, #80]
	add	x0, x19, #76
	mov	w1, #0
	bl	_atomic_set
	add	x0, x19, #72
	mov	w1, #0
	bl	_atomic_set
Lloh30:
	adrp	x20, _WQ_MEM_RECLAIM@GOTPAGE
Lloh31:
	ldr	x20, [x20, _WQ_MEM_RECLAIM@GOTPAGEOFF]
Lloh32:
	adrp	x21, _WQ_UNBOUND@GOTPAGE
Lloh33:
	ldr	x21, [x21, _WQ_UNBOUND@GOTPAGEOFF]
	ldr	w8, [x20]
	ldr	w9, [x21]
	orr	w1, w9, w8
Lloh34:
	adrp	x8, _PBLK_GC_MAX_READERS@GOTPAGE
Lloh35:
	ldr	x8, [x8, _PBLK_GC_MAX_READERS@GOTPAGEOFF]
Lloh36:
	ldr	w2, [x8]
Lloh37:
	adrp	x0, l_.str.6@PAGE
Lloh38:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_alloc_workqueue
	str	x0, [x19, #32]
	cbz	x0, LBB0_9
; %bb.7:
	ldr	w8, [x20]
	ldr	w9, [x21]
	orr	w1, w9, w8
Lloh39:
	adrp	x0, l_.str.8@PAGE
Lloh40:
	add	x0, x0, l_.str.8@PAGEOFF
	mov	w2, #1
	bl	_alloc_workqueue
	str	x0, [x19, #64]
	cbz	x0, LBB0_10
; %bb.8:
	add	x0, x19, #60
	bl	_spin_lock_init
	add	x0, x19, #56
	bl	_spin_lock_init
	add	x0, x19, #52
	bl	_spin_lock_init
	add	x0, x19, #48
Lloh41:
	adrp	x8, _PBLK_GC_RQ_QD@GOTPAGE
Lloh42:
	ldr	x8, [x8, _PBLK_GC_RQ_QD@GOTPAGEOFF]
Lloh43:
	ldr	w1, [x8]
	bl	_sema_init
	add	x0, x19, #44
	bl	_INIT_LIST_HEAD
	add	x0, x19, #40
	bl	_INIT_LIST_HEAD
	mov	w20, #0
	b	LBB0_14
LBB0_9:
Lloh44:
	adrp	x1, l_.str.7@PAGE
Lloh45:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x19
	bl	_pblk_err
Lloh46:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh47:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh48:
	ldr	w20, [x8]
	b	LBB0_11
LBB0_10:
Lloh49:
	adrp	x1, l_.str.9@PAGE
Lloh50:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x19
	bl	_pblk_err
Lloh51:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh52:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh53:
	ldr	w20, [x8]
	ldr	x0, [x19, #32]
	bl	_destroy_workqueue
LBB0_11:
	neg	w20, w20
	ldr	x0, [x19, #24]
	bl	_kthread_stop
LBB0_12:
	ldr	x0, [x19, #16]
	bl	_kthread_stop
LBB0_13:
	ldr	x0, [x19, #8]
	bl	_kthread_stop
LBB0_14:
	mov	x0, x20
	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
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpAdd	Lloh49, Lloh50
	.cfi_endproc
                                        ; -- End function
	.comm	_pblk_gc_ts,4,2                 ; @pblk_gc_ts
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pblk-gc-ts"

l_.str.1:                               ; @.str.1
	.asciz	"could not allocate GC main kthread\n"

	.comm	_pblk_gc_writer_ts,4,2          ; @pblk_gc_writer_ts
l_.str.2:                               ; @.str.2
	.asciz	"pblk-gc-writer-ts"

l_.str.3:                               ; @.str.3
	.asciz	"could not allocate GC writer kthread\n"

	.comm	_pblk_gc_reader_ts,4,2          ; @pblk_gc_reader_ts
l_.str.4:                               ; @.str.4
	.asciz	"pblk-gc-reader-ts"

l_.str.5:                               ; @.str.5
	.asciz	"could not allocate GC reader kthread\n"

	.comm	_pblk_gc_timer,4,2              ; @pblk_gc_timer
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_GC_TIME_MSECS,4,2              ; @GC_TIME_MSECS
l_.str.6:                               ; @.str.6
	.asciz	"pblk-gc-line-reader-wq"

	.comm	_WQ_MEM_RECLAIM,4,2             ; @WQ_MEM_RECLAIM
	.comm	_WQ_UNBOUND,4,2                 ; @WQ_UNBOUND
	.comm	_PBLK_GC_MAX_READERS,4,2        ; @PBLK_GC_MAX_READERS
l_.str.7:                               ; @.str.7
	.asciz	"could not allocate GC line reader workqueue\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.8:                               ; @.str.8
	.asciz	"pblk-gc-line_wq"

l_.str.9:                               ; @.str.9
	.asciz	"could not allocate GC reader workqueue\n"

	.comm	_PBLK_GC_RQ_QD,4,2              ; @PBLK_GC_RQ_QD
.subsections_via_symbols
