	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function testf
_testf:                                 ## @testf
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_var1@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movl	$1, %esi
	callq	_ATF_CHECK_EQ
	movq	_var2@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	xorl	%esi, %esi
	callq	_ATF_CHECK_EQ
	movl	$2, %edi
	movl	$2, %esi
	callq	_testf_dso_helper
	movl	(%r14), %edi
	movl	$2, %esi
	callq	_ATF_CHECK_EQ
	movl	(%rbx), %edi
	movl	$2, %esi
	callq	_ATF_CHECK_EQ
	movl	$3, %edi
	movl	$3, %esi
	callq	_testf_dso_helper
	movl	(%r14), %edi
	movl	$3, %esi
	callq	_ATF_CHECK_EQ
	movl	(%rbx), %edi
	movl	$3, %esi
	callq	_ATF_CHECK_EQ
	movq	_var3@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	_optind@GOTPCREL(%rip), %esi
	callq	_ATF_CHECK_EQ
	movq	_var4@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	_var4_helper@GOTPCREL(%rip), %esi
	callq	_ATF_CHECK_EQ
	movq	_dso_var1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_getpid@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ATF_CHECK_EQ
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_var1,4,2                       ## @var1
	.comm	_var2,4,2                       ## @var2
	.comm	_var3,4,2                       ## @var3
	.comm	_optind,4,2                     ## @optind
	.comm	_var4,4,2                       ## @var4
	.comm	_var4_helper,4,2                ## @var4_helper
	.comm	_dso_var1,4,2                   ## @dso_var1
	.comm	_getpid,8,3                     ## @getpid
	.no_dead_strip	_testf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function testf
_testf:                                 ; @testf
	.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	x19, _var1@GOTPAGE
Lloh1:
	ldr	x19, [x19, _var1@GOTPAGEOFF]
	ldr	w0, [x19]
	mov	w1, #1
	bl	_ATF_CHECK_EQ
Lloh2:
	adrp	x20, _var2@GOTPAGE
Lloh3:
	ldr	x20, [x20, _var2@GOTPAGEOFF]
	ldr	w0, [x20]
	mov	w1, #0
	bl	_ATF_CHECK_EQ
	mov	w0, #2
	mov	w1, #2
	bl	_testf_dso_helper
	ldr	w0, [x19]
	mov	w1, #2
	bl	_ATF_CHECK_EQ
	ldr	w0, [x20]
	mov	w1, #2
	bl	_ATF_CHECK_EQ
	mov	w0, #3
	mov	w1, #3
	bl	_testf_dso_helper
	ldr	w0, [x19]
	mov	w1, #3
	bl	_ATF_CHECK_EQ
	ldr	w0, [x20]
	mov	w1, #3
	bl	_ATF_CHECK_EQ
Lloh4:
	adrp	x8, _var3@GOTPAGE
Lloh5:
	ldr	x8, [x8, _var3@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
Lloh7:
	adrp	x1, _optind@GOTPAGE
Lloh8:
	ldr	x1, [x1, _optind@GOTPAGEOFF]
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_ATF_CHECK_EQ
Lloh9:
	adrp	x8, _var4@GOTPAGE
Lloh10:
	ldr	x8, [x8, _var4@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x1, _var4_helper@GOTPAGE
Lloh13:
	ldr	x1, [x1, _var4_helper@GOTPAGEOFF]
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_ATF_CHECK_EQ
Lloh14:
	adrp	x8, _dso_var1@GOTPAGE
Lloh15:
	ldr	x8, [x8, _dso_var1@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x8, _getpid@GOTPAGE
Lloh18:
	ldr	x8, [x8, _getpid@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	bl	_ATF_CHECK_EQ
	mov	x0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_var1,4,2                       ; @var1
	.comm	_var2,4,2                       ; @var2
	.comm	_var3,4,2                       ; @var3
	.comm	_optind,4,2                     ; @optind
	.comm	_var4,4,2                       ; @var4
	.comm	_var4_helper,4,2                ; @var4_helper
	.comm	_dso_var1,4,2                   ; @dso_var1
	.comm	_getpid,8,3                     ; @getpid
	.no_dead_strip	_testf
.subsections_via_symbols
