	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_testmain                       ## -- Begin function testmain
	.p2align	4, 0x90
_testmain:                              ## @testmain
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	leaq	L_.str(%rip), %rdi
	callq	_print
	movq	_defaultint@GOTPCREL(%rip), %rax
	movl	$3, (%rax)
	movl	$3, %edi
	movl	$3, %esi
	callq	_expect
	movq	_val@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movl	$21, %edi
	callq	_expect
	movl	$22, (%rbx)
	movl	$22, %edi
	movl	$22, %esi
	callq	_expect
	movq	_p1@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %esi
	movl	$22, %edi
	callq	_expect
	movq	_a1@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	$23, 4(%rax)
	movl	$23, %edi
	movl	$23, %esi
	callq	_expect
	movq	_a2@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	4(%rax), %esi
	movl	$25, %edi
	callq	_expect
	movq	_x1@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	_x2@GOTPCREL(%rip), %rbx
	movl	$2, (%rbx)
	movl	$1, %edi
	movl	$1, %esi
	callq	_expect
	movl	(%rbx), %esi
	movl	$2, %edi
	callq	_expect
	movq	_x3@GOTPCREL(%rip), %rax
	movl	$3, (%rax)
	movl	$3, %edi
	movl	$3, %esi
	callq	_expect
	movq	_x4@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$4, %edi
	callq	_expect
	movq	_x5@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$5, %edi
	callq	_expect
	movq	_x6@GOTPCREL(%rip), %rax
	movl	$6, (%rax)
	movl	$6, %edi
	movl	$6, %esi
	callq	_expect
	movq	_s1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_expect_string
	movq	_s2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdi
	callq	_expect_string
	movq	_l1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$8, %edi
	callq	_expectl
	movq	_intp@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %esi
	movl	$9, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_expectl                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"global variable"

	.comm	_defaultint,4,2                 ## @defaultint
	.comm	_val,4,2                        ## @val
	.comm	_p1,8,3                         ## @p1
	.comm	_a1,8,3                         ## @a1
	.comm	_a2,8,3                         ## @a2
	.comm	_x1,4,2                         ## @x1
	.comm	_x2,4,2                         ## @x2
	.comm	_x3,4,2                         ## @x3
	.comm	_x4,4,2                         ## @x4
	.comm	_x5,4,2                         ## @x5
	.comm	_x6,4,2                         ## @x6
L_.str.1:                               ## @.str.1
	.asciz	"abcd"

	.comm	_s1,4,2                         ## @s1
L_.str.2:                               ## @.str.2
	.asciz	"ABCD"

	.comm	_s2,4,2                         ## @s2
	.comm	_l1,4,2                         ## @l1
	.comm	_intp,8,3                       ## @intp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_testmain                       ; -- Begin function testmain
	.p2align	2
_testmain:                              ; @testmain
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_print
Lloh2:
	adrp	x8, _defaultint@GOTPAGE
Lloh3:
	ldr	x8, [x8, _defaultint@GOTPAGEOFF]
	mov	w19, #3
Lloh4:
	str	w19, [x8]
	mov	w0, #3
	mov	w1, #3
	bl	_expect
Lloh5:
	adrp	x20, _val@GOTPAGE
Lloh6:
	ldr	x20, [x20, _val@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	w0, #21
	bl	_expect
	mov	w8, #22
	str	w8, [x20]
	mov	w0, #22
	mov	w1, #22
	bl	_expect
Lloh7:
	adrp	x8, _p1@GOTPAGE
Lloh8:
	ldr	x8, [x8, _p1@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	ldr	w1, [x8]
	mov	w0, #22
	bl	_expect
Lloh10:
	adrp	x8, _a1@GOTPAGE
Lloh11:
	ldr	x8, [x8, _a1@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	mov	w9, #23
	str	w9, [x8, #4]
	mov	w0, #23
	mov	w1, #23
	bl	_expect
Lloh13:
	adrp	x8, _a2@GOTPAGE
Lloh14:
	ldr	x8, [x8, _a2@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	ldr	w1, [x8, #4]
	mov	w0, #25
	bl	_expect
Lloh16:
	adrp	x8, _x1@GOTPAGE
Lloh17:
	ldr	x8, [x8, _x1@GOTPAGEOFF]
	mov	w9, #1
Lloh18:
	str	w9, [x8]
Lloh19:
	adrp	x20, _x2@GOTPAGE
Lloh20:
	ldr	x20, [x20, _x2@GOTPAGEOFF]
	mov	w8, #2
	str	w8, [x20]
	mov	w0, #1
	mov	w1, #1
	bl	_expect
	ldr	w1, [x20]
	mov	w0, #2
	bl	_expect
Lloh21:
	adrp	x8, _x3@GOTPAGE
Lloh22:
	ldr	x8, [x8, _x3@GOTPAGEOFF]
Lloh23:
	str	w19, [x8]
	mov	w0, #3
	mov	w1, #3
	bl	_expect
Lloh24:
	adrp	x8, _x4@GOTPAGE
Lloh25:
	ldr	x8, [x8, _x4@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	mov	w0, #4
	bl	_expect
Lloh27:
	adrp	x8, _x5@GOTPAGE
Lloh28:
	ldr	x8, [x8, _x5@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	mov	w0, #5
	bl	_expect
Lloh30:
	adrp	x8, _x6@GOTPAGE
Lloh31:
	ldr	x8, [x8, _x6@GOTPAGEOFF]
	mov	w9, #6
Lloh32:
	str	w9, [x8]
	mov	w0, #6
	mov	w1, #6
	bl	_expect
Lloh33:
	adrp	x8, _s1@GOTPAGE
Lloh34:
	ldr	x8, [x8, _s1@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
Lloh36:
	adrp	x0, l_.str.1@PAGE
Lloh37:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_expect_string
Lloh38:
	adrp	x8, _s2@GOTPAGE
Lloh39:
	ldr	x8, [x8, _s2@GOTPAGEOFF]
Lloh40:
	ldr	w1, [x8]
Lloh41:
	adrp	x0, l_.str.2@PAGE
Lloh42:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_expect_string
Lloh43:
	adrp	x8, _l1@GOTPAGE
Lloh44:
	ldr	x8, [x8, _l1@GOTPAGEOFF]
Lloh45:
	ldr	w1, [x8]
	mov	w0, #8
	bl	_expectl
Lloh46:
	adrp	x8, _intp@GOTPAGE
Lloh47:
	ldr	x8, [x8, _intp@GOTPAGEOFF]
Lloh48:
	ldr	x8, [x8]
	ldr	w1, [x8]
	mov	w0, #9
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_expectl
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotStr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotStr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotStr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"global variable"

	.comm	_defaultint,4,2                 ; @defaultint
	.comm	_val,4,2                        ; @val
	.comm	_p1,8,3                         ; @p1
	.comm	_a1,8,3                         ; @a1
	.comm	_a2,8,3                         ; @a2
	.comm	_x1,4,2                         ; @x1
	.comm	_x2,4,2                         ; @x2
	.comm	_x3,4,2                         ; @x3
	.comm	_x4,4,2                         ; @x4
	.comm	_x5,4,2                         ; @x5
	.comm	_x6,4,2                         ; @x6
l_.str.1:                               ; @.str.1
	.asciz	"abcd"

	.comm	_s1,4,2                         ; @s1
l_.str.2:                               ; @.str.2
	.asciz	"ABCD"

	.comm	_s2,4,2                         ; @s2
	.comm	_l1,4,2                         ; @l1
	.comm	_intp,8,3                       ; @intp
.subsections_via_symbols
