	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function kadm5_s_init_with_context
_kadm5_s_init_with_context:             ## @kadm5_s_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	movl	%edi, %edx
	leaq	-16(%rbp), %rdi
	movq	%rcx, %rsi
	callq	__kadm5_s_init_context
	testq	%rax, %rax
	jne	LBB0_6
## %bb.1:
	movq	-16(%rbp), %rax
	xorl	%edi, %edi
	cmpq	$0, 56(%rax)
	setne	%dil
	callq	_assert
	movq	-16(%rbp), %rax
	xorl	%edi, %edi
	cmpq	$0, 48(%rax)
	setne	%dil
	callq	_assert
	movq	-16(%rbp), %rax
	xorl	%edi, %edi
	cmpq	$0, 64(%rax)
	setne	%dil
	callq	_assert
	movq	-16(%rbp), %rax
	xorl	%edi, %edi
	cmpq	$0, 40(%rax)
	setne	%dil
	callq	_assert
	movq	-16(%rbp), %rax
	movq	32(%rax), %rax
	xorl	%edi, %edi
	cmpb	$0, (%rax)
	setne	%dil
	callq	_assert
	movq	-16(%rbp), %rsi
	movl	4(%rsi), %edi
	movq	56(%rsi), %rdx
	addq	$72, %rsi
	callq	_hdb_create
	testq	%rax, %rax
	jne	LBB0_6
## %bb.2:
	movq	-16(%rbp), %rax
	movl	4(%rax), %edi
	movl	72(%rax), %esi
	movq	48(%rax), %rdx
	callq	_hdb_set_master_keyfile
	testq	%rax, %rax
	jne	LBB0_6
## %bb.3:
	movq	-16(%rbp), %rax
	movl	$-1, 8(%rax)
	movq	_AF_UNIX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SOCK_DGRAM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_socket
	movq	-16(%rbp), %rdx
	movq	%rax, 24(%rdx)
	movl	4(%rdx), %edi
	movq	%rbx, %rsi
	callq	_krb5_parse_name
	testq	%rax, %rax
	jne	LBB0_6
## %bb.4:
	movq	-16(%rbp), %rdi
	callq	__kadm5_acl_init
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	movq	16(%rbp), %rax
	movq	-16(%rbp), %rcx
	movq	%rcx, (%rax)
	xorl	%eax, %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AF_UNIX,4,2                    ## @AF_UNIX
	.comm	_SOCK_DGRAM,4,2                 ## @SOCK_DGRAM
	.no_dead_strip	_kadm5_s_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_s_init_with_context
_kadm5_s_init_with_context:             ; @kadm5_s_init_with_context
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x6
	mov	x20, x1
	mov	x2, x0
	add	x0, sp, #8
	mov	x1, x3
	bl	__kadm5_s_init_context
	cbnz	x0, LBB0_6
; %bb.1:
	ldr	x8, [sp, #8]
	ldr	x8, [x8, #56]
	cmp	x8, #0
	cset	w0, ne
	bl	_assert
	ldr	x8, [sp, #8]
	ldr	x8, [x8, #48]
	cmp	x8, #0
	cset	w0, ne
	bl	_assert
	ldr	x8, [sp, #8]
	ldr	x8, [x8, #64]
	cmp	x8, #0
	cset	w0, ne
	bl	_assert
	ldr	x8, [sp, #8]
	ldr	x8, [x8, #40]
	cmp	x8, #0
	cset	w0, ne
	bl	_assert
	ldr	x8, [sp, #8]
	ldr	x8, [x8, #32]
	ldrb	w8, [x8]
	cmp	w8, #0
	cset	w0, ne
	bl	_assert
	ldr	x8, [sp, #8]
	ldr	w0, [x8, #4]
	add	x1, x8, #72
	ldr	x2, [x8, #56]
	bl	_hdb_create
	cbnz	x0, LBB0_6
; %bb.2:
	ldr	x8, [sp, #8]
	ldr	w0, [x8, #4]
	ldr	w1, [x8, #72]
	ldr	x2, [x8, #48]
	bl	_hdb_set_master_keyfile
	cbnz	x0, LBB0_6
; %bb.3:
	ldr	x8, [sp, #8]
	mov	w9, #-1
	str	w9, [x8, #8]
Lloh0:
	adrp	x8, _AF_UNIX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AF_UNIX@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _SOCK_DGRAM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SOCK_DGRAM@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_socket
	ldr	x2, [sp, #8]
	str	x0, [x2, #24]
	ldr	w0, [x2, #4]
	mov	x1, x20
	bl	_krb5_parse_name
	cbnz	x0, LBB0_6
; %bb.4:
	ldr	x0, [sp, #8]
	bl	__kadm5_acl_init
	cbnz	x0, LBB0_6
; %bb.5:
	ldr	x8, [sp, #8]
	str	x8, [x19]
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AF_UNIX,4,2                    ; @AF_UNIX
	.comm	_SOCK_DGRAM,4,2                 ; @SOCK_DGRAM
	.no_dead_strip	_kadm5_s_init_with_context
.subsections_via_symbols
