	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pblk_line_get_first_data       ## -- Begin function pblk_line_get_first_data
	.p2align	4, 0x90
_pblk_line_get_first_data:              ## @pblk_line_get_first_data
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	leaq	8(%rdi), %r15
	movq	%r15, %rdi
	callq	_spin_lock
	movq	%r14, %rdi
	callq	_pblk_line_get
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %rbx
	movslq	24(%r14), %rax
	leal	1(%rax), %ecx
	movl	%ecx, 24(%r14)
	movq	%rax, 8(%rbx)
	movq	_PBLK_LINETYPE_DATA@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movq	%rax, (%rbx)
	movq	%rbx, 32(%r14)
	leaq	4(%r14), %rdx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_pblk_line_setup_metadata
	movq	%r14, %rdi
	callq	_pblk_line_get
	movq	%rax, 16(%r14)
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movslq	24(%r14), %rcx
	leal	1(%rcx), %edx
	movl	%edx, 24(%r14)
	movq	%rcx, 8(%rax)
	movq	(%r12), %rcx
	movq	%rcx, (%rax)
	jmp	LBB0_5
LBB0_3:
	movq	%r15, %rdi
	callq	_spin_unlock
	jmp	LBB0_6
LBB0_4:
	movq	%r14, %rdi
	callq	_pblk_set_space_limit
	movq	$0, 16(%r14)
LBB0_5:
	movq	%r15, %rdi
	callq	_spin_unlock
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_pblk_line_alloc_bitmaps
	testq	%rax, %rax
	je	LBB0_8
LBB0_6:
	xorl	%ebx, %ebx
LBB0_7:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_pblk_line_erase
	testq	%rax, %rax
	je	LBB0_12
## %bb.9:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_pblk_line_retry
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_12
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	%rbx, %rsi
	callq	_pblk_line_retry
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_6
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_pblk_line_init_metadata
	movq	%r14, %rdi
	testl	%eax, %eax
	je	LBB0_11
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%rbx, %rsi
	movl	$1, %edx
	callq	_pblk_line_init_bb
	testl	%eax, %eax
	jne	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_pblk_line_retry
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_12
	jmp	LBB0_6
LBB0_16:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	callq	_pblk_rl_free_lines_dec
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_PBLK_LINETYPE_DATA,8,3         ## @PBLK_LINETYPE_DATA
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pblk_line_get_first_data       ; -- Begin function pblk_line_get_first_data
	.p2align	2
_pblk_line_get_first_data:              ; @pblk_line_get_first_data
	.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
	add	x21, x0, #8
	mov	x0, x21
	bl	_spin_lock
	mov	x0, x19
	bl	_pblk_line_get
	mov	x20, x0
	cbz	x0, LBB0_3
; %bb.1:
	ldrsw	x8, [x19, #24]
	add	w9, w8, #1
Lloh0:
	adrp	x22, _PBLK_LINETYPE_DATA@GOTPAGE
Lloh1:
	ldr	x22, [x22, _PBLK_LINETYPE_DATA@GOTPAGEOFF]
	str	w9, [x19, #24]
	ldr	x9, [x22]
	stp	x9, x8, [x20]
	str	x20, [x19, #32]
	add	x2, x19, #4
	mov	x0, x20
	mov	x1, x21
	bl	_pblk_line_setup_metadata
	mov	x0, x19
	bl	_pblk_line_get
	str	x0, [x19, #16]
	cbz	x0, LBB0_4
; %bb.2:
	ldrsw	x8, [x19, #24]
	add	w9, w8, #1
	str	w9, [x19, #24]
	ldr	x9, [x22]
	stp	x9, x8, [x0]
	b	LBB0_5
LBB0_3:
	mov	x0, x21
	bl	_spin_unlock
	b	LBB0_12
LBB0_4:
	mov	x0, x19
	bl	_pblk_set_space_limit
	str	xzr, [x19, #16]
LBB0_5:
	mov	x0, x21
	bl	_spin_unlock
	mov	x0, x19
	mov	x1, x20
	bl	_pblk_line_alloc_bitmaps
	cbz	x0, LBB0_7
; %bb.6:
	mov	x20, #0
	b	LBB0_12
LBB0_7:
	mov	x0, x19
	mov	x1, x20
	bl	_pblk_line_erase
	cbz	x0, LBB0_9
LBB0_8:
	mov	x0, x19
	mov	x1, x20
	bl	_pblk_line_retry
	mov	x20, x0
	cbz	x0, LBB0_12
LBB0_9:
	mov	x0, x19
	mov	x1, x20
	mov	x2, #0
	bl	_pblk_line_init_metadata
	cbz	w0, LBB0_8
; %bb.10:
	mov	x0, x19
	mov	x1, x20
	mov	w2, #1
	bl	_pblk_line_init_bb
	cbz	w0, LBB0_8
; %bb.11:
	mov	x0, x19
	mov	x1, x20
	mov	w2, #1
	bl	_pblk_rl_free_lines_dec
LBB0_12:
	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 AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PBLK_LINETYPE_DATA,8,3         ; @PBLK_LINETYPE_DATA
.subsections_via_symbols
