	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_callback                       ## -- Begin function callback
	.p2align	4, 0x90
_callback:                              ## @callback
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	(%rdi), %rax
	movq	8(%rdi), %rdx
	movl	(%rax), %esi
	incl	%esi
	andl	$32767, %esi                    ## imm = 0x7FFF
	movq	16(%rdi), %rcx
	movq	24(%rdi), %r8
	movl	32(%rdi), %r9d
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_dprintf
	movl	$1, %edi
	movl	%eax, %esi
	callq	_dbug
	movq	_adapter@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	(%r15), %rax
	movslq	(%rax), %rcx
	leaq	(%rcx,%rcx,4), %rcx
	leaq	(%rdx,%rcx,8), %r12
	movq	%rdx, -104(%rbp)                ## 8-byte Spill
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	movq	32(%rdx,%rcx,8), %rcx
	movslq	4(%rax), %rax
	imulq	$120, %rax, %r13
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	leaq	(%rcx,%r13), %r14
	movq	%r12, %rdi
	callq	_DIVA_CAPI_SUPPORTS_NO_CANCEL
	movl	%eax, %edi
	cmpl	$255, 36(%r15)
	sete	%bl
	testl	%eax, %eax
	setne	%al
	andb	%al, %bl
	movq	24(%r15), %rdx
	testq	%rdx, %rdx
	sete	%cl
	cmpb	$1, %bl
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	je	LBB0_2
## %bb.1:
	orb	%al, %cl
	jne	LBB0_51
LBB0_2:
	movq	40(%r15), %r8
	movq	(%r15), %rax
	movq	16(%r15), %r10
	movq	$0, 24(%r15)
	testb	$-128, 1(%rax)
	movq	_REMOVE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jne	LBB0_10
## %bb.3:
	cmpq	%rax, %r10
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	jne	LBB0_6
## %bb.4:
	cmpq	$0, 8(%r15)
	jne	LBB0_12
## %bb.5:
	movq	$0, 96(%rax,%r13)
LBB0_6:
	movq	$0, 88(%rax,%r13)
	movq	40(%rax,%r13), %r12
	testq	%r12, %r12
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	je	LBB0_14
## %bb.7:
	addq	%r13, %rax
	addq	$40, %rax
	movq	$0, (%rax)
	movq	_ASSIGN_OK@GOTPCREL(%rip), %rax
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	cmpq	(%rax), %rdx
	je	LBB0_9
## %bb.8:
	movq	$0, 8(%r15)
LBB0_9:
	movq	%r14, %rdi
	callq	_channel_xmit_xon
	movq	%r14, %rdi
	xorl	%esi, %esi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%r12, %r8
	jmp	LBB0_15
LBB0_10:
	cmpq	%rax, %r10
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	jne	LBB0_24
## %bb.11:
	cmpq	$0, 8(%r15)
	je	LBB0_16
LBB0_12:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_dprintf
	movl	$1, %edi
LBB0_13:
	movl	%eax, %esi
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dbug                           ## TAILCALL
LBB0_14:
	movq	%r14, %rdi
	movq	%rdx, %r12
	movq	%r10, %rbx
	callq	_channel_xmit_xon
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	xorl	%r8d, %r8d
LBB0_15:
	xorl	%r9d, %r9d
	jmp	LBB0_48
LBB0_16:
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%r10, -80(%rbp)                 ## 8-byte Spill
	callq	_channel_flow_control_remove
	movq	-80(%rbp), %r10                 ## 8-byte Reload
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	(%r12), %rax
	xorl	%ecx, %ecx
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_18 Depth=1
	addq	$2, %rcx
	cmpq	$256, %rcx                      ## imm = 0x100
	je	LBB0_22
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rax,%rcx,8), %rsi
	cmpq	(%r14), %rsi
	jne	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	$0, (%rax,%rcx,8)
LBB0_20:                                ##   in Loop: Header=BB0_18 Depth=1
	movq	8(%rax,%rcx,8), %rsi
	cmpq	(%r14), %rsi
	jne	LBB0_17
## %bb.21:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	$0, 8(%rax,%rcx,8)
	jmp	LBB0_17
LBB0_22:
	movq	$0, (%r14)
	movq	8(%rbx,%r13), %rsi
	testq	%rsi, %rsi
	jle	LBB0_24
## %bb.23:
	leaq	(%rbx,%r13), %r14
	addq	$8, %r14
	decq	%rsi
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_diva_free_dma_descriptor
	movq	-80(%rbp), %r10                 ## 8-byte Reload
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	$0, (%r14)
	movq	-88(%rbp), %r14                 ## 8-byte Reload
LBB0_24:
	movq	_OK_FC@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	jne	LBB0_26
## %bb.25:
	movq	8(%r15), %rax
	movq	(%r12), %rcx
	movq	%rax, (%rcx,%r8,8)
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	movq	24(%rbx,%rsi,8), %rax
	movq	$0, (%rax,%r8,8)
	movq	_N_OK_FC_PENDING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	8(%rbx,%rsi,8), %rcx
	orl	%eax, (%rcx,%r8,4)
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax,%r13), %rax
	movq	16(%rbx,%rsi,8), %rcx
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rax, (%rcx,%r8,8)
	jmp	LBB0_36
LBB0_26:
	testl	%edi, %edi
	movq	-104(%rbp), %r9                 ## 8-byte Reload
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	je	LBB0_32
## %bb.27:
	movq	(%r12), %rax
	movq	8(%r15), %rcx
	cmpq	%rcx, (%rax,%r8,8)
	jne	LBB0_32
## %bb.28:
	testq	%rcx, %rcx
	je	LBB0_32
