	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function IsUserInGroup
_IsUserInGroup:                         ## @IsUserInGroup
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r12
	movl	%edi, %r15d
	movq	%rsp, -56(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movl	$0, -76(%rbp)
	movq	_SECURITY_MAX_SID_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	testq	%r12, %r12
	je	LBB0_8
## %bb.1:
	movq	%r13, %rdi
	callq	__countof
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %esi
	movl	%eax, %edx
	callq	_LookupSID
	testq	%rax, %rax
	je	LBB0_8
## %bb.2:
	cmpq	$0, (%r12)
	je	LBB0_8
## %bb.3:
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rax
	movl	(%rax,%r14,4), %esi
	movl	%r13d, %edi
	callq	_EqualSid
	testq	%rax, %rax
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_5 Depth=1
	incq	%r14
	cmpq	(%r12), %r14
	jb	LBB0_5
LBB0_8:
	testl	%r15d, %r15d
	je	LBB0_24
## %bb.9:
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_10:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_15 Depth 2
	movq	$0, -72(%rbp)
	movq	_MAX_PREFERRED_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%edi, %edi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	xorl	%edx, %edx
	leaq	-72(%rbp), %rcx
	leaq	-88(%rbp), %r9
	leaq	-76(%rbp), %rax
	pushq	%rax
	leaq	-96(%rbp), %rax
	pushq	%rax
	callq	_NetLocalGroupGetMembers
	addq	$16, %rsp
	movq	%rax, %r12
	movq	_NERR_Success@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r12
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	_ERROR_MORE_DATA@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r12
	jne	LBB0_19
LBB0_12:                                ##   in Loop: Header=BB0_10 Depth=1
	cmpq	$0, -88(%rbp)
	je	LBB0_17
## %bb.13:                              ##   in Loop: Header=BB0_10 Depth=1
	testq	%rbx, %rbx
	jne	LBB0_17
## %bb.14:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	$1, %r14d
	.p2align	4, 0x90
LBB0_15:                                ##   Parent Loop BB0_10 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-72(%rbp), %rax
	movl	-4(%rax,%r14,4), %edi
	movl	%r15d, %esi
	callq	_EqualSid
	movq	%rax, %rbx
	cmpq	-88(%rbp), %r14
	jae	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=2
	incq	%r14
	testq	%rbx, %rbx
	je	LBB0_15
LBB0_17:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	-72(%rbp), %rdi
	callq	_NetApiBufferFree
	movq	_ERROR_MORE_DATA@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r12
	jne	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_10 Depth=1
	leal	1(%r13), %eax
	cmpl	$100, %r13d
	movl	%eax, %r13d
	jb	LBB0_10
LBB0_19:
	movq	_NERR_Success@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r12
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_22
## %bb.20:
	movq	_NERR_GroupNotFound@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r12
	je	LBB0_22
## %bb.21:
	movq	%r12, %rdi
	callq	_SetLastError
	movq	_M_SYSERR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	leaq	L_.str(%rip), %rdi
	callq	_TEXT
	movl	%r15d, %edi
	movl	%eax, %esi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	callq	_MsgToEventLog
	jmp	LBB0_22
LBB0_24:
	movq	_FALSE@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_6:
	movq	_TRUE@GOTPCREL(%rip), %rax
LBB0_7:
	movq	(%rax), %rbx
	movq	-56(%rbp), %r14                 ## 8-byte Reload
LBB0_22:
	movq	%r14, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_25
## %bb.23:
	movq	%rbx, %rax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_25:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_SECURITY_MAX_SID_SIZE,4,2      ## @SECURITY_MAX_SID_SIZE
	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_MAX_PREFERRED_LENGTH,4,2       ## @MAX_PREFERRED_LENGTH
	.comm	_NERR_Success,8,3               ## @NERR_Success
	.comm	_ERROR_MORE_DATA,8,3            ## @ERROR_MORE_DATA
	.comm	_NERR_GroupNotFound,8,3         ## @NERR_GroupNotFound
	.comm	_M_SYSERR,4,2                   ## @M_SYSERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"In NetLocalGroupGetMembers for group '%s'"

	.no_dead_strip	_IsUserInGroup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function IsUserInGroup
_IsUserInGroup:                         ; @IsUserInGroup
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #48
	mov	x20, x2
	mov	x22, x1
	mov	x21, x0
	mov	x24, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x25, _FALSE@GOTPAGE
Lloh4:
	ldr	x25, [x25, _FALSE@GOTPAGEOFF]
	stur	x8, [x29, #-88]
	ldr	x19, [x25]
	stur	wzr, [x29, #-92]
Lloh5:
	adrp	x8, _SECURITY_MAX_SID_SIZE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SECURITY_MAX_SID_SIZE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x23, x9, x8
	mov	sp, x23
	cbz	x1, LBB0_6
; %bb.1:
	mov	x0, x23
	bl	__countof
	mov	x2, x0
	mov	x0, x20
	mov	x1, x23
	bl	_LookupSID
	cbz	x0, LBB0_6
; %bb.2:
	ldr	x8, [x22]
	cbz	x8, LBB0_6
; %bb.3:
	mov	x26, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22, #8]
	ldr	w1, [x8, x26, lsl #2]
	mov	x0, x23
	bl	_EqualSid
	cbnz	x0, LBB0_18
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x26, x26, #1
	ldr	x8, [x22]
	cmp	x26, x8
	b.lo	LBB0_4
LBB0_6:
	cbz	w21, LBB0_17
; %bb.7:
	mov	w25, #0
Lloh10:
	adrp	x26, _MAX_PREFERRED_LENGTH@GOTPAGE
Lloh11:
	ldr	x26, [x26, _MAX_PREFERRED_LENGTH@GOTPAGEOFF]
Lloh12:
	adrp	x23, _NERR_Success@GOTPAGE
Lloh13:
	ldr	x23, [x23, _NERR_Success@GOTPAGEOFF]
Lloh14:
	adrp	x27, _ERROR_MORE_DATA@GOTPAGE
Lloh15:
	ldr	x27, [x27, _ERROR_MORE_DATA@GOTPAGEOFF]
LBB0_8:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
	stur	xzr, [x29, #-120]
	ldr	w4, [x26]
	sub	x3, x29, #120
	sub	x5, x29, #104
	sub	x6, x29, #112
	sub	x7, x29, #92
	mov	x0, #0
	mov	x1, x20
	mov	w2, #0
	bl	_NetLocalGroupGetMembers
	mov	x22, x0
	ldr	x8, [x23]
	ldr	x9, [x27]
	cmp	x0, x8
	ccmp	x0, x9, #4, ne
	b.ne	LBB0_15
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldur	x8, [x29, #-104]
	cmp	x8, #0
	ccmp	x19, #0, #0, ne
	b.ne	LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x28, #0
LBB0_11:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldur	x8, [x29, #-120]
	ldr	w0, [x8, x28, lsl #2]
	mov	x1, x21
	bl	_EqualSid
	add	x28, x28, #1
	ldur	x8, [x29, #-104]
	cmp	x28, x8
	ccmp	x0, #0, #0, lo
	b.eq	LBB0_11
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x19, x0
LBB0_13:                                ;   in Loop: Header=BB0_8 Depth=1
	ldur	x0, [x29, #-120]
	bl	_NetApiBufferFree
	ldr	x8, [x27]
	cmp	x22, x8
	b.ne	LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_8 Depth=1
	add	w8, w25, #1
	cmp	w25, #100
	mov	x25, x8
	b.lo	LBB0_8
LBB0_15:
	ldr	x8, [x23]
Lloh16:
	adrp	x9, _NERR_GroupNotFound@GOTPAGE
Lloh17:
	ldr	x9, [x9, _NERR_GroupNotFound@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x22, x8
	ccmp	x22, x9, #4, ne
	b.eq	LBB0_19
; %bb.16:
	mov	x0, x22
	bl	_SetLastError
Lloh19:
	adrp	x8, _M_SYSERR@GOTPAGE
Lloh20:
	ldr	x8, [x8, _M_SYSERR@GOTPAGEOFF]
Lloh21:
	ldr	w21, [x8]
Lloh22:
	adrp	x0, l_.str@PAGE
Lloh23:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TEXT
	mov	x1, x0
	mov	x0, x21
	mov	x2, x20
	bl	_MsgToEventLog
	b	LBB0_19
LBB0_17:
	ldr	x19, [x25]
	b	LBB0_19
LBB0_18:
Lloh24:
	adrp	x8, _TRUE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh26:
	ldr	x19, [x8]
LBB0_19:
	mov	sp, x24
	ldur	x8, [x29, #-88]
Lloh27:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh28:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_21
; %bb.20:
	mov	x0, x19
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_21:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_SECURITY_MAX_SID_SIZE,4,2      ; @SECURITY_MAX_SID_SIZE
	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_MAX_PREFERRED_LENGTH,4,2       ; @MAX_PREFERRED_LENGTH
	.comm	_NERR_Success,8,3               ; @NERR_Success
	.comm	_ERROR_MORE_DATA,8,3            ; @ERROR_MORE_DATA
	.comm	_NERR_GroupNotFound,8,3         ; @NERR_GroupNotFound
	.comm	_M_SYSERR,4,2                   ; @M_SYSERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"In NetLocalGroupGetMembers for group '%s'"

	.no_dead_strip	_IsUserInGroup
.subsections_via_symbols
