	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function generic_create_cred
_generic_create_cred:                   ## @generic_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$32, %edi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %rbx
	movq	_generic_auth@GOTPCREL(%rip), %rdx
	movq	_generic_credops@GOTPCREL(%rip), %rcx
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_rpcauth_init_cred
	movq	_RPCAUTH_CRED_UPTODATE@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$1, %eax
	shlq	%cl, %rax
	movq	%rax, (%rbx)
	movl	4(%r14), %ecx
	movl	%ecx, 28(%rbx)
	movl	(%r14), %r8d
	movl	%r8d, 24(%rbx)
	movq	16(%r14), %rdi
	movq	%rdi, 16(%rbx)
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.2:
	callq	_get_group_info
	movl	(%r14), %r8d
	movl	4(%r14), %ecx
LBB0_3:
	movq	8(%r14), %rax
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rsi
	cmoveq	%rax, %rsi
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rdx
	callq	_dprintk
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_generic_auth,4,2               ## @generic_auth
	.comm	_generic_credops,4,2            ## @generic_credops
	.comm	_RPCAUTH_CRED_UPTODATE,8,3      ## @RPCAUTH_CRED_UPTODATE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RPC:       allocated %s cred %p for uid %d gid %d\n"

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

L_.str.2:                               ## @.str.2
	.asciz	"generic"

	.no_dead_strip	_generic_create_cred
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function generic_create_cred
_generic_create_cred:                   ; @generic_create_cred
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #32
	bl	_kmalloc
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x0
Lloh3:
	adrp	x2, _generic_auth@GOTPAGE
Lloh4:
	ldr	x2, [x2, _generic_auth@GOTPAGEOFF]
Lloh5:
	adrp	x3, _generic_credops@GOTPAGE
Lloh6:
	ldr	x3, [x3, _generic_credops@GOTPAGEOFF]
	mov	x1, x20
	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]
	ldp	w4, w3, [x20]
	stp	w4, w3, [x19, #24]
	ldr	x0, [x20, #16]
	str	x0, [x19, #16]
	cbz	x0, LBB0_3
; %bb.2:
	bl	_get_group_info
	ldp	w4, w3, [x20]
LBB0_3:
	ldr	x8, [x20, #8]
	str	x8, [x19, #8]
Lloh10:
	adrp	x9, l_.str.1@PAGE
Lloh11:
	add	x9, x9, l_.str.1@PAGEOFF
Lloh12:
	adrp	x10, l_.str.2@PAGE
Lloh13:
	add	x10, x10, l_.str.2@PAGEOFF
	cmp	x8, #0
	csel	x1, x10, x9, eq
Lloh14:
	adrp	x0, l_.str@PAGE
Lloh15:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x19
	bl	_dprintk
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh16:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ERR_PTR
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_generic_auth,4,2               ; @generic_auth
	.comm	_generic_credops,4,2            ; @generic_credops
	.comm	_RPCAUTH_CRED_UPTODATE,8,3      ; @RPCAUTH_CRED_UPTODATE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RPC:       allocated %s cred %p for uid %d gid %d\n"

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

l_.str.2:                               ; @.str.2
	.asciz	"generic"

	.no_dead_strip	_generic_create_cred
.subsections_via_symbols
