	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function is_valid_dblink_option
_is_valid_dblink_option:                ## @is_valid_dblink_option
	.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	%rdi, %rbx
	movq	8(%rdi), %rdi
	xorl	%r15d, %r15d
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.1:
	movq	%rdx, %r14
	movq	%rsi, %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	24(%rbx), %rdi
	addq	$16, %rbx
	testq	%rdi, %rdi
	jne	LBB0_2
	jmp	LBB0_13
LBB0_4:
	cmpq	$0, 8(%rbx)
	je	LBB0_13
## %bb.5:
	movl	(%rbx), %edi
	movl	$68, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_6
LBB0_13:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	8(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_13
## %bb.7:
	movq	8(%rbx), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movl	(%rbx), %edi
	movl	$42, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_10
LBB0_9:
	movq	_UserMappingRelationId@GOTPCREL(%rip), %rax
	cmpq	%r14, (%rax)
	jne	LBB0_13
	jmp	LBB0_12
LBB0_10:
	movq	_ForeignServerRelationId@GOTPCREL(%rip), %rax
	cmpq	%r14, (%rax)
	jne	LBB0_13
LBB0_12:
	movl	$1, %r15d
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"client_encoding"

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

	.comm	_UserMappingRelationId,8,3      ## @UserMappingRelationId
	.comm	_ForeignServerRelationId,8,3    ## @ForeignServerRelationId
	.no_dead_strip	_is_valid_dblink_option
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function is_valid_dblink_option
_is_valid_dblink_option:                ; @is_valid_dblink_option
	.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, x0
	ldr	x0, [x0, #8]
	cbz	x0, LBB0_7
; %bb.1:
	mov	x19, x2
	mov	x21, x1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x1, x21
	bl	_strcmp
	cbz	x0, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x20, #24]
	add	x20, x20, #16
	cbnz	x0, LBB0_2
	b	LBB0_7
LBB0_4:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_6
; %bb.5:
	ldr	w0, [x20]
	mov	w1, #68
	bl	_strchr
	cbz	x0, LBB0_8
LBB0_6:
	mov	w0, #0
LBB0_7:
	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
LBB0_8:
	ldr	x0, [x20, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_7
; %bb.9:
	ldr	x0, [x20, #8]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_11
; %bb.10:
	ldr	w0, [x20]
	mov	w1, #42
	bl	_strchr
	cbz	x0, LBB0_12
LBB0_11:
Lloh4:
	adrp	x8, _UserMappingRelationId@GOTPAGE
Lloh5:
	ldr	x8, [x8, _UserMappingRelationId@GOTPAGEOFF]
	b	LBB0_13
LBB0_12:
Lloh6:
	adrp	x8, _ForeignServerRelationId@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ForeignServerRelationId@GOTPAGEOFF]
LBB0_13:
	ldr	x8, [x8]
	cmp	x8, x19
	b.ne	LBB0_6
; %bb.14:
	mov	w0, #1
	b	LBB0_7
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"client_encoding"

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

	.comm	_UserMappingRelationId,8,3      ; @UserMappingRelationId
	.comm	_ForeignServerRelationId,8,3    ; @ForeignServerRelationId
	.no_dead_strip	_is_valid_dblink_option
.subsections_via_symbols
