	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pblk_line_setup_metadata
_pblk_line_setup_metadata:              ## @pblk_line_setup_metadata
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r12
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	leaq	20(%rsi), %rbx
	movq	%rbx, %rdi
	callq	_lockdep_assert_held
	leaq	16(%r12), %r13
	movq	_PBLK_DATA_LINES@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r13, %rdi
	callq	_find_first_zero_bit
	movl	%eax, %r14d
	cmpl	(%r15), %eax
	jne	LBB0_3
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_spin_unlock
	xorl	%eax, %eax
	callq	_io_schedule
	movq	%rbx, %rdi
	callq	_spin_lock
	movl	(%r15), %esi
	movq	%r13, %rdi
	callq	_find_first_zero_bit
	cmpl	(%r15), %eax
	je	LBB0_1
## %bb.2:
	movl	%eax, %r14d
LBB0_3:
	movl	%r14d, %edi
	movq	%r13, %rsi
	callq	_set_bit
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	%r14d, (%rbx)
	movq	8(%r12), %rax
	movslq	%r14d, %rcx
	movl	(%rax,%rcx,4), %edi
	movl	%edi, 16(%rbx)
	movq	(%r12), %rax
	movq	(%rax,%rcx,8), %rax
	movq	%rax, 8(%rbx)
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movl	8(%r14), %edx
	xorl	%esi, %esi
	callq	_memset
	movq	8(%rbx), %rax
	movl	16(%rax), %edi
	movq	(%r14), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_memset
	movq	8(%rbx), %rdi
	movq	$0, 8(%rdi)
	xorl	%esi, %esi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_atomic_set                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PBLK_DATA_LINES,4,2            ## @PBLK_DATA_LINES
	.no_dead_strip	_pblk_line_setup_metadata
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pblk_line_setup_metadata
_pblk_line_setup_metadata:              ; @pblk_line_setup_metadata
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
	add	x23, x1, #20
	mov	x0, x23
	bl	_lockdep_assert_held
	add	x22, x21, #16
Lloh0:
	adrp	x25, _PBLK_DATA_LINES@GOTPAGE
Lloh1:
	ldr	x25, [x25, _PBLK_DATA_LINES@GOTPAGEOFF]
	ldr	w1, [x25]
	mov	x0, x22
	bl	_find_first_zero_bit
	mov	x24, x0
	ldr	w8, [x25]
	cmp	w0, w8
	b.ne	LBB0_3
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	bl	_spin_unlock
	bl	_io_schedule
	mov	x0, x23
	bl	_spin_lock
	ldr	w1, [x25]
	mov	x0, x22
	bl	_find_first_zero_bit
	ldr	w8, [x25]
	cmp	w0, w8
	b.eq	LBB0_1
; %bb.2:
	mov	x24, x0
LBB0_3:
	mov	x0, x24
	mov	x1, x22
	bl	_set_bit
	str	w24, [x19]
	ldp	x9, x8, [x21]
	ldr	w0, [x8, w24, sxtw #2]
	str	w0, [x19, #16]
	ldr	x8, [x9, w24, sxtw #3]
	str	x8, [x19, #8]
	ldr	w2, [x20, #8]
	mov	w1, #0
	bl	_memset
	ldr	x8, [x19, #8]
	ldr	w0, [x8, #16]
	ldr	x8, [x20]
	ldr	w2, [x8]
	mov	w1, #0
	bl	_memset
	ldr	x0, [x19, #8]
	str	xzr, [x0, #8]
	mov	w1, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_atomic_set
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PBLK_DATA_LINES,4,2            ; @PBLK_DATA_LINES
	.no_dead_strip	_pblk_line_setup_metadata
.subsections_via_symbols
