	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function applyRemoteGucs
_applyRemoteGucs:                       ## @applyRemoteGucs
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	leaq	_applyRemoteGucs.GUCsAffectingIO(%rip), %r14
	movq	%r14, %rdi
	callq	_lengthof
	testl	%eax, %eax
	jle	LBB0_1
## %bb.2:
	movl	$-1, -44(%rbp)                  ## 4-byte Folded Spill
	movq	%r14, %r15
	xorl	%r12d, %r12d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_PGC_USERSET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_PGC_S_SESSION@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_GUC_ACTION_SAVE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movl	$1, %r9d
	pushq	$0
	pushq	$0
	callq	_set_config_option
	addq	$16, %rsp
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	leaq	_applyRemoteGucs.GUCsAffectingIO(%rip), %r14
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%r12
	movq	%r14, %rdi
	callq	_lengthof
	cltq
	addq	$8, %r15
	cmpq	%rax, %r12
	jge	LBB0_10
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %r13
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_PQparameterStatus
	testq	%rax, %rax
	je	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %rbx
	movq	%r13, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_GetConfigOption
	movq	%rax, %r14
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_Assert
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jns	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	callq	_NewGUCNestLevel
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_7
LBB0_1:
	movl	$-1, -44(%rbp)                  ## 4-byte Folded Spill
LBB0_10:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__DATA,__const
	.p2align	4                               ## @applyRemoteGucs.GUCsAffectingIO
_applyRemoteGucs.GUCsAffectingIO:
	.quad	L_.str
	.quad	L_.str.1

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DateStyle"

L_.str.1:                               ## @.str.1
	.asciz	"IntervalStyle"

	.comm	_PGC_USERSET,4,2                ## @PGC_USERSET
	.comm	_PGC_S_SESSION,4,2              ## @PGC_S_SESSION
	.comm	_GUC_ACTION_SAVE,4,2            ## @GUC_ACTION_SAVE
	.no_dead_strip	_applyRemoteGucs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function applyRemoteGucs
_applyRemoteGucs:                       ; @applyRemoteGucs
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
Lloh0:
	adrp	x20, _applyRemoteGucs.GUCsAffectingIO@PAGE
Lloh1:
	add	x20, x20, _applyRemoteGucs.GUCsAffectingIO@PAGEOFF
	mov	x0, x20
	bl	_lengthof
	cmp	w0, #1
	b.lt	LBB0_8
; %bb.1:
	mov	x25, #0
	mov	w21, #-1
Lloh2:
	adrp	x26, _PGC_USERSET@GOTPAGE
Lloh3:
	ldr	x26, [x26, _PGC_USERSET@GOTPAGEOFF]
Lloh4:
	adrp	x27, _PGC_S_SESSION@GOTPAGE
Lloh5:
	ldr	x27, [x27, _PGC_S_SESSION@GOTPAGEOFF]
Lloh6:
	adrp	x28, _GUC_ACTION_SAVE@GOTPAGE
Lloh7:
	ldr	x28, [x28, _GUC_ACTION_SAVE@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w2, [x26]
	ldr	w3, [x27]
	ldr	w4, [x28]
	mov	x0, x22
	mov	x1, x23
	mov	w5, #1
	mov	w6, #0
	mov	w7, #0
	bl	_set_config_option
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x25, x25, #1
	mov	x0, x20
	bl	_lengthof
	cmp	x25, w0, sxtw
	b.ge	LBB0_9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x22, [x20, x25, lsl #3]
	mov	x0, x19
	mov	x1, x22
	bl	_PQparameterStatus
	cbz	x0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x23, x0
	mov	x0, x22
	mov	w1, #0
	mov	w2, #0
	bl	_GetConfigOption
	mov	x24, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_Assert
	mov	x0, x23
	mov	x1, x24
	bl	_strcmp
	cbz	x0, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	tbz	w21, #31, LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_NewGUCNestLevel
	mov	x21, x0
	b	LBB0_2
LBB0_8:
	mov	w21, #-1
LBB0_9:
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__DATA,__const
	.p2align	3                               ; @applyRemoteGucs.GUCsAffectingIO
_applyRemoteGucs.GUCsAffectingIO:
	.quad	l_.str
	.quad	l_.str.1

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DateStyle"

l_.str.1:                               ; @.str.1
	.asciz	"IntervalStyle"

	.comm	_PGC_USERSET,4,2                ; @PGC_USERSET
	.comm	_PGC_S_SESSION,4,2              ; @PGC_S_SESSION
	.comm	_GUC_ACTION_SAVE,4,2            ; @GUC_ACTION_SAVE
	.no_dead_strip	_applyRemoteGucs
.subsections_via_symbols
