	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function is_string
_is_string:                             ## @is_string
	.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	%r12
	pushq	%rbx
	subq	$528, %rsp                      ## imm = 0x210
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	_FALSE@GOTPCREL(%rip), %r12
	movl	(%r12), %r14d
	movq	(%rdi), %rax
	cmpb	$34, (%rax)
	jne	LBB0_12
## %bb.1:
	movq	%rdi, %r15
	movl	8(%rdi), %ebx
	cmpl	$2, %ebx
	jl	LBB0_2
## %bb.3:
	decl	%ebx
	xorl	%ecx, %ecx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%rsi, %rcx
	cmpq	%rsi, %rbx
	je	LBB0_9
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	1(%rax,%rcx), %edx
	cmpb	$34, %dl
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	leaq	1(%rcx), %rsi
	cmpq	$511, %rcx                      ## imm = 0x1FF
	ja	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movb	%dl, -560(%rbp,%rcx)
	jmp	LBB0_8
LBB0_2:
	xorl	%ebx, %ebx
	jmp	LBB0_9
LBB0_5:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	%ecx, %ebx
LBB0_9:
	movl	%ebx, %edi
	movl	$511, %esi                      ## imm = 0x1FF
	callq	_min
	movb	$0, -560(%rbp,%rax)
	testl	%r14d, %r14d
	je	LBB0_10
## %bb.11:
	movq	(%r15), %rax
	movl	%ebx, %ecx
	addq	%rcx, %rax
	addq	$2, %rax
	movq	%rax, (%r15)
	movl	8(%r15), %eax
	subl	%ebx, %eax
	addl	$-2, %eax
	movl	%eax, 8(%r15)
	leaq	L_.str.1(%rip), %rdi
	leaq	-560(%rbp), %rbx
	movq	%rbx, %rsi
	callq	_TRACE
	movq	16(%r15), %rdi
	movq	%rbx, %rsi
	callq	_strcpy
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_12
LBB0_10:
	leaq	L_.str(%rip), %rdi
	leaq	-560(%rbp), %rsi
	callq	_TRACE
	movl	(%r12), %r14d
LBB0_12:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_14
## %bb.13:
	movl	%r14d, %eax
	addq	$528, %rsp                      ## imm = 0x210
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_TRUE,4,2                       ## @TRUE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Wrong string %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"Found string %s\n"

	.no_dead_strip	_is_string
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function is_string
_is_string:                             ; @is_string
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -56
	.cfi_offset w28, -64
	sub	sp, sp, #528
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x22, _FALSE@GOTPAGE
Lloh4:
	ldr	x22, [x22, _FALSE@GOTPAGEOFF]
	ldr	w20, [x22]
	ldr	x9, [x0]
	ldrb	w8, [x9]
	cmp	w8, #34
	b.ne	LBB0_12
; %bb.1:
	mov	x19, x0
	ldr	w10, [x0, #8]
	cmp	w10, #2
	b.lt	LBB0_7
; %bb.2:
	mov	x8, #0
	sub	w21, w10, #1
	add	x9, x9, #1
	add	x10, sp, #8
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x8, #1
	cmp	x21, x8
	b.eq	LBB0_9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w11, [x9, x8]
	cmp	w11, #34
	b.eq	LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	x8, #511
	b.hi	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	strb	w11, [x10, x8]
	b	LBB0_3
LBB0_7:
	mov	w21, #0
	b	LBB0_9
LBB0_8:
Lloh5:
	adrp	x9, _TRUE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _TRUE@GOTPAGEOFF]
Lloh7:
	ldr	w20, [x9]
	mov	x21, x8
LBB0_9:
	mov	x0, x21
	mov	w1, #511
	bl	_min
	add	x8, sp, #8
	strb	wzr, [x8, x0]
	cbz	w20, LBB0_11
; %bb.10:
	add	w8, w21, #2
	ldr	x9, [x19]
	add	x9, x9, x8
	str	x9, [x19]
	ldr	w9, [x19, #8]
	sub	w8, w9, w8
	str	w8, [x19, #8]
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	add	x1, sp, #8
	bl	_TRACE
	ldr	x0, [x19, #16]
	add	x1, sp, #8
	bl	_strcpy
Lloh10:
	adrp	x8, _TRUE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh12:
	ldr	w20, [x8]
	b	LBB0_12
LBB0_11:
Lloh13:
	adrp	x0, l_.str@PAGE
Lloh14:
	add	x0, x0, l_.str@PAGEOFF
	add	x1, sp, #8
	bl	_TRACE
	ldr	w20, [x22]
LBB0_12:
	ldur	x8, [x29, #-56]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.13:
	mov	x0, x20
	add	sp, sp, #528
	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
	ldp	x28, x27, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_TRUE,4,2                       ; @TRUE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Wrong string %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"Found string %s\n"

	.no_dead_strip	_is_string
.subsections_via_symbols
