	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function trizeps_pcmcia_socket_state
LCPI0_0:
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_trizeps_pcmcia_socket_state:           ## @trizeps_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	_CFSR_readw
                                        ## kill: def $ax killed $ax def $eax
	movq	_trizeps_pcmcia_status@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movq	(%rbx), %rcx
	movzwl	(%rdx,%rcx,2), %esi
	xorw	%ax, %si
	movq	_ConXS_CFSR_BVD_MASK@GOTPCREL(%rip), %rdi
	testw	%si, (%rdi)
	je	LBB0_2
## %bb.1:
	movw	%ax, (%rdx,%rcx,2)
LBB0_2:
	cmpq	$1, %rcx
	je	LBB0_5
## %bb.3:
	testq	%rcx, %rcx
	jne	LBB0_6
## %bb.4:
	movq	_ConXS_CFSR_BVD1@GOTPCREL(%rip), %rcx
	movq	_ConXS_CFSR_BVD2@GOTPCREL(%rip), %rdx
	movq	_ConXS_CFSR_VS1@GOTPCREL(%rip), %rsi
	movzwl	(%rcx), %ecx
	movd	%ecx, %xmm0
	pinsrw	$1, (%rdx), %xmm0
	pinsrw	$2, (%rsi), %xmm0
	movq	_ConXS_CFSR_VS2@GOTPCREL(%rip), %rcx
	pinsrw	$3, (%rcx), %xmm0
	movd	%eax, %xmm1
	pshuflw	$0, %xmm1, %xmm1                ## xmm1 = xmm1[0,0,0,0,4,5,6,7]
	pand	%xmm0, %xmm1
	pcmpeqd	%xmm0, %xmm0
	pxor	%xmm2, %xmm2
	pcmpeqw	%xmm1, %xmm2
	pxor	%xmm2, %xmm0
	pmovzxwd	%xmm0, %xmm0                    ## xmm0 = xmm0[0],zero,xmm0[1],zero,xmm0[2],zero,xmm0[3],zero
	pmovzxwd	%xmm2, %xmm1                    ## xmm1 = xmm2[0],zero,xmm2[1],zero,xmm2[2],zero,xmm2[3],zero
	pblendw	$15, %xmm0, %xmm1               ## xmm1 = xmm0[0,1,2,3],xmm1[4,5,6,7]
	pand	LCPI0_0(%rip), %xmm1
	movdqu	%xmm1, (%r14)
	jmp	LBB0_6
LBB0_5:
	pxor	%xmm0, %xmm0
	movdqu	%xmm0, (%r14)
	movq	$0, 16(%r14)
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_trizeps_pcmcia_status,8,3      ## @trizeps_pcmcia_status
	.comm	_ConXS_CFSR_BVD_MASK,2,1        ## @ConXS_CFSR_BVD_MASK
	.comm	_ConXS_CFSR_BVD1,2,1            ## @ConXS_CFSR_BVD1
	.comm	_ConXS_CFSR_BVD2,2,1            ## @ConXS_CFSR_BVD2
	.comm	_ConXS_CFSR_VS1,2,1             ## @ConXS_CFSR_VS1
	.comm	_ConXS_CFSR_VS2,2,1             ## @ConXS_CFSR_VS2
	.no_dead_strip	_trizeps_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 trizeps_pcmcia_socket_state
_trizeps_pcmcia_socket_state:           ; @trizeps_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
	mov	x20, x0
	bl	_CFSR_readw
Lloh0:
	adrp	x8, _trizeps_pcmcia_status@GOTPAGE
Lloh1:
	ldr	x8, [x8, _trizeps_pcmcia_status@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x8]
	ldr	x8, [x20]
	ldrh	w10, [x9, x8, lsl #1]
	eor	w10, w10, w0
Lloh3:
	adrp	x11, _ConXS_CFSR_BVD_MASK@GOTPAGE
Lloh4:
	ldr	x11, [x11, _ConXS_CFSR_BVD_MASK@GOTPAGEOFF]
	ldrh	w11, [x11]
	tst	w10, w11
	b.eq	LBB0_2
; %bb.1:
	strh	w0, [x9, x8, lsl #1]
LBB0_2:
	cmp	x8, #1
	b.eq	LBB0_5
; %bb.3:
	cbnz	x8, LBB0_6
; %bb.4:
Lloh5:
	adrp	x8, _ConXS_CFSR_BVD1@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ConXS_CFSR_BVD1@GOTPAGEOFF]
	ldrh	w8, [x8]
	tst	w8, w0
Lloh7:
	adrp	x8, _ConXS_CFSR_BVD2@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ConXS_CFSR_BVD2@GOTPAGEOFF]
	cset	w9, ne
	ldrh	w8, [x8]
	tst	w8, w0
	cset	w8, ne
Lloh9:
	adrp	x10, _ConXS_CFSR_VS1@GOTPAGE
Lloh10:
	ldr	x10, [x10, _ConXS_CFSR_VS1@GOTPAGEOFF]
	ldrh	w10, [x10]
	tst	w10, w0
	cset	w10, eq
Lloh11:
	adrp	x11, _ConXS_CFSR_VS2@GOTPAGE
Lloh12:
	ldr	x11, [x11, _ConXS_CFSR_VS2@GOTPAGEOFF]
	ldrh	w11, [x11]
	tst	w11, w0
	stp	w9, w8, [x19]
	cset	w8, eq
	stp	w10, w8, [x19, #8]
	b	LBB0_6
LBB0_5:
	stp	xzr, xzr, [x19]
	str	xzr, [x19, #16]
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_trizeps_pcmcia_status,8,3      ; @trizeps_pcmcia_status
	.comm	_ConXS_CFSR_BVD_MASK,2,1        ; @ConXS_CFSR_BVD_MASK
	.comm	_ConXS_CFSR_BVD1,2,1            ; @ConXS_CFSR_BVD1
	.comm	_ConXS_CFSR_BVD2,2,1            ; @ConXS_CFSR_BVD2
	.comm	_ConXS_CFSR_VS1,2,1             ; @ConXS_CFSR_VS1
	.comm	_ConXS_CFSR_VS2,2,1             ; @ConXS_CFSR_VS2
	.no_dead_strip	_trizeps_pcmcia_socket_state
.subsections_via_symbols
