	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_partition_qual_relid       ## -- Begin function get_partition_qual_relid
	.p2align	4, 0x90
_get_partition_qual_relid:              ## @get_partition_qual_relid
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %ebx
	callq	_get_rel_relispartition
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	_AccessShareLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_relation_open
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_generate_partition_qual
	movq	%rax, %rbx
	movq	_NIL@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	je	LBB0_3
## %bb.4:
	movq	%rbx, %rdi
	callq	_list_length
	cmpl	$2, %eax
	jl	LBB0_6
## %bb.5:
	movq	_AND_EXPR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	movl	$-1, %edx
	callq	_makeBoolExpr
	jmp	LBB0_7
LBB0_1:
	xorl	%ebx, %ebx
	jmp	LBB0_9
LBB0_3:
	xorl	%ebx, %ebx
	jmp	LBB0_8
LBB0_6:
	movq	%rbx, %rdi
	callq	_linitial
LBB0_7:
	movq	%rax, %rbx
LBB0_8:
	movq	_NoLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_relation_close
LBB0_9:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AccessShareLock,4,2            ## @AccessShareLock
	.comm	_NIL,8,3                        ## @NIL
	.comm	_AND_EXPR,4,2                   ## @AND_EXPR
	.comm	_NoLock,4,2                     ## @NoLock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_partition_qual_relid       ; -- Begin function get_partition_qual_relid
	.p2align	2
_get_partition_qual_relid:              ; @get_partition_qual_relid
	.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
	bl	_get_rel_relispartition
	cbz	x0, LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _AccessShareLock@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AccessShareLock@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_relation_open
	mov	x19, x0
	bl	_generate_partition_qual
Lloh3:
	adrp	x8, _NIL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NIL@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_5
; %bb.2:
	mov	x20, x0
	bl	_list_length
	cmp	w0, #2
	b.lt	LBB0_6
; %bb.3:
Lloh6:
	adrp	x8, _AND_EXPR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AND_EXPR@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	x1, x20
	mov	w2, #-1
	bl	_makeBoolExpr
	b	LBB0_7
LBB0_4:
	mov	x20, #0
	b	LBB0_9
LBB0_5:
	mov	x20, #0
	b	LBB0_8
LBB0_6:
	mov	x0, x20
	bl	_linitial
LBB0_7:
	mov	x20, x0
LBB0_8:
Lloh9:
	adrp	x8, _NoLock@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NoLock@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_relation_close
LBB0_9:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_AccessShareLock,4,2            ; @AccessShareLock
	.comm	_NIL,8,3                        ; @NIL
	.comm	_AND_EXPR,4,2                   ; @AND_EXPR
	.comm	_NoLock,4,2                     ; @NoLock
.subsections_via_symbols
