	.file	"extr_bernoulli.c_bernoulli_nextsampletuple.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	bernoulli_nextsampletuple, @function
bernoulli_nextsampletuple:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 40
	.cfi_def_cfa_offset 80
	mov	rbx, QWORD PTR [rdi]
	mov	rdx, QWORD PTR InvalidOffsetNumber[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR [rbx]
	mov	QWORD PTR [rsp], rsi
	lea	r12, 1[rax]
	cmp	rdx, rax
	mov	rax, QWORD PTR 8[rbx]
	cmove	r12, QWORD PTR FirstOffsetNumber[rip]
	mov	QWORD PTR 16[rsp], rax
	cmp	r12, rbp
	jg	.L8
	mov	r13, rsp
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L14:
	add	r12, 1
	cmp	rbp, r12
	jl	.L13
.L6:
	mov	rdi, r13
	mov	esi, 24
	mov	QWORD PTR 8[rsp], r12
	call	hash_any@PLT
	mov	edi, eax
	call	DatumGetUInt32@PLT
	cmp	QWORD PTR 16[rbx], rax
	jle	.L14
.L5:
	mov	QWORD PTR [rbx], r12
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L15
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	r12, QWORD PTR InvalidOffsetNumber[rip]
	jmp	.L5
.L8:
	mov	r12, rdx
	jmp	.L5
.L15:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	bernoulli_nextsampletuple, .-bernoulli_nextsampletuple
	.comm	InvalidOffsetNumber,8,8
	.comm	FirstOffsetNumber,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_bernoulli.c_bernoulli_nextsampletuple.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	bernoulli_nextsampletuple, %function
bernoulli_nextsampletuple:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r6, r2
	ldr	r2, .L16
	sub	sp, sp, #20
	ldr	r2, [r2]
	str	r2, [sp, #12]
	mov	r2,#0
	ldr	r5, [r0]
	ldr	r7, .L16+4
	ldr	r4, [r5]
	ldr	r3, [r7]
	str	r1, [sp]
	cmp	r3, r4
	ldreq	r2, .L16+8
	addne	r4, r4, #1
	ldreq	r4, [r2]
	ldr	r2, [r5, #4]
	cmp	r4, r6
	str	r2, [sp, #8]
	ble	.L6
	b	.L8
.L14:
	add	r4, r4, #1
	cmp	r6, r4
	blt	.L13
.L6:
	mov	r1, #12
	mov	r0, sp
	str	r4, [sp, #4]
	bl	hash_any
	bl	DatumGetUInt32
	ldr	r3, [r5, #8]
	cmp	r3, r0
	ble	.L14
.L5:
	ldr	r3, .L16
	str	r4, [r5]
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L15
	mov	r0, r4
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L13:
	ldr	r4, [r7]
	b	.L5
.L8:
	mov	r4, r3
	b	.L5
.L15:
	bl	__stack_chk_fail
.L17:
	.align	2
.L16:
	.word	.LC0
	.word	InvalidOffsetNumber
	.word	FirstOffsetNumber
	.size	bernoulli_nextsampletuple, .-bernoulli_nextsampletuple
	.comm	InvalidOffsetNumber,4,4
	.comm	FirstOffsetNumber,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
