	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_request_binlog                 ## -- Begin function request_binlog
	.p2align	4, 0x90
_request_binlog:                        ## @request_binlog
	.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	_LAST_BINLOG_REQUEST_TIME@GOTPCREL(%rip), %rcx
	movq	_REQUEST_BINLOG_DELAY@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	(%rcx), %rax
	movq	_precise_now@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jg	LBB0_13
## %bb.1:
	movq	_RELATIVES@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	cmpl	$-1, (%rbx)
	je	LBB0_13
## %bb.2:
	movq	_BINLOG_POSITION@GOTPCREL(%rip), %r15
	movq	_REQUEST_DELAY@GOTPCREL(%rip), %rsi
	xorl	%r13d, %r13d
	xorl	%r8d, %r8d
	xorl	%r12d, %r12d
	jmp	LBB0_3
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	incl	%r13d
	xorl	%eax, %eax
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r12
	movl	%r8d, %r14d
	callq	_lrand48
	movl	%r14d, %r8d
	movq	%r12, %rsi
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	cltd
	idivl	%r13d
	testl	%edx, %edx
	movq	_precise_now@GOTPCREL(%rip), %rdx
	cmoveq	%rbx, %r12
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	40(%rbx), %rbx
	cmpl	$-1, (%rbx)
	je	LBB0_10
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rax
	cmpq	(%r15), %rax
	jle	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rsi), %rcx
	movq	24(%rbx), %rax
	movq	(%rcx,%rax,8), %rcx
	addq	16(%rbx), %rcx
	cmpq	%rcx, (%rdx)
	jl	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movslq	%r8d, %rcx
	cmpq	%rcx, %rax
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	jbe	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	$1, %r13d
	movq	%rbx, %r12
	movl	%eax, %r8d
	jmp	LBB0_9
LBB0_10:
	testq	%r12, %r12
	movq	_LAST_BINLOG_REQUEST_TIME@GOTPCREL(%rip), %r14
	je	LBB0_13
## %bb.11:
	xorl	%edi, %edi
	cmpl	$3, %r8d
	setb	%dil
	callq	_assert
	movq	%r12, %rdi
	callq	_get_relative_connection
	movq	_precise_now@GOTPCREL(%rip), %rcx
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movl	32(%r12), %esi
	movq	%rax, %rdi
	movq	%rcx, %rbx
	movl	$-1, %edx
	callq	_rpc_send_binlog_request
	movq	(%rbx), %rax
	movq	%rax, (%r14)
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LAST_BINLOG_REQUEST_TIME,8,3   ## @LAST_BINLOG_REQUEST_TIME
	.comm	_REQUEST_BINLOG_DELAY,8,3       ## @REQUEST_BINLOG_DELAY
	.comm	_precise_now,8,3                ## @precise_now
	.comm	_RELATIVES,8,3                  ## @RELATIVES
	.comm	_BINLOG_POSITION,8,3            ## @BINLOG_POSITION
	.comm	_REQUEST_DELAY,8,3              ## @REQUEST_DELAY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_request_binlog                 ; -- Begin function request_binlog
	.p2align	2
_request_binlog:                        ; @request_binlog
	.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
Lloh0:
	adrp	x20, _LAST_BINLOG_REQUEST_TIME@GOTPAGE
Lloh1:
	ldr	x20, [x20, _LAST_BINLOG_REQUEST_TIME@GOTPAGEOFF]
	ldr	x8, [x20]
Lloh2:
	adrp	x9, _REQUEST_BINLOG_DELAY@GOTPAGE
Lloh3:
	ldr	x9, [x9, _REQUEST_BINLOG_DELAY@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
Lloh5:
	adrp	x21, _precise_now@GOTPAGE
Lloh6:
	ldr	x21, [x21, _precise_now@GOTPAGEOFF]
	ldr	x10, [x21]
	add	x8, x9, x8
	cmp	x8, x10
	b.gt	LBB0_12
; %bb.1:
Lloh7:
	adrp	x8, _RELATIVES@GOTPAGE
Lloh8:
	ldr	x8, [x8, _RELATIVES@GOTPAGEOFF]
Lloh9:
	ldr	x22, [x8]
	ldr	w8, [x22]
	cmn	w8, #1
	b.eq	LBB0_12
; %bb.2:
	mov	w24, #0
	mov	w23, #0
	mov	x19, #0
Lloh10:
	adrp	x25, _BINLOG_POSITION@GOTPAGE
Lloh11:
	ldr	x25, [x25, _BINLOG_POSITION@GOTPAGEOFF]
Lloh12:
	adrp	x26, _REQUEST_DELAY@GOTPAGE
Lloh13:
	ldr	x26, [x26, _REQUEST_DELAY@GOTPAGEOFF]
	mov	w27, #1
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	csel	x19, x19, x22, ls
	csel	w23, w23, w8, ls
	csel	w24, w24, w27, ls
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x22, [x22, #40]
	ldr	w8, [x22]
	cmn	w8, #1
	b.eq	LBB0_9
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22, #8]
	ldr	x9, [x25]
	cmp	x8, x9
	b.le	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [x21]
	ldr	x10, [x26]
	ldp	x11, x8, [x22, #16]
	ldr	x10, [x10, x8, lsl #3]
	add	x10, x10, x11
	cmp	x9, x10
	b.lt	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	sxtw	x9, w23
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	add	w24, w24, #1
	bl	_lrand48
	sdiv	w8, w0, w24
	msub	w8, w8, w24, w0
	cmp	w8, #0
	csel	x19, x22, x19, eq
	b	LBB0_4
LBB0_9:
	cbz	x19, LBB0_12
; %bb.10:
	cmp	w23, #3
	cset	w0, lo
	bl	_assert
	mov	x0, x19
	bl	_get_relative_connection
	cbz	x0, LBB0_12
; %bb.11:
	ldr	w1, [x19, #32]
	mov	w2, #-1
	bl	_rpc_send_binlog_request
	ldr	x8, [x21]
	str	x8, [x20]
LBB0_12:
	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	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_LAST_BINLOG_REQUEST_TIME,8,3   ; @LAST_BINLOG_REQUEST_TIME
	.comm	_REQUEST_BINLOG_DELAY,8,3       ; @REQUEST_BINLOG_DELAY
	.comm	_precise_now,8,3                ; @precise_now
	.comm	_RELATIVES,8,3                  ; @RELATIVES
	.comm	_BINLOG_POSITION,8,3            ; @BINLOG_POSITION
	.comm	_REQUEST_DELAY,8,3              ; @REQUEST_DELAY
.subsections_via_symbols