## %bb.29:
	movq	$0, (%rax,%r8,8)
	movq	_OK@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	jne	LBB0_32
## %bb.30:
	movq	24(%r9,%rsi,8), %rax
	cmpq	$0, (%rax,%r8,8)
	je	LBB0_32
## %bb.31:
	movq	8(%r15), %rsi
	leaq	L_.str.2(%rip), %rdi
	movq	%r8, %rdx
	xorl	%eax, %eax
	callq	_dprintf
	movl	$3, %edi
	jmp	LBB0_13
LBB0_32:
	movq	8(%r9,%rsi,8), %rax
	movl	(%rax,%r8,4), %ecx
	movq	_N_OK_FC_PENDING@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	testl	%ecx, %esi
	je	LBB0_36
## %bb.33:
	notl	%esi
	andl	%esi, %ecx
	movl	%ecx, (%rax,%r8,4)
	leaq	(%rbx,%r13), %rax
	addq	$112, %rax
	cmpq	48(%r15), %r8
	je	LBB0_37
## %bb.34:
	cmpq	$0, (%rax)
	je	LBB0_38
## %bb.35:
	movq	%r14, %rdi
	xorl	%esi, %esi
	movq	%r8, %rcx
	jmp	LBB0_41
LBB0_36:
	leaq	(%rbx,%r13), %rax
	addq	$112, %rax
LBB0_37:
	movq	$0, (%rax)
