	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pcmcia_enable_device           ## -- Begin function pcmcia_enable_device
	.p2align	4, 0x90
_pcmcia_enable_device:                  ## @pcmcia_enable_device
	.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	48(%rdi), %rbx
	movb	$0, -43(%rbp)
	movb	$0, -42(%rbp)
	movb	$0, -41(%rbp)
	movq	_SOCKET_PRESENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_3
## %bb.1:
	movq	%rdi, %r15
	movl	(%rdi), %r13d
	leaq	8(%rbx), %r14
	movq	%r14, %rdi
	callq	_mutex_lock
	movq	40(%r15), %rcx
	movq	_CONFIG_LOCKED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.2:
	movq	%r14, %rdi
	callq	_mutex_unlock
	addq	$20, %r15
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	_EACCES@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_3:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movl	24(%r15), %eax
	leaq	40(%rbx), %r12
	movl	%eax, 56(%rbx)
	movq	24(%rbx), %rax
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	*8(%rax)
	testq	%rax, %rax
	je	LBB0_9
## %bb.5:
	movq	%r14, %rdi
	callq	_mutex_unlock
	addq	$20, %r15
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_warn
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_6:
	xorl	%ebx, %ebx
LBB0_7:
	subl	(%rax), %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	cmpq	$0, 32(%r15)
	jne	LBB0_11
## %bb.10:
	movq	_CONF_ENABLE_IRQ@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_57
LBB0_11:
	movq	_CONF_ENABLE_IOCARD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, %r13d
	testl	%r13d, %eax
	je	LBB0_13
LBB0_12:
	movq	_SS_IOCARD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r12)
LBB0_13:
	movq	_CONF_ENABLE_ZVCARD@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_15
## %bb.14:
	movq	_SS_ZVCARD@GOTPCREL(%rip), %rax
	movq	_SS_IOCARD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	orl	%ecx, (%r12)
LBB0_15:
	movq	_CONF_ENABLE_SPKR@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_18
## %bb.16:
	movq	_SS_SPKR_ENA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r12)
	movq	_CCSR_AUDIO_ENA@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movb	%al, -43(%rbp)
	movq	_PRESENT_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%r15)
	jne	LBB0_18
## %bb.17:
	leaq	20(%r15), %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_dev_warn
LBB0_18:
	movq	_CONF_ENABLE_IRQ@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_20
## %bb.19:
	movq	64(%rbx), %rax
	jmp	LBB0_21
LBB0_20:
	xorl	%eax, %eax
LBB0_21:
	movq	%rax, 48(%rbx)
	movq	_CONF_ENABLE_ESR@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_23
## %bb.22:
	movq	_PRESENT_EXT_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 4(%r15)
	movq	_ESR_REQ_ATTN_ENA@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movb	%al, -42(%rbp)
LBB0_23:
	movq	24(%rbx), %rax
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	*8(%rax)
	incl	32(%rbx)
	leaq	20(%r15), %r12
	movl	24(%r15), %edx
	movl	4(%r15), %r9d
	movl	8(%r15), %r8d
	movzbl	12(%r15), %eax
	movl	%eax, (%rsp)
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdi
	movl	%r13d, %ecx
	xorl	%eax, %eax
	callq	_dev_dbg
	movl	4(%r15), %eax
	movl	8(%r15), %edx
	movq	_PRESENT_COPY@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	movl	%edx, -64(%rbp)                 ## 4-byte Spill
	je	LBB0_25
