	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_copyexec_results_client_set_status ## -- Begin function copyexec_results_client_set_status
	.p2align	4, 0x90
_copyexec_results_client_set_status:    ## @copyexec_results_client_set_status
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_results_queue_push
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_log_cur_pos
	movl	%eax, 8(%rbx)
	movl	8(%r15), %eax
	movq	_LEV_COPYEXEC_MAIN_TRANSACTION_STATUS@GOTPCREL(%rip), %rcx
	subl	(%rcx), %eax
	shll	$28, %eax
	movl	$268435455, %ecx                ## imm = 0xFFFFFFF
	andl	(%r15), %ecx
	orl	%eax, %ecx
	movl	%ecx, (%rbx)
	movl	4(%r15), %eax
	movl	%eax, 4(%rbx)
	jmp	LBB0_3
LBB0_1:
	leaq	L_.str(%rip), %rsi
	movl	$3, %edi
	callq	_vkprintf
	movl	$-1, %r14d
LBB0_3:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Results queue full. Stop binlog replaying.\n"

	.comm	_LEV_COPYEXEC_MAIN_TRANSACTION_STATUS,8,3 ## @LEV_COPYEXEC_MAIN_TRANSACTION_STATUS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_copyexec_results_client_set_status ; -- Begin function copyexec_results_client_set_status
	.p2align	2
_copyexec_results_client_set_status:    ; @copyexec_results_client_set_status
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_results_queue_push
	cbz	x0, LBB0_2
; %bb.1:
	mov	x20, x0
	bl	_log_cur_pos
	mov	x8, x0
	mov	w0, #0
	str	w8, [x20, #8]
	ldp	w10, w8, [x19, #4]
Lloh0:
	adrp	x9, _LEV_COPYEXEC_MAIN_TRANSACTION_STATUS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _LEV_COPYEXEC_MAIN_TRANSACTION_STATUS@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	sub	w8, w8, w9
	ldr	w9, [x19]
	bfi	w9, w8, #28, #4
	stp	w9, w10, [x20]
	b	LBB0_3
LBB0_2:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #3
	bl	_vkprintf
	mov	w0, #-1
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Results queue full. Stop binlog replaying.\n"

	.comm	_LEV_COPYEXEC_MAIN_TRANSACTION_STATUS,8,3 ; @LEV_COPYEXEC_MAIN_TRANSACTION_STATUS
.subsections_via_symbols
