	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acquire_acceptor_cred
_acquire_acceptor_cred:                 ## @acquire_acceptor_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r12d
	movq	%rdi, %r14
	movq	32(%rbp), %r15
	movq	_GSS_S_FAILURE@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	_GSS_C_NO_OID@GOTPCREL(%rip), %rax
	cmpq	%rdx, (%rax)
	jne	LBB0_1
## %bb.2:
	movl	%r12d, %edi
	movq	%r15, %rsi
	callq	_get_keytab
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%rax, %rbx
	jmp	LBB0_11
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
LBB0_11:
	movq	_GSS_S_COMPLETE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r13
	je	LBB0_16
## %bb.12:
	movq	(%r15), %rsi
	testq	%rsi, %rsi
	je	LBB0_14
## %bb.13:
	movl	%r12d, %edi
	callq	_krb5_kt_close
LBB0_14:
	testq	%rbx, %rbx
	je	LBB0_16
## %bb.15:
	movq	%rbx, (%r14)
LBB0_16:
	movq	%r13, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	8(%r15), %rdx
	testq	%rdx, %rdx
	je	LBB0_7
## %bb.5:
	movq	(%r15), %rsi
	leaq	-52(%rbp), %r9
	movl	%r12d, %edi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_krb5_kt_get_entry
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_11
## %bb.6:
	leaq	-52(%rbp), %rsi
	movl	%r12d, %edi
	callq	_krb5_kt_free_entry
	movq	_GSS_S_COMPLETE@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	jmp	LBB0_11
LBB0_7:
	movq	(%r15), %rsi
	leaq	-44(%rbp), %rdx
	movl	%r12d, %edi
	callq	_krb5_kt_start_seq_get
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_11
## %bb.8:
	movq	(%r15), %rsi
	leaq	-48(%rbp), %rdx
	leaq	-44(%rbp), %rcx
	movl	%r12d, %edi
	callq	_krb5_kt_next_entry
	testq	%rax, %rax
	jne	LBB0_10
## %bb.9:
	leaq	-48(%rbp), %rsi
	movl	%r12d, %edi
	callq	_krb5_kt_free_entry
	movq	_GSS_S_COMPLETE@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
LBB0_10:
	movq	(%r15), %rsi
	leaq	-44(%rbp), %rdx
	movl	%r12d, %edi
	callq	_krb5_kt_end_seq_get
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_GSS_S_FAILURE,8,3              ## @GSS_S_FAILURE
	.comm	_GSS_C_NO_OID,8,3               ## @GSS_C_NO_OID
	.comm	_EINVAL,8,3                     ## @EINVAL
	.comm	_GSS_S_COMPLETE,8,3             ## @GSS_S_COMPLETE
	.no_dead_strip	_acquire_acceptor_cred
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function acquire_acceptor_cred
_acquire_acceptor_cred:                 ; @acquire_acceptor_cred
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	mov	x19, x0
	ldr	x21, [x29, #16]
Lloh0:
	adrp	x8, _GSS_S_FAILURE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GSS_S_FAILURE@GOTPAGEOFF]
Lloh2:
	ldr	x22, [x8]
Lloh3:
	adrp	x8, _GSS_C_NO_OID@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GSS_C_NO_OID@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x24, _GSS_S_COMPLETE@GOTPAGE
Lloh7:
	ldr	x24, [x24, _GSS_S_COMPLETE@GOTPAGEOFF]
	cmp	x8, x2
	b.ne	LBB0_3
; %bb.1:
	mov	x0, x20
	mov	x1, x21
	bl	_get_keytab
	cbz	x0, LBB0_10
; %bb.2:
	mov	x23, x0
	b	LBB0_4
LBB0_3:
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh10:
	ldr	x23, [x8]
LBB0_4:
	ldr	x8, [x24]
	cmp	x22, x8
	b.eq	LBB0_9
; %bb.5:
	ldr	x1, [x21]
	cbz	x1, LBB0_7
; %bb.6:
	mov	x0, x20
	bl	_krb5_kt_close
LBB0_7:
	cbz	x23, LBB0_9
; %bb.8:
	str	x23, [x19]
LBB0_9:
	mov	x0, x22
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_10:
	ldr	x2, [x21, #8]
	cbz	x2, LBB0_13
; %bb.11:
	ldr	x1, [x21]
	add	x5, sp, #12
	mov	x0, x20
	mov	w3, #0
	mov	w4, #0
	bl	_krb5_kt_get_entry
	mov	x23, x0
	cbnz	x0, LBB0_4
; %bb.12:
	add	x1, sp, #12
	mov	x0, x20
	bl	_krb5_kt_free_entry
	ldr	x22, [x24]
	b	LBB0_4
LBB0_13:
	ldr	x1, [x21]
	add	x2, sp, #4
	mov	x0, x20
	bl	_krb5_kt_start_seq_get
	mov	x23, x0
	cbnz	x0, LBB0_4
; %bb.14:
	ldr	x1, [x21]
	add	x2, sp, #8
	add	x3, sp, #4
	mov	x0, x20
	bl	_krb5_kt_next_entry
	cbnz	x0, LBB0_16
; %bb.15:
	add	x1, sp, #8
	mov	x0, x20
	bl	_krb5_kt_free_entry
	ldr	x22, [x24]
LBB0_16:
	ldr	x1, [x21]
	add	x2, sp, #4
	mov	x0, x20
	bl	_krb5_kt_end_seq_get
	b	LBB0_4
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_GSS_S_FAILURE,8,3              ; @GSS_S_FAILURE
	.comm	_GSS_C_NO_OID,8,3               ; @GSS_C_NO_OID
	.comm	_EINVAL,8,3                     ; @EINVAL
	.comm	_GSS_S_COMPLETE,8,3             ; @GSS_S_COMPLETE
	.no_dead_strip	_acquire_acceptor_cred
.subsections_via_symbols
