	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function unx_create_cred
_unx_create_cred:                       ## @unx_create_cred
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movl	8(%rsi), %edx
	movl	12(%rsi), %esi
	leaq	L_.str(%rip), %rdi
	callq	_dprintk
	movq	_GFP_NOFS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$24, %edi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_12
## %bb.1:
	movq	%rax, %r12
	movq	_unix_credops@GOTPCREL(%rip), %rcx
	movq	%rax, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_rpcauth_init_cred
	movq	_RPCAUTH_CRED_UPTODATE@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$1, %eax
	shlq	%cl, %rax
	movq	%rax, (%r12)
	movq	(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.3:
	movl	(%rdi), %r15d
	jmp	LBB0_4
LBB0_12:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
LBB0_2:
	xorl	%r15d, %r15d
LBB0_4:
	movq	_NFS_NGROUPS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %r15d
	cmovael	%eax, %r15d
	movl	8(%r14), %ecx
	movl	%ecx, 16(%r12)
	movl	%r15d, %r13d
	testl	%r15d, %r15d
	je	LBB0_9
## %bb.5:
	xorl	%esi, %esi
	callq	_GROUP_AT
	movq	8(%r12), %rcx
	movl	%eax, (%rcx)
	cmpl	$1, %r15d
	je	LBB0_8
## %bb.6:
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rdi
	movl	%ebx, %esi
	callq	_GROUP_AT
	movq	8(%r12), %rcx
	movl	%eax, (%rcx,%rbx,4)
	incq	%rbx
	cmpq	%rbx, %r13
	jne	LBB0_7
LBB0_8:
	movq	_NFS_NGROUPS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_9:
	cmpl	%eax, %r15d
	jae	LBB0_11
## %bb.10:
	movq	_NOGROUP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	8(%r12), %rcx
	movl	%eax, (%rcx,%r13,4)
LBB0_11:
	movq	%r12, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RPC:       allocating UNIX cred for uid %d gid %d\n"

	.comm	_GFP_NOFS,4,2                   ## @GFP_NOFS
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_unix_credops,4,2               ## @unix_credops
	.comm	_RPCAUTH_CRED_UPTODATE,8,3      ## @RPCAUTH_CRED_UPTODATE
	.comm	_NFS_NGROUPS,4,2                ## @NFS_NGROUPS
	.comm	_NOGROUP,4,2                    ## @NOGROUP
	.no_dead_strip	_unx_create_cred
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function unx_create_cred
_unx_create_cred:                       ; @unx_create_cred
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	mov	x21, x0
	ldr	w1, [x1, #12]
	ldr	w2, [x20, #8]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_dprintk
Lloh2:
	adrp	x8, _GFP_NOFS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_NOFS@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	w0, #24
	bl	_kmalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
Lloh5:
	adrp	x3, _unix_credops@GOTPAGE
Lloh6:
	ldr	x3, [x3, _unix_credops@GOTPAGEOFF]
	mov	x1, x20
	mov	x2, x21
	bl	_rpcauth_init_cred
Lloh7:
	adrp	x8, _RPCAUTH_CRED_UPTODATE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _RPCAUTH_CRED_UPTODATE@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	mov	w9, #1
	lsl	x8, x9, x8
	str	x8, [x19]
	ldr	x0, [x20]
	cbz	x0, LBB0_4
; %bb.2:
	ldr	w9, [x0]
	b	LBB0_5
LBB0_3:
Lloh10:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w0, w8
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_ERR_PTR
LBB0_4:
	mov	w9, #0
LBB0_5:
Lloh13:
	adrp	x23, _NFS_NGROUPS@GOTPAGE
Lloh14:
	ldr	x23, [x23, _NFS_NGROUPS@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w9, w8
	csel	w22, w9, w8, lo
	ldr	w9, [x20, #8]
	str	w9, [x19, #16]
	cbz	w22, LBB0_10
; %bb.6:
	mov	w1, #0
	bl	_GROUP_AT
	ldr	x8, [x19, #8]
	str	w0, [x8]
	cmp	w22, #1
	b.eq	LBB0_9
; %bb.7:
	mov	w21, #1
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x20]
	mov	x1, x21
	bl	_GROUP_AT
	ldr	x8, [x19, #8]
	str	w0, [x8, x21, lsl #2]
	add	x21, x21, #1
	cmp	x22, x21
	b.ne	LBB0_8
LBB0_9:
	ldr	w8, [x23]
LBB0_10:
	cmp	w22, w8
	b.hs	LBB0_12
; %bb.11:
Lloh15:
	adrp	x8, _NOGROUP@GOTPAGE
Lloh16:
	ldr	x8, [x8, _NOGROUP@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	ldr	x9, [x19, #8]
	str	w8, [x9, w22, uxtw #2]
LBB0_12:
	mov	x0, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RPC:       allocating UNIX cred for uid %d gid %d\n"

	.comm	_GFP_NOFS,4,2                   ; @GFP_NOFS
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_unix_credops,4,2               ; @unix_credops
	.comm	_RPCAUTH_CRED_UPTODATE,8,3      ; @RPCAUTH_CRED_UPTODATE
	.comm	_NFS_NGROUPS,4,2                ; @NFS_NGROUPS
	.comm	_NOGROUP,4,2                    ; @NOGROUP
	.no_dead_strip	_unx_create_cred
.subsections_via_symbols
