	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_reportprivilege                ## -- Begin function reportprivilege
	.p2align	4, 0x90
_reportprivilege:                       ## @reportprivilege
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	leaq	-36(%rbp), %rdi
	leaq	-40(%rbp), %rsi
	leaq	-32(%rbp), %rdx
	callq	_getresuid
	testl	%eax, %eax
	jne	LBB0_1
## %bb.2:
	leaq	-24(%rbp), %rdi
	leaq	-28(%rbp), %rsi
	leaq	-20(%rbp), %rdx
	callq	_getresgid
	testl	%eax, %eax
	jne	LBB0_3
## %bb.4:
	testq	%r14, %r14
	je	LBB0_6
## %bb.5:
	leaq	L_.str.2(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_printf
LBB0_6:
	movl	-36(%rbp), %esi
	movl	-40(%rbp), %edx
	movl	-32(%rbp), %ecx
	leaq	L_.str.3(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_printf
	movl	-24(%rbp), %esi
	movl	-28(%rbp), %edx
	movl	-20(%rbp), %ecx
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
LBB0_7:
	movl	%ebx, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rdi
	callq	_perror
	jmp	LBB0_7
LBB0_3:
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %rdi
	callq	_perror
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"getresuid"

L_.str.1:                               ## @.str.1
	.asciz	"getresgid"

L_.str.2:                               ## @.str.2
	.asciz	"%s: "

L_.str.3:                               ## @.str.3
	.asciz	"ruid: %d, euid: %d, suid: %d,     "

L_.str.4:                               ## @.str.4
	.asciz	"rgid: %d, egid: %d, sgid: %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_reportprivilege                ; -- Begin function reportprivilege
	.p2align	2
_reportprivilege:                       ; @reportprivilege
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	sub	x0, x29, #24
	sub	x1, x29, #20
	sub	x2, x29, #28
	bl	_getresuid
	cbnz	w0, LBB0_6
; %bb.1:
	add	x0, sp, #28
	add	x1, sp, #32
	add	x2, sp, #24
	bl	_getresgid
	cbnz	w0, LBB0_7
; %bb.2:
	cbz	x19, LBB0_4
; %bb.3:
	str	x19, [sp]
Lloh0:
	adrp	x0, l_.str.2@PAGE
Lloh1:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printf
LBB0_4:
	ldp	w8, w9, [x29, #-24]
	ldur	w10, [x29, #-28]
	stp	x9, x10, [sp, #8]
	str	x8, [sp]
Lloh2:
	adrp	x0, l_.str.3@PAGE
Lloh3:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_printf
	ldp	w8, w9, [sp, #28]
	ldr	w10, [sp, #24]
	stp	x9, x10, [sp, #8]
	str	x8, [sp]
Lloh4:
	adrp	x0, l_.str.4@PAGE
Lloh5:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_printf
	mov	w20, #0
LBB0_5:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_6:
	mov	x20, x0
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_perror
	b	LBB0_5
LBB0_7:
	mov	x20, x0
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_perror
	b	LBB0_5
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"getresuid"

l_.str.1:                               ; @.str.1
	.asciz	"getresgid"

l_.str.2:                               ; @.str.2
	.asciz	"%s: "

l_.str.3:                               ; @.str.3
	.asciz	"ruid: %d, euid: %d, suid: %d,     "

l_.str.4:                               ; @.str.4
	.asciz	"rgid: %d, egid: %d, sgid: %d\n"

.subsections_via_symbols
