	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function simpad_pcmcia_socket_state
_simpad_pcmcia_socket_state:            ## @simpad_pcmcia_socket_state
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	xorl	%eax, %eax
	callq	_simpad_get_cs3_ro
	movq	_PCMCIA_VS1@GOTPCREL(%rip), %rcx
	movq	_PCMCIA_VS2@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	orq	(%rcx), %rdx
	notq	%rax
	xorl	%ecx, %ecx
	testq	%rax, %rdx
	setne	%cl
	movl	%ecx, (%rbx)
	movq	$0, 8(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCMCIA_VS1,8,3                 ## @PCMCIA_VS1
	.comm	_PCMCIA_VS2,8,3                 ## @PCMCIA_VS2
	.no_dead_strip	_simpad_pcmcia_socket_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function simpad_pcmcia_socket_state
_simpad_pcmcia_socket_state:            ; @simpad_pcmcia_socket_state
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	bl	_simpad_get_cs3_ro
Lloh0:
	adrp	x8, _PCMCIA_VS1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PCMCIA_VS1@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _PCMCIA_VS2@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PCMCIA_VS2@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	orr	x8, x9, x8
	bics	xzr, x8, x0
	cset	w8, ne
	str	w8, [x19]
	str	xzr, [x19, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PCMCIA_VS1,8,3                 ; @PCMCIA_VS1
	.comm	_PCMCIA_VS2,8,3                 ; @PCMCIA_VS2
	.no_dead_strip	_simpad_pcmcia_socket_state
.subsections_via_symbols
