	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ExecHashSkewTableInsert
_ExecHashSkewTableInsert:               ## @ExecHashSkewTableInsert
	.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
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	%edx, %r12d
	movq	%rsi, %rax
	movq	%rdi, %rbx
	leaq	-48(%rbp), %rsi
	movq	%rax, %rdi
	callq	_ExecFetchSlotMinimalTuple
	movq	%rax, %r14
	movq	_HJTUPLE_OVERHEAD@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movslq	(%r14), %r15
	addq	%rax, %r15
	movl	48(%rbx), %edi
	movl	%r15d, %esi
	callq	_MemoryContextAlloc
	movq	%rax, %r13
	movl	%r12d, 8(%rax)
	movq	%rax, %rdi
	callq	_HJTUPLE_MINTUPLE
	movl	(%r14), %edx
	movl	%eax, %edi
	movq	%r14, %rsi
	callq	_memcpy
	movq	%r13, %rdi
	callq	_HJTUPLE_MINTUPLE
	movl	%eax, %edi
	callq	_HeapTupleHeaderClearMatch
	movq	40(%rbx), %rax
	movslq	-44(%rbp), %rcx                 ## 4-byte Folded Reload
	movq	(%rax,%rcx,8), %rdx
	movq	(%rdx), %rdx
	movq	%rdx, (%r13)
	movq	(%rax,%rcx,8), %rax
	movq	%r13, (%rax)
	xorl	%edi, %edi
	cmpq	%r13, %rdx
	setne	%dil
	callq	_Assert
	movq	%r15, %rax
	addq	(%rbx), %rax
	movq	%rax, (%rbx)
	movslq	8(%rbx), %rdx
	movslq	%r15d, %rcx
	addq	%rdx, %rcx
	movl	%ecx, 8(%rbx)
	cmpq	16(%rbx), %rax
	jg	LBB0_1
## %bb.2:
	cmpq	%rcx, 24(%rbx)
	jl	LBB0_3
LBB0_5:
	cmpq	32(%rbx), %rax
	jg	LBB0_6
LBB0_7:
	cmpl	$0, -48(%rbp)
	je	LBB0_9
LBB0_8:
	movq	%r14, %rdi
	callq	_heap_free_minimal_tuple
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%rax, 16(%rbx)
	cmpq	%rcx, 24(%rbx)
	jge	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_ExecHashRemoveNextSkewBucket
	movslq	8(%rbx), %rax
	cmpq	%rax, 24(%rbx)
	jl	LBB0_3
## %bb.4:
	movq	(%rbx), %rax
	cmpq	32(%rbx), %rax
	jle	LBB0_7
LBB0_6:
	movq	%rbx, %rdi
	callq	_ExecHashIncreaseNumBatches
	cmpl	$0, -48(%rbp)
	jne	LBB0_8
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_HJTUPLE_OVERHEAD,4,2           ## @HJTUPLE_OVERHEAD
	.no_dead_strip	_ExecHashSkewTableInsert
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ExecHashSkewTableInsert
_ExecHashSkewTableInsert:               ; @ExecHashSkewTableInsert
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x21, x3
	mov	x22, x2
	mov	x8, x1
	mov	x20, x0
	add	x1, sp, #12
	mov	x0, x8
	bl	_ExecFetchSlotMinimalTuple
	mov	x19, x0
Lloh0:
	adrp	x8, _HJTUPLE_OVERHEAD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HJTUPLE_OVERHEAD@GOTPAGEOFF]
Lloh2:
	ldrsw	x8, [x8]
	ldrsw	x9, [x0]
	add	x23, x9, x8
	ldr	w0, [x20, #48]
	mov	x1, x23
	bl	_MemoryContextAlloc
	mov	x24, x0
	str	w22, [x0, #8]
	bl	_HJTUPLE_MINTUPLE
	ldr	w2, [x19]
	mov	x1, x19
	bl	_memcpy
	mov	x0, x24
	bl	_HJTUPLE_MINTUPLE
	bl	_HeapTupleHeaderClearMatch
	ldr	x8, [x20, #40]
	sbfiz	x9, x21, #3, #32
	ldr	x10, [x8, x9]
	ldr	x10, [x10]
	str	x10, [x24]
	ldr	x8, [x8, x9]
	str	x24, [x8]
	cmp	x10, x24
	cset	w0, ne
	bl	_Assert
	ldr	x8, [x20]
	ldr	x9, [x20, #16]
	add	x8, x8, x23
	cmp	x8, x9
	str	x8, [x20]
	ldrsw	x9, [x20, #8]
	add	x9, x9, w23, sxtw
	str	w9, [x20, #8]
	b.le	LBB0_2
; %bb.1:
	str	x8, [x20, #16]
LBB0_2:
	ldr	x10, [x20, #24]
	cmp	x10, x9
	b.ge	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_ExecHashRemoveNextSkewBucket
	ldrsw	x8, [x20, #8]
	ldr	x9, [x20, #24]
	cmp	x9, x8
	b.lt	LBB0_3
; %bb.4:
	ldr	x8, [x20]
LBB0_5:
	ldr	x9, [x20, #32]
	cmp	x8, x9
	b.le	LBB0_7
; %bb.6:
	mov	x0, x20
	bl	_ExecHashIncreaseNumBatches
LBB0_7:
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_9
; %bb.8:
	mov	x0, x19
	bl	_heap_free_minimal_tuple
LBB0_9:
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HJTUPLE_OVERHEAD,4,2           ; @HJTUPLE_OVERHEAD
	.no_dead_strip	_ExecHashSkewTableInsert
.subsections_via_symbols
