	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function send_flow_control
_send_flow_control:                     ## @send_flow_control
	.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	_PORT_MDM@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movq	_MAX_PORT@GOTPCREL(%rip), %r15
	movq	(%r15), %rcx
	xorl	%eax, %eax
	cmpq	%rcx, %r12
	jae	LBB0_8
## %bb.1:
	movq	%rdi, %r14
	movq	(%rdi), %rax
	leaq	(%r12,%r12,2), %rdx
	leaq	16(,%rdx,8), %rbx
	xorl	%edx, %edx
	movq	_PORT_CTRL@GOTPCREL(%rip), %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_port2ctrl
	movq	(%r14), %rcx
	leaq	(%rcx,%rbx), %rsi
	movl	%eax, (%rcx,%rbx)
	movq	(%r13), %rax
	leaq	(%rax,%rax,2), %rax
	movq	8(%rcx,%rax,8), %rax
	movl	(%rax), %edi
	movl	$2, %edx
	callq	_write_mem32
	movq	(%r14), %rax
	movq	$0, -16(%rax,%rbx)
	movq	(%r15), %rcx
	movl	$1, %edx
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r12
	addq	$24, %rbx
	cmpq	%rcx, %r12
	jae	LBB0_7
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, -16(%rax,%rbx)
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	testq	%rdx, %rdx
	je	LBB0_5
## %bb.4:
	movl	$1, %eax
	jmp	LBB0_8
LBB0_7:
	xorl	%eax, %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PORT_MDM,8,3                   ## @PORT_MDM
	.comm	_MAX_PORT,8,3                   ## @MAX_PORT
	.comm	_PORT_CTRL,8,3                  ## @PORT_CTRL
	.no_dead_strip	_send_flow_control
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function send_flow_control
_send_flow_control:                     ; @send_flow_control
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
Lloh0:
	adrp	x8, _PORT_MDM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PORT_MDM@GOTPAGEOFF]
Lloh2:
	ldr	x20, [x8]
Lloh3:
	adrp	x21, _MAX_PORT@GOTPAGE
Lloh4:
	ldr	x21, [x21, _MAX_PORT@GOTPAGEOFF]
	ldr	x8, [x21]
	cmp	x20, x8
	b.hs	LBB0_6
; %bb.1:
	mov	x19, x0
	mov	x10, #0
	ldr	x9, [x0]
	add	x11, x20, x20, lsl #1
	lsl	x22, x11, #3
Lloh5:
	adrp	x23, _PORT_CTRL@GOTPAGE
Lloh6:
	ldr	x23, [x23, _PORT_CTRL@GOTPAGEOFF]
	mov	w24, #24
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x20, x20, #1
	add	x22, x22, #24
	cmp	x20, x8
	b.hs	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x9, x22]
	cbz	x11, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cbnz	x10, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	mov	x1, x19
	bl	_port2ctrl
	ldr	x8, [x19]
	add	x1, x8, x22
	str	w0, [x1, #16]!
	ldr	x9, [x23]
	madd	x8, x9, x24, x8
	ldr	x8, [x8, #8]
	ldr	w0, [x8]
	mov	w2, #2
	bl	_write_mem32
	ldr	x9, [x19]
	str	xzr, [x9, x22]
	ldr	x8, [x21]
	mov	w10, #1
	b	LBB0_2
LBB0_6:
	mov	w0, #0
	b	LBB0_8
LBB0_7:
	mov	w0, #1
LBB0_8:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_PORT_MDM,8,3                   ; @PORT_MDM
	.comm	_MAX_PORT,8,3                   ; @MAX_PORT
	.comm	_PORT_CTRL,8,3                  ; @PORT_CTRL
	.no_dead_strip	_send_flow_control
.subsections_via_symbols
