	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_gid
_test_gid:                              ## @test_gid
	.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
	xorl	%eax, %eax
	callq	_archive_match_new
	movq	%rax, %r14
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_assert
	testl	%eax, %eax
	je	LBB0_4
## %bb.1:
	xorl	%eax, %eax
	callq	_archive_entry_new
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_assert
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movq	%r14, %rdi
	movl	$1000, %esi                     ## imm = 0x3E8
	callq	_archive_match_include_gid
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movq	%r14, %rdi
	movl	$1002, %esi                     ## imm = 0x3EA
	callq	_archive_match_include_gid
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_archive_entry_set_gid
	leaq	L_.str(%rip), %rdi
	callq	_failure
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_archive_match_owner_excluded
	movl	$1, %edi
	movl	%eax, %esi
	callq	_assertEqualInt
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_archive_match_excluded
	movl	$1, %edi
	movl	%eax, %esi
	callq	_assertEqualInt
	movq	%rbx, %rdi
	movl	$1000, %esi                     ## imm = 0x3E8
	callq	_archive_entry_set_gid
	leaq	L_.str.1(%rip), %rdi
	callq	_failure
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_archive_match_owner_excluded
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_assertEqualInt
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_archive_match_excluded
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_assertEqualInt
	movq	%rbx, %rdi
	movl	$1001, %esi                     ## imm = 0x3E9
	callq	_archive_entry_set_gid
	leaq	L_.str.2(%rip), %rdi
	callq	_failure
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_archive_match_owner_excluded
	movl	$1, %edi
	movl	%eax, %esi
	callq	_assertEqualInt
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_archive_match_excluded
	movl	$1, %edi
	movl	%eax, %esi
	callq	_assertEqualInt
	movq	%rbx, %rdi
	movl	$1002, %esi                     ## imm = 0x3EA
	callq	_archive_entry_set_gid
	leaq	L_.str.3(%rip), %rdi
	callq	_failure
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_archive_match_owner_excluded
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_assertEqualInt
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_archive_match_excluded
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_assertEqualInt
	movq	%rbx, %rdi
	movl	$1003, %esi                     ## imm = 0x3EB
	callq	_archive_entry_set_gid
	leaq	L_.str.4(%rip), %rdi
	callq	_failure
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_archive_match_owner_excluded
	movl	$1, %edi
	movl	%eax, %esi
	callq	_assertEqualInt
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_archive_match_excluded
	movl	$1, %edi
	movl	%eax, %esi
	callq	_assertEqualInt
	movq	%rbx, %rdi
	callq	_archive_entry_free
LBB0_3:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_archive_match_free             ## TAILCALL
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"uid 0 should be excluded"

L_.str.1:                               ## @.str.1
	.asciz	"uid 1000 should not be excluded"

L_.str.2:                               ## @.str.2
	.asciz	"uid 1001 should be excluded"

L_.str.3:                               ## @.str.3
	.asciz	"uid 1002 should not be excluded"

L_.str.4:                               ## @.str.4
	.asciz	"uid 1003 should be excluded"

	.no_dead_strip	_test_gid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_gid
_test_gid:                              ; @test_gid
	.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
	bl	_archive_match_new
	mov	x19, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
	cbz	w0, LBB0_4
; %bb.1:
	bl	_archive_entry_new
	mov	x20, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
	cbz	w0, LBB0_3
; %bb.2:
	mov	x0, x19
	mov	w1, #1000
	bl	_archive_match_include_gid
	mov	x2, x0
	mov	x0, x19
	mov	w1, #0
	bl	_assertEqualIntA
	mov	x0, x19
	mov	w1, #1002
	bl	_archive_match_include_gid
	mov	x2, x0
	mov	x0, x19
	mov	w1, #0
	bl	_assertEqualIntA
	mov	x0, x20
	mov	w1, #0
	bl	_archive_entry_set_gid
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_failure
	mov	x0, x19
	mov	x1, x20
	bl	_archive_match_owner_excluded
	mov	x1, x0
	mov	w0, #1
	bl	_assertEqualInt
	mov	x0, x19
	mov	x1, x20
	bl	_archive_match_excluded
	mov	x1, x0
	mov	w0, #1
	bl	_assertEqualInt
	mov	x0, x20
	mov	w1, #1000
	bl	_archive_entry_set_gid
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_failure
	mov	x0, x19
	mov	x1, x20
	bl	_archive_match_owner_excluded
	mov	x1, x0
	mov	w0, #0
	bl	_assertEqualInt
	mov	x0, x19
	mov	x1, x20
	bl	_archive_match_excluded
	mov	x1, x0
	mov	w0, #0
	bl	_assertEqualInt
	mov	x0, x20
	mov	w1, #1001
	bl	_archive_entry_set_gid
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_failure
	mov	x0, x19
	mov	x1, x20
	bl	_archive_match_owner_excluded
	mov	x1, x0
	mov	w0, #1
	bl	_assertEqualInt
	mov	x0, x19
	mov	x1, x20
	bl	_archive_match_excluded
	mov	x1, x0
	mov	w0, #1
	bl	_assertEqualInt
	mov	x0, x20
	mov	w1, #1002
	bl	_archive_entry_set_gid
Lloh6:
	adrp	x0, l_.str.3@PAGE
Lloh7:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_failure
	mov	x0, x19
	mov	x1, x20
	bl	_archive_match_owner_excluded
	mov	x1, x0
	mov	w0, #0
	bl	_assertEqualInt
	mov	x0, x19
	mov	x1, x20
	bl	_archive_match_excluded
	mov	x1, x0
	mov	w0, #0
	bl	_assertEqualInt
	mov	x0, x20
	mov	w1, #1003
	bl	_archive_entry_set_gid
Lloh8:
	adrp	x0, l_.str.4@PAGE
Lloh9:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_failure
	mov	x0, x19
	mov	x1, x20
	bl	_archive_match_owner_excluded
	mov	x1, x0
	mov	w0, #1
	bl	_assertEqualInt
	mov	x0, x19
	mov	x1, x20
	bl	_archive_match_excluded
	mov	x1, x0
	mov	w0, #1
	bl	_assertEqualInt
	mov	x0, x20
	bl	_archive_entry_free
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_archive_match_free
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"uid 0 should be excluded"

l_.str.1:                               ; @.str.1
	.asciz	"uid 1000 should not be excluded"

l_.str.2:                               ; @.str.2
	.asciz	"uid 1001 should be excluded"

l_.str.3:                               ; @.str.3
	.asciz	"uid 1002 should not be excluded"

l_.str.4:                               ; @.str.4
	.asciz	"uid 1003 should be excluded"

	.no_dead_strip	_test_gid
.subsections_via_symbols
