	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ppl_init_child_log
_ppl_init_child_log:                    ## @ppl_init_child_log
	.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, %r14
	movq	%rdi, %rbx
	movl	4(%rsi), %ecx
	shll	$9, %ecx
	movq	_PPL_SPACE_SIZE@GOTPCREL(%rip), %r15
	movq	_PPL_HEADER_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	addl	(%r15), %edx
	addl	%edx, %edx
	cmpl	%edx, %ecx
	jge	LBB0_1
## %bb.2:
	movl	$0, (%rbx)
	movq	16(%rbx), %rcx
	movl	(%rcx), %ecx
	shll	$9, %ecx
	subl	(%rax), %ecx
	jmp	LBB0_3
LBB0_1:
	movl	$1, (%rbx)
	movq	_MD_HAS_MULTIPLE_PPLS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	24(%rbx), %rax
	movq	(%rax), %rsi
	callq	_set_bit
	movl	(%r15), %ecx
LBB0_3:
	movl	%ecx, 4(%rbx)
	movl	8(%r14), %eax
	movl	%eax, 12(%rbx)
	movl	(%r14), %edi
	callq	_bdev_get_queue
	movq	_QUEUE_FLAG_WC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	%rax, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movl	$1, 8(%rbx)
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PPL_SPACE_SIZE,4,2             ## @PPL_SPACE_SIZE
	.comm	_PPL_HEADER_SIZE,4,2            ## @PPL_HEADER_SIZE
	.comm	_MD_HAS_MULTIPLE_PPLS,4,2       ## @MD_HAS_MULTIPLE_PPLS
	.comm	_QUEUE_FLAG_WC,4,2              ## @QUEUE_FLAG_WC
	.no_dead_strip	_ppl_init_child_log
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ppl_init_child_log
_ppl_init_child_log:                    ; @ppl_init_child_log
	.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	x20, x1
	mov	x19, x0
	ldr	w8, [x1, #4]
	lsl	w9, w8, #9
Lloh0:
	adrp	x21, _PPL_SPACE_SIZE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _PPL_SPACE_SIZE@GOTPAGEOFF]
	ldr	w10, [x21]
Lloh2:
	adrp	x8, _PPL_HEADER_SIZE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PPL_HEADER_SIZE@GOTPAGEOFF]
	ldr	w11, [x8]
	add	w10, w11, w10
	cmp	w9, w10, lsl #1
	b.ge	LBB0_2
; %bb.1:
	str	wzr, [x19]
	ldr	x9, [x19, #16]
	ldr	w9, [x9]
	lsl	w9, w9, #9
	ldr	w8, [x8]
	sub	w8, w9, w8
	b	LBB0_3
LBB0_2:
	mov	w8, #1
	str	w8, [x19]
Lloh4:
	adrp	x8, _MD_HAS_MULTIPLE_PPLS@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MD_HAS_MULTIPLE_PPLS@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	ldr	x8, [x19, #24]
	ldr	x1, [x8]
	bl	_set_bit
	ldr	w8, [x21]
LBB0_3:
	str	w8, [x19, #4]
	ldr	w8, [x20, #8]
	str	w8, [x19, #12]
	ldr	w0, [x20]
	bl	_bdev_get_queue
	mov	x1, x0
Lloh7:
	adrp	x8, _QUEUE_FLAG_WC@GOTPAGE
Lloh8:
	ldr	x8, [x8, _QUEUE_FLAG_WC@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	bl	_test_bit
	cbz	x0, LBB0_5
; %bb.4:
	mov	w8, #1
	str	w8, [x19, #8]
LBB0_5:
	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	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_PPL_SPACE_SIZE,4,2             ; @PPL_SPACE_SIZE
	.comm	_PPL_HEADER_SIZE,4,2            ; @PPL_HEADER_SIZE
	.comm	_MD_HAS_MULTIPLE_PPLS,4,2       ; @MD_HAS_MULTIPLE_PPLS
	.comm	_QUEUE_FLAG_WC,4,2              ; @QUEUE_FLAG_WC
	.no_dead_strip	_ppl_init_child_log
.subsections_via_symbols
