	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function runtest_fields
_runtest_fields:                        ## @runtest_fields
	.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	%r12
	pushq	%rbx
	subq	$1056, %rsp                     ## imm = 0x420
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	callq	_cap_setgrent
	movq	%rbx, %rdi
	callq	_cap_getgrent
	movq	%rax, -1080(%rbp)
	movq	%rax, %rdi
	callq	_group_fields
	xorl	%r15d, %r15d
	cmpl	%r14d, %eax
	jne	LBB0_6
## %bb.1:
	movq	%rbx, %rdi
	callq	_cap_setgrent
	leaq	-1088(%rbp), %rsi
	leaq	-1072(%rbp), %rdx
	leaq	-1080(%rbp), %r8
	movq	%rbx, %rdi
	movl	$1024, %ecx                     ## imm = 0x400
	callq	_cap_getgrent_r
	movq	-1080(%rbp), %rdi
	callq	_group_fields
	cmpl	%r14d, %eax
	jne	LBB0_6
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_cap_getgrnam
	movq	%rax, -1080(%rbp)
	movq	%rax, %rdi
	callq	_group_fields
	cmpl	%r14d, %eax
	jne	LBB0_6
## %bb.3:
	leaq	L_.str(%rip), %rsi
	leaq	-1088(%rbp), %rdx
	leaq	-1072(%rbp), %rcx
	leaq	-1080(%rbp), %r9
	movq	%rbx, %rdi
	movl	$1024, %r8d                     ## imm = 0x400
	callq	_cap_getgrnam_r
	movq	-1080(%rbp), %rdi
	callq	_group_fields
	cmpl	%r14d, %eax
	jne	LBB0_6
## %bb.4:
	movq	_GID_WHEEL@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_cap_getgrgid
	movq	%rax, -1080(%rbp)
	movq	%rax, %rdi
	callq	_group_fields
	cmpl	%r14d, %eax
	jne	LBB0_6
## %bb.5:
	movl	(%r12), %esi
	leaq	-1088(%rbp), %rdx
	leaq	-1072(%rbp), %rcx
	leaq	-1080(%rbp), %r9
	movq	%rbx, %rdi
	movl	$1024, %r8d                     ## imm = 0x400
	callq	_cap_getgrgid_r
	movq	-1080(%rbp), %rdi
	callq	_group_fields
	xorl	%r15d, %r15d
	cmpl	%r14d, %eax
	sete	%r15b
LBB0_6:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_8
## %bb.7:
	movl	%r15d, %eax
	addq	$1056, %rsp                     ## imm = 0x420
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"wheel"

	.comm	_GID_WHEEL,4,2                  ## @GID_WHEEL
	.no_dead_strip	_runtest_fields
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function runtest_fields
_runtest_fields:                        ; @runtest_fields
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	sub	sp, sp, #1056
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	bl	_cap_setgrent
	mov	x0, x20
	bl	_cap_getgrent
	str	x0, [sp, #16]
	bl	_group_fields
	cmp	w0, w19
	b.ne	LBB0_6
; %bb.1:
	mov	x0, x20
	bl	_cap_setgrent
	add	x1, sp, #8
	add	x2, sp, #24
	add	x4, sp, #16
	mov	x0, x20
	mov	w3, #1024
	bl	_cap_getgrent_r
	ldr	x0, [sp, #16]
	bl	_group_fields
	cmp	w0, w19
	b.ne	LBB0_6
; %bb.2:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_cap_getgrnam
	str	x0, [sp, #16]
	bl	_group_fields
	cmp	w0, w19
	b.ne	LBB0_6
; %bb.3:
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #8
	add	x3, sp, #24
	add	x5, sp, #16
	mov	x0, x20
	mov	w4, #1024
	bl	_cap_getgrnam_r
	ldr	x0, [sp, #16]
	bl	_group_fields
	cmp	w0, w19
	b.ne	LBB0_6
; %bb.4:
Lloh7:
	adrp	x21, _GID_WHEEL@GOTPAGE
Lloh8:
	ldr	x21, [x21, _GID_WHEEL@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x20
	bl	_cap_getgrgid
	str	x0, [sp, #16]
	bl	_group_fields
	cmp	w0, w19
	b.ne	LBB0_6
; %bb.5:
	ldr	w1, [x21]
	add	x2, sp, #8
	add	x3, sp, #24
	add	x5, sp, #16
	mov	x0, x20
	mov	w4, #1024
	bl	_cap_getgrgid_r
	ldr	x0, [sp, #16]
	bl	_group_fields
	cmp	w0, w19
	cset	w0, eq
	b	LBB0_7
LBB0_6:
	mov	w0, #0
LBB0_7:
	ldur	x8, [x29, #-40]
Lloh9:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
	add	sp, sp, #1056
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"wheel"

	.comm	_GID_WHEEL,4,2                  ; @GID_WHEEL
	.no_dead_strip	_runtest_fields
.subsections_via_symbols
