	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_patch_subfile_names            ## -- Begin function patch_subfile_names
	.p2align	4, 0x90
_patch_subfile_names:                   ## @patch_subfile_names
	.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
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.1:
	movq	%rdi, %rbx
	cmpq	$0, (%rdi)
	je	LBB0_2
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	8(%rbx), %r15
	testq	%r15, %r15
	je	LBB0_7
## %bb.3:
	movq	%rsi, %r14
	movq	%r15, %rdi
	callq	_strlen
	cltq
	cmpb	$47, -1(%rax,%r15)
	jne	LBB0_7
## %bb.4:
	movq	8(%rbx), %rax
	movq	%rax, (%rbx)
	movq	%r14, %rdi
	callq	_strlen
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_savestring
	movq	%rax, 8(%rbx)
	movq	_last_source_file@GOTPCREL(%rip), %rcx
	movq	%r14, (%rcx)
	movq	%rax, %rdi
	callq	_deduce_language_from_filename
	movq	%rax, 16(%rbx)
	movq	_language_unknown@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.5:
	movq	24(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	(%rax), %rax
	movq	%rax, 16(%rbx)
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_last_source_file,8,3           ## @last_source_file
	.comm	_language_unknown,8,3           ## @language_unknown
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_patch_subfile_names            ; -- Begin function patch_subfile_names
	.p2align	2
_patch_subfile_names:                   ; @patch_subfile_names
	.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
	cbz	x0, LBB0_2
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_3
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
LBB0_3:
	ldr	x21, [x19, #8]
	cbz	x21, LBB0_2
; %bb.4:
	mov	x20, x1
	mov	x0, x21
	bl	_strlen
	add	x8, x21, w0, sxtw
	ldurb	w8, [x8, #-1]
	cmp	w8, #47
	b.ne	LBB0_2
; %bb.5:
	ldr	x8, [x19, #8]
	str	x8, [x19]
	mov	x0, x20
	bl	_strlen
	mov	x1, x0
	mov	x0, x20
	bl	_savestring
	str	x0, [x19, #8]
Lloh0:
	adrp	x8, _last_source_file@GOTPAGE
Lloh1:
	ldr	x8, [x8, _last_source_file@GOTPAGEOFF]
Lloh2:
	str	x20, [x8]
	bl	_deduce_language_from_filename
	str	x0, [x19, #16]
Lloh3:
	adrp	x8, _language_unknown@GOTPAGE
Lloh4:
	ldr	x8, [x8, _language_unknown@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.6:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_2
; %bb.7:
	ldr	x8, [x8]
	str	x8, [x19, #16]
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_last_source_file,8,3           ; @last_source_file
	.comm	_language_unknown,8,3           ; @language_unknown
.subsections_via_symbols
