	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function soc_common_pcmcia_set_socket
_soc_common_pcmcia_set_socket:          ## @soc_common_pcmcia_set_socket
	.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	%rsi, %r14
	callq	_to_soc_pcmcia_socket
	movl	(%r14), %esi
	testl	%esi, %esi
	leaq	L_.str.1(%rip), %rdi
	leaq	L_.str.2(%rip), %rdx
	movq	%rdx, %rcx
	cmoveq	%rdi, %rcx
	movq	%rdi, %rbx
	movq	_SS_DETECT@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	andl	%esi, %edi
	leaq	L_.str.3(%rip), %r8
	cmoveq	%rdx, %r8
	movq	_SS_READY@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	andl	%esi, %edi
	leaq	L_.str.4(%rip), %r9
	cmoveq	%rdx, %r9
	movq	_SS_BATDEAD@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	andl	%esi, %edi
	leaq	L_.str.5(%rip), %rdi
	cmoveq	%rdx, %rdi
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	movq	_SS_BATWARN@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	andl	%esi, %edi
	leaq	L_.str.6(%rip), %rdi
	cmoveq	%rdx, %rdi
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movq	_SS_STSCHG@GOTPCREL(%rip), %rdi
	andl	(%rdi), %esi
	leaq	L_.str.7(%rip), %rsi
	cmoveq	%rdx, %rsi
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movl	4(%r14), %esi
	testl	%esi, %esi
	cmovneq	%rdx, %rbx
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	_SS_PWR_AUTO@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	andl	%esi, %edi
	leaq	L_.str.8(%rip), %r13
	cmoveq	%rdx, %r13
	movq	_SS_IOCARD@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	andl	%esi, %edi
	leaq	L_.str.9(%rip), %r11
	cmoveq	%rdx, %r11
	movq	_SS_RESET@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	andl	%esi, %edi
	leaq	L_.str.10(%rip), %r10
	cmoveq	%rdx, %r10
	movq	_SS_SPKR_ENA@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	andl	%esi, %edi
	leaq	L_.str.11(%rip), %r15
	cmoveq	%rdx, %r15
	movq	_SS_OUTPUT_ENA@GOTPCREL(%rip), %rdi
	andl	(%rdi), %esi
	leaq	L_.str.12(%rip), %r12
	cmoveq	%rdx, %r12
	movq	%rax, %rbx
	movq	%r14, %rax
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movl	16(%r14), %edx
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movl	12(%r14), %r14d
	movl	8(%rax), %eax
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	movl	$2, %esi
	pushq	%rax
	pushq	%r14
	pushq	-48(%rbp)                       ## 8-byte Folded Reload
	pushq	%r12
	pushq	%r15
	pushq	%r10
	pushq	%r11
	pushq	%r13
	pushq	-64(%rbp)                       ## 8-byte Folded Reload
	pushq	-72(%rbp)                       ## 8-byte Folded Reload
	pushq	-80(%rbp)                       ## 8-byte Folded Reload
	pushq	-88(%rbp)                       ## 8-byte Folded Reload
	callq	_debug
	addq	$96, %rsp
	movq	%rbx, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_soc_common_pcmcia_config_skt   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mask: %s%s%s%s%s%s flags: %s%s%s%s%s%s Vcc %d Vpp %d irq %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"<NONE> "

L_.str.2:                               ## @.str.2
	.space	1

	.comm	_SS_DETECT,4,2                  ## @SS_DETECT
L_.str.3:                               ## @.str.3
	.asciz	"DETECT "

	.comm	_SS_READY,4,2                   ## @SS_READY
L_.str.4:                               ## @.str.4
	.asciz	"READY "

	.comm	_SS_BATDEAD,4,2                 ## @SS_BATDEAD
L_.str.5:                               ## @.str.5
	.asciz	"BATDEAD "

	.comm	_SS_BATWARN,4,2                 ## @SS_BATWARN
L_.str.6:                               ## @.str.6
	.asciz	"BATWARN "

	.comm	_SS_STSCHG,4,2                  ## @SS_STSCHG
L_.str.7:                               ## @.str.7
	.asciz	"STSCHG "

	.comm	_SS_PWR_AUTO,4,2                ## @SS_PWR_AUTO