## %bb.24:
	movb	$0, -88(%rbp)
	leaq	L_.str.4(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	_CISREG_SCR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	addl	-64(%rbp), %edx                 ## 4-byte Folded Reload
	shrl	%edx
	leaq	-88(%rbp), %r8
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$1, %ecx
	callq	_pcmcia_write_cis_mem
	movl	4(%r15), %eax
LBB0_25:
	movq	_PRESENT_PIN_REPLACE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_27
## %bb.26:
	movb	$0, -88(%rbp)
	leaq	L_.str.5(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	_CISREG_PRR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	addl	-64(%rbp), %edx                 ## 4-byte Folded Reload
	shrl	%edx
	leaq	-88(%rbp), %r8
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$1, %ecx
	callq	_pcmcia_write_cis_mem
	movl	4(%r15), %eax
LBB0_27:
	movq	_PRESENT_OPTION@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_30
## %bb.28:
	cmpl	$1, 4(%rbx)
	movb	12(%r15), %cl
	jne	LBB0_31
## %bb.29:
	movq	_COR_CONFIG_MASK@GOTPCREL(%rip), %rax
	andb	(%rax), %cl
	movb	%cl, -41(%rbp)
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_33
LBB0_30:
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movl	-64(%rbp), %r13d                ## 4-byte Reload
	jmp	LBB0_37
LBB0_31:
	movq	_COR_MFC_CONFIG_MASK@GOTPCREL(%rip), %rdx
	andb	(%rdx), %cl
	movq	_COR_FUNC_ENA@GOTPCREL(%rip), %rdx
	movq	_COR_IREQ_ENA@GOTPCREL(%rip), %rsi
	orb	(%rdx), %cl
	orb	(%rsi), %cl
	movb	%cl, -41(%rbp)
	movq	_PRESENT_IOBASE_0@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_33
## %bb.32:
	movq	_COR_ADDR_DECODE@GOTPCREL(%rip), %rax
	orb	(%rax), %cl
	movb	%cl, -41(%rbp)
LBB0_33:
	movq	_CONF_ENABLE_IRQ@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_36
## %bb.34:
	movq	_CONF_ENABLE_PULSE_IRQ@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	jne	LBB0_36
## %bb.35:
	movq	_COR_LEVEL_REQ@GOTPCREL(%rip), %rax
	orb	(%rax), %cl
	movb	%cl, -41(%rbp)
LBB0_36:
	movq	_CISREG_COR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	-64(%rbp), %r13d                ## 4-byte Reload
	addl	%r13d, %edx
	shrl	%edx
	leaq	-41(%rbp), %r8
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$1, %ecx
	callq	_pcmcia_write_cis_mem
	movl	$40, %edi
	callq	_msleep
	movl	4(%r15), %eax
LBB0_37:
	movq	_PRESENT_STATUS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_39
## %bb.38:
	movq	_CISREG_CCSR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	addl	%r13d, %edx
	shrl	%edx
	leaq	-43(%rbp), %r8
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$1, %ecx
	callq	_pcmcia_write_cis_mem
	movl	4(%r15), %eax
LBB0_39:
	movq	_PRESENT_EXT_STATUS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_41
## %bb.40:
	movq	_CISREG_ESR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	addl	%r13d, %edx
	shrl	%edx
	leaq	-42(%rbp), %r8
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$1, %ecx
	callq	_pcmcia_write_cis_mem
	movl	4(%r15), %eax
LBB0_41:
	movq	_PRESENT_IOBASE_0@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_43
## %bb.42:
	movq	8(%r12), %rax
	movb	(%rax), %al
	movb	%al, -88(%rbp)
	movq	_CISREG_IOBASE_0@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	addl	%r13d, %edx
	shrl	%edx
	leaq	-88(%rbp), %r12
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$1, %ecx
	movq	%r12, %r8
	callq	_pcmcia_write_cis_mem
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movb	1(%rax), %al
	movb	%al, -88(%rbp)
	movq	_CISREG_IOBASE_1@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	addl	%r13d, %edx
	shrl	%edx
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$1, %ecx
	movq	%r12, %r8
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	callq	_pcmcia_write_cis_mem
	movl	4(%r15), %eax
LBB0_43:
	movq	_PRESENT_IOSIZE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_45
## %bb.44:
	movq	8(%r12), %rdi
	callq	_resource_size
	movl	%eax, %r12d
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rdi
	addq	$4, %rdi
	callq	_resource_size
	addb	%r12b, %al
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	decb	%al
	movb	%al, -88(%rbp)
	movq	_CISREG_IOSIZE@GOTPCREL(%rip), %rax
	addl	(%rax), %r13d
	shrl	%r13d
	leaq	-88(%rbp), %r8
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	%r13d, %edx
	movl	$1, %ecx
	callq	_pcmcia_write_cis_mem
LBB0_45:
	movl	(%r12), %ecx
	movq	_CONFIG_IO_REQ@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_56
## %bb.46:
	movq	_io_speed@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)
	movq	_MAX_IO_WIN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_56
## %bb.47:
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	16(%rbx), %rcx
	xorl	%r14d, %r14d
	leaq	-88(%rbp), %r12
	xorl	%r13d, %r13d
	jmp	LBB0_51
	.p2align	4, 0x90
LBB0_48:                                ##   in Loop: Header=BB0_51 Depth=1
	orl	(%rsi), %eax
	movl	%eax, -76(%rbp)
LBB0_49:                                ##   in Loop: Header=BB0_51 Depth=1
	movl	8(%rdx), %eax
	movl	%eax, -80(%rbp)
	movl	4(%rdx), %eax
	movl	%eax, -84(%rbp)
	movq	24(%rbx), %rax
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	*(%rax)
	movq	16(%rbx), %rcx
	incl	(%rcx,%r14)
	movq	_MAX_IO_WIN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_50:                                ##   in Loop: Header=BB0_51 Depth=1
	incq	%r13
	movslq	%eax, %rdx
	addq	$16, %r14
	cmpq	%rdx, %r13
	jge	LBB0_55
LBB0_51:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%rcx,%r14), %rdx
	testq	%rdx, %rdx
	je	LBB0_50
## %bb.52:                              ##   in Loop: Header=BB0_51 Depth=1
	movl	%r13d, -88(%rbp)
	movq	_MAP_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -76(%rbp)
	movq	_IO_DATA_PATH_WIDTH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	(%rdx), %ecx
	movq	_MAP_16BIT@GOTPCREL(%rip), %rsi
	cmpl	$129, %ecx
	je	LBB0_48
## %bb.53:                              ##   in Loop: Header=BB0_51 Depth=1
	cmpl	$128, %ecx
	jne	LBB0_49
## %bb.54:                              ##   in Loop: Header=BB0_51 Depth=1
	movq	_MAP_AUTOSZ@GOTPCREL(%rip), %rsi
	jmp	LBB0_48
