	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fs_open
_fs_open:                               ## @fs_open
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movzwl	(%rdi), %r12d
	movl	4(%rdi), %ebx
	xorl	%eax, %eax
	callq	_func_enter
	movq	48(%r14), %rdi
	callq	_FS_DEV
	movq	%rax, %r15
	movq	_FS_DEBUG_OPEN@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdx
	movq	%r14, %rcx
	xorl	%eax, %eax
	callq	_fs_dprintk
	movq	_ATM_VPI_UNSPEC@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	je	LBB0_3
## %bb.1:
	movq	_ATM_VCI_UNSPEC@GOTPCREL(%rip), %rax
	cmpw	(%rax), %r12w
	je	LBB0_3
## %bb.2:
	movq	_ATM_VF_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	8(%r14), %rsi
	callq	_set_bit
LBB0_3:
	movl	16(%r14), %eax
	andl	$-2, %eax
	cmpl	$128, %eax
	jne	LBB0_4
## %bb.5:
	movl	%ebx, -48(%rbp)                 ## 4-byte Spill
	movl	(%r13), %edi
	movq	48(%r14), %rax
	movl	(%rax), %edx
	movswl	(%r14), %ecx
	movl	4(%r14), %r8d
	leaq	L_.str.1(%rip), %rsi
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_fs_dprintk
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$56, %edi
	callq	_kmalloc
	movq	%rax, %rbx
	movq	_FS_DEBUG_ALLOC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	movl	$56, %ecx
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_fs_dprintk
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.8:
	movq	%rbx, 40(%r14)
	movq	$0, 48(%rbx)
	movq	%rbx, %rdi
	addq	$40, %rdi
	callq	_init_waitqueue_head
	leaq	32(%r14), %r13
	leaq	24(%r14), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	_ATM_VF_PARTIAL@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	leaq	8(%r14), %rsi
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_28
## %bb.9:
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_IS_FS50
	testq	%rax, %rax
	je	LBB0_21
## %bb.10:
	movq	%rbx, %r13
	movl	(%r15), %eax
	movl	$-33, %ebx
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_11 Depth=1
	movl	(%r15), %eax
LBB0_18:                                ##   in Loop: Header=BB0_11 Depth=1
	incl	%eax
	movl	%eax, (%r15)
	incl	%ebx
	je	LBB0_19
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	cmpl	$32, %eax
	jl	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	$0, (%r15)
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_DO_DIRECTION
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	16(%r15), %rcx
	movslq	(%r15), %rax
	cmpq	$0, (%rcx,%rax,8)
	jne	LBB0_18
LBB0_15:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	%r12, %rdi
	callq	_DO_DIRECTION
	testq	%rax, %rax
	je	LBB0_26
## %bb.16:                              ##   in Loop: Header=BB0_11 Depth=1
	movslq	(%r15), %rdi
	movq	32(%r15), %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_17
LBB0_26:
	movl	(%r15), %eax
	movq	%r13, %rbx
	movw	%ax, (%r13)
	movswl	4(%r15), %ecx
	andl	%eax, %ecx
	movl	%ecx, (%r15)
LBB0_27:
	movq	_FS_DEBUG_OPEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movswl	(%rbx), %ecx
	leaq	L_.str.5(%rip), %rsi
	movl	%ecx, %edx
	xorl	%eax, %eax
	callq	_fs_dprintk
	movq	-56(%rbp), %r13                 ## 8-byte Reload
LBB0_28:
	movq	%rbx, %r12
	movq	%r13, %rdi
	callq	_DO_DIRECTION
	testq	%rax, %rax
	je	LBB0_40
## %bb.29:
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$56, %edi
	callq	_kmalloc
	movq	%rax, %rbx
	movq	_FS_DEBUG_ALLOC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
	xorl	%r13d, %r13d
	movl	$56, %ecx
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_fs_dprintk
	testq	%rbx, %rbx
	je	LBB0_30
## %bb.31:
	movl	16(%r14), %esi
	leal	-129(%rsi), %eax
	movq	%rbx, %r13
	cmpl	$2, %eax
	jae	LBB0_32
## %bb.58:
	movl	-48(%rbp), %r12d                ## 4-byte Reload
	movq	_TC_FLAGS_TRANSPARENT_PAYLOAD@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_TC_FLAGS_PACKET@GOTPCREL(%rip), %rax
	movq	_TC_FLAGS_TYPE_UBR@GOTPCREL(%rip), %rcx
	orl	(%rax), %ebx
	orl	(%rcx), %ebx
	movq	_TC_FLAGS_CAL0@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	orl	$268435456, %ebx                ## imm = 0x10000000
	jmp	LBB0_35
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	jmp	LBB0_57
LBB0_6:
	movq	_ATM_VF_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %r14
	movq	%r14, %rsi
	callq	_clear_bit
	jmp	LBB0_7
LBB0_30:
	movq	_FS_DEBUG_OPEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rsi
	xorl	%eax, %eax
	callq	_fs_dprintk
LBB0_7:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %r13d
	jmp	LBB0_57
LBB0_32:
	cmpl	$128, %esi
	jne	LBB0_34
## %bb.33:
	movl	-48(%rbp), %r12d                ## 4-byte Reload
	movq	_TC_FLAGS_AAL5@GOTPCREL(%rip), %rax
	movq	_TC_FLAGS_PACKET@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	orl	(%rax), %ebx
	movq	_TC_FLAGS_TYPE_CBR@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_TC_FLAGS_CAL0@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	jmp	LBB0_35
