	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__gss_copy_cred                 ## -- Begin function _gss_copy_cred
	.p2align	4, 0x90
__gss_copy_cred:                        ## @_gss_copy_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	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	16(%rdi), %r14
	movl	(%rdi), %esi
	movq	8(%rdi), %rdx
	subq	$8, %rsp
	leaq	-44(%rbp), %rax
	leaq	-40(%rbp), %rdi
	leaq	-32(%rbp), %rcx
	leaq	-64(%rbp), %r8
	leaq	-56(%rbp), %r9
	pushq	%rax
	callq	*32(%r14)
	addq	$16, %rsp
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	-40(%rbp), %rdx
	movq	%r14, %rdi
	movq	%rax, %rsi
	jmp	LBB0_4
LBB0_2:
	movq	_GSS_C_NO_CREDENTIAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-32(%rbp), %edx
	movq	8(%rbx), %rcx
	movl	-44(%rbp), %r8d
	movq	-64(%rbp), %r9
	subq	$8, %rsp
	leaq	-28(%rbp), %rax
	leaq	-40(%rbp), %r15
	movq	%r15, %rdi
	pushq	$0
	pushq	$0
	pushq	$0
	pushq	%rax
	pushq	-56(%rbp)
	callq	*24(%r14)
	addq	$48, %rsp
	movq	%rax, %rbx
	leaq	-32(%rbp), %rsi
	movq	%r15, %rdi
	callq	*16(%r14)
	testq	%rbx, %rbx
	je	LBB0_7
## %bb.3:
	movq	-40(%rbp), %rdx
	movq	%r14, %rdi
	movq	%rbx, %rsi
LBB0_4:
	callq	__gss_mg_error
LBB0_5:
	xorl	%eax, %eax
LBB0_6:
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movl	$24, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	%r14, 16(%rax)
	movq	%r14, 8(%rax)
	movl	-28(%rbp), %ecx
	movl	%ecx, (%rax)
	jmp	LBB0_6
LBB0_9:
	leaq	-40(%rbp), %rdi
	leaq	-28(%rbp), %rsi
	callq	*8(%r14)
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_GSS_C_NO_CREDENTIAL,4,2        ## @GSS_C_NO_CREDENTIAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__gss_copy_cred                 ; -- Begin function _gss_copy_cred
	.p2align	2
__gss_copy_cred:                        ; @_gss_copy_cred
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
	ldp	x2, x19, [x0, #8]
	ldr	x8, [x19, #32]
	ldr	w1, [x0]
	sub	x0, x29, #24
	sub	x3, x29, #28
	add	x4, sp, #24
	add	x5, sp, #16
	add	x6, sp, #12
	blr	x8
	cbz	x0, LBB0_2
; %bb.1:
	mov	x1, x0
	ldur	x2, [x29, #-24]
	mov	x0, x19
	b	LBB0_4
LBB0_2:
	ldr	x8, [x19, #24]
Lloh0:
	adrp	x9, _GSS_C_NO_CREDENTIAL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _GSS_C_NO_CREDENTIAL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
	ldur	w2, [x29, #-28]
	ldr	x3, [x20, #8]
	ldr	w4, [sp, #12]
	ldp	x6, x5, [sp, #16]
	str	wzr, [sp, #8]
	str	xzr, [sp]
	sub	x0, x29, #24
	add	x7, sp, #32
	blr	x8
	mov	x20, x0
	ldr	x8, [x19, #16]
	sub	x0, x29, #24
	sub	x1, x29, #28
	blr	x8
	cbz	x20, LBB0_7
; %bb.3:
	ldur	x2, [x29, #-24]
	mov	x0, x19
	mov	x1, x20
LBB0_4:
	bl	__gss_mg_error
LBB0_5:
	mov	x0, #0
LBB0_6:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_7:
	mov	w0, #24
	bl	_malloc
	cbz	x0, LBB0_9
; %bb.8:
	stp	x19, x19, [x0, #8]
	ldr	w8, [sp, #32]
	str	w8, [x0]
	b	LBB0_6
LBB0_9:
	ldr	x8, [x19, #8]
	sub	x0, x29, #24
	add	x1, sp, #32
	blr	x8
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GSS_C_NO_CREDENTIAL,4,2        ; @GSS_C_NO_CREDENTIAL
.subsections_via_symbols
