	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_create_filenames               ## -- Begin function create_filenames
	.p2align	4, 0x90
_create_filenames:                      ## @create_filenames
	.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	%rsi, %r14
	movq	%rdi, %rbx
	movq	$0, (%rdi)
	movq	$0, (%rsi)
	movq	%rdx, %rsi
	movl	%ecx, %edx
	xorl	%eax, %eax
	callq	_asprintf
	testq	%rax, %rax
	js	LBB0_3
## %bb.1:
	movq	(%rbx), %rdx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_asprintf
	testq	%rax, %rax
	js	LBB0_3
## %bb.2:
	movq	_MMAL_SUCCESS@GOTPCREL(%rip), %rbx
	jmp	LBB0_5
LBB0_3:
	movq	(%rbx), %rdi
	movq	_MMAL_ENOMEM@GOTPCREL(%rip), %rbx
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.4:
	callq	_free
LBB0_5:
	movl	(%rbx), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s~"

	.comm	_MMAL_ENOMEM,4,2                ## @MMAL_ENOMEM
	.comm	_MMAL_SUCCESS,4,2               ## @MMAL_SUCCESS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_create_filenames               ; -- Begin function create_filenames
	.p2align	2
_create_filenames:                      ; @create_filenames
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
                                        ; kill: def $w3 killed $w3 def $x3
	mov	x20, x1
	mov	x19, x0
	str	xzr, [x0]
	str	xzr, [x1]
	str	x3, [sp]
	mov	x1, x2
	bl	_asprintf
	tbnz	x0, #63, LBB0_3
; %bb.1:
	ldr	x8, [x19]
	str	x8, [sp]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_asprintf
	tbnz	x0, #63, LBB0_3
; %bb.2:
Lloh2:
	adrp	x8, _MMAL_SUCCESS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MMAL_SUCCESS@GOTPAGEOFF]
	b	LBB0_6
LBB0_3:
	ldr	x0, [x19]
	cbz	x0, LBB0_5
; %bb.4:
	bl	_free
LBB0_5:
Lloh4:
	adrp	x8, _MMAL_ENOMEM@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MMAL_ENOMEM@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s~"

	.comm	_MMAL_ENOMEM,4,2                ; @MMAL_ENOMEM
	.comm	_MMAL_SUCCESS,4,2               ; @MMAL_SUCCESS
.subsections_via_symbols
