	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function store_principal_ent
_store_principal_ent:                   ## @store_principal_ent
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	_KADM5_PRINCIPAL@GOTPCREL(%rip), %rax
	testl	%edx, (%rax)
	je	LBB0_2
## %bb.1:
	movq	96(%r12), %rsi
	movq	%r14, %rdi
	callq	_krb5_store_principal
LBB0_2:
	movq	_KADM5_PRINC_EXPIRE_TIME@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_4
## %bb.3:
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_krb5_store_int32
LBB0_4:
	movq	_KADM5_PW_EXPIRATION@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_6
## %bb.5:
	movl	4(%r12), %esi
	movq	%r14, %rdi
	callq	_krb5_store_int32
LBB0_6:
	movq	_KADM5_LAST_PWD_CHANGE@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_8
## %bb.7:
	movl	8(%r12), %esi
	movq	%r14, %rdi
	callq	_krb5_store_int32
LBB0_8:
	movq	_KADM5_MAX_LIFE@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_10
## %bb.9:
	movl	12(%r12), %esi
	movq	%r14, %rdi
	callq	_krb5_store_int32
LBB0_10:
	movq	_KADM5_MOD_NAME@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_13
## %bb.11:
	xorl	%esi, %esi
	cmpq	$0, 88(%r12)
	setne	%sil
	movq	%r14, %rdi
	callq	_krb5_store_int32
	movq	88(%r12), %rsi
	testq	%rsi, %rsi
	je	LBB0_13
## %bb.12:
	movq	%r14, %rdi
	callq	_krb5_store_principal
LBB0_13:
	movq	_KADM5_MOD_TIME@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_15
## %bb.14:
	movl	16(%r12), %esi
	movq	%r14, %rdi
	callq	_krb5_store_int32
LBB0_15:
	movq	_KADM5_ATTRIBUTES@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_17
## %bb.16:
	movl	20(%r12), %esi
	movq	%r14, %rdi
	callq	_krb5_store_int32
LBB0_17:
	movq	_KADM5_KVNO@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_19
## %bb.18:
	movl	24(%r12), %esi
	movq	%r14, %rdi
	callq	_krb5_store_int32
LBB0_19:
	movq	_KADM5_MKVNO@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_21
## %bb.20:
	movl	28(%r12), %esi
	movq	%r14, %rdi
	callq	_krb5_store_int32
LBB0_21:
	movq	_KADM5_POLICY@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_24
## %bb.22:
	xorl	%esi, %esi
	cmpq	$0, 80(%r12)
	setne	%sil
	movq	%r14, %rdi
	callq	_krb5_store_int32
	movq	80(%r12), %rsi
	testq	%rsi, %rsi
	je	LBB0_24
## %bb.23:
	movq	%r14, %rdi
	callq	_krb5_store_string
LBB0_24:
	movq	_KADM5_AUX_ATTRIBUTES@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_26
## %bb.25:
	movl	32(%r12), %esi
	movq	%r14, %rdi
	callq	_krb5_store_int32
LBB0_26:
	movq	_KADM5_MAX_RLIFE@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_28
## %bb.27:
	movl	36(%r12), %esi
	movq	%r14, %rdi
	callq	_krb5_store_int32
LBB0_28:
	movq	_KADM5_LAST_SUCCESS@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_30
## %bb.29:
	movl	40(%r12), %esi
	movq	%r14, %rdi
	callq	_krb5_store_int32
LBB0_30:
	movq	_KADM5_LAST_FAILED@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_32
## %bb.31:
	movl	44(%r12), %esi
	movq	%r14, %rdi
	callq	_krb5_store_int32
LBB0_32:
	movq	_KADM5_FAIL_AUTH_COUNT@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_34
## %bb.33:
	movl	48(%r12), %esi
	movq	%r14, %rdi
	callq	_krb5_store_int32
LBB0_34:
	movq	_KADM5_KEY_DATA@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_38
## %bb.35:
	movl	52(%r12), %esi
	movq	%r14, %rdi
	callq	_krb5_store_int32
	cmpl	$0, 52(%r12)
	jle	LBB0_38
