	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_brain_client_commit            ## -- Begin function brain_client_commit
	.p2align	4, 0x90
_brain_client_commit:                   ## @brain_client_commit
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	cmpq	$0, (%rdi)
	je	LBB0_1
## %bb.2:
	movq	%rdi, %r8
	movl	8(%rdi), %edi
	cmpl	$-1, %edi
	je	LBB0_3
## %bb.4:
	movq	%rsi, %r9
	movq	_BRAIN_OPERATION_COMMIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -4(%rbp)
	movq	_SEND_FLAGS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-4(%rbp), %rsi
	movl	$4, %edx
	callq	_brain_send
	movl	%eax, %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	setne	%al
	jmp	LBB0_5
LBB0_1:
	movl	$1, %eax
	jmp	LBB0_5
LBB0_3:
	xorl	%eax, %eax
LBB0_5:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BRAIN_OPERATION_COMMIT,4,2     ## @BRAIN_OPERATION_COMMIT
	.comm	_SEND_FLAGS,4,2                 ## @SEND_FLAGS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_brain_client_commit            ; -- Begin function brain_client_commit
	.p2align	2
_brain_client_commit:                   ; @brain_client_commit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	ldr	x8, [x0]
	cbz	x8, LBB0_3
; %bb.1:
	mov	x4, x0
	ldr	w0, [x0, #8]
	cmn	w0, #1
	b.eq	LBB0_4
; %bb.2:
	mov	x5, x1
Lloh0:
	adrp	x8, _BRAIN_OPERATION_COMMIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BRAIN_OPERATION_COMMIT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	stur	w8, [x29, #-4]
Lloh3:
	adrp	x8, _SEND_FLAGS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SEND_FLAGS@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	sub	x1, x29, #4
	mov	w2, #4
	bl	_brain_send
	cmp	w0, #0
	cset	w0, ne
	b	LBB0_5
LBB0_3:
	mov	w0, #1
	b	LBB0_5
LBB0_4:
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BRAIN_OPERATION_COMMIT,4,2     ; @BRAIN_OPERATION_COMMIT
	.comm	_SEND_FLAGS,4,2                 ; @SEND_FLAGS
.subsections_via_symbols
