	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_remove_file_from_list          ## -- Begin function remove_file_from_list
	.p2align	4, 0x90
_remove_file_from_list:                 ## @remove_file_from_list
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -40(%rbp)
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	%rsi, %r15
	movq	%rdi, %r14
	movl	8(%rdi), %edi
	callq	_assert
	movl	8(%r14), %esi
	movq	%r15, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movq	%r14, %rbx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %r12
	movq	(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	8(%rbx), %edi
	callq	_assert
	movl	8(%rbx), %esi
	movq	%r15, %rdi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_5
## %bb.7:
	movq	%rbx, %r14
	jmp	LBB0_8
LBB0_1:
	xorl	%r14d, %r14d
	jmp	LBB0_9
LBB0_3:
	leaq	-40(%rbp), %r12
LBB0_8:
	movq	(%r14), %rax
	movq	%rax, (%r12)
	movq	%r14, %rdi
	callq	_free_file
	movq	-40(%rbp), %r14
LBB0_9:
	movq	%r14, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_remove_file_from_list          ; -- Begin function remove_file_from_list
	.p2align	2
_remove_file_from_list:                 ; @remove_file_from_list
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	str	x0, [sp, #8]
	cbz	x0, LBB0_8
; %bb.1:
	mov	x20, x1
	ldr	w0, [x19, #8]
	bl	_assert
	ldr	w1, [x19, #8]
	mov	x0, x20
	bl	_strcmp
	cbz	w0, LBB0_6
; %bb.2:
	mov	x22, x19
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x21, x22
	ldr	x22, [x22]
	cbz	x22, LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x22, #8]
	bl	_assert
	ldr	w1, [x22, #8]
	mov	x0, x20
	bl	_strcmp
	cbnz	w0, LBB0_3
; %bb.5:
	mov	x19, x22
	b	LBB0_7
LBB0_6:
	add	x21, sp, #8
LBB0_7:
	ldr	x8, [x19]
	str	x8, [x21]
	mov	x0, x19
	bl	_free_file
	ldr	x19, [sp, #8]
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