## %bb.36:
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_37:                                ## =>This Inner Loop Header: Depth=1
	movq	72(%r12), %rsi
	addq	%r13, %rsi
	movq	%r14, %rdi
	callq	_kadm5_store_key_data
	incq	%rbx
	movslq	52(%r12), %rax
	addq	$4, %r13
	cmpq	%rax, %rbx
	jl	LBB0_37
LBB0_38:
	movq	_KADM5_TL_DATA@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_42
## %bb.39:
	movl	56(%r12), %esi
	movq	%r14, %rdi
	callq	_krb5_store_int32
	movq	64(%r12), %rbx
	testq	%rbx, %rbx
	je	LBB0_42
	.p2align	4, 0x90
LBB0_40:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_kadm5_store_tl_data
	movq	(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_40
LBB0_42:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_KADM5_PRINCIPAL,4,2            ## @KADM5_PRINCIPAL
	.comm	_KADM5_PRINC_EXPIRE_TIME,4,2    ## @KADM5_PRINC_EXPIRE_TIME
	.comm	_KADM5_PW_EXPIRATION,4,2        ## @KADM5_PW_EXPIRATION
	.comm	_KADM5_LAST_PWD_CHANGE,4,2      ## @KADM5_LAST_PWD_CHANGE
	.comm	_KADM5_MAX_LIFE,4,2             ## @KADM5_MAX_LIFE
	.comm	_KADM5_MOD_NAME,4,2             ## @KADM5_MOD_NAME
	.comm	_KADM5_MOD_TIME,4,2             ## @KADM5_MOD_TIME
	.comm	_KADM5_ATTRIBUTES,4,2           ## @KADM5_ATTRIBUTES
	.comm	_KADM5_KVNO,4,2                 ## @KADM5_KVNO
	.comm	_KADM5_MKVNO,4,2                ## @KADM5_MKVNO
	.comm	_KADM5_POLICY,4,2               ## @KADM5_POLICY
	.comm	_KADM5_AUX_ATTRIBUTES,4,2       ## @KADM5_AUX_ATTRIBUTES
	.comm	_KADM5_MAX_RLIFE,4,2            ## @KADM5_MAX_RLIFE
	.comm	_KADM5_LAST_SUCCESS,4,2         ## @KADM5_LAST_SUCCESS
	.comm	_KADM5_LAST_FAILED,4,2          ## @KADM5_LAST_FAILED
	.comm	_KADM5_FAIL_AUTH_COUNT,4,2      ## @KADM5_FAIL_AUTH_COUNT
	.comm	_KADM5_KEY_DATA,4,2             ## @KADM5_KEY_DATA
	.comm	_KADM5_TL_DATA,4,2              ## @KADM5_TL_DATA
	.no_dead_strip	_store_principal_ent
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function store_principal_ent
_store_principal_ent:                   ; @store_principal_ent
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x21, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _KADM5_PRINCIPAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _KADM5_PRINCIPAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w2
	b.eq	LBB0_2
; %bb.1:
	ldr	x1, [x20, #96]
	mov	x0, x19
	bl	_krb5_store_principal
LBB0_2:
Lloh3:
	adrp	x8, _KADM5_PRINC_EXPIRE_TIME@GOTPAGE
Lloh4:
	ldr	x8, [x8, _KADM5_PRINC_EXPIRE_TIME@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_4
; %bb.3:
	ldr	w1, [x20]
	mov	x0, x19
	bl	_krb5_store_int32
LBB0_4:
Lloh6:
	adrp	x8, _KADM5_PW_EXPIRATION@GOTPAGE
Lloh7:
	ldr	x8, [x8, _KADM5_PW_EXPIRATION@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_6
; %bb.5:
	ldr	w1, [x20, #4]
	mov	x0, x19
	bl	_krb5_store_int32
LBB0_6:
Lloh9:
	adrp	x8, _KADM5_LAST_PWD_CHANGE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _KADM5_LAST_PWD_CHANGE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_8
; %bb.7:
	ldr	w1, [x20, #8]
	mov	x0, x19
	bl	_krb5_store_int32
LBB0_8:
Lloh12:
	adrp	x8, _KADM5_MAX_LIFE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _KADM5_MAX_LIFE@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_10
; %bb.9:
	ldr	w1, [x20, #12]
	mov	x0, x19
	bl	_krb5_store_int32
LBB0_10:
Lloh15:
	adrp	x8, _KADM5_MOD_NAME@GOTPAGE
Lloh16:
	ldr	x8, [x8, _KADM5_MOD_NAME@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_13
; %bb.11:
	ldr	x8, [x20, #88]
	cmp	x8, #0
	cset	w1, ne
	mov	x0, x19
	bl	_krb5_store_int32
	ldr	x1, [x20, #88]
	cbz	x1, LBB0_13
; %bb.12:
	mov	x0, x19
	bl	_krb5_store_principal
LBB0_13:
Lloh18:
	adrp	x8, _KADM5_MOD_TIME@GOTPAGE
Lloh19:
	ldr	x8, [x8, _KADM5_MOD_TIME@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_15
; %bb.14:
	ldr	w1, [x20, #16]
	mov	x0, x19
	bl	_krb5_store_int32
LBB0_15:
Lloh21:
	adrp	x8, _KADM5_ATTRIBUTES@GOTPAGE
Lloh22:
	ldr	x8, [x8, _KADM5_ATTRIBUTES@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_17
; %bb.16:
	ldr	w1, [x20, #20]
	mov	x0, x19
	bl	_krb5_store_int32
LBB0_17:
Lloh24:
	adrp	x8, _KADM5_KVNO@GOTPAGE
Lloh25:
	ldr	x8, [x8, _KADM5_KVNO@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_19
; %bb.18:
	ldr	w1, [x20, #24]
	mov	x0, x19
	bl	_krb5_store_int32
LBB0_19:
Lloh27:
	adrp	x8, _KADM5_MKVNO@GOTPAGE
Lloh28:
	ldr	x8, [x8, _KADM5_MKVNO@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_21
; %bb.20:
	ldr	w1, [x20, #28]
	mov	x0, x19
	bl	_krb5_store_int32
LBB0_21:
Lloh30:
	adrp	x8, _KADM5_POLICY@GOTPAGE
Lloh31:
	ldr	x8, [x8, _KADM5_POLICY@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_24
; %bb.22:
	ldr	x8, [x20, #80]
	cmp	x8, #0
	cset	w1, ne
	mov	x0, x19
	bl	_krb5_store_int32
	ldr	x1, [x20, #80]
	cbz	x1, LBB0_24
; %bb.23:
	mov	x0, x19
	bl	_krb5_store_string
LBB0_24:
Lloh33:
	adrp	x8, _KADM5_AUX_ATTRIBUTES@GOTPAGE
Lloh34:
	ldr	x8, [x8, _KADM5_AUX_ATTRIBUTES@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_26
; %bb.25:
	ldr	w1, [x20, #32]
	mov	x0, x19
	bl	_krb5_store_int32
LBB0_26:
Lloh36:
	adrp	x8, _KADM5_MAX_RLIFE@GOTPAGE
Lloh37:
	ldr	x8, [x8, _KADM5_MAX_RLIFE@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_28
; %bb.27:
	ldr	w1, [x20, #36]
	mov	x0, x19
	bl	_krb5_store_int32
LBB0_28:
Lloh39:
	adrp	x8, _KADM5_LAST_SUCCESS@GOTPAGE
Lloh40:
	ldr	x8, [x8, _KADM5_LAST_SUCCESS@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_30
; %bb.29:
	ldr	w1, [x20, #40]
	mov	x0, x19
	bl	_krb5_store_int32
LBB0_30:
Lloh42:
	adrp	x8, _KADM5_LAST_FAILED@GOTPAGE
Lloh43:
	ldr	x8, [x8, _KADM5_LAST_FAILED@GOTPAGEOFF]
Lloh44:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_32
; %bb.31:
	ldr	w1, [x20, #44]
	mov	x0, x19
	bl	_krb5_store_int32
LBB0_32:
Lloh45:
	adrp	x8, _KADM5_FAIL_AUTH_COUNT@GOTPAGE
Lloh46:
	ldr	x8, [x8, _KADM5_FAIL_AUTH_COUNT@GOTPAGEOFF]
Lloh47:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_34
; %bb.33:
	ldr	w1, [x20, #48]
	mov	x0, x19
	bl	_krb5_store_int32
LBB0_34:
Lloh48:
	adrp	x8, _KADM5_KEY_DATA@GOTPAGE
Lloh49:
	ldr	x8, [x8, _KADM5_KEY_DATA@GOTPAGEOFF]
Lloh50:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_38
; %bb.35:
	ldr	w1, [x20, #52]
	mov	x0, x19
	bl	_krb5_store_int32
	ldr	w8, [x20, #52]
	cmp	w8, #1
	b.lt	LBB0_38
; %bb.36:
	mov	x22, #0
	mov	x23, #0
LBB0_37:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #72]
	add	x1, x8, x22
	mov	x0, x19
	bl	_kadm5_store_key_data
	add	x23, x23, #1
	ldrsw	x8, [x20, #52]
	add	x22, x22, #4
	cmp	x23, x8
	b.lt	LBB0_37
LBB0_38:
Lloh51:
	adrp	x8, _KADM5_TL_DATA@GOTPAGE
Lloh52:
	ldr	x8, [x8, _KADM5_TL_DATA@GOTPAGEOFF]
Lloh53:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_41
; %bb.39:
	ldr	w1, [x20, #56]
	mov	x0, x19
	bl	_krb5_store_int32
	ldr	x20, [x20, #64]
	cbz	x20, LBB0_41
LBB0_40:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_kadm5_store_tl_data
	ldr	x20, [x20]
	cbnz	x20, LBB0_40
LBB0_41:
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.cfi_endproc
                                        ; -- End function
	.comm	_KADM5_PRINCIPAL,4,2            ; @KADM5_PRINCIPAL
	.comm	_KADM5_PRINC_EXPIRE_TIME,4,2    ; @KADM5_PRINC_EXPIRE_TIME
	.comm	_KADM5_PW_EXPIRATION,4,2        ; @KADM5_PW_EXPIRATION
	.comm	_KADM5_LAST_PWD_CHANGE,4,2      ; @KADM5_LAST_PWD_CHANGE
	.comm	_KADM5_MAX_LIFE,4,2             ; @KADM5_MAX_LIFE
	.comm	_KADM5_MOD_NAME,4,2             ; @KADM5_MOD_NAME
	.comm	_KADM5_MOD_TIME,4,2             ; @KADM5_MOD_TIME
	.comm	_KADM5_ATTRIBUTES,4,2           ; @KADM5_ATTRIBUTES
	.comm	_KADM5_KVNO,4,2                 ; @KADM5_KVNO
	.comm	_KADM5_MKVNO,4,2                ; @KADM5_MKVNO
	.comm	_KADM5_POLICY,4,2               ; @KADM5_POLICY
	.comm	_KADM5_AUX_ATTRIBUTES,4,2       ; @KADM5_AUX_ATTRIBUTES
	.comm	_KADM5_MAX_RLIFE,4,2            ; @KADM5_MAX_RLIFE
	.comm	_KADM5_LAST_SUCCESS,4,2         ; @KADM5_LAST_SUCCESS
	.comm	_KADM5_LAST_FAILED,4,2          ; @KADM5_LAST_FAILED
	.comm	_KADM5_FAIL_AUTH_COUNT,4,2      ; @KADM5_FAIL_AUTH_COUNT
	.comm	_KADM5_KEY_DATA,4,2             ; @KADM5_KEY_DATA
	.comm	_KADM5_TL_DATA,4,2              ; @KADM5_TL_DATA
	.no_dead_strip	_store_principal_ent
.subsections_via_symbols
