	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_xucred
_check_xucred:                          ## @check_xucred
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$32, %esi
	jne	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	movq	(%rdi), %rsi
	leaq	L_.str.1(%rip), %rdi
	callq	_uc_dbgmsg
	movq	8(%rbx), %rsi
	leaq	L_.str.2(%rip), %rdi
	callq	_uc_dbgmsg
	movq	16(%rbx), %rsi
	leaq	L_.str.3(%rip), %rdi
	callq	_uc_dbgmsg
	movq	(%rbx), %rsi
	movq	_XUCRED_VERSION@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	xorl	%r14d, %r14d
	cmpq	%rdx, %rsi
	je	LBB0_4
## %bb.3:
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_uc_logmsgx
	movl	$-1, %r14d
LBB0_4:
	movq	8(%rbx), %rsi
	movq	_uc_cfg@GOTPCREL(%rip), %r15
	movq	(%r15), %rdx
	cmpq	%rdx, %rsi
	je	LBB0_6
## %bb.5:
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_uc_logmsgx
	movl	$-1, %r14d
LBB0_6:
	movq	16(%rbx), %rsi
	testq	%rsi, %rsi
	jne	LBB0_8
## %bb.7:
	leaq	L_.str.6(%rip), %rdi
	xorl	%eax, %eax
	callq	_uc_logmsgx
	movq	16(%rbx), %rsi
	movl	$-1, %r14d
LBB0_8:
	movq	_XU_NGROUPS@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	cmpq	%rdx, %rsi
	jbe	LBB0_10
## %bb.9:
	leaq	L_.str.8(%rip), %rdi
	xorl	%eax, %eax
	callq	_uc_logmsgx
	movl	$-1, %r14d
LBB0_10:
	movq	24(%rbx), %rsi
	movq	(%rsi), %rax
	movq	8(%r15), %rdx
	cmpq	%rdx, %rax
	je	LBB0_12
## %bb.11:
	leaq	L_.str.9(%rip), %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_uc_logmsgx
	movq	24(%rbx), %rsi
	movl	$-1, %r14d
LBB0_12:
	movq	16(%rbx), %rcx
	leaq	L_.str.10(%rip), %rdi
	leaq	L_.str.11(%rip), %rdx
	xorl	%r8d, %r8d
	callq	_uc_check_groups
	testq	%rax, %rax
	movl	$-1, %eax
	cmovnsl	%r14d, %eax
	jmp	LBB0_13
LBB0_1:
	movslq	%esi, %rsi
	leaq	L_.str(%rip), %rdi
	movl	$32, %edx
	xorl	%eax, %eax
	callq	_uc_logmsgx
	movl	$-1, %eax
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"option value size %zu != %zu"

L_.str.1:                               ## @.str.1
	.asciz	"xucred.cr_version %u"

L_.str.2:                               ## @.str.2
	.asciz	"xucred.cr_uid %lu"

L_.str.3:                               ## @.str.3
	.asciz	"xucred.cr_ngroups %d"

	.comm	_XUCRED_VERSION,8,3             ## @XUCRED_VERSION
L_.str.4:                               ## @.str.4
	.asciz	"xucred.cr_version %u != %d"

	.comm	_uc_cfg,16,3                    ## @uc_cfg
L_.str.5:                               ## @.str.5
	.asciz	"xucred.cr_uid %lu != %lu (EUID)"

L_.str.6:                               ## @.str.6
	.asciz	"xucred.cr_ngroups == 0"

	.comm	_XU_NGROUPS,8,3                 ## @XU_NGROUPS
L_.str.8:                               ## @.str.8
	.asciz	"xucred.cr_ngroups %hu > %u (max)"

L_.str.9:                               ## @.str.9
	.asciz	"xucred.cr_groups[0] %lu != %lu (EGID)"

L_.str.10:                              ## @.str.10
	.asciz	"xucred.cr_groups"

L_.str.11:                              ## @.str.11
	.asciz	"xucred.cr_ngroups"

	.no_dead_strip	_check_xucred
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_xucred
_check_xucred:                          ; @check_xucred
	.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
                                        ; kill: def $w1 killed $w1 def $x1
	cmp	w1, #32
	b.ne	LBB0_3
; %bb.1:
	mov	x19, x0
	ldr	x1, [x0]
Lloh0:
	adrp	x0, l_.str.1@PAGE