LBB0_21:
	movzwl	%r12w, %eax
	movq	_FS155_VCI_BITS@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	orl	-48(%rbp), %eax                 ## 4-byte Folded Reload
	movw	%ax, (%rbx)
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_DO_DIRECTION
	testq	%rax, %rax
	je	LBB0_23
## %bb.22:
	movq	16(%r15), %rax
	movswq	(%rbx), %rcx
	cmpq	$0, (%rax,%rcx,8)
	jne	LBB0_25
LBB0_23:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_DO_DIRECTION
	testq	%rax, %rax
	je	LBB0_27
## %bb.24:
	movswq	(%rbx), %rdi
	movq	32(%r15), %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_27
LBB0_25:
	leaq	L_.str.4(%rip), %rdi
	jmp	LBB0_20
LBB0_19:
	leaq	L_.str.3(%rip), %rdi
LBB0_20:
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_printk
	movq	_EBUSY@GOTPCREL(%rip), %rax
	subl	(%rax), %r13d
	jmp	LBB0_57
LBB0_34:
	movl	-48(%rbp), %r12d                ## 4-byte Reload
	leaq	L_.str.8(%rip), %rdi
	xorl	%ebx, %ebx
                                        ## kill: def $esi killed $esi killed $rsi
	xorl	%eax, %eax
	callq	_printk
LBB0_35:
	movl	%ebx, 4(%r13)
	movl	%r12d, %ebx
	movl	%r12d, %eax
	shll	$4, %eax
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	movw	%ax, 8(%r13)
	movw	$0, -42(%rbp)
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_atm_pcr_goal
	movl	%eax, %r13d
	movq	_FS_DEBUG_OPEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.9(%rip), %rsi
	xorl	%r12d, %r12d
	movl	%r13d, %edx
	xorl	%eax, %eax
	callq	_fs_dprintk
	movq	%r15, %rdi
	callq	_IS_FS50
	testq	%rax, %rax
	movl	$366792, %ecx                   ## imm = 0x598C8
	movl	$122264, %eax                   ## imm = 0x1DD98
	cmovel	%ecx, %eax
	cmpl	%r13d, %eax
	cmovgel	%r13d, %eax
	testl	%eax, %eax
	je	LBB0_36
## %bb.46:
	movl	%eax, %r12d
	negl	%r12d
	cmovsl	%eax, %r12d
	testl	%eax, %eax
	jns	LBB0_47
## %bb.48:
	movq	_ROUND_DOWN@GOTPCREL(%rip), %rax
	jmp	LBB0_49
LBB0_36:
	movq	%r15, %rdi
	callq	_IS_FS50
	testq	%rax, %rax
	movl	$25801, %eax                    ## imm = 0x64C9
	movl	$25022, %ecx                    ## imm = 0x61BE
	cmovel	%eax, %ecx
	movw	%cx, -42(%rbp)
	jmp	LBB0_37
LBB0_47:
	movq	_ROUND_UP@GOTPCREL(%rip), %rax
LBB0_49:
	movl	(%rax), %esi
	leaq	-42(%rbp), %rdx
	movl	%r12d, %edi
	xorl	%ecx, %ecx
	callq	_make_rate
	testl	%eax, %eax
	je	LBB0_37
## %bb.50:
	movl	%eax, %r13d
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_kfree
	jmp	LBB0_57
LBB0_37:
	movq	_FS_DEBUG_OPEN@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	leaq	L_.str.9(%rip), %rsi
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_fs_dprintk
	movzwl	-42(%rbp), %eax
	orl	$16384, %eax                    ## imm = 0x4000
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	16(%rbx), %rcx
	movw	%ax, (%rcx)
	movl	$0, 2(%rcx)
	movw	$0, 6(%rcx)
	movq	$0, 32(%rbx)
	movq	24(%rbx), %rax
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rax)
	movq	$0, 16(%rax)
	movq	_fs_debug@GOTPCREL(%rip), %rax
	movl	(%r13), %edi
	testl	%edi, (%rax)
	je	LBB0_39
## %bb.38:
	leaq	L_.str.10(%rip), %rsi
	xorl	%eax, %eax
	callq	_fs_dprintk
	movq	%rbx, %rdi
	movl	$56, %esi
	callq	_my_hd
LBB0_39:
	movq	%rbx, %rdi
	leaq	8(%r15), %r12
	movq	_QE_CMD_CONFIG_TX@GOTPCREL(%rip), %rax
	movq	_QE_CMD_IMM_INQ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movswl	(%rbx), %r13d
	orl	%ecx, %r13d
	callq	_virt_to_bus
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	%r13d, %edx
	movl	%eax, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_submit_command
	movq	_QE_CMD_TX_EN@GOTPCREL(%rip), %rax
	movq	_QE_CMD_IMM_INQ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movswl	(%rbx), %edx
	orl	%ecx, %edx
	movq	%r15, %rdi
	movq	%r12, %rsi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_submit_command
	movq	%rbx, %r12
	movswl	(%rbx), %edi
	movq	32(%r15), %rsi
	callq	_set_bit
LBB0_40:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_DO_DIRECTION
	testq	%rax, %rax
	je	LBB0_56
