	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_set_input                      ## -- Begin function set_input
	.p2align	4, 0x90
_set_input:                             ## @set_input
	.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
	movq	_input_filename@GOTPCREL(%rip), %rbx
	movq	%rdi, (%rbx)
	callq	_strlen
	movq	_input_filename_length@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	(%rbx), %rbx
	movq	_input_basename@GOTPCREL(%rip), %r14
	movq	%rbx, (%r14)
	movb	(%rbx), %al
	testb	%al, %al
	je	LBB0_6
## %bb.1:
	incq	%rbx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movzbl	(%rbx), %eax
	incq	%rbx
	testb	%al, %al
	je	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	%al, %edi
	callq	_IS_DIR_SEPARATOR
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, (%r14)
	jmp	LBB0_4
LBB0_5:
	movq	(%r14), %rbx
LBB0_6:
	movq	%rbx, %rdi
	callq	_strlen
	movq	_basename_length@GOTPCREL(%rip), %r8
	movl	%eax, (%r8)
	movq	_suffixed_basename_length@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	%rax, %rcx
	shlq	$32, %rcx
	leaq	L_.str(%rip), %rsi
	je	LBB0_11
## %bb.7:
	movq	(%r14), %rdx
	sarq	$32, %rcx
	xorl	%ebx, %ebx
	movq	%rdx, %rdi
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$46, (%rdi,%rcx)
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	incq	%rbx
	decq	%rdi
	cmpq	%rbx, %rcx
	jne	LBB0_8
	jmp	LBB0_11
LBB0_10:
	subl	%ebx, %eax
	movl	%eax, (%r8)
	addq	%rdx, %rcx
	subq	%rbx, %rcx
	incq	%rcx
	movq	%rcx, %rsi
LBB0_11:
	movq	_input_suffix@GOTPCREL(%rip), %rax
	movq	%rsi, (%rax)
	movq	_input_stat_set@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_input_filename,8,3             ## @input_filename
	.comm	_input_filename_length,8,3      ## @input_filename_length
	.comm	_input_basename,8,3             ## @input_basename
	.comm	_basename_length,4,2            ## @basename_length
	.comm	_suffixed_basename_length,4,2   ## @suffixed_basename_length
	.comm	_input_suffix,8,3               ## @input_suffix
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.comm	_input_stat_set,8,3             ## @input_stat_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_set_input                      ; -- Begin function set_input
	.p2align	2
_set_input:                             ; @set_input
	.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
Lloh0:
	adrp	x19, _input_filename@GOTPAGE
Lloh1:
	ldr	x19, [x19, _input_filename@GOTPAGEOFF]
	str	x0, [x19]
	bl	_strlen
Lloh2:
	adrp	x8, _input_filename_length@GOTPAGE
Lloh3:
	ldr	x8, [x8, _input_filename_length@GOTPAGEOFF]
Lloh4:
	str	x0, [x8]
	ldr	x0, [x19]
Lloh5:
	adrp	x19, _input_basename@GOTPAGE
Lloh6:
	ldr	x19, [x19, _input_basename@GOTPAGEOFF]
	str	x0, [x19]
	ldrb	w8, [x0]
	cbz	w8, LBB0_6
; %bb.1:
	add	x20, x0, #1
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldrb	w8, [x20], #1
	cbz	w8, LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	sxtb	w0, w8
	bl	_IS_DIR_SEPARATOR
	cbz	x0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	str	x20, [x19]
	b	LBB0_2
LBB0_5:
	ldr	x0, [x19]
LBB0_6:
	bl	_strlen
Lloh7:
	adrp	x9, _basename_length@GOTPAGE
Lloh8:
	ldr	x9, [x9, _basename_length@GOTPAGEOFF]
	str	w0, [x9]
Lloh9:
	adrp	x8, _suffixed_basename_length@GOTPAGE
Lloh10:
	ldr	x8, [x8, _suffixed_basename_length@GOTPAGEOFF]
Lloh11:
	str	w0, [x8]
	lsl	x8, x0, #32
	cbz	x8, LBB0_10
; %bb.7:
	ldr	x10, [x19]
	asr	x11, x8, #32
Lloh12:
	adrp	x8, l_.str@PAGE
Lloh13:
	add	x8, x8, l_.str@PAGEOFF
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w12, [x10, x11]
	cmp	w12, #46
	b.eq	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	subs	x11, x11, #1
	b.ne	LBB0_8
	b	LBB0_12
LBB0_10:
Lloh14:
	adrp	x8, l_.str@PAGE
Lloh15:
	add	x8, x8, l_.str@PAGEOFF
	b	LBB0_12
LBB0_11:
	str	w11, [x9]
	add	x8, x10, x11
	add	x8, x8, #1
LBB0_12:
Lloh16:
	adrp	x9, _input_suffix@GOTPAGE
Lloh17:
	ldr	x9, [x9, _input_suffix@GOTPAGEOFF]
Lloh18:
	str	x8, [x9]
Lloh19:
	adrp	x8, _input_stat_set@GOTPAGE
Lloh20:
	ldr	x8, [x8, _input_stat_set@GOTPAGEOFF]
Lloh21:
	str	xzr, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotStr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotStr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_input_filename,8,3             ; @input_filename
	.comm	_input_filename_length,8,3      ; @input_filename_length
	.comm	_input_basename,8,3             ; @input_basename
	.comm	_basename_length,4,2            ; @basename_length
	.comm	_suffixed_basename_length,4,2   ; @suffixed_basename_length
	.comm	_input_suffix,8,3               ; @input_suffix
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.comm	_input_stat_set,8,3             ; @input_stat_set
.subsections_via_symbols
