	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rpcauth_bindcred
_rpcauth_bindcred:                      ## @rpcauth_bindcred
	.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
	movl	%edx, %eax
	movq	_RPC_TASK_ASYNC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	andl	%eax, %edx
	je	LBB0_2
## %bb.1:
	movq	_RPCAUTH_LOOKUP_NEW@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
LBB0_2:
	movq	(%rdi), %r14
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.3:
	movq	(%rsi), %rax
	callq	*(%rax)
	jmp	LBB0_7
LBB0_4:
	movq	_RPC_TASK_ROOTCREDS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_6
## %bb.5:
	movl	%edx, %esi
	callq	_rpcauth_bind_root_cred
	jmp	LBB0_7
LBB0_6:
	movl	%edx, %esi
	callq	_rpcauth_bind_new_cred
LBB0_7:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_8
## %bb.11:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_8:
	movq	(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.9:
	callq	_put_rpccred
LBB0_10:
	movq	%rbx, (%r14)
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RPC_TASK_ASYNC,4,2             ## @RPC_TASK_ASYNC
	.comm	_RPCAUTH_LOOKUP_NEW,4,2         ## @RPCAUTH_LOOKUP_NEW
	.comm	_RPC_TASK_ROOTCREDS,4,2         ## @RPC_TASK_ROOTCREDS
	.no_dead_strip	_rpcauth_bindcred
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rpcauth_bindcred
_rpcauth_bindcred:                      ; @rpcauth_bindcred
	.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	x8, x2
	ldr	x20, [x0]
Lloh0:
	adrp	x9, _RPC_TASK_ASYNC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RPC_TASK_ASYNC@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _RPCAUTH_LOOKUP_NEW@GOTPAGE
Lloh4:
	ldr	x10, [x10, _RPCAUTH_LOOKUP_NEW@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	tst	w9, w2
	csel	w2, wzr, w10, eq
	cbz	x1, LBB0_2
; %bb.1:
	ldr	x8, [x1]
	ldr	x8, [x8]
	blr	x8
	b	LBB0_5
LBB0_2:
Lloh6:
	adrp	x9, _RPC_TASK_ROOTCREDS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _RPC_TASK_ROOTCREDS@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	mov	x1, x2
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	bl	_rpcauth_bind_root_cred
	b	LBB0_5
LBB0_4:
	bl	_rpcauth_bind_new_cred
LBB0_5:
	mov	x19, x0
	bl	_IS_ERR
	cbz	x0, LBB0_7
; %bb.6:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_7:
	ldr	x0, [x20]
	cbz	x0, LBB0_9
; %bb.8:
	bl	_put_rpccred
LBB0_9:
	str	x19, [x20]
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_RPC_TASK_ASYNC,4,2             ; @RPC_TASK_ASYNC
	.comm	_RPCAUTH_LOOKUP_NEW,4,2         ; @RPCAUTH_LOOKUP_NEW
	.comm	_RPC_TASK_ROOTCREDS,4,2         ; @RPC_TASK_ROOTCREDS
	.no_dead_strip	_rpcauth_bindcred
.subsections_via_symbols