## %bb.41:
	movq	16(%r15), %rax
	movq	%r12, %rbx
	movswq	(%r12), %rdx
	movq	%r14, (%rax,%rdx,8)
	movq	_FS_NR_FREE_POOLS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	24(%r14), %rax
	testl	%esi, %esi
	jle	LBB0_45
## %bb.42:
	movq	24(%r15), %rdi
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_43:                                ## =>This Inner Loop Header: Depth=1
	cmpq	(%rdi,%rcx,8), %rax
	jle	LBB0_51
## %bb.44:                              ##   in Loop: Header=BB0_43 Depth=1
	incq	%rcx
	cmpq	%rcx, %rsi
	jne	LBB0_43
LBB0_45:
	movq	_FS_DEBUG_OPEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str.11(%rip), %rsi
	xorl	%r13d, %r13d
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_fs_dprintk
	movq	16(%r15), %rax
	movswq	(%rbx), %rcx
	movq	$0, (%rax,%rcx,8)
	movq	%rbx, %rdi
	callq	_kfree
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %r13d
	jmp	LBB0_57
LBB0_51:
	movl	16(%r14), %eax
	addl	$-128, %eax
	cmpl	$2, %eax
	ja	LBB0_53
## %bb.52:
	cltq
	leaq	l_switch.table.fs_open(%rip), %rsi
	movq	(%rsi,%rax,8), %rax
	movq	_QE_CMD_CONFIG_RX@GOTPCREL(%rip), %rsi
	orl	(%rsi), %edx
	movq	_QE_CMD_IMM_INQ@GOTPCREL(%rip), %rsi
	orl	(%rsi), %edx
	movq	_RC_FLAGS_BFPS_BFP@GOTPCREL(%rip), %rsi
	imull	(%rsi), %ecx
	orl	(%rax), %ecx
	leaq	8(%r15), %rsi
	movq	_RC_FLAGS_RXBM_PSB@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	%r15, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
                                        ## kill: def $ecx killed $ecx killed $rcx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_submit_command
LBB0_53:
	movq	%r15, %rdi
	callq	_IS_FS50
	testq	%rax, %rax
	je	LBB0_55
## %bb.54:
	movq	_QE_CMD_REG_WR@GOTPCREL(%rip), %rax
	movq	_QE_CMD_IMM_INQ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	leaq	8(%r15), %rsi
	movswl	(%rbx), %ecx
	subl	$-128, %ecx
	movswl	-48(%rbp), %r8d                 ## 2-byte Folded Reload
	movq	%r15, %rdi
	xorl	%r9d, %r9d
	callq	_submit_command
LBB0_55:
	movq	%r15, %rsi
	addq	$8, %rsi
	movq	_QE_CMD_RX_EN@GOTPCREL(%rip), %rax
	movq	_QE_CMD_IMM_INQ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movswl	(%rbx), %edx
	orl	%ecx, %edx
	movq	%r15, %rdi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_submit_command
LBB0_56:
	movq	_ATM_VF_READY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	callq	_set_bit
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_func_exit
LBB0_57:
	movl	%r13d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FS_DEBUG_OPEN,4,2              ## @FS_DEBUG_OPEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fs: open on dev: %p, vcc at %p\n"

	.comm	_ATM_VPI_UNSPEC,4,2             ## @ATM_VPI_UNSPEC
	.comm	_ATM_VCI_UNSPEC,2,1             ## @ATM_VCI_UNSPEC
	.comm	_ATM_VF_ADDR,4,2                ## @ATM_VF_ADDR
	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"fs: (itf %d): open %d.%d\n"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_FS_DEBUG_ALLOC,4,2             ## @FS_DEBUG_ALLOC
L_.str.2:                               ## @.str.2
	.asciz	"Alloc VCC: %p(%Zd)\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_ATM_VF_PARTIAL,8,3             ## @ATM_VF_PARTIAL
L_.str.3:                               ## @.str.3
	.asciz	"No more free channels for FS50..\n"

	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_FS155_VCI_BITS,2,1             ## @FS155_VCI_BITS
L_.str.4:                               ## @.str.4
	.asciz	"Channel is in use for FS155.\n"

L_.str.5:                               ## @.str.5
	.asciz	"OK. Allocated channel %x(%d).\n"

L_.str.6:                               ## @.str.6
	.asciz	"Alloc tc: %p(%Zd)\n"

L_.str.7:                               ## @.str.7
	.asciz	"fs: can't alloc transmit_config.\n"

	.comm	_TC_FLAGS_TRANSPARENT_PAYLOAD,4,2 ## @TC_FLAGS_TRANSPARENT_PAYLOAD
	.comm	_TC_FLAGS_PACKET,4,2            ## @TC_FLAGS_PACKET
	.comm	_TC_FLAGS_TYPE_UBR,4,2          ## @TC_FLAGS_TYPE_UBR
	.comm	_TC_FLAGS_CAL0,4,2              ## @TC_FLAGS_CAL0
	.comm	_TC_FLAGS_AAL5,4,2              ## @TC_FLAGS_AAL5
	.comm	_TC_FLAGS_TYPE_CBR,4,2          ## @TC_FLAGS_TYPE_CBR
L_.str.8:                               ## @.str.8
	.asciz	"Unknown aal: %d\n"

