	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_brin_form_placeholder_tuple    ## -- Begin function brin_form_placeholder_tuple
	.p2align	4, 0x90
_brin_form_placeholder_tuple:           ## @brin_form_placeholder_tuple
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movl	%esi, %r12d
	movq	%rdi, %r15
	movq	_SizeOfBrinTuple@GOTPCREL(%rip), %r13
	movl	(%r13), %ebx
	movq	(%rdi), %rax
	movl	(%rax), %edi
	addl	%edi, %edi
	callq	_BITMAPLEN
	addl	%eax, %ebx
	movl	%ebx, %edi
	callq	_MAXALIGN
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_palloc0
	movl	%r12d, 4(%rax)
	movl	%r14d, (%rax)
	movq	_BRIN_NULLS_MASK@GOTPCREL(%rip), %rcx
	movq	_BRIN_PLACEHOLDER_MASK@GOTPCREL(%rip), %rdx
	movl	%r14d, %esi
	orl	(%rcx), %esi
	orl	(%rdx), %esi
	movl	%esi, (%rax)
	movq	(%r15), %rcx
	cmpl	$0, (%rcx)
	jle	LBB0_7
## %bb.1:
	movq	_HIGHBIT@GOTPCREL(%rip), %r8
	movl	(%r8), %edx
	movslq	(%r13), %rsi
	addq	%rax, %rsi
	addq	$-4, %rsi
	movl	$1, %edi
	movl	%edx, %ebx
	cmpl	%edx, %ebx
	jne	LBB0_3
	.p2align	4, 0x90
LBB0_4:
	movl	$0, 4(%rsi)
	addq	$4, %rsi
	movl	$1, %ebx
	xorl	%edx, %edx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_3:
	addl	%ebx, %ebx
	movl	(%rsi), %edx
LBB0_5:
	orl	%ebx, %edx
	movl	%edx, (%rsi)
	cmpl	(%rcx), %edi
	jge	LBB0_7
## %bb.6:
	movl	(%r8), %edx
	incl	%edi
	cmpl	%edx, %ebx
	jne	LBB0_3
	jmp	LBB0_4
LBB0_7:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%r14d, (%rcx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SizeOfBrinTuple,4,2            ## @SizeOfBrinTuple
	.comm	_BRIN_NULLS_MASK,4,2            ## @BRIN_NULLS_MASK
	.comm	_BRIN_PLACEHOLDER_MASK,4,2      ## @BRIN_PLACEHOLDER_MASK
	.comm	_HIGHBIT,4,2                    ## @HIGHBIT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_brin_form_placeholder_tuple    ; -- Begin function brin_form_placeholder_tuple
	.p2align	2
_brin_form_placeholder_tuple:           ; @brin_form_placeholder_tuple
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x23, _SizeOfBrinTuple@GOTPAGE
Lloh1:
	ldr	x23, [x23, _SizeOfBrinTuple@GOTPAGEOFF]
	ldr	w20, [x23]
	ldr	x8, [x0]
	ldr	w8, [x8]
	lsl	w0, w8, #1
	bl	_BITMAPLEN
	add	w0, w20, w0
	bl	_MAXALIGN
	mov	x20, x0
	bl	_palloc0
	stp	w20, w21, [x0]
Lloh2:
	adrp	x8, _BRIN_NULLS_MASK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _BRIN_NULLS_MASK@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _BRIN_PLACEHOLDER_MASK@GOTPAGE
Lloh6:
	ldr	x9, [x9, _BRIN_PLACEHOLDER_MASK@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w8, w8, w20
	orr	w8, w8, w9
	str	w8, [x0]
	ldr	x8, [x22]
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_6
; %bb.1:
Lloh8:
	adrp	x9, _HIGHBIT@GOTPAGE
Lloh9:
	ldr	x9, [x9, _HIGHBIT@GOTPAGEOFF]
	ldr	w13, [x9]
	ldrsw	x10, [x23]
	add	x10, x0, x10
	sub	x10, x10, #4
	mov	w11, #1
	mov	x12, x13
	cmp	w12, w13
	b.ne	LBB0_3
LBB0_2:
	mov	w13, #0
	str	wzr, [x10, #4]!
	mov	w12, #1
	b	LBB0_4
LBB0_3:
	lsl	w12, w12, #1
	ldr	w13, [x10]
LBB0_4:
	orr	w13, w13, w12
	str	w13, [x10]
	ldr	w13, [x8]
	cmp	w11, w13
	b.ge	LBB0_6
; %bb.5:
	ldr	w13, [x9]
	add	w11, w11, #1
	cmp	w12, w13
	b.ne	LBB0_3
	b	LBB0_2
LBB0_6:
	str	w20, [x19]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_SizeOfBrinTuple,4,2            ; @SizeOfBrinTuple
	.comm	_BRIN_NULLS_MASK,4,2            ; @BRIN_NULLS_MASK
	.comm	_BRIN_PLACEHOLDER_MASK,4,2      ; @BRIN_PLACEHOLDER_MASK
	.comm	_HIGHBIT,4,2                    ; @HIGHBIT
.subsections_via_symbols
