	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _nvram_realloc
__nvram_realloc:                        ## @_nvram_realloc
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	%rcx, %rdi
	callq	_strlen
	incq	%rax
	movslq	(%rbx), %rcx
	movslq	4(%rbx), %rdx
	subq	%rdx, %rcx
	cmpq	%rcx, %rax
	ja	LBB0_12
## %bb.2:
	testq	%r12, %r12
	je	LBB0_6
## %bb.3:
	leaq	8(%r12), %rbx
	movq	8(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.4:
	movq	%r14, %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_13
## %bb.5:
	movq	(%rbx), %r15
	jmp	LBB0_9
LBB0_6:
	movq	%r15, %rdi
	callq	_strlen
	leal	17(%rax), %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_12
## %bb.7:
	movq	%rax, %r12
	leaq	16(%rax), %rdi
	movq	%rdi, (%rax)
	movq	%r15, %rsi
	callq	_strcpy
	movq	%r12, %rbx
	addq	$8, %rbx
	movq	$0, 8(%r12)
LBB0_8:
	xorl	%r15d, %r15d
LBB0_9:
	movq	%r14, %rdi
	callq	_strlen
	leal	1(%rax), %esi
	movq	%r15, %rdi
	callq	_realloc
	movq	%rax, 8(%r12)
	testq	%rax, %rax
	je	LBB0_12
## %bb.10:
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_strcpy
	movq	(%rbx), %rbx
	movq	%r14, %rdi
	callq	_strlen
	movb	$0, (%rbx,%rax)
	jmp	LBB0_13
LBB0_12:
	xorl	%r12d, %r12d
LBB0_13:
	movq	%r12, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	__nvram_realloc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _nvram_realloc
__nvram_realloc:                        ; @_nvram_realloc
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x3
	mov	x21, x2
	mov	x19, x1
	mov	x22, x0
	mov	x0, x3
	bl	_strlen
	add	x8, x0, #1
	ldpsw	x9, x10, [x22]
	sub	x9, x9, x10
	cmp	x8, x9
	b.hi	LBB0_10
; %bb.1:
	cbz	x19, LBB0_5
; %bb.2:
	mov	x22, x19
	ldr	x0, [x22, #8]!
	cbz	x0, LBB0_7
; %bb.3:
	mov	x1, x20
	bl	_strcmp
	cbz	x0, LBB0_11
; %bb.4:
	ldr	x21, [x22]
	b	LBB0_8
LBB0_5:
	mov	x0, x21
	bl	_strlen
	add	w0, w0, #17
	bl	_malloc
	mov	x19, x0
	cbz	x0, LBB0_11
; %bb.6:
	add	x0, x19, #16
	str	x0, [x19]
	mov	x1, x21
	bl	_strcpy
	mov	x21, #0
	mov	x22, x19
	str	xzr, [x22, #8]!
	b	LBB0_8
LBB0_7:
	mov	x21, #0
LBB0_8:
	mov	x0, x20
	bl	_strlen
	add	w1, w0, #1
	mov	x0, x21
	bl	_realloc
	str	x0, [x19, #8]
	cbz	x0, LBB0_10
; %bb.9:
	mov	x1, x20
	bl	_strcpy
	ldr	x21, [x22]
	mov	x0, x20
	bl	_strlen
	strb	wzr, [x21, x0]
	b	LBB0_11
LBB0_10:
	mov	x19, #0
LBB0_11:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	__nvram_realloc
.subsections_via_symbols