L_.str.9:                               ## @.str.9
	.asciz	"pcr = %d.\n"

	.comm	_ROUND_DOWN,4,2                 ## @ROUND_DOWN
	.comm	_ROUND_UP,4,2                   ## @ROUND_UP
	.comm	_fs_debug,4,2                   ## @fs_debug
L_.str.10:                              ## @.str.10
	.asciz	"TX config record:\n"

	.comm	_QE_CMD_CONFIG_TX,4,2           ## @QE_CMD_CONFIG_TX
	.comm	_QE_CMD_IMM_INQ,4,2             ## @QE_CMD_IMM_INQ
	.comm	_QE_CMD_TX_EN,4,2               ## @QE_CMD_TX_EN
	.comm	_FS_NR_FREE_POOLS,4,2           ## @FS_NR_FREE_POOLS
L_.str.11:                              ## @.str.11
	.asciz	"No free pool fits sdu: %d.\n"

	.comm	_QE_CMD_CONFIG_RX,4,2           ## @QE_CMD_CONFIG_RX
	.comm	_RC_FLAGS_TRANSP,4,2            ## @RC_FLAGS_TRANSP
	.comm	_RC_FLAGS_BFPS_BFP,4,2          ## @RC_FLAGS_BFPS_BFP
	.comm	_RC_FLAGS_RXBM_PSB,4,2          ## @RC_FLAGS_RXBM_PSB
	.comm	_RC_FLAGS_AAL5,4,2              ## @RC_FLAGS_AAL5
	.comm	_QE_CMD_REG_WR,4,2              ## @QE_CMD_REG_WR
	.comm	_QE_CMD_RX_EN,4,2               ## @QE_CMD_RX_EN
	.comm	_ATM_VF_READY,4,2               ## @ATM_VF_READY
	.no_dead_strip	_fs_open
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.fs_open
l_switch.table.fs_open:
	.quad	_RC_FLAGS_AAL5
	.quad	_RC_FLAGS_TRANSP
	.quad	_RC_FLAGS_TRANSP

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fs_open
_fs_open:                               ; @fs_open
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x21, x0
	ldrh	w22, [x0]
	ldr	w27, [x0, #4]
	bl	_func_enter
	ldr	x0, [x21, #48]
	bl	_FS_DEV
	mov	x19, x0
Lloh0:
	adrp	x28, _FS_DEBUG_OPEN@GOTPAGE
Lloh1:
	ldr	x28, [x28, _FS_DEBUG_OPEN@GOTPAGEOFF]
	ldr	w0, [x28]
	stp	x19, x21, [sp]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fs_dprintk
Lloh4:
	adrp	x8, _ATM_VPI_UNSPEC@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ATM_VPI_UNSPEC@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
Lloh7:
	adrp	x9, _ATM_VCI_UNSPEC@GOTPAGE
Lloh8:
	ldr	x9, [x9, _ATM_VCI_UNSPEC@GOTPAGEOFF]
	ldrh	w9, [x9]
	cmp	w27, w8
	ccmp	w22, w9, #4, ne
	b.eq	LBB0_2
; %bb.1:
Lloh9:
	adrp	x8, _ATM_VF_ADDR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ATM_VF_ADDR@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	add	x1, x21, #8
	bl	_set_bit
LBB0_2:
	ldr	w8, [x21, #16]
	and	w8, w8, #0xfffffffe
	cmp	w8, #128
	b.ne	LBB0_47
; %bb.3:
	ldr	w0, [x28]
	ldr	x8, [x21, #48]
	ldrsh	x9, [x21]
	ldr	w8, [x8]
	ldr	w10, [x21, #4]
	stp	x9, x10, [sp, #8]
	str	x8, [sp]
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fs_dprintk
Lloh14:
	adrp	x25, _GFP_KERNEL@GOTPAGE
Lloh15:
	ldr	x25, [x25, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x25]
	mov	w23, #56
	mov	w0, #56
	bl	_kmalloc
	mov	x20, x0
Lloh16:
	adrp	x26, _FS_DEBUG_ALLOC@GOTPAGE
Lloh17:
	ldr	x26, [x26, _FS_DEBUG_ALLOC@GOTPAGEOFF]
	ldr	w0, [x26]
	stp	x20, x23, [sp]
Lloh18:
	adrp	x1, l_.str.2@PAGE
Lloh19:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_fs_dprintk
	cbz	x20, LBB0_21
; %bb.4:
	str	x20, [x21, #40]
	str	xzr, [x20, #48]
	add	x0, x20, #40
	bl	_init_waitqueue_head
	add	x24, x21, #32
	add	x23, x21, #24
Lloh20:
	adrp	x8, _ATM_VF_PARTIAL@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ATM_VF_PARTIAL@GOTPAGEOFF]
Lloh22:
	ldr	x0, [x8]
	add	x1, x21, #8
	str	x1, [sp, #32]                   ; 8-byte Folded Spill
	bl	_test_bit
	cbnz	x0, LBB0_17
; %bb.5:
	mov	x0, x19
	bl	_IS_FS50
	cbz	x0, LBB0_26
; %bb.6:
	ldr	w8, [x19]
	mov	w22, #-33
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
	ldr	w8, [x19]
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	w8, w8, #1
	str	w8, [x19]
	adds	w22, w22, #1
	b.hs	LBB0_31
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w8, #32
	b.lt	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	str	wzr, [x19]
LBB0_11:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x23
	bl	_DO_DIRECTION
	cbz	x0, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x9, [x19, #16]
	ldrsw	x8, [x19]
	ldr	x9, [x9, x8, lsl #3]
	cbnz	x9, LBB0_8
LBB0_13:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x24
	bl	_DO_DIRECTION
	cbz	x0, LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_9 Depth=1
	ldrsw	x0, [x19]
	ldr	x1, [x19, #32]
	bl	_test_bit
	cbnz	x0, LBB0_7
LBB0_15:
	ldr	w8, [x19]
	strh	w8, [x20]
	ldrsh	w9, [x19, #4]
	and	w8, w8, w9
	str	w8, [x19]
LBB0_16:
	ldr	w0, [x28]
	ldrsh	x8, [x20]
	stp	x8, x8, [sp]
Lloh23:
	adrp	x1, l_.str.5@PAGE
Lloh24:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_fs_dprintk
LBB0_17:
	mov	x0, x24
	bl	_DO_DIRECTION
	cbz	x0, LBB0_41
; %bb.18:
	ldr	w1, [x25]
	mov	w22, #56
	mov	w0, #56
	bl	_kmalloc
	mov	x25, x0
	ldr	w0, [x26]
	stp	x25, x22, [sp]
Lloh25:
	adrp	x1, l_.str.6@PAGE
Lloh26:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_fs_dprintk
	cbz	x25, LBB0_22
; %bb.19:
	ldr	w8, [x21, #16]
	sub	w9, w8, #129
	cmp	w9, #2
	b.hs	LBB0_24
; %bb.20:
Lloh27:
	adrp	x8, _TC_FLAGS_TRANSPARENT_PAYLOAD@GOTPAGE
Lloh28:
	ldr	x8, [x8, _TC_FLAGS_TRANSPARENT_PAYLOAD@GOTPAGEOFF]
Lloh29:
	adrp	x9, _TC_FLAGS_PACKET@GOTPAGE
Lloh30:
	ldr	x9, [x9, _TC_FLAGS_PACKET@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
Lloh32:
	ldr	w9, [x9]
Lloh33:
	adrp	x10, _TC_FLAGS_TYPE_UBR@GOTPAGE
Lloh34:
	ldr	x10, [x10, _TC_FLAGS_TYPE_UBR@GOTPAGEOFF]
Lloh35:
	adrp	x11, _TC_FLAGS_CAL0@GOTPAGE
Lloh36:
	ldr	x11, [x11, _TC_FLAGS_CAL0@GOTPAGEOFF]
Lloh37:
	ldr	w10, [x10]
Lloh38:
	ldr	w11, [x11]
	orr	w8, w8, w9
	orr	w8, w8, w10
	orr	w8, w8, w11
	orr	w8, w8, #0x10000000
	b	LBB0_34
LBB0_21:
Lloh39:
	adrp	x8, _ATM_VF_ADDR@GOTPAGE
Lloh40:
	ldr	x8, [x8, _ATM_VF_ADDR@GOTPAGEOFF]
Lloh41:
	ldr	w0, [x8]
	add	x1, x21, #8
	bl	_clear_bit
	b	LBB0_23
LBB0_22:
	ldr	w0, [x28]
Lloh42:
	adrp	x1, l_.str.7@PAGE
Lloh43:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_fs_dprintk
LBB0_23:
Lloh44:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh45:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_48
LBB0_24:
	cmp	w8, #128
	b.ne	LBB0_33
; %bb.25:
Lloh46:
	adrp	x8, _TC_FLAGS_AAL5@GOTPAGE
Lloh47:
	ldr	x8, [x8, _TC_FLAGS_AAL5@GOTPAGEOFF]
Lloh48:
	ldr	w8, [x8]
Lloh49:
	adrp	x9, _TC_FLAGS_PACKET@GOTPAGE
Lloh50:
	ldr	x9, [x9, _TC_FLAGS_PACKET@GOTPAGEOFF]
Lloh51:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh52:
	adrp	x9, _TC_FLAGS_TYPE_CBR@GOTPAGE
Lloh53:
	ldr	x9, [x9, _TC_FLAGS_TYPE_CBR@GOTPAGEOFF]
Lloh54:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh55:
	adrp	x9, _TC_FLAGS_CAL0@GOTPAGE
Lloh56:
	ldr	x9, [x9, _TC_FLAGS_CAL0@GOTPAGEOFF]
Lloh57:
	ldr	w9, [x9]
	orr	w8, w8, w9
	b	LBB0_34
LBB0_26:
Lloh58:
	adrp	x8, _FS155_VCI_BITS@GOTPAGE
Lloh59:
	ldr	x8, [x8, _FS155_VCI_BITS@GOTPAGEOFF]
	ldrh	w8, [x8]
	lsl	w8, w22, w8
	orr	w8, w8, w27
	strh	w8, [x20]
	mov	x0, x23
	bl	_DO_DIRECTION
	cbz	x0, LBB0_28
; %bb.27:
	ldr	x8, [x19, #16]
	ldrsh	x9, [x20]
	ldr	x8, [x8, x9, lsl #3]
	cbnz	x8, LBB0_30
LBB0_28:
	mov	x0, x24
	bl	_DO_DIRECTION
	cbz	x0, LBB0_16
; %bb.29:
	ldrsh	x0, [x20]
	ldr	x1, [x19, #32]
	bl	_test_bit
	cbz	x0, LBB0_16
LBB0_30:
Lloh60:
	adrp	x0, l_.str.4@PAGE
Lloh61:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_32
LBB0_31:
Lloh62:
	adrp	x0, l_.str.3@PAGE
Lloh63:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_32:
	bl	_printk
Lloh64:
	adrp	x8, _EBUSY@GOTPAGE
Lloh65:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
	b	LBB0_48
LBB0_33:
	str	x8, [sp]
Lloh66:
	adrp	x0, l_.str.8@PAGE
Lloh67:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_printk
	mov	w8, #0
LBB0_34:
	str	w8, [x25, #4]
	lsl	w8, w27, #4
	strh	w8, [x25, #8]
	strh	wzr, [sp, #46]
	mov	x0, x24
	bl	_atm_pcr_goal
	mov	x24, x0
	ldr	w0, [x28]
	str	x24, [sp]
Lloh68:
	adrp	x1, l_.str.9@PAGE
Lloh69:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_fs_dprintk
	mov	x0, x19
	bl	_IS_FS50
	cmp	x0, #0
	mov	w8, #56728
	movk	w8, #1, lsl #16
	mov	w9, #39112
	movk	w9, #5, lsl #16
	csel	w8, w9, w8, eq
	cmp	w8, w24
	csel	w8, w8, w24, lt
	cbz	w8, LBB0_37
; %bb.35:
	cmp	w8, #0
	cneg	w26, w8, mi
Lloh70:
	adrp	x8, _ROUND_DOWN@GOTPAGE
Lloh71:
	ldr	x8, [x8, _ROUND_DOWN@GOTPAGEOFF]
Lloh72:
	adrp	x9, _ROUND_UP@GOTPAGE
Lloh73:
	ldr	x9, [x9, _ROUND_UP@GOTPAGEOFF]
	csel	x8, x8, x9, lt
	ldr	w1, [x8]
	add	x2, sp, #46
	mov	x0, x26
	mov	x3, #0
	bl	_make_rate
	cbz	w0, LBB0_38
; %bb.36:
	mov	x24, x0
	mov	x0, x25
	bl	_kfree
	b	LBB0_49
LBB0_37:
	mov	x0, x19
	bl	_IS_FS50
	mov	w26, #0
	cmp	x0, #0
	mov	w8, #25022
	mov	w9, #25801
	csel	w8, w9, w8, eq
	strh	w8, [sp, #46]
LBB0_38:
	ldr	w0, [x28]
	str	x26, [sp]
Lloh74:
	adrp	x1, l_.str.9@PAGE
Lloh75:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_fs_dprintk
	ldrh	w8, [sp, #46]
	orr	w8, w8, #0x4000
	ldr	x9, [x25, #16]
	strh	w8, [x9]
	stur	wzr, [x9, #2]
	strh	wzr, [x9, #6]
	str	xzr, [x25, #32]
	ldr	x8, [x25, #24]
	stp	xzr, xzr, [x8, #8]
	str	xzr, [x8]
Lloh76:
	adrp	x8, _fs_debug@GOTPAGE
Lloh77:
	ldr	x8, [x8, _fs_debug@GOTPAGEOFF]
Lloh78:
	ldr	w8, [x8]
	ldr	w0, [x28]
	tst	w0, w8
	b.eq	LBB0_40
; %bb.39:
Lloh79:
	adrp	x1, l_.str.10@PAGE
Lloh80:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_fs_dprintk
	mov	x0, x25
	mov	w1, #56
	bl	_my_hd
LBB0_40:
	add	x24, x19, #8
Lloh81:
	adrp	x8, _QE_CMD_CONFIG_TX@GOTPAGE
Lloh82:
	ldr	x8, [x8, _QE_CMD_CONFIG_TX@GOTPAGEOFF]
Lloh83:
	ldr	w8, [x8]
Lloh84:
	adrp	x22, _QE_CMD_IMM_INQ@GOTPAGE
Lloh85:
	ldr	x22, [x22, _QE_CMD_IMM_INQ@GOTPAGEOFF]
	ldr	w9, [x22]
	orr	w8, w9, w8
	ldrsh	w9, [x20]
	orr	w26, w8, w9
	mov	x0, x25
	bl	_virt_to_bus
	mov	x3, x0
	mov	x0, x19
	mov	x1, x24
	mov	x2, x26
	mov	w4, #0
	mov	w5, #0
	bl	_submit_command
Lloh86:
	adrp	x8, _QE_CMD_TX_EN@GOTPAGE
Lloh87:
	ldr	x8, [x8, _QE_CMD_TX_EN@GOTPAGEOFF]
Lloh88:
	ldr	w8, [x8]
	ldr	w9, [x22]
	orr	w8, w9, w8
	ldrsh	w9, [x20]
	orr	w2, w8, w9
	mov	x0, x19
	mov	x1, x24
	mov	w3, #0
	mov	w4, #0
	mov	w5, #0
	bl	_submit_command
	ldrsh	w0, [x20]
	ldr	x1, [x19, #32]
	bl	_set_bit
LBB0_41:
	mov	x0, x23
	bl	_DO_DIRECTION
	cbz	x0, LBB0_55
; %bb.42:
	ldr	x9, [x19, #16]
	ldrsh	x8, [x20]
	str	x21, [x9, x8, lsl #3]
Lloh89:
	adrp	x9, _FS_NR_FREE_POOLS@GOTPAGE
Lloh90:
	ldr	x9, [x9, _FS_NR_FREE_POOLS@GOTPAGEOFF]
Lloh91:
	ldr	w11, [x9]
	ldr	x10, [x21, #24]
	cmp	w11, #1
	b.lt	LBB0_46
; %bb.43:
	mov	x9, #0
	ldr	x12, [x19, #24]
LBB0_44:                                ; =>This Inner Loop Header: Depth=1
	ldr	x13, [x12, x9, lsl #3]
	cmp	x10, x13
	b.le	LBB0_50
; %bb.45:                               ;   in Loop: Header=BB0_44 Depth=1
	add	x9, x9, #1
	cmp	x11, x9
	b.ne	LBB0_44
LBB0_46:
	ldr	w0, [x28]
	str	x10, [sp]
Lloh92:
	adrp	x1, l_.str.11@PAGE
Lloh93:
	add	x1, x1, l_.str.11@PAGEOFF
	bl	_fs_dprintk
	ldr	x8, [x19, #16]
	ldrsh	x9, [x20]
	str	xzr, [x8, x9, lsl #3]
	mov	x0, x20
	bl	_kfree
LBB0_47:
Lloh94:
	adrp	x8, _EINVAL@GOTPAGE
Lloh95:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_48:
	ldr	w8, [x8]
	neg	w24, w8
LBB0_49:
	mov	x0, x24
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_50:
	ldr	w10, [x21, #16]
	sub	w10, w10, #128
	cmp	w10, #2
	b.hi	LBB0_52
; %bb.51:
Lloh96:
	adrp	x11, l_switch.table.fs_open@PAGE
Lloh97:
	add	x11, x11, l_switch.table.fs_open@PAGEOFF
	ldr	x10, [x11, w10, sxtw #3]
	add	x1, x19, #8
Lloh98:
	adrp	x11, _QE_CMD_CONFIG_RX@GOTPAGE
Lloh99:
	ldr	x11, [x11, _QE_CMD_CONFIG_RX@GOTPAGEOFF]
Lloh100:
	ldr	w11, [x11]
Lloh101:
	adrp	x12, _QE_CMD_IMM_INQ@GOTPAGE
Lloh102:
	ldr	x12, [x12, _QE_CMD_IMM_INQ@GOTPAGEOFF]
Lloh103:
	ldr	w12, [x12]
	orr	w8, w11, w8
	orr	w2, w8, w12
	ldr	w8, [x10]
Lloh104:
	adrp	x10, _RC_FLAGS_BFPS_BFP@GOTPAGE
Lloh105:
	ldr	x10, [x10, _RC_FLAGS_BFPS_BFP@GOTPAGEOFF]
Lloh106:
	ldr	w10, [x10]
	mul	w9, w10, w9
	orr	w8, w9, w8
Lloh107:
	adrp	x9, _RC_FLAGS_RXBM_PSB@GOTPAGE
Lloh108:
	ldr	x9, [x9, _RC_FLAGS_RXBM_PSB@GOTPAGEOFF]
Lloh109:
	ldr	w9, [x9]
	orr	w3, w8, w9
	mov	x0, x19
	mov	w4, #0
	mov	w5, #0
	bl	_submit_command
LBB0_52:
	mov	x0, x19
	bl	_IS_FS50
	cbz	x0, LBB0_54
; %bb.53:
	add	x1, x19, #8
Lloh110:
	adrp	x8, _QE_CMD_REG_WR@GOTPAGE
Lloh111:
	ldr	x8, [x8, _QE_CMD_REG_WR@GOTPAGEOFF]
Lloh112:
	adrp	x9, _QE_CMD_IMM_INQ@GOTPAGE
Lloh113:
	ldr	x9, [x9, _QE_CMD_IMM_INQ@GOTPAGEOFF]
Lloh114:
	ldr	w8, [x8]
Lloh115:
	ldr	w9, [x9]
	orr	w2, w9, w8
	ldrsh	w8, [x20]
	add	w3, w8, #128
	sxth	w4, w27
	mov	x0, x19
	mov	w5, #0
	bl	_submit_command
LBB0_54:
	add	x1, x19, #8
Lloh116:
	adrp	x8, _QE_CMD_RX_EN@GOTPAGE
Lloh117:
	ldr	x8, [x8, _QE_CMD_RX_EN@GOTPAGEOFF]
Lloh118:
	ldr	w8, [x8]
Lloh119:
	adrp	x9, _QE_CMD_IMM_INQ@GOTPAGE
Lloh120:
	ldr	x9, [x9, _QE_CMD_IMM_INQ@GOTPAGEOFF]
Lloh121:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldrsh	w9, [x20]
	orr	w2, w8, w9
	mov	x0, x19
	mov	w3, #0
	mov	w4, #0
	mov	w5, #0
	bl	_submit_command
LBB0_55:
Lloh122:
	adrp	x8, _ATM_VF_READY@GOTPAGE
Lloh123:
	ldr	x8, [x8, _ATM_VF_READY@GOTPAGEOFF]
Lloh124:
	ldr	w0, [x8]
	ldr	x1, [sp, #32]                   ; 8-byte Folded Reload
	bl	_set_bit
	bl	_func_exit
	mov	w24, #0
	b	LBB0_49
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh37
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh31
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh58, Lloh59
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpLdrGot	Lloh64, Lloh65
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpLdrGot	Lloh72, Lloh73
	.loh AdrpLdrGot	Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpAdd	Lloh74, Lloh75
	.loh AdrpAdd	Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpLdrGot	Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.loh AdrpAdd	Lloh92, Lloh93
	.loh AdrpLdrGot	Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh107, Lloh108, Lloh109
	.loh AdrpLdrGotLdr	Lloh104, Lloh105, Lloh106
	.loh AdrpLdrGotLdr	Lloh101, Lloh102, Lloh103
	.loh AdrpLdrGotLdr	Lloh98, Lloh99, Lloh100
	.loh AdrpAdd	Lloh96, Lloh97
	.loh AdrpLdrGotLdr	Lloh112, Lloh113, Lloh115
	.loh AdrpLdrGotLdr	Lloh110, Lloh111, Lloh114
	.loh AdrpLdrGotLdr	Lloh119, Lloh120, Lloh121
	.loh AdrpLdrGotLdr	Lloh116, Lloh117, Lloh118
	.loh AdrpLdrGotLdr	Lloh122, Lloh123, Lloh124
	.cfi_endproc
                                        ; -- End function
	.comm	_FS_DEBUG_OPEN,4,2              ; @FS_DEBUG_OPEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fs: open on dev: %p, vcc at %p\n"

	.comm	_ATM_VPI_UNSPEC,4,2             ; @ATM_VPI_UNSPEC
	.comm	_ATM_VCI_UNSPEC,2,1             ; @ATM_VCI_UNSPEC
	.comm	_ATM_VF_ADDR,4,2                ; @ATM_VF_ADDR
	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"fs: (itf %d): open %d.%d\n"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_FS_DEBUG_ALLOC,4,2             ; @FS_DEBUG_ALLOC
l_.str.2:                               ; @.str.2
	.asciz	"Alloc VCC: %p(%Zd)\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_ATM_VF_PARTIAL,8,3             ; @ATM_VF_PARTIAL
l_.str.3:                               ; @.str.3
	.asciz	"No more free channels for FS50..\n"

	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_FS155_VCI_BITS,2,1             ; @FS155_VCI_BITS
l_.str.4:                               ; @.str.4
	.asciz	"Channel is in use for FS155.\n"

l_.str.5:                               ; @.str.5
	.asciz	"OK. Allocated channel %x(%d).\n"

l_.str.6:                               ; @.str.6
	.asciz	"Alloc tc: %p(%Zd)\n"

l_.str.7:                               ; @.str.7
	.asciz	"fs: can't alloc transmit_config.\n"

	.comm	_TC_FLAGS_TRANSPARENT_PAYLOAD,4,2 ; @TC_FLAGS_TRANSPARENT_PAYLOAD
	.comm	_TC_FLAGS_PACKET,4,2            ; @TC_FLAGS_PACKET
	.comm	_TC_FLAGS_TYPE_UBR,4,2          ; @TC_FLAGS_TYPE_UBR
	.comm	_TC_FLAGS_CAL0,4,2              ; @TC_FLAGS_CAL0
	.comm	_TC_FLAGS_AAL5,4,2              ; @TC_FLAGS_AAL5
	.comm	_TC_FLAGS_TYPE_CBR,4,2          ; @TC_FLAGS_TYPE_CBR
l_.str.8:                               ; @.str.8
	.asciz	"Unknown aal: %d\n"

l_.str.9:                               ; @.str.9
	.asciz	"pcr = %d.\n"

	.comm	_ROUND_DOWN,4,2                 ; @ROUND_DOWN
	.comm	_ROUND_UP,4,2                   ; @ROUND_UP
	.comm	_fs_debug,4,2                   ; @fs_debug
l_.str.10:                              ; @.str.10
	.asciz	"TX config record:\n"

	.comm	_QE_CMD_CONFIG_TX,4,2           ; @QE_CMD_CONFIG_TX
	.comm	_QE_CMD_IMM_INQ,4,2             ; @QE_CMD_IMM_INQ
	.comm	_QE_CMD_TX_EN,4,2               ; @QE_CMD_TX_EN
	.comm	_FS_NR_FREE_POOLS,4,2           ; @FS_NR_FREE_POOLS
l_.str.11:                              ; @.str.11
	.asciz	"No free pool fits sdu: %d.\n"

	.comm	_QE_CMD_CONFIG_RX,4,2           ; @QE_CMD_CONFIG_RX
	.comm	_RC_FLAGS_TRANSP,4,2            ; @RC_FLAGS_TRANSP
	.comm	_RC_FLAGS_BFPS_BFP,4,2          ; @RC_FLAGS_BFPS_BFP
	.comm	_RC_FLAGS_RXBM_PSB,4,2          ; @RC_FLAGS_RXBM_PSB
	.comm	_RC_FLAGS_AAL5,4,2              ; @RC_FLAGS_AAL5
	.comm	_QE_CMD_REG_WR,4,2              ; @QE_CMD_REG_WR
	.comm	_QE_CMD_RX_EN,4,2               ; @QE_CMD_RX_EN
	.comm	_ATM_VF_READY,4,2               ; @ATM_VF_READY
	.no_dead_strip	_fs_open
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.fs_open
l_switch.table.fs_open:
	.quad	_RC_FLAGS_AAL5
	.quad	_RC_FLAGS_TRANSP
	.quad	_RC_FLAGS_TRANSP

.subsections_via_symbols
