	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function remove_all_by_filename
_remove_all_by_filename:                ## @remove_all_by_filename
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	l___const.remove_all_by_filename.buffer+8(%rip), %eax
	movl	%eax, -56(%rbp)
	movq	l___const.remove_all_by_filename.buffer(%rip), %rax
	movq	%rax, -64(%rbp)
	movq	24(%rdi), %rsi
	leaq	L_.str(%rip), %r13
	movq	%r13, (%rsi)
	movq	%r13, 8(%rsi)
	leaq	8(%rdi), %r14
	movq	(%rdi), %rdx
	movq	%r14, %rdi
	movl	$4096, %ecx                     ## imm = 0x1000
	movl	$1, %r8d
	callq	_pt_image_add
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_ptu_int_eq
	movq	(%rbx), %rdx
	movq	24(%rbx), %rsi
	addq	$8, %rsi
	movq	%r14, %rdi
	movl	$8192, %ecx                     ## imm = 0x2000
	movl	$2, %r8d
	callq	_pt_image_add
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_ptu_int_eq
	movl	$-1, -68(%rbp)
	movq	(%rbx), %r8
	leaq	-68(%rbp), %r15
	leaq	-64(%rbp), %r12
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movl	$2, %ecx
	movl	$4097, %r9d                     ## imm = 0x1001
	callq	_pt_image_read
	movl	%eax, %edi
	movl	$2, %esi
	callq	_ptu_int_eq
	movl	-68(%rbp), %edi
	movl	$1, %esi
	callq	_ptu_int_eq
	movl	-64(%rbp), %edi
	movl	$1, %esi
	callq	_ptu_uint_eq
	movl	-60(%rbp), %edi
	movl	$2, %esi
	callq	_ptu_uint_eq
	movl	-56(%rbp), %edi
	movl	$204, %esi
	callq	_ptu_uint_eq
	movq	(%rbx), %rdx
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_pt_image_remove_by_filename
	movl	%eax, %edi
	movl	$2, %esi
	callq	_ptu_int_eq
	movq	16(%rbx), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_ptu_int_ne
	movq	16(%rbx), %rax
	movl	4(%rax), %edi
	xorl	%esi, %esi
	callq	_ptu_int_ne
	movl	$-1, -68(%rbp)
	movq	(%rbx), %r8
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movl	$12, %ecx
	movl	$4099, %r9d                     ## imm = 0x1003
	callq	_pt_image_read
	movq	_pte_nomap@GOTPCREL(%rip), %r13
	xorl	%esi, %esi
	subl	(%r13), %esi
	movl	%eax, %edi
	callq	_ptu_int_eq
	movl	-68(%rbp), %edi
	movl	$-1, %esi
	callq	_ptu_int_eq
	movl	-64(%rbp), %edi
	movl	$1, %esi
	callq	_ptu_uint_eq
	movl	-60(%rbp), %edi
	movl	$2, %esi
	callq	_ptu_uint_eq
	movl	-56(%rbp), %edi
	movl	$204, %esi
	callq	_ptu_uint_eq
	movl	$-1, -68(%rbp)
	movq	(%rbx), %r8
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movl	$12, %ecx
	movl	$8195, %r9d                     ## imm = 0x2003
	callq	_pt_image_read
	xorl	%esi, %esi
	subl	(%r13), %esi
	movl	%eax, %edi
	callq	_ptu_int_eq
	movl	-68(%rbp), %edi
	movl	$-1, %esi
	callq	_ptu_int_eq
	movl	-64(%rbp), %edi
	movl	$1, %esi
	callq	_ptu_uint_eq
	movl	-60(%rbp), %edi
	movl	$2, %esi
	callq	_ptu_uint_eq
	movl	-56(%rbp), %edi
	movl	$204, %esi
	callq	_ptu_uint_eq
	xorl	%eax, %eax
	callq	_ptu_passed
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_2
## %bb.1:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	2                               ## @__const.remove_all_by_filename.buffer
l___const.remove_all_by_filename.buffer:
	.long	204                             ## 0xcc
	.long	204                             ## 0xcc
	.long	204                             ## 0xcc

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"same-name"

	.comm	_pte_nomap,4,2                  ## @pte_nomap
	.no_dead_strip	_remove_all_by_filename
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function remove_all_by_filename
_remove_all_by_filename:                ; @remove_all_by_filename
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, l___const.remove_all_by_filename.buffer@PAGE
Lloh4:
	add	x9, x9, l___const.remove_all_by_filename.buffer@PAGEOFF
	str	x8, [sp, #24]
	ldr	x8, [x9]
	str	x8, [sp, #8]
	ldr	w8, [x9, #8]
	str	w8, [sp, #16]
	ldr	x1, [x0, #24]
Lloh5:
	adrp	x21, l_.str@PAGE
Lloh6:
	add	x21, x21, l_.str@PAGEOFF
	stp	x21, x21, [x1]
	add	x20, x0, #8
	ldr	x2, [x0]
	mov	x0, x20
	mov	w3, #4096
	mov	w4, #1
	bl	_pt_image_add
	mov	w1, #0
	bl	_ptu_int_eq
	ldr	x8, [x19, #24]
	add	x1, x8, #8
	ldr	x2, [x19]
	mov	x0, x20
	mov	w3, #8192
	mov	w4, #2
	bl	_pt_image_add
	mov	w1, #0
	bl	_ptu_int_eq
	mov	w22, #-1
	str	w22, [sp, #4]
	ldr	x4, [x19]
	add	x1, sp, #4
	add	x2, sp, #8
	mov	x0, x20
	mov	w3, #2
	mov	w5, #4097
	bl	_pt_image_read
	mov	w1, #2
	bl	_ptu_int_eq
	ldr	w0, [sp, #4]
	mov	w1, #1
	bl	_ptu_int_eq
	ldr	w0, [sp, #8]
	mov	w1, #1
	bl	_ptu_uint_eq
	ldr	w0, [sp, #12]
	mov	w1, #2
	bl	_ptu_uint_eq
	ldr	w0, [sp, #16]
	mov	w1, #204
	bl	_ptu_uint_eq
	ldr	x2, [x19]
	mov	x0, x20
	mov	x1, x21
	bl	_pt_image_remove_by_filename
	mov	w1, #2
	bl	_ptu_int_eq
	ldr	x8, [x19, #16]
	ldr	w0, [x8]
	mov	w1, #0
	bl	_ptu_int_ne
	ldr	x8, [x19, #16]
	ldr	w0, [x8, #4]
	mov	w1, #0
	bl	_ptu_int_ne
	str	w22, [sp, #4]
	ldr	x4, [x19]
	add	x1, sp, #4
	add	x2, sp, #8
	mov	x0, x20
	mov	w3, #12
	mov	w5, #4099
	bl	_pt_image_read
Lloh7:
	adrp	x21, _pte_nomap@GOTPAGE
Lloh8:
	ldr	x21, [x21, _pte_nomap@GOTPAGEOFF]
	ldr	w8, [x21]
	neg	w1, w8
	bl	_ptu_int_eq
	ldr	w0, [sp, #4]
	mov	w1, #-1
	bl	_ptu_int_eq
	ldr	w0, [sp, #8]
	mov	w1, #1
	bl	_ptu_uint_eq
	ldr	w0, [sp, #12]
	mov	w1, #2
	bl	_ptu_uint_eq
	ldr	w0, [sp, #16]
	mov	w1, #204
	bl	_ptu_uint_eq
	str	w22, [sp, #4]
	ldr	x4, [x19]
	add	x1, sp, #4
	add	x2, sp, #8
	mov	x0, x20
	mov	w3, #12
	mov	w5, #8195
	bl	_pt_image_read
	ldr	w8, [x21]
	neg	w1, w8
	bl	_ptu_int_eq
	ldr	w0, [sp, #4]
	mov	w1, #-1
	bl	_ptu_int_eq
	ldr	w0, [sp, #8]
	mov	w1, #1
	bl	_ptu_uint_eq
	ldr	w0, [sp, #12]
	mov	w1, #2
	bl	_ptu_uint_eq
	ldr	w0, [sp, #16]
	mov	w1, #204
	bl	_ptu_uint_eq
	bl	_ptu_passed
	ldr	x8, [sp, #24]
Lloh9:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	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
	add	sp, sp, #80
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @__const.remove_all_by_filename.buffer
l___const.remove_all_by_filename.buffer:
	.long	204                             ; 0xcc
	.long	204                             ; 0xcc
	.long	204                             ; 0xcc

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"same-name"

	.comm	_pte_nomap,4,2                  ; @pte_nomap
	.no_dead_strip	_remove_all_by_filename
.subsections_via_symbols