LBB0_55:
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movl	(%r12), %ecx
	movq	-64(%rbp), %r14                 ## 8-byte Reload
LBB0_56:
	movq	_CONFIG_LOCKED@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, (%r12)
	movl	$1, 16(%r15)
	movq	%r14, %rdi
	callq	_mutex_unlock
	xorl	%ebx, %ebx
	jmp	LBB0_8
LBB0_57:
	movq	_CONF_ENABLE_IOCARD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%r13d, %eax
	jne	LBB0_12
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_SOCKET_PRESENT,4,2             ## @SOCKET_PRESENT
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_CONFIG_LOCKED,4,2              ## @CONFIG_LOCKED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Configuration is locked\n"

	.comm	_EACCES,4,2                     ## @EACCES
L_.str.1:                               ## @.str.1
	.asciz	"Unable to set socket state\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_CONF_ENABLE_IRQ,4,2            ## @CONF_ENABLE_IRQ
	.comm	_CONF_ENABLE_IOCARD,4,2         ## @CONF_ENABLE_IOCARD
	.comm	_SS_IOCARD,4,2                  ## @SS_IOCARD
	.comm	_CONF_ENABLE_ZVCARD,4,2         ## @CONF_ENABLE_ZVCARD
	.comm	_SS_ZVCARD,4,2                  ## @SS_ZVCARD
	.comm	_CONF_ENABLE_SPKR,4,2           ## @CONF_ENABLE_SPKR
	.comm	_SS_SPKR_ENA,4,2                ## @SS_SPKR_ENA
	.comm	_CCSR_AUDIO_ENA,1,0             ## @CCSR_AUDIO_ENA
	.comm	_PRESENT_STATUS,4,2             ## @PRESENT_STATUS
L_.str.2:                               ## @.str.2
	.asciz	"speaker requested, but PRESENT_STATUS not set!\n"

	.comm	_CONF_ENABLE_ESR,4,2            ## @CONF_ENABLE_ESR
	.comm	_PRESENT_EXT_STATUS,4,2         ## @PRESENT_EXT_STATUS
	.comm	_ESR_REQ_ATTN_ENA,1,0           ## @ESR_REQ_ATTN_ENA
L_.str.3:                               ## @.str.3
	.asciz	"enable_device: V %d, flags %x, base %x, regs %x, idx %x\n"

	.comm	_PRESENT_COPY,4,2               ## @PRESENT_COPY
L_.str.4:                               ## @.str.4
	.asciz	"clearing CISREG_SCR\n"

	.comm	_CISREG_SCR,4,2                 ## @CISREG_SCR
	.comm	_PRESENT_PIN_REPLACE,4,2        ## @PRESENT_PIN_REPLACE
L_.str.5:                               ## @.str.5
	.asciz	"clearing CISREG_PRR\n"

	.comm	_CISREG_PRR,4,2                 ## @CISREG_PRR
	.comm	_PRESENT_OPTION,4,2             ## @PRESENT_OPTION
	.comm	_COR_CONFIG_MASK,1,0            ## @COR_CONFIG_MASK
	.comm	_COR_MFC_CONFIG_MASK,1,0        ## @COR_MFC_CONFIG_MASK
	.comm	_COR_FUNC_ENA,1,0               ## @COR_FUNC_ENA
	.comm	_COR_IREQ_ENA,1,0               ## @COR_IREQ_ENA
	.comm	_PRESENT_IOBASE_0,4,2           ## @PRESENT_IOBASE_0
	.comm	_COR_ADDR_DECODE,1,0            ## @COR_ADDR_DECODE
	.comm	_CONF_ENABLE_PULSE_IRQ,4,2      ## @CONF_ENABLE_PULSE_IRQ
	.comm	_COR_LEVEL_REQ,1,0              ## @COR_LEVEL_REQ
	.comm	_CISREG_COR,4,2                 ## @CISREG_COR
	.comm	_CISREG_CCSR,4,2                ## @CISREG_CCSR
	.comm	_CISREG_ESR,4,2                 ## @CISREG_ESR
	.comm	_CISREG_IOBASE_0,4,2            ## @CISREG_IOBASE_0
	.comm	_CISREG_IOBASE_1,4,2            ## @CISREG_IOBASE_1
	.comm	_PRESENT_IOSIZE,4,2             ## @PRESENT_IOSIZE
	.comm	_CISREG_IOSIZE,4,2              ## @CISREG_IOSIZE
	.comm	_CONFIG_IO_REQ,4,2              ## @CONFIG_IO_REQ
	.comm	_io_speed,4,2                   ## @io_speed
	.comm	_MAX_IO_WIN,4,2                 ## @MAX_IO_WIN
	.comm	_MAP_ACTIVE,4,2                 ## @MAP_ACTIVE
	.comm	_IO_DATA_PATH_WIDTH,4,2         ## @IO_DATA_PATH_WIDTH
	.comm	_MAP_16BIT,4,2                  ## @MAP_16BIT
	.comm	_MAP_AUTOSZ,4,2                 ## @MAP_AUTOSZ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pcmcia_enable_device           ; -- Begin function pcmcia_enable_device
	.p2align	2
