	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function afslog_uid_int
_afslog_uid_int:                        ## @afslog_uid_int
	.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	%ecx, %r14d
	movq	%rdi, %rbx
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.1:
	movq	%rsi, %r15
	cmpb	$0, (%rsi)
	je	LBB0_6
## %bb.2:
	movq	(%rbx), %r13
	movl	(%r13), %edi
	movl	8(%r13), %esi
	leaq	-44(%rbp), %rdx
	callq	_krb5_cc_get_principal
	movq	%rax, %r12
	testq	%rax, %rax
	jne	LBB0_5
## %bb.3:
	movl	(%r13), %edi
	movl	-44(%rbp), %esi
	callq	_krb5_principal_get_realm
	movq	$0, -64(%rbp)
	movl	4(%r13), %edx
	leaq	-64(%rbp), %r9
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%rax, %rcx
	movl	%r14d, %r8d
	callq	__kafs_get_cred
	movq	%rax, %r12
	movl	(%r13), %edi
	movl	-44(%rbp), %esi
	callq	_krb5_free_principal
	testq	%r12, %r12
	jne	LBB0_5
## %bb.4:
	leaq	-52(%rbp), %rsi
	movq	-64(%rbp), %rdx
	movl	-56(%rbp), %ecx
	movq	%r15, %rdi
	callq	_kafs_settoken_rxkad
	movq	%rax, %r12
	movq	-64(%rbp), %rdi
	callq	_free
LBB0_5:
	movq	%r12, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movq	%r8, %rdx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	__kafs_afslog_all_local_cells   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_afslog_uid_int
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function afslog_uid_int
_afslog_uid_int:                        ; @afslog_uid_int
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x3
	mov	x21, x0
	cbz	x1, LBB0_6
; %bb.1:
	mov	x19, x1
	ldrb	w8, [x1]
	cbz	w8, LBB0_6
; %bb.2:
	ldr	x23, [x21]
	ldr	w0, [x23]
	ldr	w1, [x23, #8]
	add	x2, sp, #12
	bl	_krb5_cc_get_principal
	mov	x22, x0
	cbnz	x0, LBB0_5
; %bb.3:
	ldr	w0, [x23]
	ldr	w1, [sp, #12]
	bl	_krb5_principal_get_realm
	mov	x3, x0
	str	xzr, [sp, #16]
	ldr	w2, [x23, #4]
	add	x24, sp, #16
	add	x5, sp, #16
	mov	x0, x21
	mov	x1, x19
	mov	x4, x20
	bl	__kafs_get_cred
	mov	x22, x0
	ldr	w0, [x23]
	ldr	w1, [sp, #12]
	bl	_krb5_free_principal
	cbnz	x22, LBB0_5
; %bb.4:
	add	x1, x24, #12
	ldr	x2, [sp, #16]
	ldr	w3, [sp, #24]
	mov	x0, x19
	bl	_kafs_settoken_rxkad
	mov	x22, x0
	ldr	x0, [sp, #16]
	bl	_free
LBB0_5:
	mov	x0, x22
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_6:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x4
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	__kafs_afslog_all_local_cells
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_afslog_uid_int
.subsections_via_symbols
