	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_check_data                     ## -- Begin function check_data
	.p2align	4, 0x90
_check_data:                            ## @check_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rsi), %rbx
	movq	%rbx, %rdi
	callq	_data_unload
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_todel_n@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	_MAX_ALBUMS@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setl	%dil
	callq	_assert
	movq	%rbx, %rdi
	callq	_data_free
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_dl_free
	movl	(%r14), %eax
	movq	_todel@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%r15), %rdx
	leaq	1(%rdx), %rsi
	movq	%rsi, (%r15)
	movl	%eax, (%rcx,%rdx,4)
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_todel_n,8,3                    ## @todel_n
	.comm	_MAX_ALBUMS,8,3                 ## @MAX_ALBUMS
	.comm	_todel,8,3                      ## @todel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_check_data                     ; -- Begin function check_data
	.p2align	2
_check_data:                            ; @check_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
	ldr	x20, [x1]
	mov	x0, x20
	bl	_data_unload
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x21, _todel_n@GOTPAGE
Lloh1:
	ldr	x21, [x21, _todel_n@GOTPAGEOFF]
	ldr	x8, [x21]
Lloh2:
	adrp	x9, _MAX_ALBUMS@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MAX_ALBUMS@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, lt
	bl	_assert
	mov	x0, x20
	bl	_data_free
	mov	x0, x20
	mov	w1, #4
	bl	_dl_free
	ldr	w8, [x19]
Lloh5:
	adrp	x9, _todel@GOTPAGE
Lloh6:
	ldr	x9, [x9, _todel@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	ldr	x10, [x21]
	add	x11, x10, #1
	str	x11, [x21]
	str	w8, [x9, x10, lsl #2]
LBB0_2:
	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 AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_todel_n,8,3                    ; @todel_n
	.comm	_MAX_ALBUMS,8,3                 ; @MAX_ALBUMS
	.comm	_todel,8,3                      ; @todel
.subsections_via_symbols
