	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_rel_data_width             ## -- Begin function get_rel_data_width
	.p2align	4, 0x90
_get_rel_data_width:                    ## @get_rel_data_width
	.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	%rsi, %r14
	movq	%rdi, %r12
	callq	_RelationGetNumberOfAttributes
	testl	%eax, %eax
	jle	LBB0_1
## %bb.2:
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	addq	%rax, -48(%rbp)                 ## 8-byte Folded Spill
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rdi
	callq	_RelationGetNumberOfAttributes
	cltq
	cmpq	%rax, %r13
	jge	LBB0_13
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rbx
	movl	(%r12), %edi
	incq	%r13
	movl	%ebx, %esi
	callq	_TupleDescAttr
	cmpq	$0, 8(%rax)
	jne	LBB0_12
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %r15
	testq	%r14, %r14
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%r14,%rbx,8), %rax
	testq	%rax, %rax
	jg	LBB0_6
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rdi
	callq	_RelationGetRelid
	movl	%eax, %edi
	movl	%r13d, %esi
	callq	_get_attavgwidth
	movq	%rax, %r14
	testq	%rax, %rax
	jg	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r15), %esi
	movl	4(%r15), %edi
	callq	_get_typavgwidth
	movq	%rax, %r14
	xorl	%edi, %edi
	testq	%rax, %rax
	setg	%dil
	callq	_Assert
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, 8(%rax,%rbx,8)
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	addq	%r14, -48(%rbp)                 ## 8-byte Folded Spill
	movq	%rax, %r14
	jmp	LBB0_12
LBB0_1:
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
LBB0_13:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_rel_data_width             ; -- Begin function get_rel_data_width
	.p2align	2
_get_rel_data_width:                    ; @get_rel_data_width
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x1
	mov	x20, x0
	bl	_RelationGetNumberOfAttributes
	cmp	w0, #1
	b.lt	LBB0_12
; %bb.1:
	mov	x23, #0
	mov	x21, #0
	add	x26, x19, #8
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x21, x8, x21
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	bl	_RelationGetNumberOfAttributes
	cmp	x22, w0, sxtw
	mov	x23, x22
	b.ge	LBB0_13
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20]
	add	x22, x23, #1
	mov	x1, x23
	bl	_TupleDescAttr
	ldr	x8, [x0, #8]
	cbnz	x8, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x24, x0
	cbz	x19, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x26, x23, lsl #3]
	cmp	x8, #1
	b.ge	LBB0_2
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	bl	_RelationGetRelid
	mov	x1, x22
	bl	_get_attavgwidth
	mov	x25, x0
	cmp	x0, #0
	b.le	LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	cbz	x19, LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	x25, [x26, x23, lsl #3]
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x21, x25, x21
	b	LBB0_3
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	ldp	w1, w0, [x24]
	bl	_get_typavgwidth
	mov	x25, x0
	cmp	x0, #0
	cset	w0, gt
	bl	_Assert
	cbnz	x19, LBB0_9
	b	LBB0_10
LBB0_12:
	mov	x21, #0
LBB0_13:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
