	.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
	pushq	%rax
	movl	$4136, %eax                     ## imm = 0x1028
	callq	____chkstk_darwin
	subq	%rax, %rsp
	popq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	-4168(%rbp), %r15
	movq	%r15, %rdi
	callq	_stringpool_init
	leaq	L_.str(%rip), %r14
	movq	%r14, %rdi
	callq	_ss
	movslq	%eax, %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_stringpool_add
	xorl	%edi, %edi
	cmpq	-4168(%rbp), %rax
	sete	%dil
	callq	_assert
	movq	%r14, %rdi
	callq	_s
	movslq	%eax, %r13
	xorl	%edi, %edi
	cmpl	$4096, -4160(%rbp)              ## imm = 0x1000
	sete	%dil
	callq	_assert
	xorl	%edi, %edi
	cmpq	%r13, -4152(%rbp)
	sete	%dil
	callq	_assert
	leaq	-4144(%rbp), %r12
	movl	$4096, %edx                     ## imm = 0x1000
	movq	%r15, %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_stringpool_add
	movq	-4168(%rbp), %rcx
	addq	%r13, %rcx
	xorl	%edi, %edi
	cmpq	%rcx, %rax
	sete	%dil
	callq	_assert
	leaq	4096(%r13), %rbx
	xorl	%edi, %edi
	cmpl	$8192, -4160(%rbp)              ## imm = 0x2000
	sete	%dil
	callq	_assert
	xorl	%edi, %edi
	cmpq	%rbx, -4152(%rbp)
	sete	%dil
	callq	_assert
	movq	%r14, %rdi
	callq	_s
	movl	$4096, %r14d                    ## imm = 0x1000
	movl	$4096, %edx                     ## imm = 0x1000
	subl	%eax, %edx
	movq	%r15, %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_stringpool_add
	addq	-4168(%rbp), %rbx
	xorl	%edi, %edi
	cmpq	%rbx, %rax
	sete	%dil
	callq	_assert
	leaq	L_.str(%rip), %rdi
	callq	_s
	subl	%eax, %r14d
	movslq	%r14d, %rax
	leaq	(%rax,%r13), %rbx
	addq	$4096, %rbx                     ## imm = 0x1000
	xorl	%edi, %edi
	cmpq	$8192, %rbx                     ## imm = 0x2000
	sete	%dil
	callq	_assert
	xorl	%edi, %edi
	cmpl	$8192, -4160(%rbp)              ## imm = 0x2000
	sete	%dil
	callq	_assert
	xorl	%edi, %edi
	cmpq	%rbx, -4152(%rbp)
	sete	%dil
	callq	_assert
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	addq	$4136, %rsp                     ## imm = 0x1028
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"AAAAA"

.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:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	w9, #4144
Lloh0:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh1:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	sub	sp, sp, #1, lsl #12             ; =4096
	sub	sp, sp, #48
Lloh2:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	add	x0, sp, #16
	bl	_stringpool_init
Lloh5:
	adrp	x19, l_.str@PAGE
Lloh6:
	add	x19, x19, l_.str@PAGEOFF
	mov	x0, x19
	bl	_ss
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x1, w0
	add	x0, sp, #16
	bl	_stringpool_add
	ldr	x8, [sp, #16]
	cmp	x0, x8
	cset	w0, eq
	bl	_assert
	mov	x0, x19
	bl	_s
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x21, w0
	ldr	w8, [sp, #24]
	cmp	w8, #1, lsl #12                 ; =4096
	cset	w0, eq
	bl	_assert
	ldr	x8, [sp, #32]
	cmp	x8, x21
	cset	w0, eq
	bl	_assert
	mov	w20, #4096
	str	x20, [sp]
	add	x0, sp, #16
	add	x1, sp, #40
	bl	_stringpool_add
	ldr	x8, [sp, #16]
	add	x8, x8, x21
	cmp	x0, x8
	cset	w0, eq
	bl	_assert
	add	x21, x21, #1, lsl #12           ; =4096
	ldr	w8, [sp, #24]
	cmp	w8, #2, lsl #12                 ; =8192
	cset	w0, eq
	bl	_assert
	ldr	x8, [sp, #32]
	cmp	x8, x21
	cset	w0, eq
	bl	_assert
	mov	x0, x19
	bl	_s
	sub	w8, w20, w0
	str	x8, [sp]
	add	x0, sp, #16
	add	x1, sp, #40
	bl	_stringpool_add
	ldr	x8, [sp, #16]
	add	x8, x8, x21
	cmp	x0, x8
	cset	w0, eq
	bl	_assert
	mov	x0, x19
	bl	_s
	sub	w8, w20, w0
	add	x19, x21, w8, sxtw
	cmp	x19, #2, lsl #12                ; =8192
	cset	w0, eq
	bl	_assert
	ldr	w8, [sp, #24]
	cmp	w8, #2, lsl #12                 ; =8192
	cset	w0, eq
	bl	_assert
	ldr	x8, [sp, #32]
	cmp	x8, x19
	cset	w0, eq
	bl	_assert
	ldur	x8, [x29, #-40]
Lloh7:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh8:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	add	sp, sp, #1, lsl #12             ; =4096
	add	sp, sp, #48
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"AAAAA"

.subsections_via_symbols
