	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function is_string_at
_is_string_at:                          ## @is_string_at
	.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	$1056, %rsp                     ## imm = 0x420
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %r12d
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	leaq	-1072(%rbp), %rdi
	movl	$1024, %esi                     ## imm = 0x400
	callq	___bzero
	movl	$0, -1076(%rbp)
	movl	$256, %edi                      ## imm = 0x100
	movl	$1, %esi
	callq	_calloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %rbx
	movl	(%r15), %edi
	movl	%r12d, %esi
	movq	%rax, %rdx
	movl	$255, %ecx
	callq	_r_io_read_at
	movq	$0, 2040(%rbx)
	leaq	-1076(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$256, %esi                      ## imm = 0x100
	callq	_is_string
	testl	%eax, %eax
	je	LBB0_6
## %bb.4:
	testq	%r14, %r14
	jne	LBB0_5
	jmp	LBB0_18
LBB0_1:
	testq	%r14, %r14
	je	LBB0_17
## %bb.2:
	movl	$0, (%r14)
LBB0_17:
	xorl	%ebx, %ebx
	jmp	LBB0_18
LBB0_6:
	movl	(%rbx), %esi
	testl	%esi, %esi
	jne	LBB0_12
## %bb.7:
	cmpl	$4095, 4(%rbx)                  ## imm = 0xFFF
	jg	LBB0_12
## %bb.8:
	movl	8(%rbx), %esi
	testl	%esi, %esi
	je	LBB0_13
## %bb.9:
	movl	(%r15), %edi
	leaq	-1072(%rbp), %r15
	movq	%r15, %rdx
	movl	$1024, %ecx                     ## imm = 0x400
	callq	_r_io_read_at
	movq	$0, -56(%rbp)
	leaq	-1076(%rbp), %rdx
	movq	%r15, %rdi
	movl	$128, %esi
	jmp	LBB0_10
LBB0_12:
	movl	(%r15), %edi
	leaq	-1072(%rbp), %r15
	movq	%r15, %rdx
	movl	$1024, %ecx                     ## imm = 0x400
	callq	_r_io_read_at
	movq	$0, -56(%rbp)
	leaq	-1076(%rbp), %rdx
	movq	%r15, %rdi
	movl	$1024, %esi                     ## imm = 0x400
LBB0_10:
	callq	_is_string
	testl	%eax, %eax
	je	LBB0_13
## %bb.11:
	leaq	-1072(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_strcpy
	testq	%r14, %r14
	je	LBB0_18
LBB0_5:
	movl	-1076(%rbp), %eax
	movl	%eax, (%r14)
LBB0_18:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_20
## %bb.19:
	movq	%rbx, %rax
	addq	$1056, %rsp                     ## imm = 0x420
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movl	-1076(%rbp), %eax
	testl	%eax, %eax
	jle	LBB0_14
## %bb.15:
	testq	%r14, %r14
	je	LBB0_17
## %bb.16:
	movl	%eax, (%r14)
	jmp	LBB0_17
LBB0_14:
	movq	%rbx, %rdi
	callq	_free
	jmp	LBB0_17
LBB0_20:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_UT32_MAX,4,2                   ## @UT32_MAX
	.no_dead_strip	_is_string_at
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function is_string_at
_is_string_at:                          ; @is_string_at
	.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, #1040
	mov	x20, x2
	mov	x22, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	add	x0, sp, #8
	mov	w1, #1024
	bl	_bzero
	str	wzr, [sp, #4]
	mov	w0, #256
	mov	w1, #1
	bl	_calloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
	ldr	w0, [x21]
	mov	x1, x22
	mov	x2, x19
	mov	w3, #255
	bl	_r_io_read_at
	str	xzr, [x19, #2040]
	add	x2, sp, #4
	mov	x0, x19
	mov	w1, #256
	bl	_is_string
	cbz	w0, LBB0_5
; %bb.2:
	cbnz	x20, LBB0_13
	b	LBB0_15
LBB0_3:
	mov	x19, #0
	cbz	x20, LBB0_15
; %bb.4:
	str	wzr, [x20]
	b	LBB0_15
LBB0_5:
	add	x22, sp, #8
	ldr	w1, [x19]
	cbnz	w1, LBB0_11
; %bb.6:
	ldr	w8, [x19, #4]
	cmp	w8, #4095
	b.gt	LBB0_11
; %bb.7:
	ldr	w1, [x19, #8]
	cbz	w1, LBB0_9
; %bb.8:
	ldr	w0, [x21]
	add	x2, sp, #8
	mov	w3, #1024
	bl	_r_io_read_at
	str	xzr, [x22, #1016]
	add	x0, sp, #8
	add	x2, sp, #4
	mov	w1, #128
	bl	_is_string
	cbnz	w0, LBB0_12
LBB0_9:
	ldr	w8, [sp, #4]
	cmp	w8, #0
	b.le	LBB0_17
; %bb.10:
	mov	x19, #0
	cbnz	x20, LBB0_14
	b	LBB0_15
LBB0_11:
	ldr	w0, [x21]
	add	x2, sp, #8
	mov	w3, #1024
	bl	_r_io_read_at
	str	xzr, [x22, #1016]
	add	x0, sp, #8
	add	x2, sp, #4
	mov	w1, #1024
	bl	_is_string
	cbz	w0, LBB0_9
LBB0_12:
	add	x1, sp, #8
	mov	x0, x19
	bl	_strcpy
	cbz	x20, LBB0_15
LBB0_13:
	ldr	w8, [sp, #4]
LBB0_14:
	str	w8, [x20]
LBB0_15:
	ldur	x8, [x29, #-56]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_18
; %bb.16:
	mov	x0, x19
	add	sp, sp, #1040
	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_17:
	mov	x0, x19
	bl	_free
	mov	x19, #0
	b	LBB0_15
LBB0_18:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_UT32_MAX,4,2                   ; @UT32_MAX
	.no_dead_strip	_is_string_at
.subsections_via_symbols
