	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function kadm5_c_init_with_context
_kadm5_c_init_with_context:             ## @kadm5_c_init_with_context
	.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
                                        ## kill: def $r9d killed $r9d def $r9
	movq	%r9, -64(%rbp)                  ## 8-byte Spill
	movq	%r8, %r15
	movl	%ecx, %r13d
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movl	%edi, %r14d
	movq	24(%rbp), %rsi
	leaq	-48(%rbp), %rdi
	movl	%r14d, %edx
	callq	__kadm5_c_init_context
	testq	%rax, %rax
	jne	LBB0_13
## %bb.1:
	movq	%rbx, %rdx
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	16(%rbp), %rcx
	testq	%r12, %r12
	je	LBB0_2
## %bb.3:
	cmpb	$0, (%r12)
	je	LBB0_2
## %bb.4:
	leaq	-52(%rbp), %rax
	movl	%r14d, %edi
	movq	%rdx, %r14
	movq	%rdx, %rsi
	movq	%rcx, %rdx
	movq	%r12, %rcx
	movl	%r13d, %r8d
	movq	%r15, %r9
	pushq	%rax
	pushq	%rbx
	callq	__kadm5_c_get_cred_cache
	addq	$16, %rsp
	testq	%rax, %rax
	jne	LBB0_13
## %bb.5:
	movl	-52(%rbp), %r12d
	movq	16(%rbp), %rcx
	movq	%r14, %rdi
	testq	%rdi, %rdi
	jne	LBB0_7
LBB0_8:
	movq	-48(%rbp), %rbx
	movq	$0, 32(%rbx)
	jmp	LBB0_9
LBB0_2:
	movq	%rbx, %r12
	movq	%rdx, %rdi
	testq	%rdi, %rdi
	je	LBB0_8
LBB0_7:
	movq	%rcx, %rbx
	callq	_strdup
	movq	%rbx, %rcx
	movq	-48(%rbp), %rbx
	movq	%rax, 32(%rbx)
LBB0_9:
	movq	48(%rbp), %r14
	testq	%rcx, %rcx
	je	LBB0_11
## %bb.10:
	movq	%rcx, %rdi
	callq	_strdup
	movq	%rax, 24(%rbx)
	jmp	LBB0_12
LBB0_11:
	movq	$0, 24(%rbx)
LBB0_12:
	movl	%r13d, 16(%rbx)
	movq	%r15, (%rbx)
	movq	-48(%rbp), %rax
	movl	%r12d, 12(%rax)
	movl	$-1, 8(%rax)
	movq	%rax, (%r14)
	xorl	%eax, %eax
LBB0_13:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_kadm5_c_init_with_context
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function kadm5_c_init_with_context
_kadm5_c_init_with_context:             ; @kadm5_c_init_with_context
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x22, x6
	mov	x20, x5
	mov	x19, x4
	mov	x21, x3
	mov	x24, x2
	mov	x23, x1
	mov	x25, x0
	add	x0, sp, #8
	mov	x1, x7
	mov	x2, x25
	bl	__kadm5_c_init_context
	cbnz	x0, LBB0_11
; %bb.1:
	cbz	x24, LBB0_5
; %bb.2:
	ldrb	w8, [x24]
	cbz	w8, LBB0_5
; %bb.3:
	add	x7, sp, #4
	mov	x0, x25
	mov	x1, x23
	mov	x2, x22
	mov	x3, x24
	mov	x4, x21
	mov	x5, x19
	mov	x6, x20
	bl	__kadm5_c_get_cred_cache
	cbnz	x0, LBB0_11
; %bb.4:
	ldr	w20, [sp, #4]
LBB0_5:
	ldr	x24, [x29, #32]
	cbz	x23, LBB0_8
; %bb.6:
	mov	x0, x23
	bl	_strdup
	ldr	x23, [sp, #8]
	str	x0, [x23, #32]
	cbz	x22, LBB0_9
LBB0_7:
	mov	x0, x22
	bl	_strdup
	str	x0, [x23, #24]
	b	LBB0_10
LBB0_8:
	ldr	x23, [sp, #8]
	str	xzr, [x23, #32]
	cbnz	x22, LBB0_7
LBB0_9:
	str	xzr, [x23, #24]
LBB0_10:
	mov	x0, #0
	str	w21, [x23, #16]
	str	x19, [x23]
	ldr	x8, [sp, #8]
	mov	w9, #-1
	stp	w9, w20, [x8, #8]
	str	x8, [x24]
LBB0_11:
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_kadm5_c_init_with_context
.subsections_via_symbols
