	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_input_remapping_remove_file    ## -- Begin function input_remapping_remove_file
	.p2align	4, 0x90
_input_remapping_remove_file:           ## @input_remapping_remove_file
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	_PATH_MAX_LENGTH@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	movslq	%eax, %r15
	movl	%r15d, %edi
	callq	_malloc
	movq	%rax, %r14
	movl	(%rbx), %edi
	callq	_malloc
	movq	%rax, %r13
	xorl	%eax, %eax
	callq	_config_get_ptr
	movb	$0, (%r13)
	movb	$0, (%r14)
	movl	(%rax), %esi
	movq	%r14, %rdi
	movq	%r12, %rdx
	movq	%r15, %rcx
	callq	_fill_pathname_join
	leaq	L_.str(%rip), %rdx
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	%r15, %rcx
	callq	_fill_pathname_noext
	movq	%r13, %rdi
	callq	_filestream_delete
	xorl	%ebx, %ebx
	testq	%rax, %rax
	sete	%bl
	movq	%r14, %rdi
	callq	_free
	movq	%r13, %rdi
	callq	_free
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PATH_MAX_LENGTH,4,2            ## @PATH_MAX_LENGTH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	".rmp"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_input_remapping_remove_file    ; -- Begin function input_remapping_remove_file
	.p2align	2
_input_remapping_remove_file:           ; @input_remapping_remove_file
	.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
Lloh0:
	adrp	x22, _PATH_MAX_LENGTH@GOTPAGE
Lloh1:
	ldr	x22, [x22, _PATH_MAX_LENGTH@GOTPAGEOFF]
	ldr	w0, [x22]
	sxtw	x20, w0
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_malloc
	mov	x21, x0
	ldr	w0, [x22]
	bl	_malloc
	mov	x22, x0
	bl	_config_get_ptr
	strb	wzr, [x22]
	strb	wzr, [x21]
	ldr	w1, [x0]
	mov	x0, x21
	mov	x2, x19
	mov	x3, x20
	bl	_fill_pathname_join
Lloh2:
	adrp	x2, l_.str@PAGE
Lloh3:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x22
	mov	x1, x21
	mov	x3, x20
	bl	_fill_pathname_noext
	mov	x0, x22
	bl	_filestream_delete
	cmp	x0, #0
	cset	w19, eq
	mov	x0, x21
	bl	_free
	mov	x0, x22
	bl	_free
	mov	x0, x19
	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 AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PATH_MAX_LENGTH,4,2            ; @PATH_MAX_LENGTH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	".rmp"

.subsections_via_symbols