L_.str.8:                               ## @.str.8
	.asciz	"PWR_AUTO "

	.comm	_SS_IOCARD,4,2                  ## @SS_IOCARD
L_.str.9:                               ## @.str.9
	.asciz	"IOCARD "

	.comm	_SS_RESET,4,2                   ## @SS_RESET
L_.str.10:                              ## @.str.10
	.asciz	"RESET "

	.comm	_SS_SPKR_ENA,4,2                ## @SS_SPKR_ENA
L_.str.11:                              ## @.str.11
	.asciz	"SPKR_ENA "

	.comm	_SS_OUTPUT_ENA,4,2              ## @SS_OUTPUT_ENA
L_.str.12:                              ## @.str.12
	.asciz	"OUTPUT_ENA "

	.no_dead_strip	_soc_common_pcmcia_set_socket
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function soc_common_pcmcia_set_socket
_soc_common_pcmcia_set_socket:          ; @soc_common_pcmcia_set_socket
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	_to_soc_pcmcia_socket
	mov	x20, x0
Lloh0:
	adrp	x8, l_.str.2@PAGE
Lloh1:
	add	x8, x8, l_.str.2@PAGEOFF
Lloh2:
	adrp	x9, l_.str.1@PAGE
Lloh3:
	add	x9, x9, l_.str.1@PAGEOFF
	ldp	w10, w11, [x19]
	cmp	w10, #0
	csel	x3, x9, x8, eq
Lloh4:
	adrp	x12, _SS_DETECT@GOTPAGE
Lloh5:
	ldr	x12, [x12, _SS_DETECT@GOTPAGEOFF]
Lloh6:
	ldr	w12, [x12]
Lloh7:
	adrp	x13, l_.str.3@PAGE
Lloh8:
	add	x13, x13, l_.str.3@PAGEOFF
	tst	w12, w10
	csel	x4, x8, x13, eq
Lloh9:
	adrp	x12, _SS_READY@GOTPAGE
Lloh10:
	ldr	x12, [x12, _SS_READY@GOTPAGEOFF]
Lloh11:
	ldr	w12, [x12]
Lloh12:
	adrp	x13, l_.str.4@PAGE
Lloh13:
	add	x13, x13, l_.str.4@PAGEOFF
	tst	w12, w10
Lloh14:
	adrp	x12, _SS_BATDEAD@GOTPAGE
Lloh15:
	ldr	x12, [x12, _SS_BATDEAD@GOTPAGEOFF]
	csel	x5, x8, x13, eq
Lloh16:
	ldr	w12, [x12]
Lloh17:
	adrp	x13, l_.str.5@PAGE
Lloh18:
	add	x13, x13, l_.str.5@PAGEOFF
	tst	w12, w10
	csel	x6, x8, x13, eq
Lloh19:
	adrp	x12, _SS_BATWARN@GOTPAGE
Lloh20:
	ldr	x12, [x12, _SS_BATWARN@GOTPAGEOFF]
Lloh21:
	ldr	w12, [x12]
Lloh22:
	adrp	x13, l_.str.6@PAGE
Lloh23:
	add	x13, x13, l_.str.6@PAGEOFF
	tst	w12, w10
	csel	x7, x8, x13, eq
Lloh24:
	adrp	x12, _SS_STSCHG@GOTPAGE
Lloh25:
	ldr	x12, [x12, _SS_STSCHG@GOTPAGEOFF]
Lloh26:
	ldr	w12, [x12]
Lloh27:
	adrp	x13, l_.str.7@PAGE
Lloh28:
	add	x13, x13, l_.str.7@PAGEOFF
	tst	w12, w10
	csel	x10, x8, x13, eq
	cmp	w11, #0
	csel	x9, x9, x8, eq
Lloh29:
	adrp	x12, _SS_PWR_AUTO@GOTPAGE
Lloh30:
	ldr	x12, [x12, _SS_PWR_AUTO@GOTPAGEOFF]
Lloh31:
	ldr	w12, [x12]
Lloh32:
	adrp	x13, l_.str.8@PAGE
Lloh33:
	add	x13, x13, l_.str.8@PAGEOFF
	tst	w12, w11
Lloh34:
	adrp	x12, _SS_IOCARD@GOTPAGE