_pcmcia_enable_device:                  ; @pcmcia_enable_device
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	ldr	x21, [x0, #48]
	strh	wzr, [sp, #54]
	strb	wzr, [sp, #53]
	ldr	w8, [x21]
Lloh0:
	adrp	x9, _SOCKET_PRESENT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SOCKET_PRESENT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.1:
	mov	x19, x0
	ldr	w25, [x0]
	add	x20, x21, #8
	mov	x0, x20
	bl	_mutex_lock
	ldr	x23, [x19, #40]
	ldr	w8, [x23]
Lloh3:
	adrp	x24, _CONFIG_LOCKED@GOTPAGE
Lloh4:
	ldr	x24, [x24, _CONFIG_LOCKED@GOTPAGEOFF]
	ldr	w9, [x24]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.2:
	mov	x0, x20
	bl	_mutex_unlock
	add	x0, x19, #20
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_dbg
Lloh7:
	adrp	x8, _EACCES@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EACCES@GOTPAGEOFF]
	b	LBB0_6
LBB0_3:
Lloh9:
	adrp	x8, _ENODEV@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
	ldr	w8, [x19, #24]
	add	x22, x21, #40
	str	w8, [x21, #56]
	ldr	x8, [x21, #24]
	ldr	x8, [x8, #8]
	mov	x0, x21
	mov	x1, x22
	blr	x8
	cbz	x0, LBB0_8
; %bb.5:
	mov	x0, x20
	bl	_mutex_unlock
	add	x0, x19, #20
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_warn
Lloh13:
	adrp	x8, _EINVAL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_8:
	ldr	x9, [x19, #32]
Lloh15:
	adrp	x27, _CONF_ENABLE_IRQ@GOTPAGE
Lloh16:
	ldr	x27, [x27, _CONF_ENABLE_IRQ@GOTPAGEOFF]
Lloh17:
	adrp	x8, _CONF_ENABLE_IOCARD@GOTPAGE
Lloh18:
	ldr	x8, [x8, _CONF_ENABLE_IOCARD@GOTPAGEOFF]
	cbnz	x9, LBB0_10
; %bb.9:
	ldr	w9, [x27]
	tst	w9, w25
	b.eq	LBB0_58
LBB0_10:
	ldr	w9, [x8]
	orr	w25, w9, w25
LBB0_11:
Lloh19:
	adrp	x8, _SS_IOCARD@GOTPAGE
Lloh20:
	ldr	x8, [x8, _SS_IOCARD@GOTPAGEOFF]
	tst	w9, w25
	b.eq	LBB0_13
; %bb.12:
	ldr	w9, [x8]
	ldr	w10, [x22]
	orr	w9, w10, w9
	str	w9, [x22]
LBB0_13:
Lloh21:
	adrp	x9, _CONF_ENABLE_ZVCARD@GOTPAGE
Lloh22:
	ldr	x9, [x9, _CONF_ENABLE_ZVCARD@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	tst	w9, w25
	b.eq	LBB0_15
; %bb.14:
Lloh24:
	adrp	x9, _SS_ZVCARD@GOTPAGE
Lloh25:
	ldr	x9, [x9, _SS_ZVCARD@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	ldr	w8, [x8]
	orr	w8, w8, w9
	ldr	w9, [x22]
	orr	w8, w8, w9
	str	w8, [x22]
LBB0_15:
Lloh27:
	adrp	x8, _CONF_ENABLE_SPKR@GOTPAGE
Lloh28:
	ldr	x8, [x8, _CONF_ENABLE_SPKR@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
Lloh30:
	adrp	x28, _PRESENT_STATUS@GOTPAGE
Lloh31:
	ldr	x28, [x28, _PRESENT_STATUS@GOTPAGEOFF]
	tst	w8, w25
	b.eq	LBB0_18
; %bb.16:
Lloh32:
	adrp	x8, _SS_SPKR_ENA@GOTPAGE
Lloh33:
	ldr	x8, [x8, _SS_SPKR_ENA@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	ldr	w9, [x22]
	orr	w8, w9, w8
Lloh35:
	adrp	x9, _CCSR_AUDIO_ENA@GOTPAGE
Lloh36:
	ldr	x9, [x9, _CCSR_AUDIO_ENA@GOTPAGEOFF]
	str	w8, [x22]
	ldrb	w8, [x9]
	strb	w8, [sp, #55]
	ldr	w8, [x19, #4]
	ldr	w9, [x28]
	tst	w9, w8
	b.ne	LBB0_18
; %bb.17:
	add	x0, x19, #20
Lloh37:
	adrp	x1, l_.str.2@PAGE
Lloh38:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dev_warn
LBB0_18:
	ldr	w8, [x27]
	tst	w8, w25
	b.eq	LBB0_20
; %bb.19:
	ldr	x8, [x21, #64]
	b	LBB0_21
LBB0_20:
	mov	x8, #0
LBB0_21:
	str	x8, [x21, #48]
Lloh39:
	adrp	x8, _CONF_ENABLE_ESR@GOTPAGE
Lloh40:
	ldr	x8, [x8, _CONF_ENABLE_ESR@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
Lloh42:
	adrp	x9, _PRESENT_EXT_STATUS@GOTPAGE
Lloh43:
	ldr	x9, [x9, _PRESENT_EXT_STATUS@GOTPAGEOFF]
	tst	w8, w25
	b.eq	LBB0_23
; %bb.22:
	ldr	w8, [x9]
	ldr	w9, [x19, #4]
	orr	w8, w9, w8
	str	w8, [x19, #4]
Lloh44:
	adrp	x8, _ESR_REQ_ATTN_ENA@GOTPAGE
Lloh45:
	ldr	x8, [x8, _ESR_REQ_ATTN_ENA@GOTPAGEOFF]
	ldrb	w8, [x8]
	strb	w8, [sp, #54]
LBB0_23:
	ldr	x8, [x21, #24]
	ldr	x8, [x8, #8]
	mov	x0, x21
	mov	x1, x22
	blr	x8
	ldr	w8, [x21, #32]
	add	w8, w8, #1
	str	w8, [x21, #32]
	add	x22, x19, #20
	ldrb	w8, [x19, #12]
	ldr	w9, [x19, #24]
	ldp	w11, w10, [x19, #4]
	stp	x11, x8, [sp, #24]
	stp	x25, x10, [sp, #8]
	str	x9, [sp]
Lloh46:
	adrp	x1, l_.str.3@PAGE
Lloh47:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x22
	bl	_dev_dbg
	ldp	w8, w26, [x19, #4]
Lloh48:
	adrp	x9, _PRESENT_COPY@GOTPAGE
Lloh49:
	ldr	x9, [x9, _PRESENT_COPY@GOTPAGEOFF]
Lloh50:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_25
; %bb.24:
	strb	wzr, [sp, #56]
Lloh51:
	adrp	x1, l_.str.4@PAGE
Lloh52:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x22
	bl	_dev_dbg
Lloh53:
	adrp	x8, _CISREG_SCR@GOTPAGE
Lloh54:
	ldr	x8, [x8, _CISREG_SCR@GOTPAGEOFF]
Lloh55:
	ldr	w8, [x8]
	add	w8, w8, w26
	lsr	w2, w8, #1
	add	x4, sp, #56
	mov	x0, x21
	mov	w1, #1
	mov	w3, #1
	bl	_pcmcia_write_cis_mem
	ldr	w8, [x19, #4]
LBB0_25:
Lloh56:
	adrp	x9, _PRESENT_PIN_REPLACE@GOTPAGE
Lloh57:
	ldr	x9, [x9, _PRESENT_PIN_REPLACE@GOTPAGEOFF]
Lloh58:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_27
; %bb.26:
	strb	wzr, [sp, #56]
Lloh59:
	adrp	x1, l_.str.5@PAGE
Lloh60:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x22
	bl	_dev_dbg
Lloh61:
	adrp	x8, _CISREG_PRR@GOTPAGE
Lloh62:
	ldr	x8, [x8, _CISREG_PRR@GOTPAGEOFF]
Lloh63:
	ldr	w8, [x8]
	add	w8, w8, w26
	lsr	w2, w8, #1
	add	x4, sp, #56
	mov	x0, x21
	mov	w1, #1
	mov	w3, #1
	bl	_pcmcia_write_cis_mem
	ldr	w8, [x19, #4]
LBB0_27:
Lloh64:
	adrp	x9, _PRESENT_OPTION@GOTPAGE
Lloh65:
	ldr	x9, [x9, _PRESENT_OPTION@GOTPAGEOFF]
Lloh66:
	ldr	w9, [x9]
Lloh67:
	adrp	x22, _PRESENT_IOBASE_0@GOTPAGE
Lloh68:
	ldr	x22, [x22, _PRESENT_IOBASE_0@GOTPAGEOFF]
	tst	w9, w8
	b.eq	LBB0_37
; %bb.28:
	ldr	w10, [x21, #4]
	ldrb	w9, [x19, #12]
	cmp	w10, #1
	b.ne	LBB0_30
; %bb.29:
Lloh69:
	adrp	x8, _COR_CONFIG_MASK@GOTPAGE
Lloh70:
	ldr	x8, [x8, _COR_CONFIG_MASK@GOTPAGEOFF]
	ldrb	w8, [x8]
	and	w9, w8, w9
	b	LBB0_32
LBB0_30:
Lloh71:
	adrp	x10, _COR_MFC_CONFIG_MASK@GOTPAGE
Lloh72:
	ldr	x10, [x10, _COR_MFC_CONFIG_MASK@GOTPAGEOFF]
	ldrb	w10, [x10]
	and	w9, w10, w9
Lloh73:
	adrp	x10, _COR_FUNC_ENA@GOTPAGE
Lloh74:
	ldr	x10, [x10, _COR_FUNC_ENA@GOTPAGEOFF]
	ldrb	w10, [x10]
Lloh75:
	adrp	x11, _COR_IREQ_ENA@GOTPAGE
Lloh76:
	ldr	x11, [x11, _COR_IREQ_ENA@GOTPAGEOFF]
	ldrb	w11, [x11]
	orr	w9, w10, w9
	orr	w9, w9, w11
	strb	w9, [sp, #53]
	ldr	w10, [x22]
	tst	w10, w8
	b.eq	LBB0_33
; %bb.31:
Lloh77:
	adrp	x8, _COR_ADDR_DECODE@GOTPAGE
Lloh78:
	ldr	x8, [x8, _COR_ADDR_DECODE@GOTPAGEOFF]
	ldrb	w8, [x8]
	orr	w9, w8, w9
LBB0_32:
	strb	w9, [sp, #53]
LBB0_33:
	ldr	w8, [x27]
	tst	w8, w25
	b.eq	LBB0_36
; %bb.34:
Lloh79:
	adrp	x8, _CONF_ENABLE_PULSE_IRQ@GOTPAGE
Lloh80:
	ldr	x8, [x8, _CONF_ENABLE_PULSE_IRQ@GOTPAGEOFF]
Lloh81:
	ldr	w8, [x8]
	tst	w8, w25
	b.ne	LBB0_36
; %bb.35:
Lloh82:
	adrp	x8, _COR_LEVEL_REQ@GOTPAGE
Lloh83:
	ldr	x8, [x8, _COR_LEVEL_REQ@GOTPAGEOFF]
	ldrb	w8, [x8]
	orr	w8, w9, w8
	strb	w8, [sp, #53]
LBB0_36:
Lloh84:
	adrp	x8, _CISREG_COR@GOTPAGE
Lloh85:
	ldr	x8, [x8, _CISREG_COR@GOTPAGEOFF]
Lloh86:
	ldr	w8, [x8]
	add	w8, w8, w26
	lsr	w2, w8, #1
	add	x4, sp, #53
	mov	x0, x21
	mov	w1, #1
	mov	w3, #1
	bl	_pcmcia_write_cis_mem
	mov	w0, #40
	bl	_msleep
	ldr	w8, [x19, #4]
LBB0_37:
	ldr	w9, [x28]
	tst	w9, w8
	b.eq	LBB0_39
; %bb.38:
Lloh87:
	adrp	x8, _CISREG_CCSR@GOTPAGE
Lloh88:
	ldr	x8, [x8, _CISREG_CCSR@GOTPAGEOFF]
Lloh89:
	ldr	w8, [x8]
	add	w8, w8, w26
	lsr	w2, w8, #1
	add	x4, sp, #55
	mov	x0, x21
	mov	w1, #1
	mov	w3, #1
	bl	_pcmcia_write_cis_mem
	ldr	w8, [x19, #4]
LBB0_39:
Lloh90:
	adrp	x9, _PRESENT_EXT_STATUS@GOTPAGE
Lloh91:
	ldr	x9, [x9, _PRESENT_EXT_STATUS@GOTPAGEOFF]
Lloh92:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_41
; %bb.40:
Lloh93:
	adrp	x8, _CISREG_ESR@GOTPAGE
Lloh94:
	ldr	x8, [x8, _CISREG_ESR@GOTPAGEOFF]
Lloh95:
	ldr	w8, [x8]
	add	w8, w8, w26
	lsr	w2, w8, #1
	add	x4, sp, #54
	mov	x0, x21
	mov	w1, #1
	mov	w3, #1
	bl	_pcmcia_write_cis_mem
	ldr	w8, [x19, #4]
LBB0_41:
	ldr	w9, [x22]
	tst	w9, w8
	b.eq	LBB0_43
; %bb.42:
	ldr	x8, [x23, #8]
	ldr	w8, [x8]
	strb	w8, [sp, #56]
Lloh96:
	adrp	x8, _CISREG_IOBASE_0@GOTPAGE
Lloh97:
	ldr	x8, [x8, _CISREG_IOBASE_0@GOTPAGEOFF]
Lloh98:
	ldr	w8, [x8]
	add	w8, w8, w26
	lsr	w2, w8, #1
	add	x4, sp, #56
	mov	x0, x21
	mov	w1, #1
	mov	w3, #1
	bl	_pcmcia_write_cis_mem
	ldr	x8, [x23, #8]
	ldr	w8, [x8]
	lsr	w8, w8, #8
	strb	w8, [sp, #56]
Lloh99:
	adrp	x8, _CISREG_IOBASE_1@GOTPAGE
Lloh100:
	ldr	x8, [x8, _CISREG_IOBASE_1@GOTPAGEOFF]
Lloh101:
	ldr	w8, [x8]
	add	w8, w8, w26
	lsr	w2, w8, #1
	add	x4, sp, #56
	mov	x0, x21
	mov	w1, #1
	mov	w3, #1
	bl	_pcmcia_write_cis_mem
	ldr	w8, [x19, #4]
LBB0_43:
Lloh102:
	adrp	x9, _PRESENT_IOSIZE@GOTPAGE
Lloh103:
	ldr	x9, [x9, _PRESENT_IOSIZE@GOTPAGEOFF]
Lloh104:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_45
; %bb.44:
	ldr	x0, [x23, #8]
	bl	_resource_size
	mov	x22, x0
	ldr	x8, [x23, #8]
	add	x0, x8, #4
	bl	_resource_size
	add	w8, w22, w0
	sub	w8, w8, #1
	strb	w8, [sp, #56]
Lloh105:
	adrp	x8, _CISREG_IOSIZE@GOTPAGE
Lloh106:
	ldr	x8, [x8, _CISREG_IOSIZE@GOTPAGEOFF]
Lloh107:
	ldr	w8, [x8]
	add	w8, w8, w26
	lsr	w2, w8, #1
	add	x4, sp, #56
	mov	x0, x21
	mov	w1, #1
	mov	w3, #1
	bl	_pcmcia_write_cis_mem
LBB0_45:
	ldr	w9, [x23]
Lloh108:
	adrp	x8, _CONFIG_IO_REQ@GOTPAGE
Lloh109:
	ldr	x8, [x8, _CONFIG_IO_REQ@GOTPAGEOFF]
Lloh110:
	ldr	w8, [x8]
	tst	w8, w9
	b.eq	LBB0_57
; %bb.46:
Lloh111:
	adrp	x8, _io_speed@GOTPAGE
Lloh112:
	ldr	x8, [x8, _io_speed@GOTPAGEOFF]
Lloh113:
	ldr	w8, [x8]
	str	w8, [sp, #72]
Lloh114:
	adrp	x22, _MAX_IO_WIN@GOTPAGE
Lloh115:
	ldr	x22, [x22, _MAX_IO_WIN@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_57
; %bb.47:
	mov	x25, #0
	mov	x26, #0
	ldr	x9, [x21, #16]
Lloh116:
	adrp	x27, _MAP_ACTIVE@GOTPAGE
Lloh117:
	ldr	x27, [x27, _MAP_ACTIVE@GOTPAGEOFF]
Lloh118:
	adrp	x28, _IO_DATA_PATH_WIDTH@GOTPAGE
Lloh119:
	ldr	x28, [x28, _IO_DATA_PATH_WIDTH@GOTPAGEOFF]
Lloh120:
	adrp	x24, _MAP_AUTOSZ@GOTPAGE
Lloh121:
	ldr	x24, [x24, _MAP_AUTOSZ@GOTPAGEOFF]
	b	LBB0_52
LBB0_48:                                ;   in Loop: Header=BB0_52 Depth=1
Lloh122:
	adrp	x9, _MAP_16BIT@GOTPAGE
Lloh123:
	ldr	x9, [x9, _MAP_16BIT@GOTPAGEOFF]
LBB0_49:                                ;   in Loop: Header=BB0_52 Depth=1
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [sp, #68]
LBB0_50:                                ;   in Loop: Header=BB0_52 Depth=1
	ldur	d0, [x10, #4]
	stur	d0, [sp, #60]
	ldr	x8, [x21, #24]
	ldr	x8, [x8]
	add	x1, sp, #56
	mov	x0, x21
	blr	x8
	ldr	x9, [x21, #16]
	ldr	w8, [x9, x25]
	add	w8, w8, #1
	str	w8, [x9, x25]
	ldr	w8, [x22]
LBB0_51:                                ;   in Loop: Header=BB0_52 Depth=1
	add	x26, x26, #1
	add	x25, x25, #16
	cmp	x26, w8, sxtw
	b.ge	LBB0_56
LBB0_52:                                ; =>This Inner Loop Header: Depth=1
	add	x10, x9, x25
	ldr	x10, [x10, #8]
	cbz	x10, LBB0_51
; %bb.53:                               ;   in Loop: Header=BB0_52 Depth=1
	ldr	w8, [x27]
	str	w26, [sp, #56]
	str	w8, [sp, #68]
	ldr	w9, [x10]
	ldr	w11, [x28]
	and	w9, w11, w9
	cmp	w9, #129
	b.eq	LBB0_48
; %bb.54:                               ;   in Loop: Header=BB0_52 Depth=1
	cmp	w9, #128
	b.ne	LBB0_50
; %bb.55:                               ;   in Loop: Header=BB0_52 Depth=1
	mov	x9, x24
	b	LBB0_49
LBB0_56:
	ldr	w9, [x23]
Lloh124:
	adrp	x24, _CONFIG_LOCKED@GOTPAGE
Lloh125:
	ldr	x24, [x24, _CONFIG_LOCKED@GOTPAGEOFF]
LBB0_57:
	ldr	w8, [x24]
	orr	w8, w9, w8
	str	w8, [x23]
	mov	w8, #1
	str	w8, [x19, #16]
	mov	x0, x20
	bl	_mutex_unlock
	mov	w0, #0
	b	LBB0_7
LBB0_58:
	ldr	w9, [x8]
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpLdrGot	Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGot	Lloh69, Lloh70
	.loh AdrpLdrGot	Lloh75, Lloh76
	.loh AdrpLdrGot	Lloh73, Lloh74
	.loh AdrpLdrGot	Lloh71, Lloh72
	.loh AdrpLdrGot	Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpLdrGot	Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh99, Lloh100, Lloh101
	.loh AdrpLdrGotLdr	Lloh96, Lloh97, Lloh98
	.loh AdrpLdrGotLdr	Lloh102, Lloh103, Lloh104
	.loh AdrpLdrGotLdr	Lloh105, Lloh106, Lloh107
	.loh AdrpLdrGotLdr	Lloh108, Lloh109, Lloh110
	.loh AdrpLdrGot	Lloh114, Lloh115
	.loh AdrpLdrGotLdr	Lloh111, Lloh112, Lloh113
	.loh AdrpLdrGot	Lloh120, Lloh121
	.loh AdrpLdrGot	Lloh118, Lloh119
	.loh AdrpLdrGot	Lloh116, Lloh117
	.loh AdrpLdrGot	Lloh122, Lloh123
	.loh AdrpLdrGot	Lloh124, Lloh125
	.cfi_endproc
                                        ; -- End function
	.comm	_SOCKET_PRESENT,4,2             ; @SOCKET_PRESENT
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_CONFIG_LOCKED,4,2              ; @CONFIG_LOCKED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Configuration is locked\n"

	.comm	_EACCES,4,2                     ; @EACCES
l_.str.1:                               ; @.str.1
	.asciz	"Unable to set socket state\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_CONF_ENABLE_IRQ,4,2            ; @CONF_ENABLE_IRQ
	.comm	_CONF_ENABLE_IOCARD,4,2         ; @CONF_ENABLE_IOCARD
	.comm	_SS_IOCARD,4,2                  ; @SS_IOCARD
	.comm	_CONF_ENABLE_ZVCARD,4,2         ; @CONF_ENABLE_ZVCARD
	.comm	_SS_ZVCARD,4,2                  ; @SS_ZVCARD
	.comm	_CONF_ENABLE_SPKR,4,2           ; @CONF_ENABLE_SPKR
	.comm	_SS_SPKR_ENA,4,2                ; @SS_SPKR_ENA
	.comm	_CCSR_AUDIO_ENA,1,0             ; @CCSR_AUDIO_ENA
	.comm	_PRESENT_STATUS,4,2             ; @PRESENT_STATUS
l_.str.2:                               ; @.str.2
	.asciz	"speaker requested, but PRESENT_STATUS not set!\n"

	.comm	_CONF_ENABLE_ESR,4,2            ; @CONF_ENABLE_ESR
	.comm	_PRESENT_EXT_STATUS,4,2         ; @PRESENT_EXT_STATUS
	.comm	_ESR_REQ_ATTN_ENA,1,0           ; @ESR_REQ_ATTN_ENA
l_.str.3:                               ; @.str.3
	.asciz	"enable_device: V %d, flags %x, base %x, regs %x, idx %x\n"

	.comm	_PRESENT_COPY,4,2               ; @PRESENT_COPY
l_.str.4:                               ; @.str.4
	.asciz	"clearing CISREG_SCR\n"

	.comm	_CISREG_SCR,4,2                 ; @CISREG_SCR
	.comm	_PRESENT_PIN_REPLACE,4,2        ; @PRESENT_PIN_REPLACE
l_.str.5:                               ; @.str.5
	.asciz	"clearing CISREG_PRR\n"

	.comm	_CISREG_PRR,4,2                 ; @CISREG_PRR
	.comm	_PRESENT_OPTION,4,2             ; @PRESENT_OPTION
	.comm	_COR_CONFIG_MASK,1,0            ; @COR_CONFIG_MASK
	.comm	_COR_MFC_CONFIG_MASK,1,0        ; @COR_MFC_CONFIG_MASK
	.comm	_COR_FUNC_ENA,1,0               ; @COR_FUNC_ENA
	.comm	_COR_IREQ_ENA,1,0               ; @COR_IREQ_ENA
	.comm	_PRESENT_IOBASE_0,4,2           ; @PRESENT_IOBASE_0
	.comm	_COR_ADDR_DECODE,1,0            ; @COR_ADDR_DECODE
	.comm	_CONF_ENABLE_PULSE_IRQ,4,2      ; @CONF_ENABLE_PULSE_IRQ
	.comm	_COR_LEVEL_REQ,1,0              ; @COR_LEVEL_REQ
	.comm	_CISREG_COR,4,2                 ; @CISREG_COR
	.comm	_CISREG_CCSR,4,2                ; @CISREG_CCSR
	.comm	_CISREG_ESR,4,2                 ; @CISREG_ESR
	.comm	_CISREG_IOBASE_0,4,2            ; @CISREG_IOBASE_0
	.comm	_CISREG_IOBASE_1,4,2            ; @CISREG_IOBASE_1
	.comm	_PRESENT_IOSIZE,4,2             ; @PRESENT_IOSIZE
	.comm	_CISREG_IOSIZE,4,2              ; @CISREG_IOSIZE
	.comm	_CONFIG_IO_REQ,4,2              ; @CONFIG_IO_REQ
	.comm	_io_speed,4,2                   ; @io_speed
	.comm	_MAX_IO_WIN,4,2                 ; @MAX_IO_WIN
	.comm	_MAP_ACTIVE,4,2                 ; @MAP_ACTIVE
	.comm	_IO_DATA_PATH_WIDTH,4,2         ; @IO_DATA_PATH_WIDTH
	.comm	_MAP_16BIT,4,2                  ; @MAP_16BIT
	.comm	_MAP_AUTOSZ,4,2                 ; @MAP_AUTOSZ
.subsections_via_symbols
