	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gssd_set_cred_option_1_svc     ## -- Begin function gssd_set_cred_option_1_svc
	.p2align	4, 0x90
_gssd_set_cred_option_1_svc:            ## @gssd_set_cred_option_1_svc
	.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, %r15
	movq	%rdi, %r14
	movl	8(%rdi), %edi
	callq	_gssd_find_resource
	movl	%eax, %ebx
	movl	%eax, -28(%rbp)
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	testl	%ebx, %ebx
	je	LBB0_1
## %bb.2:
	movl	4(%r14), %edx
	leaq	-28(%rbp), %rsi
	movq	%r15, %rdi
	movq	%r14, %rcx
	callq	_gss_set_cred_option
	movq	%rax, 8(%r15)
	movl	(%r15), %edx
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_gssd_verbose_out
	jmp	LBB0_3
LBB0_1:
	movq	_GSS_S_CREDENTIALS_EXPIRED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r15)
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_gssd_verbose_out
LBB0_3:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GSS_S_CREDENTIALS_EXPIRED,8,3  ## @GSS_S_CREDENTIALS_EXPIRED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"gssd_set_cred: no credentials\n"

	.comm	_TRUE,4,2                       ## @TRUE
L_.str.1:                               ## @.str.1
	.asciz	"gssd_set_cred: done major=0x%x minor=%d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gssd_set_cred_option_1_svc     ; -- Begin function gssd_set_cred_option_1_svc
	.p2align	2
_gssd_set_cred_option_1_svc:            ; @gssd_set_cred_option_1_svc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x20, x0
	ldr	w0, [x0, #8]
	bl	_gssd_find_resource
	mov	x21, x0
	str	w0, [sp, #28]
	mov	x0, x19
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	cbz	w21, LBB0_2
; %bb.1:
	ldr	w2, [x20, #4]
	add	x1, sp, #28
	mov	x0, x19
	mov	x3, x20
	bl	_gss_set_cred_option
	str	x0, [x19, #8]
	ldr	x8, [x19]
	stp	x0, x8, [sp]
Lloh0:
	adrp	x0, l_.str.1@PAGE
Lloh1:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_3
LBB0_2:
Lloh2:
	adrp	x8, _GSS_S_CREDENTIALS_EXPIRED@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GSS_S_CREDENTIALS_EXPIRED@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	str	x8, [x19, #8]
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
LBB0_3:
	bl	_gssd_verbose_out
Lloh7:
	adrp	x8, _TRUE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_GSS_S_CREDENTIALS_EXPIRED,8,3  ; @GSS_S_CREDENTIALS_EXPIRED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"gssd_set_cred: no credentials\n"

	.comm	_TRUE,4,2                       ; @TRUE
l_.str.1:                               ; @.str.1
	.asciz	"gssd_set_cred: done major=0x%x minor=%d\n"

.subsections_via_symbols
