	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_archive_strcpy
_test_archive_strcpy:                   ## @test_archive_strcpy
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	leaq	-32(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_archive_string_init
	movl	-32(%rbp), %ecx
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_assertExactString
	leaq	L_.str(%rip), %r14
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_archive_strcpy
	xorl	%edi, %edi
	cmpq	%rax, %rbx
	sete	%dil
	callq	_assert
	movq	_EXTENT@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movl	-32(%rbp), %ecx
	movl	$5, %edi
	movq	%r14, %rdx
	callq	_assertExactString
	leaq	L_.str.1(%rip), %r14
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_archive_strcpy
	xorl	%edi, %edi
	cmpq	%rax, %rbx
	sete	%dil
	callq	_assert
	movl	(%r15), %esi
	movl	-32(%rbp), %ecx
	movl	$3, %edi
	movq	%r14, %rdx
	callq	_assertExactString
	leaq	L_.str.2(%rip), %r14
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_archive_strcpy
	xorl	%edi, %edi
	cmpq	%rax, %rbx
	sete	%dil
	callq	_assert
	movl	(%r15), %esi
	movl	-32(%rbp), %ecx
	xorl	%edi, %edi
	movq	%r14, %rdx
	callq	_assertExactString
	movq	%rbx, %rdi
	callq	_archive_string_free
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"snafu"

	.comm	_EXTENT,4,2                     ## @EXTENT
L_.str.1:                               ## @.str.1
	.asciz	"foo"

L_.str.2:                               ## @.str.2
	.space	1

	.no_dead_strip	_test_archive_strcpy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_archive_strcpy
_test_archive_strcpy:                   ; @test_archive_strcpy
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	add	x20, sp, #8
	add	x0, sp, #8
	bl	_archive_string_init
	ldr	w3, [sp, #8]
	mov	w0, #0
	mov	w1, #0
	mov	x2, #0
	bl	_assertExactString
Lloh0:
	adrp	x19, l_.str@PAGE
Lloh1:
	add	x19, x19, l_.str@PAGEOFF
	add	x0, sp, #8
	mov	x1, x19
	bl	_archive_strcpy
	cmp	x20, x0
	cset	w0, eq
	bl	_assert
Lloh2:
	adrp	x21, _EXTENT@GOTPAGE
Lloh3:
	ldr	x21, [x21, _EXTENT@GOTPAGEOFF]
	ldr	w1, [x21]
	ldr	w3, [sp, #8]
	mov	w0, #5
	mov	x2, x19
	bl	_assertExactString
Lloh4:
	adrp	x19, l_.str.1@PAGE
Lloh5:
	add	x19, x19, l_.str.1@PAGEOFF
	add	x0, sp, #8
	mov	x1, x19
	bl	_archive_strcpy
	cmp	x20, x0
	cset	w0, eq
	bl	_assert
	ldr	w1, [x21]
	ldr	w3, [sp, #8]
	mov	w0, #3
	mov	x2, x19
	bl	_assertExactString
Lloh6:
	adrp	x19, l_.str.2@PAGE
Lloh7:
	add	x19, x19, l_.str.2@PAGEOFF
	add	x0, sp, #8
	mov	x1, x19
	bl	_archive_strcpy
	cmp	x20, x0
	cset	w0, eq
	bl	_assert
	ldr	w1, [x21]
	ldr	w3, [sp, #8]
	mov	w0, #0
	mov	x2, x19
	bl	_assertExactString
	add	x0, sp, #8
	bl	_archive_string_free
	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
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"snafu"

	.comm	_EXTENT,4,2                     ; @EXTENT
l_.str.1:                               ; @.str.1
	.asciz	"foo"

l_.str.2:                               ; @.str.2
	.space	1

	.no_dead_strip	_test_archive_strcpy
.subsections_via_symbols
