	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SerializeGUCState              ## -- Begin function SerializeGUCState
	.p2align	4, 0x90
_SerializeGUCState:                     ## @SerializeGUCState
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %ebx
	xorl	%edi, %edi
	cmpl	$5, %ebx
	setae	%dil
	callq	_Assert
	leaq	4(%r14), %rax
	movq	%rax, -72(%rbp)
	addl	$-4, %ebx
	movl	%ebx, -44(%rbp)
	movq	_num_guc_variables@GOTPCREL(%rip), %r13
	cmpl	$0, (%r13)
	movl	%ebx, %eax
	jle	LBB0_4
## %bb.1:
	movl	%ebx, -48(%rbp)                 ## 4-byte Spill
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	movq	_guc_variables@GOTPCREL(%rip), %r15
	leaq	-72(%rbp), %r12
	leaq	-44(%rbp), %rbx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movl	(%rax,%r14,4), %edx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_serialize_variable
	incq	%r14
	movslq	(%r13), %rax
	cmpq	%rax, %r14
	jl	LBB0_2
## %bb.3:
	movl	-44(%rbp), %eax
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
LBB0_4:
	subl	%eax, %ebx
	movl	%ebx, -52(%rbp)
	leaq	-52(%rbp), %rsi
	movq	%r14, %rdi
	movl	$4, %edx
	callq	_memcpy
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_num_guc_variables,4,2          ## @num_guc_variables
	.comm	_guc_variables,8,3              ## @guc_variables
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SerializeGUCState              ; -- Begin function SerializeGUCState
	.p2align	2
_SerializeGUCState:                     ; @SerializeGUCState
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x1
	subs	w20, w0, #4
	cset	w0, hi
	bl	_Assert
	add	x8, x19, #4
	str	x8, [sp, #8]
	str	w20, [sp]
Lloh0:
	adrp	x21, _num_guc_variables@GOTPAGE
Lloh1:
	ldr	x21, [x21, _num_guc_variables@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x22, #0
Lloh2:
	adrp	x23, _guc_variables@GOTPAGE
Lloh3:
	ldr	x23, [x23, _guc_variables@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	ldr	w2, [x8, x22, lsl #2]
	add	x0, sp, #8
	mov	x1, sp
	bl	_serialize_variable
	add	x22, x22, #1
	ldrsw	x8, [x21]
	cmp	x22, x8
	b.lt	LBB0_2
; %bb.3:
	ldr	w8, [sp]
	b	LBB0_5
LBB0_4:
	mov	x8, x20
LBB0_5:
	sub	w8, w20, w8
	str	w8, [sp, #4]
	add	x1, sp, #4
	mov	x0, x19
	mov	w2, #4
	bl	_memcpy
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_num_guc_variables,4,2          ; @num_guc_variables
	.comm	_guc_variables,8,3              ; @guc_variables
.subsections_via_symbols
