	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __pblk_line_put
___pblk_line_put:                       ## @__pblk_line_put
	.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	%rsi, %rbx
	movq	%rdi, %r14
	leaq	12(%rsi), %r15
	movq	%r15, %rdi
	callq	_spin_lock
	movq	(%rbx), %rax
	movq	_PBLK_LINESTATE_GC@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_WARN_ON
	movq	16(%rbx), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_1
## %bb.4:
	movq	%r15, %rdi
	callq	_spin_unlock
	movl	28(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_pblk_err
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_pblk_put_line_back
	movq	16(%rbx), %rax
	movq	$0, 8(%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_PBLK_LINESTATE_FREE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	movq	%r14, %rdi
	callq	_pblk_disk_name
	movl	28(%rbx), %esi
	movq	(%rbx), %rdx
	movl	%eax, %edi
	callq	_trace_pblk_line_state
	movq	_PBLK_LINEGC_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	%rbx, %rdi
	callq	_pblk_line_free
	movq	16(%rbx), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.2:
	movq	%r14, %rdi
	callq	_pblk_rl_werr_line_out
	movq	16(%rbx), %rax
	movq	$0, (%rax)
LBB0_3:
	movq	%r15, %rdi
	callq	_spin_unlock
	leaq	4(%r14), %rdi
	callq	_atomic_dec
	leaq	8(%r14), %r15
	movq	%r15, %rdi
	callq	_spin_lock
	leaq	8(%rbx), %rdi
	leaq	16(%r14), %rsi
	callq	_list_add_tail
	incl	12(%r14)
	movq	%r15, %rdi
	callq	_spin_unlock
	movq	%r14, %rdi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pblk_rl_free_lines_inc         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PBLK_LINESTATE_GC,8,3          ## @PBLK_LINESTATE_GC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"line %d had errors during GC\n"

	.comm	_PBLK_LINESTATE_FREE,8,3        ## @PBLK_LINESTATE_FREE
	.comm	_PBLK_LINEGC_NONE,4,2           ## @PBLK_LINEGC_NONE
	.no_dead_strip	___pblk_line_put
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __pblk_line_put
___pblk_line_put:                       ; @__pblk_line_put
	.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, x1
	mov	x20, x0
	add	x21, x1, #12
	mov	x0, x21
	bl	_spin_lock
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _PBLK_LINESTATE_GC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PBLK_LINESTATE_GC@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	bl	_WARN_ON
	ldr	x8, [x19, #16]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x21
	bl	_spin_unlock
	ldr	w2, [x19, #28]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_pblk_err
	mov	x0, x20
	mov	x1, x19
	bl	_pblk_put_line_back
	ldr	x8, [x19, #16]
	str	xzr, [x8, #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
	ret
LBB0_2:
Lloh5:
	adrp	x8, _PBLK_LINESTATE_FREE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PBLK_LINESTATE_FREE@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	str	x8, [x19]
	mov	x0, x20
	bl	_pblk_disk_name
	ldr	w1, [x19, #28]
	ldr	x2, [x19]
	bl	_trace_pblk_line_state
Lloh8:
	adrp	x8, _PBLK_LINEGC_NONE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PBLK_LINEGC_NONE@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	str	w8, [x19, #24]
	mov	x0, x19
	bl	_pblk_line_free
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.3:
	mov	x0, x20
	bl	_pblk_rl_werr_line_out
	ldr	x8, [x19, #16]
	str	xzr, [x8]
LBB0_4:
	mov	x0, x21
	bl	_spin_unlock
	add	x0, x20, #4
	bl	_atomic_dec
	add	x21, x20, #8
	mov	x0, x21
	bl	_spin_lock
	add	x0, x19, #8
	add	x1, x20, #16
	bl	_list_add_tail
	ldr	w8, [x20, #12]
	add	w8, w8, #1
	str	w8, [x20, #12]
	mov	x0, x21
	bl	_spin_unlock
	mov	x0, x20
	mov	x1, x19
	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	_pblk_rl_free_lines_inc
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_PBLK_LINESTATE_GC,8,3          ; @PBLK_LINESTATE_GC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"line %d had errors during GC\n"

	.comm	_PBLK_LINESTATE_FREE,8,3        ; @PBLK_LINESTATE_FREE
	.comm	_PBLK_LINEGC_NONE,4,2           ; @PBLK_LINEGC_NONE
	.no_dead_strip	___pblk_line_put
.subsections_via_symbols
