	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PerUpdateConfig                ## -- Begin function PerUpdateConfig
	.p2align	4, 0x90
_PerUpdateConfig:                       ## @PerUpdateConfig
	.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
	movq	%rdx, %r14
	movq	%rdi, %r12
	movq	_perkeyconfigsize@GOTPCREL(%rip), %r13
	movslq	(%r13), %r15
	addl	%r15d, %esi
	movl	%esi, (%r13)
	movq	_perkeyconfig@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	shll	$2, %esi
	callq	_realloc
	movq	%rax, (%rbx)
	movl	(%r13), %esi
	cmpl	%r15d, %esi
	jle	LBB0_8
## %bb.1:
	subl	%r15d, %esi
	movq	%r15, %rcx
	shlq	$4, %rcx
	movq	%r12, 8(%rax,%rcx)
	movq	(%rbx), %rax
	movq	%r14, (%rax,%rcx)
	cmpl	$1, %esi
	je	LBB0_8
## %bb.2:
	movl	%esi, %r8d
	decq	%r8
	movl	$1, %edx
	cmpl	$2, %esi
	je	LBB0_6
## %bb.3:
	movq	%r8, %r9
	andq	$-2, %r9
	negq	%r9
	xorl	%edi, %edi
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	leaq	(%r12,%rdi), %rax
	addq	$4, %rax
	movq	(%rbx), %rdx
	addq	%rcx, %rdx
	movq	%rax, 24(%rdx,%rdi,4)
	movq	(%rbx), %rax
	addq	%rcx, %rax
	movq	%r14, 16(%rax,%rdi,4)
	leaq	(%r12,%rdi), %rax
	addq	$8, %rax
	movq	(%rbx), %rdx
	addq	%rcx, %rdx
	movq	%rax, 40(%rdx,%rdi,4)
	movq	(%rbx), %rax
	addq	%rcx, %rax
	movq	%r14, 32(%rax,%rdi,4)
	addq	$-2, %rsi
	addq	$8, %rdi
	cmpq	%rsi, %r9
	jne	LBB0_4
## %bb.5:
	movl	$1, %edx
	subq	%rsi, %rdx
	subq	%rsi, %r15
LBB0_6:
	testb	$1, %r8b
	je	LBB0_8
## %bb.7:
	shlq	$4, %r15
	movq	(%rbx), %rax
	leaq	(%r12,%rdx,4), %rcx
	movq	%rcx, 24(%rax,%r15)
	movq	(%rbx), %rax
	movq	%r14, 16(%rax,%r15)
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_perkeyconfigsize,4,2           ## @perkeyconfigsize
	.comm	_perkeyconfig,8,3               ## @perkeyconfig
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PerUpdateConfig                ; -- Begin function PerUpdateConfig
	.p2align	2
_PerUpdateConfig:                       ; @PerUpdateConfig
	.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	x19, x2
	mov	x20, x0
Lloh0:
	adrp	x23, _perkeyconfigsize@GOTPAGE
Lloh1:
	ldr	x23, [x23, _perkeyconfigsize@GOTPAGEOFF]
	ldrsw	x22, [x23]
	add	w8, w22, w1
	str	w8, [x23]
Lloh2:
	adrp	x21, _perkeyconfig@GOTPAGE
Lloh3:
	ldr	x21, [x21, _perkeyconfig@GOTPAGEOFF]
	ldr	x0, [x21]
	lsl	w1, w8, #2
	bl	_realloc
	str	x0, [x21]
	ldr	w8, [x23]
	cmp	w8, w22
	b.le	LBB0_4
; %bb.1:
	sub	w9, w8, w22
	lsl	x8, x22, #4
	add	x10, x0, x8
	str	x20, [x10, #8]
	ldr	x10, [x21]
	str	x19, [x10, x8]
	cmp	w9, #1
	b.eq	LBB0_4
; %bb.2:
	sub	x9, x9, #1
	add	x10, x20, #4
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x21]
	add	x11, x11, x8
	str	x10, [x11, #24]
	ldr	x11, [x21]
	add	x11, x11, x8
	str	x19, [x11, #16]
	add	x10, x10, #4
	add	x8, x8, #16
	subs	x9, x9, #1
	b.ne	LBB0_3
LBB0_4:
	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 AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_perkeyconfigsize,4,2           ; @perkeyconfigsize
	.comm	_perkeyconfig,8,3               ; @perkeyconfig
.subsections_via_symbols