Lloh1:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_uc_dbgmsg
	ldr	x1, [x19, #8]
Lloh2:
	adrp	x0, l_.str.2@PAGE
Lloh3:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_uc_dbgmsg
	ldr	x1, [x19, #16]
Lloh4:
	adrp	x0, l_.str.3@PAGE
Lloh5:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_uc_dbgmsg
	ldr	x8, [x19]
Lloh6:
	adrp	x9, _XUCRED_VERSION@GOTPAGE
Lloh7:
	ldr	x9, [x9, _XUCRED_VERSION@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.2:
	mov	w20, #0
	b	LBB0_5
LBB0_3:
	sxtw	x8, w1
	mov	w9, #32
	stp	x8, x9, [sp]
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	_uc_logmsgx
	mov	w0, #-1
	b	LBB0_14
LBB0_4:
	stp	x8, x9, [sp]
Lloh11:
	adrp	x0, l_.str.4@PAGE
Lloh12:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_uc_logmsgx
	mov	w20, #-1
LBB0_5:
	ldr	x8, [x19, #8]
Lloh13:
	adrp	x21, _uc_cfg@GOTPAGE
Lloh14:
	ldr	x21, [x21, _uc_cfg@GOTPAGEOFF]
	ldr	x9, [x21]
	cmp	x8, x9
	b.eq	LBB0_7
; %bb.6:
	stp	x8, x9, [sp]
Lloh15:
	adrp	x0, l_.str.5@PAGE
Lloh16:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_uc_logmsgx
	mov	w20, #-1
LBB0_7:
	ldr	x8, [x19, #16]
	cbnz	x8, LBB0_9
; %bb.8:
Lloh17:
	adrp	x0, l_.str.6@PAGE
Lloh18:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_uc_logmsgx
	ldr	x8, [x19, #16]
	mov	w20, #-1
LBB0_9:
Lloh19:
	adrp	x9, _XU_NGROUPS@GOTPAGE
Lloh20:
	ldr	x9, [x9, _XU_NGROUPS@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ls	LBB0_11
; %bb.10:
	stp	x8, x9, [sp]
Lloh22:
	adrp	x0, l_.str.8@PAGE
Lloh23:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_uc_logmsgx
	mov	w20, #-1
LBB0_11:
	ldr	x1, [x19, #24]
	ldr	x8, [x1]
	ldr	x9, [x21, #8]
	cmp	x8, x9
	b.eq	LBB0_13
; %bb.12:
	stp	x8, x9, [sp]
Lloh24:
	adrp	x0, l_.str.9@PAGE
Lloh25:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_uc_logmsgx
	ldr	x1, [x19, #24]
	mov	w20, #-1
LBB0_13:
	ldr	x3, [x19, #16]
Lloh26:
	adrp	x0, l_.str.10@PAGE
Lloh27:
	add	x0, x0, l_.str.10@PAGEOFF
Lloh28:
	adrp	x2, l_.str.11@PAGE
Lloh29:
	add	x2, x2, l_.str.11@PAGEOFF
	mov	w4, #0
	bl	_uc_check_groups
	cmp	x0, #0
	csinv	w0, w20, wzr, ge
LBB0_14:
	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 AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"option value size %zu != %zu"

l_.str.1:                               ; @.str.1
	.asciz	"xucred.cr_version %u"

l_.str.2:                               ; @.str.2
	.asciz	"xucred.cr_uid %lu"

l_.str.3:                               ; @.str.3
	.asciz	"xucred.cr_ngroups %d"

	.comm	_XUCRED_VERSION,8,3             ; @XUCRED_VERSION
l_.str.4:                               ; @.str.4
	.asciz	"xucred.cr_version %u != %d"

	.comm	_uc_cfg,16,3                    ; @uc_cfg
l_.str.5:                               ; @.str.5
	.asciz	"xucred.cr_uid %lu != %lu (EUID)"

l_.str.6:                               ; @.str.6
	.asciz	"xucred.cr_ngroups == 0"

	.comm	_XU_NGROUPS,8,3                 ; @XU_NGROUPS
l_.str.8:                               ; @.str.8
	.asciz	"xucred.cr_ngroups %hu > %u (max)"

l_.str.9:                               ; @.str.9
	.asciz	"xucred.cr_groups[0] %lu != %lu (EGID)"

l_.str.10:                              ; @.str.10
	.asciz	"xucred.cr_groups"

l_.str.11:                              ; @.str.11
	.asciz	"xucred.cr_ngroups"

	.no_dead_strip	_check_xucred
.subsections_via_symbols
