	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function outputs_string_cb
_outputs_string_cb:                     ## @outputs_string_cb
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	(%rdi), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_1
## %bb.6:
	movq	(%rbx), %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_strcmp
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	jne	LBB0_9
## %bb.7:
	movq	8(%rbx), %rdi
	addq	$8, %rdi
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdx
	movq	%r14, %rcx
	callq	_sasprintf
	jmp	LBB0_8
LBB0_1:
	movq	$0, -32(%rbp)
	leaq	L_.str.1(%rip), %rsi
	leaq	-32(%rbp), %rdi
	movq	%r15, %rdx
	movq	%r14, %rcx
	callq	_sasprintf
	movq	_errno@GOTPCREL(%rip), %r14
	movq	$0, (%r14)
	movq	-32(%rbp), %rdi
	leaq	-40(%rbp), %rsi
	movl	$10, %edx
	callq	_strtol
	cmpq	$0, (%r14)
	jne	LBB0_5
## %bb.2:
	movq	-40(%rbp), %rcx
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.3:
	cmpb	$0, (%rcx)
	jne	LBB0_5
## %bb.4:
	movq	8(%rbx), %rcx
	movq	%rax, (%rcx)
LBB0_5:
	movq	-32(%rbp), %rdi
	callq	_FREE
LBB0_8:
	movq	(%rbx), %rdi
	callq	_FREE
	movl	$1, %eax
LBB0_9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"current_workspace"

L_.str.1:                               ## @.str.1
	.asciz	"%.*s"

	.comm	_errno,8,3                      ## @errno
L_.str.2:                               ## @.str.2
	.asciz	"name"

	.no_dead_strip	_outputs_string_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function outputs_string_cb
_outputs_string_cb:                     ; @outputs_string_cb
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	ldr	x0, [x0]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_3
; %bb.1:
	ldr	x0, [x19]
Lloh2:
	adrp	x1, l_.str.2@PAGE
Lloh3:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_7
; %bb.2:
	mov	w0, #0
	b	LBB0_9
LBB0_3:
	str	xzr, [sp, #8]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, sp, #8
	mov	x2, x21
	mov	x3, x20
	bl	_sasprintf
Lloh6:
	adrp	x20, _errno@GOTPAGE
Lloh7:
	ldr	x20, [x20, _errno@GOTPAGEOFF]
	str	xzr, [x20]
	ldr	x0, [sp, #8]
	mov	x1, sp
	mov	w2, #10
	bl	_strtol
	ldr	x9, [x20]
	ldr	x8, [sp]
	cmp	x9, #0
	ccmp	x8, #0, #4, eq
	b.eq	LBB0_6
; %bb.4:
	ldrb	w8, [x8]
	cbnz	w8, LBB0_6
; %bb.5:
	ldr	x8, [x19, #8]
	str	x0, [x8]
LBB0_6:
	ldr	x0, [sp, #8]
	bl	_FREE
	b	LBB0_8
LBB0_7:
	ldr	x8, [x19, #8]
	add	x0, x8, #8
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x21
	mov	x3, x20
	bl	_sasprintf
LBB0_8:
	ldr	x0, [x19]
	bl	_FREE
	mov	w0, #1
LBB0_9:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"current_workspace"

l_.str.1:                               ; @.str.1
	.asciz	"%.*s"

	.comm	_errno,8,3                      ; @errno
l_.str.2:                               ; @.str.2
	.asciz	"name"

	.no_dead_strip	_outputs_string_cb
.subsections_via_symbols
