	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mc_set_inputfile               ## -- Begin function mc_set_inputfile
	.p2align	4, 0x90
_mc_set_inputfile:                      ## @mc_set_inputfile
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	leaq	L_.str(%rip), %rax
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.1:
	movq	%rdi, %r14
	cmpb	$0, (%rdi)
	je	LBB0_3
## %bb.2:
	movq	%r14, %rdi
	movl	$47, %esi
	callq	_strrchr
	movq	%rax, %rbx
	movq	%r14, %rdi
	movl	$92, %esi
	callq	_strrchr
	testq	%rbx, %rbx
	cmoveq	%rax, %rbx
	cmpq	%rax, %rbx
	movq	%rbx, %rcx
	cmovbq	%rax, %rcx
	testq	%rax, %rax
	cmoveq	%rbx, %rcx
	testq	%rbx, %rbx
	cmoveq	%rbx, %rcx
	leaq	1(%rcx), %rdi
	testq	%rcx, %rcx
	cmoveq	%r14, %rdi
	callq	_xstrdup
LBB0_3:
	movq	_input_filename@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"-"

	.comm	_input_filename,8,3             ## @input_filename
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mc_set_inputfile               ; -- Begin function mc_set_inputfile
	.p2align	2
_mc_set_inputfile:                      ; @mc_set_inputfile
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
	ldrb	w8, [x0]
	cbz	w8, LBB0_3
; %bb.2:
	mov	x0, x19
	mov	w1, #47
	bl	_strrchr
	mov	x20, x0
	mov	x0, x19
	mov	w1, #92
	bl	_strrchr
	cmp	x20, #0
	csel	x8, x0, x20, eq
	cmp	x8, x0
	ccmp	x0, #0, #4, lo
	ccmp	x8, #0, #4, ne
	csel	x8, x0, x8, ne
	cmp	x8, #0
	csinc	x0, x19, x8, eq
	bl	_xstrdup
	b	LBB0_4
LBB0_3:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
LBB0_4:
Lloh2:
	adrp	x8, _input_filename@GOTPAGE
Lloh3:
	ldr	x8, [x8, _input_filename@GOTPAGEOFF]
Lloh4:
	str	x0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"-"

	.comm	_input_filename,8,3             ; @input_filename
.subsections_via_symbols
