	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function comp_keyword_case_hook
_comp_keyword_case_hook:                ## @comp_keyword_case_hook
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	xorl	%edi, %edi
	testq	%rbx, %rbx
	setne	%dil
	callq	_Assert
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_pg_strcasecmp
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_pg_strcasecmp
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_pg_strcasecmp
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_pg_strcasecmp
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	leaq	L_.str.4(%rip), %rdi
	leaq	L_.str.5(%rip), %rdx
	movq	%rbx, %rsi
	callq	_PsqlVarEnumError
	xorl	%eax, %eax
	jmp	LBB0_10
LBB0_1:
	movq	_PSQL_COMP_CASE_PRESERVE_UPPER@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_4:
	movq	_PSQL_COMP_CASE_PRESERVE_LOWER@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_6:
	movq	_PSQL_COMP_CASE_UPPER@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_8:
	movq	_PSQL_COMP_CASE_LOWER@GOTPCREL(%rip), %rax
LBB0_2:
	movl	(%rax), %eax
	movq	_pset@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	$1, %eax
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"preserve-upper"

	.comm	_PSQL_COMP_CASE_PRESERVE_UPPER,4,2 ## @PSQL_COMP_CASE_PRESERVE_UPPER
	.comm	_pset,4,2                       ## @pset
L_.str.1:                               ## @.str.1
	.asciz	"preserve-lower"

	.comm	_PSQL_COMP_CASE_PRESERVE_LOWER,4,2 ## @PSQL_COMP_CASE_PRESERVE_LOWER
L_.str.2:                               ## @.str.2
	.asciz	"upper"

	.comm	_PSQL_COMP_CASE_UPPER,4,2       ## @PSQL_COMP_CASE_UPPER
L_.str.3:                               ## @.str.3
	.asciz	"lower"

	.comm	_PSQL_COMP_CASE_LOWER,4,2       ## @PSQL_COMP_CASE_LOWER
L_.str.4:                               ## @.str.4
	.asciz	"COMP_KEYWORD_CASE"

L_.str.5:                               ## @.str.5
	.asciz	"lower, upper, preserve-lower, preserve-upper"

	.no_dead_strip	_comp_keyword_case_hook
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function comp_keyword_case_hook
_comp_keyword_case_hook:                ; @comp_keyword_case_hook
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_Assert
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_pg_strcasecmp
	cbz	x0, LBB0_5
; %bb.1:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_pg_strcasecmp
	cbz	x0, LBB0_6
; %bb.2:
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_pg_strcasecmp
	cbz	x0, LBB0_7
; %bb.3:
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_pg_strcasecmp
	cbz	x0, LBB0_8
; %bb.4:
Lloh8:
	adrp	x0, l_.str.4@PAGE
Lloh9:
	add	x0, x0, l_.str.4@PAGEOFF
Lloh10:
	adrp	x2, l_.str.5@PAGE
Lloh11:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	x1, x19
	bl	_PsqlVarEnumError
	mov	w0, #0
	b	LBB0_10
LBB0_5:
Lloh12:
	adrp	x8, _PSQL_COMP_CASE_PRESERVE_UPPER@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PSQL_COMP_CASE_PRESERVE_UPPER@GOTPAGEOFF]
	b	LBB0_9
LBB0_6:
Lloh14:
	adrp	x8, _PSQL_COMP_CASE_PRESERVE_LOWER@GOTPAGE
Lloh15:
	ldr	x8, [x8, _PSQL_COMP_CASE_PRESERVE_LOWER@GOTPAGEOFF]
	b	LBB0_9
LBB0_7:
Lloh16:
	adrp	x8, _PSQL_COMP_CASE_UPPER@GOTPAGE
Lloh17:
	ldr	x8, [x8, _PSQL_COMP_CASE_UPPER@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
Lloh18:
	adrp	x8, _PSQL_COMP_CASE_LOWER@GOTPAGE
Lloh19:
	ldr	x8, [x8, _PSQL_COMP_CASE_LOWER@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
Lloh20:
	adrp	x9, _pset@GOTPAGE
Lloh21:
	ldr	x9, [x9, _pset@GOTPAGEOFF]
Lloh22:
	str	w8, [x9]
	mov	w0, #1
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotStr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"preserve-upper"

	.comm	_PSQL_COMP_CASE_PRESERVE_UPPER,4,2 ; @PSQL_COMP_CASE_PRESERVE_UPPER
	.comm	_pset,4,2                       ; @pset
l_.str.1:                               ; @.str.1
	.asciz	"preserve-lower"

	.comm	_PSQL_COMP_CASE_PRESERVE_LOWER,4,2 ; @PSQL_COMP_CASE_PRESERVE_LOWER
l_.str.2:                               ; @.str.2
	.asciz	"upper"

	.comm	_PSQL_COMP_CASE_UPPER,4,2       ; @PSQL_COMP_CASE_UPPER
l_.str.3:                               ; @.str.3
	.asciz	"lower"

	.comm	_PSQL_COMP_CASE_LOWER,4,2       ; @PSQL_COMP_CASE_LOWER
l_.str.4:                               ; @.str.4
	.asciz	"COMP_KEYWORD_CASE"

l_.str.5:                               ; @.str.5
	.asciz	"lower, upper, preserve-lower, preserve-upper"

	.no_dead_strip	_comp_keyword_case_hook
.subsections_via_symbols
