	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_audit_arg_groupset             ## -- Begin function audit_arg_groupset
	.p2align	4, 0x90
_audit_arg_groupset:                    ## @audit_arg_groupset
	.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
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_ngroups_max@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	incq	%rax
	xorl	%edi, %edi
	cmpq	%rsi, %rax
	setge	%dil
	leaq	L_.str(%rip), %rsi
	callq	_KASSERT
	xorl	%eax, %eax
	callq	_currecord
	testq	%rax, %rax
	je	LBB0_19
## %bb.1:
	movq	%rax, %r15
	movq	8(%rax), %rax
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	leal	(,%r14,4), %edi
	movq	_M_AUDITGIDSET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_M_WAITOK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_malloc
	movq	%rax, 8(%r15)
LBB0_3:
	testq	%r14, %r14
	jle	LBB0_18
## %bb.4:
	xorl	%ecx, %ecx
	cmpq	$8, %r14
	jb	LBB0_14
## %bb.5:
	movq	%rax, %rdx
	subq	%rbx, %rdx
	cmpq	$32, %rdx
	jb	LBB0_14
## %bb.6:
	movq	%r14, %rcx
	andq	$-8, %rcx
	leaq	-8(%rcx), %rdx
	movq	%rdx, %rsi
	shrq	$3, %rsi
	incq	%rsi
	movl	%esi, %r8d
	andl	$3, %r8d
	cmpq	$24, %rdx
	jae	LBB0_8
## %bb.7:
	xorl	%edi, %edi
	jmp	LBB0_10
LBB0_19:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	andq	$-4, %rsi
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movups	(%rbx,%rdi,4), %xmm0
	movups	16(%rbx,%rdi,4), %xmm1
	movups	%xmm0, (%rax,%rdi,4)
	movups	%xmm1, 16(%rax,%rdi,4)
	movups	32(%rbx,%rdi,4), %xmm0
	movups	48(%rbx,%rdi,4), %xmm1
	movups	%xmm0, 32(%rax,%rdi,4)
	movups	%xmm1, 48(%rax,%rdi,4)
	movups	64(%rbx,%rdi,4), %xmm0
	movups	80(%rbx,%rdi,4), %xmm1
	movups	%xmm0, 64(%rax,%rdi,4)
	movups	%xmm1, 80(%rax,%rdi,4)
	movups	96(%rbx,%rdi,4), %xmm0
	movups	112(%rbx,%rdi,4), %xmm1
	movups	%xmm0, 96(%rax,%rdi,4)
	movups	%xmm1, 112(%rax,%rdi,4)
	addq	$32, %rdi
	addq	$-4, %rsi
	jne	LBB0_9
LBB0_10:
	testq	%r8, %r8
	je	LBB0_13
## %bb.11:
	leaq	(%rax,%rdi,4), %rsi
	addq	$16, %rsi
	leaq	(%rbx,%rdi,4), %rdi
	addq	$16, %rdi
	shlq	$5, %r8
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movups	-16(%rdi,%rdx), %xmm0
	movups	(%rdi,%rdx), %xmm1
	movups	%xmm0, -16(%rsi,%rdx)
	movups	%xmm1, (%rsi,%rdx)
	addq	$32, %rdx
	cmpq	%rdx, %r8
	jne	LBB0_12
LBB0_13:
	cmpq	%r14, %rcx
	je	LBB0_18
LBB0_14:
	movq	%rcx, %rdx
	notq	%rdx
	addq	%r14, %rdx
	movq	%r14, %rsi
	andq	$3, %rsi
	je	LBB0_16
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rbx,%rcx,4), %edi
	movl	%edi, (%rax,%rcx,4)
	incq	%rcx
	decq	%rsi
	jne	LBB0_15
LBB0_16:
	cmpq	$3, %rdx
	jb	LBB0_18
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rbx,%rcx,4), %edx
	movl	%edx, (%rax,%rcx,4)
	movl	4(%rbx,%rcx,4), %edx
	movl	%edx, 4(%rax,%rcx,4)
	movl	8(%rbx,%rcx,4), %edx
	movl	%edx, 8(%rax,%rcx,4)
	movl	12(%rbx,%rcx,4), %edx
	movl	%edx, 12(%rax,%rcx,4)
	addq	$4, %rcx
	cmpq	%rcx, %r14
	jne	LBB0_17
LBB0_18:
	movq	%r14, (%r15)
	movq	_ARG_GROUPSET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ARG_SET_VALID                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ngroups_max,8,3                ## @ngroups_max
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"audit_arg_groupset: gidset_size > (kern.ngroups + 1)"

	.comm	_M_AUDITGIDSET,4,2              ## @M_AUDITGIDSET
	.comm	_M_WAITOK,4,2                   ## @M_WAITOK
	.comm	_ARG_GROUPSET,4,2               ## @ARG_GROUPSET
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_audit_arg_groupset             ; -- Begin function audit_arg_groupset
	.p2align	2
_audit_arg_groupset:                    ; @audit_arg_groupset
	.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
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _ngroups_max@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ngroups_max@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x8, x8, #1
	cmp	x8, x1
	cset	w0, ge
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_KASSERT
	bl	_currecord
	cbz	x0, LBB0_12
; %bb.1:
	mov	x20, x0
	ldr	x0, [x0, #8]
	cbnz	x0, LBB0_3
; %bb.2:
	lsl	w0, w19, #2
Lloh5:
	adrp	x8, _M_AUDITGIDSET@GOTPAGE
Lloh6:
	ldr	x8, [x8, _M_AUDITGIDSET@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x8, _M_WAITOK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _M_WAITOK@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	bl	_malloc
	str	x0, [x20, #8]
LBB0_3:
	cmp	x19, #1
	b.lt	LBB0_11
; %bb.4:
	mov	x8, #0
	cmp	x19, #16
	b.lo	LBB0_9
; %bb.5:
	sub	x9, x0, x21
	cmp	x9, #64
	b.lo	LBB0_9
; %bb.6:
	and	x8, x19, #0xfffffffffffffff0
	add	x9, x21, #32
	add	x10, x0, #32
	mov	x11, x8
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x9, #-32]
	ldp	q2, q3, [x9], #64
	stp	q0, q1, [x10, #-32]
	stp	q2, q3, [x10], #64
	subs	x11, x11, #16
	b.ne	LBB0_7
; %bb.8:
	cmp	x8, x19
	b.eq	LBB0_11
LBB0_9:
	sub	x9, x19, x8
	lsl	x10, x8, #2
	add	x8, x0, x10
	add	x10, x21, x10
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x10], #4
	str	w11, [x8], #4
	subs	x9, x9, #1
	b.ne	LBB0_10
LBB0_11:
	str	x19, [x20]
Lloh11:
	adrp	x8, _ARG_GROUPSET@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ARG_GROUPSET@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x20
	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
	b	_ARG_SET_VALID
LBB0_12:
	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
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_ngroups_max,8,3                ; @ngroups_max
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"audit_arg_groupset: gidset_size > (kern.ngroups + 1)"

	.comm	_M_AUDITGIDSET,4,2              ; @M_AUDITGIDSET
	.comm	_M_WAITOK,4,2                   ; @M_WAITOK
	.comm	_ARG_GROUPSET,4,2               ; @ARG_GROUPSET
.subsections_via_symbols
