	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_has_partition_attrs            ## -- Begin function has_partition_attrs
	.p2align	4, 0x90
_has_partition_attrs:                   ## @has_partition_attrs
	.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
	xorl	%r13d, %r13d
	testq	%rsi, %rsi
	je	LBB0_14
## %bb.1:
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movq	_RELKIND_PARTITIONED_TABLE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_14
## %bb.2:
	movq	%rsi, %rbx
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	callq	_RelationGetPartitionKey
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_get_partition_natts
	movl	%eax, %r12d
	movl	%r15d, %edi
	callq	_get_partition_exprs
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_list_head
	testl	%r12d, %r12d
	jle	LBB0_14
## %bb.3:
	movq	%rax, %r14
	xorl	%r13d, %r13d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rdi
	callq	_lfirst
	movq	$0, -56(%rbp)
	movq	%rax, %rdi
	movl	$1, %esi
	leaq	-56(%rbp), %rdx
	callq	_pull_varattnos
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_lnext
	movq	%rax, %r14
	movq	-56(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_bms_overlap
	testq	%rax, %rax
	jne	LBB0_9
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	incl	%r13d
	cmpl	%r13d, %r12d
	je	LBB0_13
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r15d, %edi
	movl	%r13d, %esi
	callq	_get_partition_col_attnum
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_FirstLowInvalidHeapAttributeNumber@GOTPCREL(%rip), %rcx
	subq	(%rcx), %rax
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_bms_is_member
	testq	%rax, %rax
	je	LBB0_12
## %bb.6:
	movl	$1, %r13d
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_14
## %bb.7:
	movl	$0, (%rax)
	jmp	LBB0_14
LBB0_13:
	xorl	%r13d, %r13d
	jmp	LBB0_14
LBB0_9:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movl	$1, (%rax)
LBB0_11:
	movl	$1, %r13d
LBB0_14:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RELKIND_PARTITIONED_TABLE,8,3  ## @RELKIND_PARTITIONED_TABLE
	.comm	_FirstLowInvalidHeapAttributeNumber,8,3 ## @FirstLowInvalidHeapAttributeNumber
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_has_partition_attrs            ; -- Begin function has_partition_attrs
	.p2align	2
_has_partition_attrs:                   ; @has_partition_attrs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	cbz	x1, LBB0_10
; %bb.1:
	ldr	x8, [x0]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _RELKIND_PARTITIONED_TABLE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RELKIND_PARTITIONED_TABLE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.2:
	mov	x19, x2
	mov	x20, x1
	bl	_RelationGetPartitionKey
	mov	x21, x0
	bl	_get_partition_natts
	mov	x22, x0
	mov	x0, x21
	bl	_get_partition_exprs
	mov	x23, x0
	bl	_list_head
	cmp	w22, #1
	b.lt	LBB0_10
; %bb.3:
	mov	x24, x0
	mov	w25, #0
Lloh3:
	adrp	x26, _FirstLowInvalidHeapAttributeNumber@GOTPAGE
Lloh4:
	ldr	x26, [x26, _FirstLowInvalidHeapAttributeNumber@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x24
	bl	_lfirst
	str	xzr, [sp, #8]
	add	x2, sp, #8
	mov	w1, #1
	bl	_pull_varattnos
	mov	x0, x23
	mov	x1, x24
	bl	_lnext
	mov	x24, x0
	ldr	x1, [sp, #8]
	mov	x0, x20
	bl	_bms_overlap
	cbnz	x0, LBB0_12
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	w25, w25, #1
	cmp	w22, w25
	b.eq	LBB0_10
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x25
	bl	_get_partition_col_attnum
	cbz	x0, LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x26]
	sub	x0, x0, x8
	mov	x1, x20
	bl	_bms_is_member
	cbz	x0, LBB0_5
; %bb.8:
	cbz	x19, LBB0_14
; %bb.9:
	str	wzr, [x19]
	mov	w0, #1
	b	LBB0_11
LBB0_10:
	mov	w0, #0
LBB0_11:
	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
	add	sp, sp, #96
	ret
LBB0_12:
	cbz	x19, LBB0_14
; %bb.13:
	mov	w8, #1
	str	w8, [x19]
LBB0_14:
	mov	w0, #1
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_RELKIND_PARTITIONED_TABLE,8,3  ; @RELKIND_PARTITIONED_TABLE
	.comm	_FirstLowInvalidHeapAttributeNumber,8,3 ; @FirstLowInvalidHeapAttributeNumber
.subsections_via_symbols
