	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function erased_chunk_check_and_fixup
_erased_chunk_check_and_fixup:          ## @erased_chunk_check_and_fixup
	.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
	movl	%esi, %edx
	movq	%rdi, %rbx
	movl	12(%rdi), %r14d
	movl	700(%rdi), %r15d
	cmpl	$84, %r14d
	jne	LBB0_2
## %bb.1:
	cmpl	$255, %r15d
	je	LBB0_4
LBB0_2:
	cmpl	$255, %r14d
	jne	LBB0_5
## %bb.3:
	cmpl	$84, %r15d
	jne	LBB0_5
LBB0_4:
	movl	$255, 12(%rbx)
	movl	$255, 700(%rbx)
LBB0_5:
	movq	%rbx, %rdi
	movl	$255, %esi
	callq	_memchr_inv
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movl	%r14d, 12(%rbx)
	movl	%r15d, 700(%rbx)
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_6:
	movl	$1, %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_erased_chunk_check_and_fixup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function erased_chunk_check_and_fixup
_erased_chunk_check_and_fixup:          ; @erased_chunk_check_and_fixup
	.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	x2, x1
	mov	x19, x0
	ldr	w20, [x0, #12]
	ldr	w21, [x0, #700]
	cmp	w20, #84
	b.ne	LBB0_2
; %bb.1:
	cmp	w21, #255
	b.eq	LBB0_4
LBB0_2:
	cmp	w20, #255
	b.ne	LBB0_5
; %bb.3:
	cmp	w21, #84
	b.ne	LBB0_5
LBB0_4:
	mov	w8, #255
	str	w8, [x19, #12]
	str	w8, [x19, #700]
LBB0_5:
	mov	x0, x19
	mov	w1, #255
	bl	_memchr_inv
	cbz	x0, LBB0_7
; %bb.6:
	mov	w0, #0
	str	w20, [x19, #12]
	str	w21, [x19, #700]
	b	LBB0_8
LBB0_7:
	mov	w0, #1
LBB0_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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_erased_chunk_check_and_fixup
.subsections_via_symbols
