	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function testuidgid
_testuidgid:                            ## @testuidgid
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	leaq	-40(%rbp), %rsi
	callq	_rump_sys_stat
	cmpl	$-1, %eax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	movq	%r15, %rsi
	callq	_atf_tc_fail_errno
LBB0_2:
	cmpq	$-1, %rbx
	je	LBB0_5
## %bb.3:
	movq	-40(%rbp), %rcx
	cmpq	%rbx, %rcx
	je	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_atf_tc_fail
LBB0_5:
	cmpq	$-1, %r14
	je	LBB0_8
## %bb.6:
	movq	-32(%rbp), %rcx
	cmpq	%r14, %rcx
	je	LBB0_8
## %bb.7:
	leaq	L_.str.2(%rip), %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_atf_tc_fail
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"stat %s"

L_.str.1:                               ## @.str.1
	.asciz	"%s: expected uid %d, got %d"

L_.str.2:                               ## @.str.2
	.asciz	"%s: expected gid %d, got %d"

	.no_dead_strip	_testuidgid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function testuidgid
_testuidgid:                            ; @testuidgid
	.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
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	mov	x1, sp
	bl	_rump_sys_stat
	cmn	w0, #1
	b.ne	LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_atf_tc_fail_errno
LBB0_2:
	cmn	x21, #1
	b.eq	LBB0_5
; %bb.3:
	ldr	x3, [sp]
	cmp	x3, x21
	b.eq	LBB0_5
; %bb.4:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	mov	x2, x21
	bl	_atf_tc_fail
LBB0_5:
	cmn	x19, #1
	b.eq	LBB0_8
; %bb.6:
	ldr	x3, [sp, #8]
	cmp	x3, x19
	b.eq	LBB0_8
; %bb.7:
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x20
	mov	x2, x19
	bl	_atf_tc_fail
LBB0_8:
	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	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"stat %s"

l_.str.1:                               ; @.str.1
	.asciz	"%s: expected uid %d, got %d"

l_.str.2:                               ; @.str.2
	.asciz	"%s: expected gid %d, got %d"

	.no_dead_strip	_testuidgid
.subsections_via_symbols
