	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function logicalrep_read_attrs
_logicalrep_read_attrs:                 ## @logicalrep_read_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
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movl	%edi, %ebx
	movl	$2, %esi
	callq	_pq_getmsgint
	movl	%eax, %r15d
	leal	(,%r15,8), %r14d
	movl	%r14d, %edi
	callq	_palloc
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	%r14d, %edi
	callq	_palloc
	movq	%rax, %r13
	testl	%r15d, %r15d
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	jle	LBB0_1
## %bb.2:
	movl	%r15d, %r12d
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%ebx, %edi
	callq	_pq_getmsgstring
	movl	%eax, %edi
	callq	_pstrdup
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx,%r14,8)
	movl	%ebx, %edi
	movl	$4, %esi
	callq	_pq_getmsgint
	cltq
	movq	%rax, (%r13,%r14,8)
	movl	%ebx, %edi
	movl	$4, %esi
	callq	_pq_getmsgint
	incq	%r14
	cmpq	%r14, %r12
	je	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_pq_getmsgbyte
	movq	_LOGICALREP_IS_REPLICA_IDENTITY@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_bms_add_member
	movq	%rax, %r15
	jmp	LBB0_5
LBB0_1:
	xorl	%r15d, %r15d
LBB0_6:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, (%rax)
	movq	%r13, 24(%rax)
	movq	%r15, 16(%rax)
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%ecx, 8(%rax)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LOGICALREP_IS_REPLICA_IDENTITY,4,2 ## @LOGICALREP_IS_REPLICA_IDENTITY
	.no_dead_strip	_logicalrep_read_attrs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function logicalrep_read_attrs
_logicalrep_read_attrs:                 ; @logicalrep_read_attrs
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x21, x0
	mov	w1, #2
	bl	_pq_getmsgint
	mov	x20, x0
	lsl	w23, w0, #3
	mov	x0, x23
	bl	_palloc
	mov	x22, x0
	mov	x0, x23
	bl	_palloc
	mov	x23, x0
	cmp	w20, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x25, #0
	mov	x24, #0
Lloh0:
	adrp	x26, _LOGICALREP_IS_REPLICA_IDENTITY@GOTPAGE
Lloh1:
	ldr	x26, [x26, _LOGICALREP_IS_REPLICA_IDENTITY@GOTPAGEOFF]
	mov	w27, w20
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x21
	bl	_pq_getmsgstring
	bl	_pstrdup
	lsl	x28, x25, #3
	str	x0, [x22, x28]
	mov	x0, x21
	mov	w1, #4
	bl	_pq_getmsgint
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	str	x8, [x23, x28]
	mov	x0, x21
	mov	w1, #4
	bl	_pq_getmsgint
	add	x25, x25, #1
	cmp	x27, x25
	b.eq	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_pq_getmsgbyte
	ldr	w8, [x26]
	tst	w8, w0
	b.eq	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x24
	mov	x1, x25
	bl	_bms_add_member
	mov	x24, x0
	b	LBB0_2
LBB0_5:
	mov	x24, #0
LBB0_6:
	str	x22, [x19]
	stp	x24, x23, [x19, #16]
	str	w20, [x19, #8]
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_LOGICALREP_IS_REPLICA_IDENTITY,4,2 ; @LOGICALREP_IS_REPLICA_IDENTITY
	.no_dead_strip	_logicalrep_read_attrs
.subsections_via_symbols
