	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tempname                       ## -- Begin function tempname
	.p2align	4, 0x90
_tempname:                              ## @tempname
	.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	%rdi, %r14
	movq	_tempdir@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%eax, %eax
	callq	_getpid
	movl	_tempname.n(%rip), %ecx
	leal	1(%rcx), %edx
	movl	%edx, _tempname.n(%rip)
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
                                        ## kill: def $ecx killed $ecx killed $rcx
	movq	%r14, %r8
	callq	_stringf
	movq	%rax, %rbx
	movq	_com@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	4(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	movl	$47, %esi
	movl	$92, %edx
	callq	_replace
	movq	%rax, %rbx
LBB0_2:
	movq	_rmlist@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_append
	movl	%eax, (%r14)
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_tempname.n,4,2  ## @tempname.n
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s/lcc%d%d%s"

	.comm	_tempdir,4,2                    ## @tempdir
	.comm	_com,8,3                        ## @com
L_.str.1:                               ## @.str.1
	.asciz	"win32"

	.comm	_rmlist,4,2                     ## @rmlist
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tempname                       ; -- Begin function tempname
	.p2align	2
_tempname:                              ; @tempname
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _tempdir@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tempdir@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	bl	_getpid
	mov	x2, x0
	adrp	x8, _tempname.n@PAGE
	ldr	w3, [x8, _tempname.n@PAGEOFF]
	add	w9, w3, #1
	str	w9, [x8, _tempname.n@PAGEOFF]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	mov	x4, x19
	bl	_stringf
	mov	x19, x0
Lloh5:
	adrp	x8, _com@GOTPAGE
Lloh6:
	ldr	x8, [x8, _com@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	w0, [x8, #4]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strstr
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	mov	w1, #47
	mov	w2, #92
	bl	_replace
	mov	x19, x0
LBB0_2:
Lloh10:
	adrp	x20, _rmlist@GOTPAGE
Lloh11:
	ldr	x20, [x20, _rmlist@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_append
	str	w0, [x20]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_tempname.n,4,2  ; @tempname.n
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s/lcc%d%d%s"

	.comm	_tempdir,4,2                    ; @tempdir
	.comm	_com,8,3                        ; @com
l_.str.1:                               ; @.str.1
	.asciz	"win32"

	.comm	_rmlist,4,2                     ; @rmlist
.subsections_via_symbols
