	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movl	%edi, %r15d
	movq	$0, -56(%rbp)
	leaq	L_.str(%rip), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	leaq	L_.str.1(%rip), %r12
	leaq	LJTI0_0(%rip), %r14
	movl	$0, -68(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	xorl	%r13d, %r13d
	movl	$0, -72(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_1:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$-1, %eax
	je	LBB0_9
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	callq	_usage
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r15d, %edi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	callq	_getopt
                                        ## kill: def $eax killed $eax def $rax
	leal	-100(%rax), %ecx
	cmpl	$17, %ecx
	ja	LBB0_1
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movslq	(%r14,%rcx,4), %rax
	addq	%r14, %rax
	jmpq	*%rax
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	incl	-68(%rbp)                       ## 4-byte Folded Spill
	jmp	LBB0_3
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	incl	-44(%rbp)                       ## 4-byte Folded Spill
	jmp	LBB0_3
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	incl	%r13d
	jmp	LBB0_3
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	incl	-72(%rbp)                       ## 4-byte Folded Spill
	jmp	LBB0_3
LBB0_9:
	movq	_optind@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	subl	%eax, %r15d
	leaq	(%rbx,%rax,8), %rbx
	testl	%r13d, %r13d
	sete	%al
	testl	%r15d, %r15d
	setle	%cl
	andb	%al, %cl
	leaq	L_.str.2(%rip), %rdx
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	cmovneq	%rdx, %r14
	xorl	%edi, %edi
	xorb	%al, %cl
	je	LBB0_18
## %bb.10:
	testq	%rdi, %rdi
	jne	LBB0_12
LBB0_11:
	movl	$0, %r14d
	testl	%r15d, %r15d
	jle	LBB0_57
LBB0_12:
	cmpl	$0, -72(%rbp)                   ## 4-byte Folded Reload
	sete	%al
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	sete	%al
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.14:
	cmpl	$0, -68(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_23
LBB0_15:
	callq	_mkdtemp
	testq	%rax, %rax
	je	LBB0_29
## %bb.16:
	movq	-56(%rbp), %rsi
	leaq	L_.str.8(%rip), %rdi
	callq	_printf
	cmpb	$0, -64(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_31
## %bb.17:
	xorl	%r13d, %r13d
	movb	$1, %al
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	xorl	%r14d, %r14d
	jmp	LBB0_37
LBB0_18:
	leaq	L_.str.3(%rip), %rdi
	callq	_getenv
	testq	%rax, %rax
	je	LBB0_20
## %bb.19:
	leaq	L_.str.5(%rip), %rsi
	leaq	-56(%rbp), %rdi
	movq	%rax, %rdx
	jmp	LBB0_21
LBB0_20:
	movq	__PATH_TMP@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	L_.str.4(%rip), %rsi
	leaq	-56(%rbp), %rdi
LBB0_21:
	movq	%r14, %rcx
	callq	_asprintf
	movq	-56(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_27
## %bb.22:
	cmpl	$0, -72(%rbp)                   ## 4-byte Folded Reload
	sete	%al
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	sete	%al
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	cmpl	$0, -68(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_15
LBB0_23:
	callq	_mkstemp
	testl	%eax, %eax
	js	LBB0_32
## %bb.24:
	movl	%eax, %edi
	callq	_close
	cmpb	$0, -64(%rbp)                   ## 1-byte Folded Reload
	jne	LBB0_26
## %bb.25:
	movq	-56(%rbp), %rdi
	callq	_unlink
LBB0_26:
	movq	-56(%rbp), %rsi
	leaq	L_.str.8(%rip), %rdi
	callq	_printf
	xorl	%r14d, %r14d
	movb	$1, %r13b
	jmp	LBB0_37
LBB0_27:
	movl	$1, %r14d
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_57
## %bb.28:
	leaq	L_.str.6(%rip), %rsi
	movl	$1, %edi
	callq	_errx
	movq	-56(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_11
	jmp	LBB0_12
LBB0_29:
	movl	$1, %r14d
	cmpb	$0, -44(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_34
## %bb.30:
	movq	-56(%rbp), %rsi
	leaq	L_.str.7(%rip), %rdi
	callq	_warn
	movb	$1, %al
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	xorl	%r13d, %r13d
	jmp	LBB0_37
LBB0_31:
	movq	-56(%rbp), %rdi
	callq	_rmdir
	xorl	%r13d, %r13d
	movl	$0, -64(%rbp)                   ## 4-byte Folded Spill
	xorl	%r14d, %r14d
	jmp	LBB0_37
LBB0_13:
	movq	(%rbx), %rdi
	callq	_strdup
	movq	%rax, %rdi
	addq	$8, %rbx
	decl	%r15d
	movq	%rax, -56(%rbp)
	cmpl	$0, -68(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_15
	jmp	LBB0_23
LBB0_32:
	movl	$1, %r14d
	cmpb	$0, -44(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_35
## %bb.33:
	movq	-56(%rbp), %rsi
	leaq	L_.str.9(%rip), %rdi
	callq	_warn
	movb	$1, %r13b
	movb	$1, %al
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_37
LBB0_34:
	xorl	%r13d, %r13d
	jmp	LBB0_36
LBB0_35:
	movb	$1, %r13b
LBB0_36:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_37:
	movq	-56(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_39
## %bb.38:
	callq	_free
LBB0_39:
	movq	$0, -56(%rbp)
	testl	%r15d, %r15d
	jle	LBB0_57
## %bb.40:
	incl	%r15d
	leaq	L_.str.8(%rip), %r12
	jmp	LBB0_42
	.p2align	4, 0x90
LBB0_41:                                ##   in Loop: Header=BB0_42 Depth=1
	addq	$8, %rbx
	movq	$0, -56(%rbp)
	decl	%r15d
	cmpl	$1, %r15d
	jle	LBB0_57
LBB0_42:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rdi
	callq	_strdup
	movq	%rax, -56(%rbp)
	movq	%rax, %rdi
	testb	%r13b, %r13b
	je	LBB0_47
## %bb.43:                              ##   in Loop: Header=BB0_42 Depth=1
	callq	_mkstemp
	testl	%eax, %eax
	js	LBB0_50
## %bb.44:                              ##   in Loop: Header=BB0_42 Depth=1
	movl	%eax, %edi
	callq	_close
	cmpb	$0, -64(%rbp)                   ## 1-byte Folded Reload
	jne	LBB0_46
## %bb.45:                              ##   in Loop: Header=BB0_42 Depth=1
	movq	-56(%rbp), %rdi
	callq	_unlink
LBB0_46:                                ##   in Loop: Header=BB0_42 Depth=1
	movq	-56(%rbp), %rsi
	movq	%r12, %rdi
	callq	_printf
	jmp	LBB0_55
	.p2align	4, 0x90
LBB0_47:                                ##   in Loop: Header=BB0_42 Depth=1
	callq	_mkdtemp
	testq	%rax, %rax
	je	LBB0_52
## %bb.48:                              ##   in Loop: Header=BB0_42 Depth=1
	movq	-56(%rbp), %rsi
	movq	%r12, %rdi
	callq	_printf
	cmpb	$0, -64(%rbp)                   ## 1-byte Folded Reload
	jne	LBB0_55
## %bb.49:                              ##   in Loop: Header=BB0_42 Depth=1
	movq	-56(%rbp), %rdi
	callq	_rmdir
	jmp	LBB0_55
LBB0_50:                                ##   in Loop: Header=BB0_42 Depth=1
	movl	$1, %r14d
	cmpb	$0, -44(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_55
## %bb.51:                              ##   in Loop: Header=BB0_42 Depth=1
	movq	-56(%rbp), %rsi
	leaq	L_.str.9(%rip), %rdi
	jmp	LBB0_54
LBB0_52:                                ##   in Loop: Header=BB0_42 Depth=1
	movl	$1, %r14d
	cmpb	$0, -44(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_55
## %bb.53:                              ##   in Loop: Header=BB0_42 Depth=1
	movq	-56(%rbp), %rsi
	leaq	L_.str.7(%rip), %rdi
LBB0_54:                                ##   in Loop: Header=BB0_42 Depth=1
	callq	_warn
	.p2align	4, 0x90
LBB0_55:                                ##   in Loop: Header=BB0_42 Depth=1
	movq	-56(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_41
## %bb.56:                              ##   in Loop: Header=BB0_42 Depth=1
	callq	_free
	jmp	LBB0_41
LBB0_57:
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_6
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_7
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mktemp"

L_.str.1:                               ## @.str.1
	.asciz	"dqt:u"

	.comm	_optarg,8,3                     ## @optarg
	.comm	_optind,8,3                     ## @optind
L_.str.2:                               ## @.str.2
	.asciz	"tmp"

L_.str.3:                               ## @.str.3
	.asciz	"TMPDIR"

L_.str.4:                               ## @.str.4
	.asciz	"%s%s.XXXXXXXX"

	.comm	__PATH_TMP,8,3                  ## @_PATH_TMP
L_.str.5:                               ## @.str.5
	.asciz	"%s/%s.XXXXXXXX"

L_.str.6:                               ## @.str.6
	.asciz	"cannot generate template"

L_.str.7:                               ## @.str.7
	.asciz	"mkdtemp failed on %s"

L_.str.8:                               ## @.str.8
	.asciz	"%s\n"

L_.str.9:                               ## @.str.9
	.asciz	"mkstemp failed on %s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x20, x0
	mov	w22, #0
	mov	w25, #0
	mov	w27, #0
	mov	w24, #0
	str	xzr, [sp, #8]
Lloh0:
	adrp	x26, l_.str@PAGE
Lloh1:
	add	x26, x26, l_.str@PAGEOFF
Lloh2:
	adrp	x21, l_.str.1@PAGE
Lloh3:
	add	x21, x21, l_.str.1@PAGEOFF
Lloh4:
	adrp	x23, _optarg@GOTPAGE
Lloh5:
	ldr	x23, [x23, _optarg@GOTPAGEOFF]
Lloh6:
	adrp	x28, lJTI0_0@PAGE
Lloh7:
	add	x28, x28, lJTI0_0@PAGEOFF
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmn	w0, #1
	b.eq	LBB0_9
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	bl	_usage
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_getopt
	sub	w8, w0, #100
	cmp	w8, #17
	b.hi	LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	adr	x9, LBB0_2
	ldrb	w10, [x28, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w22, w22, #1
	b	LBB0_3
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w25, w25, #1
	b	LBB0_3
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x26, [x23]
	add	w27, w27, #1
	b	LBB0_3
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w24, w24, #1
	b	LBB0_3
LBB0_9:
Lloh8:
	adrp	x8, _optind@GOTPAGE
Lloh9:
	ldr	x8, [x8, _optind@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	sub	w20, w20, w8
	add	x23, x19, x8, lsl #3
	cmp	w27, #0
	cset	w8, eq
	subs	w21, w20, #1
	cset	w9, lt
Lloh11:
	adrp	x10, l_.str.2@PAGE
Lloh12:
	add	x10, x10, l_.str.2@PAGEOFF
	ands	w9, w8, w9
	csel	x19, x10, x26, ne
	eor	w8, w9, w8
	tbz	w8, #0, LBB0_13
; %bb.10:
	mov	x0, #0
	cbnz	x0, LBB0_27
LBB0_11:
	cmp	w20, #1
	b.ge	LBB0_27
; %bb.12:
	mov	w19, #0
	b	LBB0_62
LBB0_13:
Lloh13:
	adrp	x0, l_.str.3@PAGE
Lloh14:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_getenv
	cbz	x0, LBB0_15
; %bb.14:
	mov	x2, x0
Lloh15:
	adrp	x1, l_.str.5@PAGE
Lloh16:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_16
LBB0_15:
Lloh17:
	adrp	x8, __PATH_TMP@GOTPAGE
Lloh18:
	ldr	x8, [x8, __PATH_TMP@GOTPAGEOFF]
Lloh19:
	ldr	x2, [x8]
Lloh20:
	adrp	x1, l_.str.4@PAGE
Lloh21:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_16:
	add	x0, sp, #8
	mov	x3, x19
	bl	_asprintf
	ldr	x0, [sp, #8]
	cbz	x0, LBB0_21
; %bb.17:
	cmp	w24, #0
	cset	w24, eq
	cmp	w25, #0
	cset	w25, eq
	cbz	w22, LBB0_29
LBB0_18:
	bl	_mkdtemp
	cbz	x0, LBB0_23
; %bb.19:
	ldr	x1, [sp, #8]
Lloh22:
	adrp	x0, l_.str.8@PAGE
Lloh23:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_printf
	tbz	w24, #0, LBB0_25
; %bb.20:
	mov	w26, #0
	mov	w19, #0
	mov	w24, #1
	b	LBB0_40
LBB0_21:
	cbz	w25, LBB0_26
; %bb.22:
	mov	w19, #1
	b	LBB0_62
LBB0_23:
	cbz	w25, LBB0_37
; %bb.24:
	ldr	x1, [sp, #8]
Lloh24:
	adrp	x0, l_.str.7@PAGE
Lloh25:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_warn
	mov	w26, #0
	b	LBB0_36
LBB0_25:
	ldr	x0, [sp, #8]
	bl	_rmdir
	mov	w26, #0
	mov	w24, #0
	mov	w19, #0
	b	LBB0_40
LBB0_26:
Lloh26:
	adrp	x1, l_.str.6@PAGE
Lloh27:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	w0, #1
	bl	_errx
	ldr	x0, [sp, #8]
	cbz	x0, LBB0_11
LBB0_27:
	cmp	w24, #0
	cset	w24, eq
	cmp	w25, #0
	cset	w25, eq
	cbz	x0, LBB0_33
; %bb.28:
	cbnz	w22, LBB0_18
LBB0_29:
	bl	_mkstemp
	tbnz	w0, #31, LBB0_34
; %bb.30:
	bl	_close
	tbnz	w24, #0, LBB0_32
; %bb.31:
	ldr	x0, [sp, #8]
	bl	_unlink
LBB0_32:
	ldr	x1, [sp, #8]
Lloh28:
	adrp	x0, l_.str.8@PAGE
Lloh29:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_printf
	mov	w19, #0
	mov	w26, #1
	b	LBB0_40
LBB0_33:
	ldr	x0, [x23], #8
	bl	_strdup
	str	x0, [sp, #8]
	mov	x20, x21
	cbnz	w22, LBB0_18
	b	LBB0_29
LBB0_34:
	cbz	w25, LBB0_38
; %bb.35:
	ldr	x1, [sp, #8]
Lloh30:
	adrp	x0, l_.str.9@PAGE
Lloh31:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_warn
	mov	w26, #1
LBB0_36:
	mov	w25, #1
	b	LBB0_39
LBB0_37:
	mov	w26, #0
	b	LBB0_39
LBB0_38:
	mov	w26, #1
LBB0_39:
	mov	w19, #1
LBB0_40:
	ldr	x0, [sp, #8]
	cbz	x0, LBB0_42
; %bb.41:
	bl	_free
LBB0_42:
	str	xzr, [sp, #8]
	cmp	w20, #1
	b.lt	LBB0_62
; %bb.43:
	add	w27, w20, #1
Lloh32:
	adrp	x20, l_.str.9@PAGE
Lloh33:
	add	x20, x20, l_.str.9@PAGEOFF
Lloh34:
	adrp	x21, l_.str.8@PAGE
Lloh35:
	add	x21, x21, l_.str.8@PAGEOFF
Lloh36:
	adrp	x22, l_.str.7@PAGE
Lloh37:
	add	x22, x22, l_.str.7@PAGEOFF
	b	LBB0_45
LBB0_44:                                ;   in Loop: Header=BB0_45 Depth=1
	str	xzr, [sp, #8]
	sub	w27, w27, #1
	cmp	w27, #1
	b.le	LBB0_62
LBB0_45:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x23], #8
	bl	_strdup
	str	x0, [sp, #8]
	tbz	w26, #0, LBB0_50
; %bb.46:                               ;   in Loop: Header=BB0_45 Depth=1
	bl	_mkstemp
	tbnz	w0, #31, LBB0_53
; %bb.47:                               ;   in Loop: Header=BB0_45 Depth=1
	bl	_close
	tbnz	w24, #0, LBB0_49
; %bb.48:                               ;   in Loop: Header=BB0_45 Depth=1
	ldr	x0, [sp, #8]
	bl	_unlink
LBB0_49:                                ;   in Loop: Header=BB0_45 Depth=1
	ldr	x1, [sp, #8]
	mov	x0, x21
	bl	_printf
	ldr	x0, [sp, #8]
	cbnz	x0, LBB0_61
	b	LBB0_44
LBB0_50:                                ;   in Loop: Header=BB0_45 Depth=1
	bl	_mkdtemp
	cbz	x0, LBB0_55
; %bb.51:                               ;   in Loop: Header=BB0_45 Depth=1
	ldr	x1, [sp, #8]
	mov	x0, x21
	bl	_printf
	tbnz	w24, #0, LBB0_60
; %bb.52:                               ;   in Loop: Header=BB0_45 Depth=1
	ldr	x0, [sp, #8]
	bl	_rmdir
	ldr	x0, [sp, #8]
	cbnz	x0, LBB0_61
	b	LBB0_44
LBB0_53:                                ;   in Loop: Header=BB0_45 Depth=1
	cbz	w25, LBB0_59
; %bb.54:                               ;   in Loop: Header=BB0_45 Depth=1
	ldr	x1, [sp, #8]
	mov	x0, x20
	b	LBB0_57
LBB0_55:                                ;   in Loop: Header=BB0_45 Depth=1
	cbz	w25, LBB0_58
; %bb.56:                               ;   in Loop: Header=BB0_45 Depth=1
	ldr	x1, [sp, #8]
	mov	x0, x22
LBB0_57:                                ;   in Loop: Header=BB0_45 Depth=1
	bl	_warn
LBB0_58:                                ;   in Loop: Header=BB0_45 Depth=1
	mov	w19, #1
	ldr	x0, [sp, #8]
	cbnz	x0, LBB0_61
	b	LBB0_44
LBB0_59:                                ;   in Loop: Header=BB0_45 Depth=1
	mov	w19, #1
LBB0_60:                                ;   in Loop: Header=BB0_45 Depth=1
	ldr	x0, [sp, #8]
	cbz	x0, LBB0_44
LBB0_61:                                ;   in Loop: Header=BB0_45 Depth=1
	bl	_free
	b	LBB0_44
LBB0_62:
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh32, Lloh33
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mktemp"

l_.str.1:                               ; @.str.1
	.asciz	"dqt:u"

	.comm	_optarg,8,3                     ; @optarg
	.comm	_optind,8,3                     ; @optind
l_.str.2:                               ; @.str.2
	.asciz	"tmp"

l_.str.3:                               ; @.str.3
	.asciz	"TMPDIR"

l_.str.4:                               ; @.str.4
	.asciz	"%s%s.XXXXXXXX"

	.comm	__PATH_TMP,8,3                  ; @_PATH_TMP
l_.str.5:                               ; @.str.5
	.asciz	"%s/%s.XXXXXXXX"

l_.str.6:                               ; @.str.6
	.asciz	"cannot generate template"

l_.str.7:                               ; @.str.7
	.asciz	"mkdtemp failed on %s"

l_.str.8:                               ; @.str.8
	.asciz	"%s\n"

l_.str.9:                               ; @.str.9
	.asciz	"mkstemp failed on %s"

.subsections_via_symbols
