	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_brain_send                     ## -- Begin function brain_send
	.p2align	4, 0x90
_brain_send:                            ## @brain_send
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %rbx
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movq	%rdx, %r13
	movq	%rsi, %r14
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	movq	_BRAIN_LINK_CHUNK_SIZE@GOTPCREL(%rip), %r15
	movq	(%r15), %rdx
	xorl	%r12d, %r12d
	cmpq	%r13, %rdx
	jl	LBB0_6
LBB0_1:
	addq	%r12, %r14
	subq	%r12, %r13
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	%r14, %rsi
	movq	%r13, %rdx
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movq	%rbx, %r9
	callq	_brain_send_all
	testl	%eax, %eax
	je	LBB0_11
## %bb.2:
	testq	%rbx, %rbx
	movl	$0, %eax
	je	LBB0_4
## %bb.3:
	cmpl	$0, (%rbx)
	je	LBB0_12
LBB0_4:
	movl	$1, %eax
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	(%r15), %rdx
	addq	%rdx, %r12
	movq	%r13, %rax
	subq	%rdx, %rax
	cmpq	%rax, %r12
	jge	LBB0_1
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	leaq	(%r14,%r12), %rsi
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movq	%rbx, %r9
	callq	_brain_send_all
	testl	%eax, %eax
	je	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$0, (%rbx)
	jne	LBB0_5
LBB0_11:
	xorl	%eax, %eax
LBB0_12:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BRAIN_LINK_CHUNK_SIZE,8,3      ## @BRAIN_LINK_CHUNK_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_brain_send                     ; -- Begin function brain_send
	.p2align	2
_brain_send:                            ; @brain_send
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x5
	mov	x20, x4
	mov	x21, x3
	mov	x23, x2
	mov	x24, x1
	mov	x22, x0
Lloh0:
	adrp	x25, _BRAIN_LINK_CHUNK_SIZE@GOTPAGE
Lloh1:
	ldr	x25, [x25, _BRAIN_LINK_CHUNK_SIZE@GOTPAGEOFF]
	ldr	x2, [x25]
	cmp	x2, x23
	b.ge	LBB0_6
; %bb.1:
	mov	x26, #0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x2, [x25]
	add	x26, x2, x26
	sub	x8, x23, x2
	cmp	x26, x8
	b.ge	LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x1, x24, x26
	mov	x0, x22
	mov	x3, x21
	mov	x4, x20
	mov	x5, x19
	bl	_brain_send_all
	cbz	w0, LBB0_12
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cbz	x19, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x19]
	cbnz	w8, LBB0_2
	b	LBB0_11
LBB0_6:
	mov	x26, #0
LBB0_7:
	add	x1, x24, x26
	sub	x2, x23, x26
	mov	x0, x22
	mov	x3, x21
	mov	x4, x20
	mov	x5, x19
	bl	_brain_send_all
	cbz	w0, LBB0_12
; %bb.8:
	cbz	x19, LBB0_10
; %bb.9:
	ldr	w8, [x19]
	cbz	w8, LBB0_11
LBB0_10:
	mov	w0, #1
	b	LBB0_12
LBB0_11:
	mov	w0, #0
LBB0_12:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_BRAIN_LINK_CHUNK_SIZE,8,3      ; @BRAIN_LINK_CHUNK_SIZE
.subsections_via_symbols