LBB0_38:
	movq	_N_XON@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r10
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	jne	LBB0_42
## %bb.39:
	movq	%r10, -80(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	movq	%r8, %rsi
	movq	%r8, %r12
	callq	_channel_x_on
	cmpq	$0, 72(%rbx,%r13)
	je	LBB0_49
## %bb.40:
	movq	%r14, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	%r12, %rcx
LBB0_41:
	xorl	%r8d, %r8d
	jmp	LBB0_47
LBB0_42:
	movq	24(%rbx,%r13), %r12
	testq	%r12, %r12
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	je	LBB0_83
## %bb.43:
	leaq	(%rbx,%r13), %rax
	addq	$24, %rax
	movq	$0, (%rax)
	movq	_ASSIGN_OK@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	je	LBB0_46
## %bb.44:
	movq	$0, 8(%r15)
	movq	8(%rbx,%r13), %rsi
	testq	%rsi, %rsi
	jle	LBB0_46
## %bb.45:
	leaq	(%rbx,%r13), %r14
	addq	$8, %r14
	decq	%rsi
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_diva_free_dma_descriptor
	movq	$0, (%r14)
	movq	-88(%rbp), %r14                 ## 8-byte Reload
LBB0_46:
	movq	%r14, %rdi
	callq	_channel_xmit_xon
	movq	%r14, %rdi
	xorl	%esi, %esi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%r12, %r8
LBB0_47:
	movl	$1, %r9d
LBB0_48:
	callq	_control_rc
LBB0_49:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_51
## %bb.50:
	movq	%r14, %rdi
	callq	_channel_xmit_xon
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_65
LBB0_51:
	movq	%r14, %rdi
	callq	_channel_xmit_xon
	movl	32(%r15), %eax
	testq	%rax, %rax
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_65
## %bb.52:
	movq	(%r15), %rcx
	testb	$-128, 1(%rcx)
	jne	LBB0_54
## %bb.53:
	movq	%r14, %rdi
	callq	_sig_ind
	jmp	LBB0_64
LBB0_54:
	andl	$15, %eax
	movq	56(%r15), %r12
	movq	_N_DISC@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	je	LBB0_56
## %bb.55:
	movq	_N_DISC_ACK@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	jne	LBB0_60
LBB0_56:
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movq	16(%rax,%rcx,8), %rax
	movq	(%rax,%r12,8), %rax
	cmpq	16(%rbx,%r13), %rax
	jne	LBB0_60
## %bb.57:
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	8(%rsi,%rdi,8), %rax
	movl	(%rax,%r12,4), %edx
	movq	_N_RX_FLOW_CONTROL_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%edx, %ecx
	je	LBB0_59
## %bb.58:
	leaq	(%rsi,%rdi,8), %r14
	addq	$8, %r14
	leaq	L_.str.3(%rip), %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_dprintf
	movl	$3, %edi
	movl	%eax, %esi
	callq	_dbug
	movq	_N_RX_FLOW_CONTROL_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	(%r14), %rax
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	movl	(%rax,%r12,4), %edx
LBB0_59:
	notl	%ecx
	andl	%edx, %ecx
	movl	%ecx, (%rax,%r12,4)
LBB0_60:
	movq	%r14, %rdi
	callq	_nl_ind
	cmpl	$1, 64(%r15)
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	je	LBB0_64
## %bb.61:
	movq	16(%rcx,%rdx,8), %rax
	movq	(%rax,%r12,8), %rax
	cmpq	16(%rbx,%r13), %rax
	jne	LBB0_64
## %bb.62:
	movq	8(%rcx,%rdx,8), %rax
	movl	(%rax,%r12,4), %ecx
	movq	_N_RX_FLOW_CONTROL_MASK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%ecx, %edx
	je	LBB0_64
## %bb.63:
	notl	%edx
	andl	%edx, %ecx
	movl	%ecx, (%rax,%r12,4)
	leaq	L_.str.4(%rip), %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_dprintf
	movl	$3, %edi
	movl	%eax, %esi
	callq	_dbug
LBB0_64:
	movl	$0, 32(%r15)
LBB0_65:
	cmpl	$0, 80(%rbx,%r13)
	je	LBB0_67
LBB0_66:
	movq	%r14, %rdi
	callq	_send_data
	movq	%r14, %rdi
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_send_req                       ## TAILCALL
LBB0_67:
	leaq	(%rbx,%r13), %r15
	addq	$80, %r15
	jmp	LBB0_69
	.p2align	4, 0x90
LBB0_68:                                ##   in Loop: Header=BB0_69 Depth=1
	cmpl	$0, (%r15)
	jne	LBB0_66
LBB0_69:                                ## =>This Inner Loop Header: Depth=1
	cmpq	$0, -8(%r15)
	jne	LBB0_66
## %bb.70:                              ##   in Loop: Header=BB0_69 Depth=1
	movl	-32(%r15), %edx
	movl	-28(%r15), %ecx
	cmpl	%ecx, %edx
	je	LBB0_66
## %bb.71:                              ##   in Loop: Header=BB0_69 Depth=1
	movl	-24(%r15), %r8d
	cmpl	%r8d, %ecx
	movl	%ecx, %eax
	movl	$0, %esi
	cmovel	%esi, %eax
	movq	-16(%r15), %r13
	movslq	%eax, %rbx
	movl	(%r13,%rbx,8), %r12d
	addl	$3, %r12d
	andl	$65532, %r12d                   ## imm = 0xFFFC
	leaq	(%r12,%rbx), %r14
	movq	(%r13,%r14,8), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	8(%r13,%rbx,8), %rsi
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_dprintf
	movl	$1, %edi
	movl	%eax, %esi
	callq	_dbug
	movl	-24(%r15), %eax
	cmpl	%eax, -28(%r15)
	jne	LBB0_73
## %bb.72:                              ##   in Loop: Header=BB0_69 Depth=1
	movq	_MSG_IN_QUEUE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -24(%r15)
	movl	%r12d, %r14d
LBB0_73:                                ##   in Loop: Header=BB0_69 Depth=1
	movq	_MSG_IN_OVERHEAD@GOTPCREL(%rip), %rcx
	addq	(%rcx), %r14
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movl	%r14d, -28(%r15)
	cmpl	%r14d, -32(%r15)
	jne	LBB0_75
## %bb.74:                              ##   in Loop: Header=BB0_69 Depth=1
	movq	_MSG_IN_QUEUE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -32(%r15)
	movl	%eax, -28(%r15)
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_77
	.p2align	4, 0x90
LBB0_75:                                ##   in Loop: Header=BB0_69 Depth=1
	cmpl	%r14d, %eax
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	jne	LBB0_77
## %bb.76:                              ##   in Loop: Header=BB0_69 Depth=1
	movq	_MSG_IN_QUEUE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -28(%r15)
	movl	%eax, -24(%r15)
LBB0_77:                                ##   in Loop: Header=BB0_69 Depth=1
	leaq	(,%rbx,8), %rbx
	addq	%r13, %rbx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_api_put
	testl	%eax, %eax
	jne	LBB0_80
## %bb.78:                              ##   in Loop: Header=BB0_69 Depth=1
	cmpl	$0, -20(%r15)
	je	LBB0_68
## %bb.79:                              ##   in Loop: Header=BB0_69 Depth=1
	movl	$0, -20(%r15)
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_mixer_notify_update
	jmp	LBB0_68
LBB0_80:
	movl	%eax, %r13d
	movq	8(%rbx), %rdx
	movq	__DATA_B3_R@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	jne	LBB0_82
## %bb.81:
	movq	16(%rbx), %rsi
	movq	%r12, %rdi
	callq	_TransmitBufferFree
	movq	8(%rbx), %rdx
LBB0_82:
	leaq	L_.str.6(%rip), %rdi
	movl	%r13d, %esi
	xorl	%eax, %eax
	callq	_dprintf
	movl	$1, %edi
	movl	%eax, %esi
	callq	_dbug
	jmp	LBB0_66
LBB0_83:
	movq	%r10, -80(%rbp)                 ## 8-byte Spill
	movq	%r14, %r12
	movl	32(%rbx,%r13), %r14d
	movq	%r12, %rdi
	callq	_channel_xmit_xon
	testl	%r14d, %r14d
	je	LBB0_86
## %bb.84:
	leaq	(%rbx,%r13), %rax
	addq	$32, %rax
	movl	$0, (%rax)
	movl	$1, 104(%rbx,%r13)
	movq	%r12, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_data_rc
	cmpq	$0, 72(%rbx,%r13)
	movq	%r12, %r14
	je	LBB0_49
## %bb.85:
	movq	%r14, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	jmp	LBB0_41
LBB0_86:
	movq	%r12, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	xorl	%r8d, %r8d
	movl	$1, %r9d
	callq	_control_rc
	movq	%r12, %r14
	jmp	LBB0_49
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%x:CB(%x:Req=%x,Rc=%x,Ind=%x)"

	.comm	_adapter,8,3                    ## @adapter
	.comm	_REMOVE,8,3                     ## @REMOVE
L_.str.1:                               ## @.str.1
	.asciz	"cancel RC in REMOVE state"

	.comm	_OK_FC,8,3                      ## @OK_FC
	.comm	_N_OK_FC_PENDING,4,2            ## @N_OK_FC_PENDING
	.comm	_OK,8,3                         ## @OK
L_.str.2:                               ## @.str.2
	.asciz	"XDI CAPI: RC cancelled Id:0x02, Ch:%02x"

	.comm	_N_XON,8,3                      ## @N_XON
	.comm	_ASSIGN_OK,8,3                  ## @ASSIGN_OK
	.comm	_N_DISC,8,3                     ## @N_DISC
	.comm	_N_DISC_ACK,8,3                 ## @N_DISC_ACK
	.comm	_N_RX_FLOW_CONTROL_MASK,4,2     ## @N_RX_FLOW_CONTROL_MASK
L_.str.3:                               ## @.str.3
	.asciz	"XDI CAPI: I: pending N-XON Ch:%02x"

L_.str.4:                               ## @.str.4
	.asciz	"XDI CAPI: I: remove faked N-XON Ch:%02x"

L_.str.5:                               ## @.str.5
	.asciz	"dequeue msg(0x%04x) - write=%d read=%d wrap=%d"

	.comm	_MSG_IN_QUEUE_SIZE,8,3          ## @MSG_IN_QUEUE_SIZE
	.comm	_MSG_IN_OVERHEAD,8,3            ## @MSG_IN_OVERHEAD
	.comm	__DATA_B3_R,8,3                 ## @_DATA_B3_R
L_.str.6:                               ## @.str.6
	.asciz	"Error 0x%04x from msg(0x%04x)"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_callback                       ; -- Begin function callback
	.p2align	2
_callback:                              ; @callback
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	mov	x20, x0
	ldr	x8, [x0]
	ldr	w8, [x8]
	add	w8, w8, #1
	and	w8, w8, #0x7fff
	ldur	q0, [x0, #8]
	ldr	x9, [x0, #24]
	ldr	w10, [x0, #32]
	stp	x9, x10, [sp, #24]
	stur	q0, [sp, #8]
	str	x8, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_dprintf
	mov	x1, x0
	mov	w0, #1
	bl	_dbug
Lloh2:
	adrp	x8, _adapter@GOTPAGE
Lloh3:
	ldr	x8, [x8, _adapter@GOTPAGEOFF]
Lloh4:
	ldr	x28, [x8]
	ldr	x8, [x20]
	mov	w9, #40
	ldpsw	x23, x26, [x8]
	madd	x25, x23, x9, x28
	ldr	x27, [x25, #32]
	mov	w8, #120
	madd	x19, x26, x8, x27
	mov	x0, x25
	bl	_DIVA_CAPI_SUPPORTS_NO_CANCEL
	mov	x21, x0
	ldr	w8, [x20, #36]
	cmp	w8, #255
	cset	w9, eq
	cmp	w0, #0
	cset	w8, ne
	and	w10, w9, w8
	ldr	x22, [x20, #24]
	cmp	x22, #0
	cset	w9, eq
	cmp	w10, #1
	str	x19, [sp, #56]                  ; 8-byte Folded Spill
	b.eq	LBB0_2
; %bb.1:
	orr	w8, w9, w8
	tbnz	w8, #0, LBB0_67
LBB0_2:
	ldr	x3, [x20, #40]
	ldr	x24, [x20, #16]
	str	xzr, [x20, #24]
	ldr	x9, [x20]
Lloh5:
	adrp	x8, _REMOVE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _REMOVE@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldrb	w9, [x9, #1]
	tbnz	w9, #7, LBB0_10
; %bb.3:
	cmp	x24, x8
	b.ne	LBB0_6
; %bb.4:
	ldr	x8, [x20, #8]
	cbnz	x8, LBB0_12
; %bb.5:
	mov	w8, #120
	madd	x8, x26, x8, x27
	str	xzr, [x8, #96]
LBB0_6:
	mov	w8, #120
	madd	x8, x26, x8, x27
	ldr	x25, [x8, #40]!
	str	xzr, [x8, #48]
	cbz	x25, LBB0_14
; %bb.7:
	mov	x24, x3
	str	xzr, [x8]
Lloh8:
	adrp	x8, _ASSIGN_OK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ASSIGN_OK@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cmp	x22, x8
	b.eq	LBB0_9
; %bb.8:
	str	xzr, [x20, #8]
LBB0_9:
	mov	x0, x19
	bl	_channel_xmit_xon
	mov	x0, x19
	mov	x1, #0
	mov	x2, x22
	mov	x3, x24
	mov	x4, x25
	b	LBB0_15
LBB0_10:
	cmp	x24, x8
	b.ne	LBB0_41
; %bb.11:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_16
LBB0_12:
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_dprintf
	mov	x1, x0
	mov	w0, #1
LBB0_13:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	b	_dbug
LBB0_14:
	mov	x0, x19
	mov	x25, x3
	bl	_channel_xmit_xon
	mov	x0, x19
	mov	x1, x24
	mov	x2, x22
	mov	x3, x25
	mov	x4, #0
LBB0_15:
	mov	w5, #0
	b	LBB0_64
LBB0_16:
	str	x3, [sp, #48]                   ; 8-byte Folded Spill
	ldr	x19, [sp, #56]                  ; 8-byte Folded Reload
	mov	x0, x19
	bl	_channel_flow_control_remove
	ldr	x8, [x25]
	add	x9, x8, #2048
	mov	w10, #120
	madd	x10, x26, x10, x27
	add	x10, x10, #8
	cmp	x8, x10
	ccmp	x19, x9, #2, lo
	b.lo	LBB0_35
; %bb.17:
	mov	x9, #0
	ld1r.2d	{ v0 }, [x19]
	ldr	x3, [sp, #48]                   ; 8-byte Folded Reload
	b	LBB0_19
LBB0_18:                                ;   in Loop: Header=BB0_19 Depth=1
	add	x9, x9, #64
	cmp	x9, #2048
	b.eq	LBB0_39
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	add	x10, x8, x9
	ldr	q2, [x10]
	ldr	d1, [x19]
	cmeq.2d	v2, v2, v0
	xtn.2s	v2, v2
	fmov	w11, s2
	tbz	w11, #0, LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=1
	str	xzr, [x8, x9]
LBB0_21:                                ;   in Loop: Header=BB0_19 Depth=1
	mov.s	w11, v2[1]
	tbz	w11, #0, LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_19 Depth=1
	add	x11, x8, x9
	str	xzr, [x11, #8]
LBB0_23:                                ;   in Loop: Header=BB0_19 Depth=1
	ldr	q2, [x10, #16]
	cmeq.2d	v2, v2, v0
	xtn.2s	v2, v2
	fmov	w11, s2
	tbz	w11, #0, LBB0_25
; %bb.24:                               ;   in Loop: Header=BB0_19 Depth=1
	add	x11, x8, x9
	str	xzr, [x11, #16]
LBB0_25:                                ;   in Loop: Header=BB0_19 Depth=1
	mov.s	w11, v2[1]
	tbz	w11, #0, LBB0_27
; %bb.26:                               ;   in Loop: Header=BB0_19 Depth=1
	add	x11, x8, x9
	str	xzr, [x11, #24]
LBB0_27:                                ;   in Loop: Header=BB0_19 Depth=1
	ldr	q2, [x10, #32]
	cmeq.2d	v2, v2, v0
	xtn.2s	v2, v2
	fmov	w11, s2
	tbz	w11, #0, LBB0_29
; %bb.28:                               ;   in Loop: Header=BB0_19 Depth=1
	add	x11, x8, x9
	str	xzr, [x11, #32]
LBB0_29:                                ;   in Loop: Header=BB0_19 Depth=1
	mov.s	w11, v2[1]
	tbz	w11, #0, LBB0_31
; %bb.30:                               ;   in Loop: Header=BB0_19 Depth=1
	add	x11, x8, x9
	str	xzr, [x11, #40]
LBB0_31:                                ;   in Loop: Header=BB0_19 Depth=1
	ldr	q2, [x10, #48]
	dup.2d	v1, v1[0]
	cmeq.2d	v1, v2, v1
	xtn.2s	v1, v1
	fmov	w10, s1
	tbz	w10, #0, LBB0_33
; %bb.32:                               ;   in Loop: Header=BB0_19 Depth=1
	add	x10, x8, x9
	str	xzr, [x10, #48]
LBB0_33:                                ;   in Loop: Header=BB0_19 Depth=1
	mov.s	w10, v1[1]
	tbz	w10, #0, LBB0_18
; %bb.34:                               ;   in Loop: Header=BB0_19 Depth=1
	add	x10, x8, x9
	str	xzr, [x10, #56]
	b	LBB0_18
LBB0_35:
	mov	x9, #0
	ldr	x3, [sp, #48]                   ; 8-byte Folded Reload
	b	LBB0_37
LBB0_36:                                ;   in Loop: Header=BB0_37 Depth=1
	add	x9, x9, #8
	cmp	x9, #2048
	b.eq	LBB0_39
LBB0_37:                                ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x8, x9]
	ldr	x11, [x19]
	cmp	x10, x11
	b.ne	LBB0_36
; %bb.38:                               ;   in Loop: Header=BB0_37 Depth=1
	str	xzr, [x8, x9]
	b	LBB0_36
LBB0_39:
	str	xzr, [x19]
	mov	w8, #120
	mul	x8, x26, x8
	add	x19, x27, x8
	ldr	x8, [x19, #8]!
	subs	x1, x8, #1
	b.lt	LBB0_41
; %bb.40:
	ldr	x0, [sp, #56]                   ; 8-byte Folded Reload
	bl	_diva_free_dma_descriptor
	ldr	x3, [sp, #48]                   ; 8-byte Folded Reload
	str	xzr, [x19]
LBB0_41:
Lloh13:
	adrp	x8, _OK_FC@GOTPAGE
Lloh14:
	ldr	x8, [x8, _OK_FC@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	cmp	x22, x8
	b.ne	LBB0_43
; %bb.42:
	ldr	x8, [x20, #8]
	ldr	x9, [x25]
	lsl	x10, x3, #3
	str	x8, [x9, x10]
	mov	w8, #40
	mul	x8, x23, x8
	add	x8, x28, x8
	ldr	x9, [x8, #24]
	str	xzr, [x9, x10]
Lloh16:
	adrp	x9, _N_OK_FC_PENDING@GOTPAGE
Lloh17:
	ldr	x9, [x9, _N_OK_FC_PENDING@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	lsl	x11, x3, #2
	ldp	x12, x8, [x8, #8]
	ldr	w13, [x12, x11]
	orr	w9, w13, w9
	str	w9, [x12, x11]
	mov	w9, #120
	mul	x9, x26, x9
	add	x9, x27, x9
	ldr	x11, [x9, #16]
	str	x11, [x8, x10]
	add	x8, x9, #112
	ldr	x19, [sp, #56]                  ; 8-byte Folded Reload
	b	LBB0_53
LBB0_43:
	cbz	w21, LBB0_48
; %bb.44:
	ldr	x8, [x25]
	ldr	x9, [x8, x3, lsl #3]
	ldr	x10, [x20, #8]
	cmp	x9, x10
	ccmp	x10, #0, #4, eq
	b.eq	LBB0_48
; %bb.45:
	str	xzr, [x8, x3, lsl #3]
Lloh19:
	adrp	x8, _OK@GOTPAGE
Lloh20:
	ldr	x8, [x8, _OK@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	cmp	x22, x8
	b.ne	LBB0_48
; %bb.46:
	mov	w8, #40
	mul	x8, x23, x8
	add	x8, x28, x8
	ldr	x8, [x8, #24]
	ldr	x8, [x8, x3, lsl #3]
	cbz	x8, LBB0_48
; %bb.47:
	ldr	x8, [x20, #8]
	stp	x8, x3, [sp]
Lloh22:
	adrp	x0, l_.str.2@PAGE
Lloh23:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_dprintf
	mov	x1, x0
	mov	w0, #3
	b	LBB0_13
LBB0_48:
	mov	w8, #40
	mul	x8, x23, x8
	add	x8, x28, x8
	ldr	x8, [x8, #8]
	ldr	w9, [x8, x3, lsl #2]
Lloh24:
	adrp	x10, _N_OK_FC_PENDING@GOTPAGE
Lloh25:
	ldr	x10, [x10, _N_OK_FC_PENDING@GOTPAGEOFF]
Lloh26:
	ldr	w10, [x10]
	tst	w10, w9
	ldr	x19, [sp, #56]                  ; 8-byte Folded Reload
	b.eq	LBB0_52
; %bb.49:
	bic	w9, w9, w10
	str	w9, [x8, x3, lsl #2]
	ldr	x9, [x20, #48]
	mov	w8, #120
	mul	x8, x26, x8
	add	x8, x27, x8
	add	x8, x8, #112
	cmp	x3, x9
	b.eq	LBB0_53
; %bb.50:
	ldr	x8, [x8]
	cbz	x8, LBB0_54
; %bb.51:
	mov	x0, x19
	mov	x1, #0
	mov	x2, x22
	b	LBB0_57
LBB0_52:
	mov	w8, #120
	mul	x8, x26, x8
	add	x8, x27, x8
	add	x8, x8, #112
LBB0_53:
	str	xzr, [x8]
LBB0_54:
Lloh27:
	adrp	x8, _N_XON@GOTPAGE
Lloh28:
	ldr	x8, [x8, _N_XON@GOTPAGEOFF]
Lloh29:
	ldr	x8, [x8]
	cmp	x24, x8
	b.ne	LBB0_58
; %bb.55:
	mov	x0, x19
	mov	x1, x3
	mov	x25, x3
	bl	_channel_x_on
	mov	w8, #120
	mul	x8, x26, x8
	add	x8, x27, x8
	ldr	x8, [x8, #72]
	cbz	x8, LBB0_65
; %bb.56:
	mov	x0, x19
	mov	x1, x24
	mov	x2, x22
	mov	x3, x25
LBB0_57:
	mov	x4, #0
	b	LBB0_63
LBB0_58:
	mov	w8, #120
	mul	x8, x26, x8
	add	x8, x27, x8
	ldr	x25, [x8, #24]!
	cbz	x25, LBB0_100
; %bb.59:
	mov	x24, x3
	str	xzr, [x8]
Lloh30:
	adrp	x8, _ASSIGN_OK@GOTPAGE
Lloh31:
	ldr	x8, [x8, _ASSIGN_OK@GOTPAGEOFF]
Lloh32:
	ldr	x8, [x8]
	cmp	x22, x8
	b.eq	LBB0_62
; %bb.60:
	str	xzr, [x20, #8]
	mov	w8, #120
	mul	x8, x26, x8
	add	x19, x27, x8
	ldr	x8, [x19, #8]!
	subs	x1, x8, #1
	b.lt	LBB0_62
; %bb.61:
	ldr	x0, [sp, #56]                   ; 8-byte Folded Reload
	bl	_diva_free_dma_descriptor
	str	xzr, [x19]
LBB0_62:
	ldr	x19, [sp, #56]                  ; 8-byte Folded Reload
	mov	x0, x19
	bl	_channel_xmit_xon
	mov	x0, x19
	mov	x1, #0
	mov	x2, x22
	mov	x3, x24
	mov	x4, x25
LBB0_63:
	mov	w5, #1
LBB0_64:
	bl	_control_rc
LBB0_65:
	cbz	w21, LBB0_67
; %bb.66:
	mov	x0, x19
	bl	_channel_xmit_xon
	b	LBB0_81
LBB0_67:
	mov	x0, x19
	bl	_channel_xmit_xon
	ldr	w8, [x20, #32]
	cbz	w8, LBB0_81
; %bb.68:
	ldr	x9, [x20]
	ldrb	w9, [x9, #1]
	tbnz	w9, #7, LBB0_70
; %bb.69:
	mov	x0, x19
	bl	_sig_ind
	b	LBB0_80
LBB0_70:
	and	x8, x8, #0xf
	ldr	x19, [x20, #56]
Lloh33:
	adrp	x9, _N_DISC@GOTPAGE
Lloh34:
	ldr	x9, [x9, _N_DISC@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	cmp	x9, x8
	b.eq	LBB0_72
; %bb.71:
Lloh36:
	adrp	x9, _N_DISC_ACK@GOTPAGE
Lloh37:
	ldr	x9, [x9, _N_DISC_ACK@GOTPAGEOFF]
Lloh38:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_76
LBB0_72:
	mov	w8, #40
	madd	x8, x23, x8, x28
	ldr	x8, [x8, #16]
	ldr	x8, [x8, x19, lsl #3]
	mov	w9, #120
	madd	x9, x26, x9, x27
	ldr	x9, [x9, #16]
	cmp	x8, x9
	b.ne	LBB0_76
; %bb.73:
	mov	w8, #40
	madd	x21, x23, x8, x28
	ldr	x8, [x21, #8]!
	ldr	w10, [x8, x19, lsl #2]
Lloh39:
	adrp	x22, _N_RX_FLOW_CONTROL_MASK@GOTPAGE
Lloh40:
	ldr	x22, [x22, _N_RX_FLOW_CONTROL_MASK@GOTPAGEOFF]
	ldr	w9, [x22]
	tst	w9, w10
	b.eq	LBB0_75
; %bb.74:
	str	x19, [sp]
Lloh41:
	adrp	x0, l_.str.3@PAGE
Lloh42:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_dprintf
	mov	x1, x0
	mov	w0, #3
	bl	_dbug
	ldr	w9, [x22]
	ldr	x8, [x21]
	ldr	w10, [x8, x19, lsl #2]
LBB0_75:
	bic	w9, w10, w9
	str	w9, [x8, x19, lsl #2]
LBB0_76:
	ldr	x0, [sp, #56]                   ; 8-byte Folded Reload
	bl	_nl_ind
	ldr	w8, [x20, #64]
	cmp	w8, #1
	b.eq	LBB0_80
; %bb.77:
	mov	w8, #40
	madd	x8, x23, x8, x28
	ldr	x8, [x8, #16]
	ldr	x8, [x8, x19, lsl #3]
	mov	w9, #120
	madd	x9, x26, x9, x27
	ldr	x9, [x9, #16]
	cmp	x8, x9
	b.ne	LBB0_80
; %bb.78:
	mov	w8, #40
	madd	x8, x23, x8, x28
	ldr	x8, [x8, #8]
	ldr	w9, [x8, x19, lsl #2]
Lloh43:
	adrp	x10, _N_RX_FLOW_CONTROL_MASK@GOTPAGE
Lloh44:
	ldr	x10, [x10, _N_RX_FLOW_CONTROL_MASK@GOTPAGEOFF]
Lloh45:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_80
; %bb.79:
	bic	w9, w9, w10
	str	w9, [x8, x19, lsl #2]
	str	x19, [sp]
Lloh46:
	adrp	x0, l_.str.4@PAGE
Lloh47:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_dprintf
	mov	x1, x0
	mov	w0, #3
	bl	_dbug
LBB0_80:
	str	wzr, [x20, #32]
	ldr	x19, [sp, #56]                  ; 8-byte Folded Reload
LBB0_81:
	mov	w8, #120
	madd	x24, x26, x8, x27
	ldr	w8, [x24, #80]!
	cbz	w8, LBB0_83
LBB0_82:
	mov	x0, x19
	bl	_send_data
	mov	x0, x19
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	b	_send_req
LBB0_83:
	mov	w8, #120
	madd	x8, x26, x8, x27
	add	x25, x8, #72
	add	x26, x8, #48
	add	x27, x8, #52
	add	x28, x8, #56
	add	x9, x8, #64
	str	x9, [sp, #48]                   ; 8-byte Folded Spill
	add	x20, x8, #60
	b	LBB0_85
LBB0_84:                                ;   in Loop: Header=BB0_85 Depth=1
	ldr	w8, [x24]
	cbnz	w8, LBB0_82
LBB0_85:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x25]
	cbnz	x8, LBB0_82
; %bb.86:                               ;   in Loop: Header=BB0_85 Depth=1
	ldr	w8, [x26]
	ldr	w9, [x27]
	cmp	w8, w9
	b.eq	LBB0_82
; %bb.87:                               ;   in Loop: Header=BB0_85 Depth=1
	ldr	w10, [x28]
	cmp	w9, w10
	csel	w11, wzr, w9, eq
	ldr	x12, [sp, #48]                  ; 8-byte Folded Reload
	ldr	x12, [x12]
	sxtw	x13, w11
	add	x21, x12, w11, sxtw #3
	ldr	w11, [x21]
	add	w11, w11, #3
	and	x23, x11, #0xfffc
	add	x19, x23, x13
	ldr	x22, [x12, x19, lsl #3]
	ldr	x11, [x21, #8]
	stp	x9, x10, [sp, #16]
	stp	x11, x8, [sp]
Lloh48:
	adrp	x0, l_.str.5@PAGE
Lloh49:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_dprintf
	mov	x1, x0
	mov	w0, #1
	bl	_dbug
	ldr	w9, [x27]
	ldr	w8, [x28]
	cmp	w9, w8
	b.ne	LBB0_89
; %bb.88:                               ;   in Loop: Header=BB0_85 Depth=1
Lloh50:
	adrp	x8, _MSG_IN_QUEUE_SIZE@GOTPAGE
Lloh51:
	ldr	x8, [x8, _MSG_IN_QUEUE_SIZE@GOTPAGEOFF]
Lloh52:
	ldr	w8, [x8]
	str	w8, [x28]
Lloh53:
	adrp	x9, _MSG_IN_OVERHEAD@GOTPAGE
Lloh54:
	ldr	x9, [x9, _MSG_IN_OVERHEAD@GOTPAGEOFF]
Lloh55:
	ldr	x9, [x9]
	add	x9, x9, w23, uxtw
	b	LBB0_90
LBB0_89:                                ;   in Loop: Header=BB0_85 Depth=1
Lloh56:
	adrp	x9, _MSG_IN_OVERHEAD@GOTPAGE
Lloh57:
	ldr	x9, [x9, _MSG_IN_OVERHEAD@GOTPAGEOFF]
Lloh58:
	ldr	x9, [x9]
	add	x9, x9, x19
LBB0_90:                                ;   in Loop: Header=BB0_85 Depth=1
	ldr	x19, [sp, #56]                  ; 8-byte Folded Reload
	str	w9, [x27]
	ldr	w10, [x26]
	cmp	w10, w9
	b.ne	LBB0_92
; %bb.91:                               ;   in Loop: Header=BB0_85 Depth=1
Lloh59:
	adrp	x8, _MSG_IN_QUEUE_SIZE@GOTPAGE
Lloh60:
	ldr	x8, [x8, _MSG_IN_QUEUE_SIZE@GOTPAGEOFF]
Lloh61:
	ldr	w8, [x8]
	str	w8, [x26]
	str	w8, [x27]
	b	LBB0_94
LBB0_92:                                ;   in Loop: Header=BB0_85 Depth=1
	cmp	w8, w9
	b.ne	LBB0_94
; %bb.93:                               ;   in Loop: Header=BB0_85 Depth=1
Lloh62:
	adrp	x8, _MSG_IN_QUEUE_SIZE@GOTPAGE
Lloh63:
	ldr	x8, [x8, _MSG_IN_QUEUE_SIZE@GOTPAGEOFF]
Lloh64:
	ldr	w8, [x8]
	str	w8, [x27]
	str	w8, [x28]
LBB0_94:                                ;   in Loop: Header=BB0_85 Depth=1
	mov	x0, x22
	mov	x1, x21
	bl	_api_put
	cbnz	w0, LBB0_97
; %bb.95:                               ;   in Loop: Header=BB0_85 Depth=1
	ldr	w8, [x20]
	cbz	w8, LBB0_84
; %bb.96:                               ;   in Loop: Header=BB0_85 Depth=1
	str	wzr, [x20]
	mov	x0, x19
	mov	w1, #0
	bl	_mixer_notify_update
	b	LBB0_84
LBB0_97:
	mov	x23, x0
	ldr	x8, [x21, #8]
Lloh65:
	adrp	x9, __DATA_B3_R@GOTPAGE
Lloh66:
	ldr	x9, [x9, __DATA_B3_R@GOTPAGEOFF]
Lloh67:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_99
; %bb.98:
	ldr	x1, [x21, #16]
	mov	x0, x22
	bl	_TransmitBufferFree
	ldr	x8, [x21, #8]
LBB0_99:
	stp	x23, x8, [sp]
Lloh68:
	adrp	x0, l_.str.6@PAGE
Lloh69:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_dprintf
	mov	x1, x0
	mov	w0, #1
	bl	_dbug
	b	LBB0_82
LBB0_100:
	str	x3, [sp, #48]                   ; 8-byte Folded Spill
	mov	w8, #120
	mul	x8, x26, x8
	add	x19, x27, x8
	ldr	w8, [x19, #32]!
	str	w8, [sp, #44]                   ; 4-byte Folded Spill
	ldr	x25, [sp, #56]                  ; 8-byte Folded Reload
	mov	x0, x25
	bl	_channel_xmit_xon
	ldr	w8, [sp, #44]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_103
; %bb.101:
	str	wzr, [x19]
	mov	w8, #120
	mul	x8, x26, x8
	add	x19, x27, x8
	mov	w8, #1
	str	w8, [x19, #104]
	mov	x0, x25
	ldr	x1, [sp, #48]                   ; 8-byte Folded Reload
	bl	_data_rc
	ldr	x8, [x19, #72]
	mov	x19, x25
	cbz	x8, LBB0_65
; %bb.102:
	mov	x0, x19
	mov	x1, x24
	mov	x2, x22
	ldr	x3, [sp, #48]                   ; 8-byte Folded Reload
	b	LBB0_57
LBB0_103:
	mov	x0, x25
	mov	x1, x24
	mov	x2, x22
	ldr	x3, [sp, #48]                   ; 8-byte Folded Reload
	mov	x4, #0
	mov	w5, #1
	bl	_control_rc
	mov	x19, x25
	b	LBB0_65
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpAdd	Lloh68, Lloh69
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%x:CB(%x:Req=%x,Rc=%x,Ind=%x)"

	.comm	_adapter,8,3                    ; @adapter
	.comm	_REMOVE,8,3                     ; @REMOVE
l_.str.1:                               ; @.str.1
	.asciz	"cancel RC in REMOVE state"

	.comm	_OK_FC,8,3                      ; @OK_FC
	.comm	_N_OK_FC_PENDING,4,2            ; @N_OK_FC_PENDING
	.comm	_OK,8,3                         ; @OK
l_.str.2:                               ; @.str.2
	.asciz	"XDI CAPI: RC cancelled Id:0x02, Ch:%02x"

	.comm	_N_XON,8,3                      ; @N_XON
	.comm	_ASSIGN_OK,8,3                  ; @ASSIGN_OK
	.comm	_N_DISC,8,3                     ; @N_DISC
	.comm	_N_DISC_ACK,8,3                 ; @N_DISC_ACK
	.comm	_N_RX_FLOW_CONTROL_MASK,4,2     ; @N_RX_FLOW_CONTROL_MASK
l_.str.3:                               ; @.str.3
	.asciz	"XDI CAPI: I: pending N-XON Ch:%02x"

l_.str.4:                               ; @.str.4
	.asciz	"XDI CAPI: I: remove faked N-XON Ch:%02x"

l_.str.5:                               ; @.str.5
	.asciz	"dequeue msg(0x%04x) - write=%d read=%d wrap=%d"

	.comm	_MSG_IN_QUEUE_SIZE,8,3          ; @MSG_IN_QUEUE_SIZE
	.comm	_MSG_IN_OVERHEAD,8,3            ; @MSG_IN_OVERHEAD
	.comm	__DATA_B3_R,8,3                 ; @_DATA_B3_R
l_.str.6:                               ; @.str.6
	.asciz	"Error 0x%04x from msg(0x%04x)"

.subsections_via_symbols
