	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function MakeFilename
_MakeFilename:                          ## @MakeFilename
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r15d
	movl	%edx, %r14d
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	movq	_PATH_MAX@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	incq	%rdi
	callq	_malloc
	movq	%rax, %r13
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_error
LBB0_2:
	movq	_Gflag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_6
## %bb.3:
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	_Gflag_time@GOTPCREL(%rip), %rdi
	callq	_localtime
	movq	%rax, %r12
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_error
LBB0_5:
	movq	(%rbx), %rsi
	movq	%r13, %rdi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	%r12, %rcx
	callq	_strftime
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_7
LBB0_6:
	movq	(%rbx), %rdx
	movq	%r13, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_strncpy
LBB0_7:
	movq	(%rbx), %rax
	incq	%rax
	movl	%r15d, %ecx
	orl	%r14d, %ecx
	je	LBB0_8
## %bb.9:
	leaq	L_.str.2(%rip), %rdx
	movq	%r12, %rdi
	movq	%rax, %rsi
	movq	%r13, %rcx
	movl	%r15d, %r8d
	movl	%r14d, %r9d
	callq	_snprintf
	movq	(%rbx), %rsi
	cmpq	%rsi, %rax
	jle	LBB0_11
## %bb.10:
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_error
	jmp	LBB0_11
LBB0_8:
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	%rax, %rdx
	callq	_strncpy
LBB0_11:
	movq	%r13, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PATH_MAX,8,3                   ## @PATH_MAX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Makefilename: malloc"

	.comm	_Gflag,8,3                      ## @Gflag
	.comm	_Gflag_time,4,2                 ## @Gflag_time
L_.str.1:                               ## @.str.1
	.asciz	"MakeTimedFilename: localtime"

L_.str.2:                               ## @.str.2
	.asciz	"%s%0*d"

L_.str.3:                               ## @.str.3
	.asciz	"too many output files or filename is too long (> %d)"

	.no_dead_strip	_MakeFilename
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function MakeFilename
_MakeFilename:                          ; @MakeFilename
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x3
	mov	x20, x2
	mov	x23, x1
	mov	x22, x0
Lloh0:
	adrp	x25, _PATH_MAX@GOTPAGE
Lloh1:
	ldr	x25, [x25, _PATH_MAX@GOTPAGEOFF]
	ldr	x8, [x25]
	add	x0, x8, #1
	bl	_malloc
	mov	x19, x0
	cbnz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_error
LBB0_2:
Lloh4:
	adrp	x8, _Gflag@GOTPAGE
Lloh5:
	ldr	x8, [x8, _Gflag@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	cbz	x8, LBB0_6
; %bb.3:
Lloh7:
	adrp	x0, _Gflag_time@GOTPAGE
Lloh8:
	ldr	x0, [x0, _Gflag_time@GOTPAGEOFF]
	bl	_localtime
	mov	x24, x0
	cbnz	x0, LBB0_5
; %bb.4:
Lloh9:
	adrp	x0, l_.str.1@PAGE
Lloh10:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_error
LBB0_5:
	ldr	x1, [x25]
	mov	x0, x19
	mov	x2, x23
	mov	x3, x24
	bl	_strftime
	b	LBB0_7
LBB0_6:
	ldr	x2, [x25]
	mov	x0, x19
	mov	x1, x23
	bl	_strncpy
LBB0_7:
	ldr	x8, [x25]
	add	x8, x8, #1
	orr	w9, w21, w20
	cbz	w9, LBB0_10
; %bb.8:
Lloh11:
	adrp	x2, l_.str.2@PAGE
Lloh12:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x22
	mov	x1, x8
	mov	x3, x19
	mov	x4, x21
	mov	x5, x20
	bl	_snprintf
	ldr	x8, [x25]
	cmp	x0, x8
	b.le	LBB0_11
; %bb.9:
	str	x8, [sp]
Lloh13:
	adrp	x0, l_.str.3@PAGE
Lloh14:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_error
	b	LBB0_11
LBB0_10:
	mov	x0, x22
	mov	x1, x19
	mov	x2, x8
	bl	_strncpy
LBB0_11:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_free
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_PATH_MAX,8,3                   ; @PATH_MAX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Makefilename: malloc"

	.comm	_Gflag,8,3                      ; @Gflag
	.comm	_Gflag_time,4,2                 ; @Gflag_time
l_.str.1:                               ; @.str.1
	.asciz	"MakeTimedFilename: localtime"

l_.str.2:                               ; @.str.2
	.asciz	"%s%0*d"

l_.str.3:                               ; @.str.3
	.asciz	"too many output files or filename is too long (> %d)"

	.no_dead_strip	_MakeFilename
.subsections_via_symbols
