	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mst_pcmcia_socket_state
_mst_pcmcia_socket_state:               ## @mst_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
	movq	_mst_pcmcia_bvd1_status@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rdi), %rcx
	movl	(%rsi), %edx
	cmpl	%edx, (%rax,%rcx,4)
	jne	LBB0_1
## %bb.3:
	popq	%rbp
	retq
LBB0_1:
	movl	%edx, (%rax,%rcx,4)
	cmpl	$0, (%rsi)
	movq	8(%rdi), %rax
	je	LBB0_2
## %bb.4:
	movq	_SOC_STAT_BVD1@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edi
	popq	%rbp
	jmp	_enable_irq                     ## TAILCALL
LBB0_2:
	movq	_SOC_STAT_BVD2@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edi
	popq	%rbp
	jmp	_disable_irq                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_mst_pcmcia_bvd1_status,8,3     ## @mst_pcmcia_bvd1_status
	.comm	_SOC_STAT_BVD1,8,3              ## @SOC_STAT_BVD1
	.comm	_SOC_STAT_BVD2,8,3              ## @SOC_STAT_BVD2
	.no_dead_strip	_mst_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 mst_pcmcia_socket_state
_mst_pcmcia_socket_state:               ; @mst_pcmcia_socket_state
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _mst_pcmcia_bvd1_status@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mst_pcmcia_bvd1_status@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x9, [x0]
	ldr	w11, [x8, x9, lsl #2]
	ldr	w10, [x1]
	cmp	w11, w10
	b.ne	LBB0_2
; %bb.1:
	ret
LBB0_2:
	str	w10, [x8, x9, lsl #2]
	ldr	w9, [x1]
	ldr	x8, [x0, #8]
	cbz	w9, LBB0_4
; %bb.3:
Lloh3:
	adrp	x9, _SOC_STAT_BVD1@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SOC_STAT_BVD1@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldr	w0, [x8, x9, lsl #2]
	b	_enable_irq
LBB0_4:
Lloh6:
	adrp	x9, _SOC_STAT_BVD2@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SOC_STAT_BVD2@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	ldr	w0, [x8, x9, lsl #2]
	b	_disable_irq
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_mst_pcmcia_bvd1_status,8,3     ; @mst_pcmcia_bvd1_status
	.comm	_SOC_STAT_BVD1,8,3              ; @SOC_STAT_BVD1
	.comm	_SOC_STAT_BVD2,8,3              ; @SOC_STAT_BVD2
	.no_dead_strip	_mst_pcmcia_socket_state
.subsections_via_symbols