Lloh35:
	ldr	x12, [x12, _SS_IOCARD@GOTPAGEOFF]
	csel	x13, x8, x13, eq
Lloh36:
	ldr	w12, [x12]
Lloh37:
	adrp	x14, l_.str.9@PAGE
Lloh38:
	add	x14, x14, l_.str.9@PAGEOFF
	tst	w12, w11
	csel	x12, x8, x14, eq
Lloh39:
	adrp	x14, _SS_RESET@GOTPAGE
Lloh40:
	ldr	x14, [x14, _SS_RESET@GOTPAGEOFF]
Lloh41:
	ldr	w14, [x14]
Lloh42:
	adrp	x15, l_.str.10@PAGE
Lloh43:
	add	x15, x15, l_.str.10@PAGEOFF
	tst	w14, w11
	csel	x14, x8, x15, eq
Lloh44:
	adrp	x15, _SS_SPKR_ENA@GOTPAGE
Lloh45:
	ldr	x15, [x15, _SS_SPKR_ENA@GOTPAGEOFF]
Lloh46:
	ldr	w15, [x15]
Lloh47:
	adrp	x16, l_.str.11@PAGE
Lloh48:
	add	x16, x16, l_.str.11@PAGEOFF
	tst	w15, w11
	csel	x15, x8, x16, eq
Lloh49:
	adrp	x16, _SS_OUTPUT_ENA@GOTPAGE
Lloh50:
	ldr	x16, [x16, _SS_OUTPUT_ENA@GOTPAGEOFF]
Lloh51:
	adrp	x17, l_.str.12@PAGE
Lloh52:
	add	x17, x17, l_.str.12@PAGEOFF
Lloh53:
	ldr	w16, [x16]
	tst	w16, w11
	csel	x8, x8, x17, eq
	ldp	w16, w11, [x19, #12]
	ldr	w17, [x19, #8]
	stp	w16, w17, [sp, #60]
	str	w11, [sp, #56]
	stp	x15, x8, [sp, #40]
Lloh54:
	adrp	x2, l_.str@PAGE
Lloh55:
	add	x2, x2, l_.str@PAGEOFF
	stp	x12, x14, [sp, #24]
	stp	x9, x13, [sp, #8]
	str	x10, [sp]
	mov	w1, #2
	bl	_debug
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_soc_common_pcmcia_config_skt
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh53
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mask: %s%s%s%s%s%s flags: %s%s%s%s%s%s Vcc %d Vpp %d irq %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"<NONE> "

l_.str.2:                               ; @.str.2
	.space	1

	.comm	_SS_DETECT,4,2                  ; @SS_DETECT
l_.str.3:                               ; @.str.3
	.asciz	"DETECT "

	.comm	_SS_READY,4,2                   ; @SS_READY
l_.str.4:                               ; @.str.4
	.asciz	"READY "

	.comm	_SS_BATDEAD,4,2                 ; @SS_BATDEAD
l_.str.5:                               ; @.str.5
	.asciz	"BATDEAD "

	.comm	_SS_BATWARN,4,2                 ; @SS_BATWARN
l_.str.6:                               ; @.str.6
	.asciz	"BATWARN "

	.comm	_SS_STSCHG,4,2                  ; @SS_STSCHG
l_.str.7:                               ; @.str.7
	.asciz	"STSCHG "

	.comm	_SS_PWR_AUTO,4,2                ; @SS_PWR_AUTO
l_.str.8:                               ; @.str.8
	.asciz	"PWR_AUTO "

	.comm	_SS_IOCARD,4,2                  ; @SS_IOCARD
l_.str.9:                               ; @.str.9
	.asciz	"IOCARD "

	.comm	_SS_RESET,4,2                   ; @SS_RESET
l_.str.10:                              ; @.str.10
	.asciz	"RESET "

	.comm	_SS_SPKR_ENA,4,2                ; @SS_SPKR_ENA
l_.str.11:                              ; @.str.11
	.asciz	"SPKR_ENA "

	.comm	_SS_OUTPUT_ENA,4,2              ; @SS_OUTPUT_ENA
l_.str.12:                              ; @.str.12
	.asciz	"OUTPUT_ENA "

	.no_dead_strip	_soc_common_pcmcia_set_socket
.subsections_via_symbols
