	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vpac270_pcmcia_hw_init
_vpac270_pcmcia_hw_init:                ## @vpac270_pcmcia_hw_init
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	cmpq	$0, (%rdi)
	je	LBB0_1
## %bb.3:
	movq	_vpac270_cf_gpios@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_ARRAY_SIZE
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_gpio_request_array
	movq	_GPIO17_VPAC270_CF_CD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	8(%r15), %rdx
	movq	_SOC_STAT_CD@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	shlq	$4, %rsi
	movl	%ecx, 8(%rdx,%rsi)
	leaq	L_.str.2(%rip), %rcx
	movq	%rcx, (%rdx,%rsi)
	movq	_GPIO12_VPAC270_CF_RDY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_SOC_STAT_RDY@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	shlq	$4, %rsi
	movl	%ecx, 8(%rdx,%rsi)
	leaq	L_.str.3(%rip), %rcx
	jmp	LBB0_2
LBB0_1:
	movq	_vpac270_pcmcia_gpios@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	%r14d, %edi
	callq	_ARRAY_SIZE
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_gpio_request_array
	movq	_GPIO84_VPAC270_PCMCIA_CD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	8(%r15), %rdx
	movq	_SOC_STAT_CD@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	shlq	$4, %rsi
	movl	%ecx, 8(%rdx,%rsi)
	leaq	L_.str(%rip), %rcx
	movq	%rcx, (%rdx,%rsi)
	movq	_GPIO35_VPAC270_PCMCIA_RDY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_SOC_STAT_RDY@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	shlq	$4, %rsi
	movl	%ecx, 8(%rdx,%rsi)
	leaq	L_.str.1(%rip), %rcx
LBB0_2:
	movq	%rcx, (%rdx,%rsi)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_vpac270_pcmcia_gpios,4,2       ## @vpac270_pcmcia_gpios
	.comm	_GPIO84_VPAC270_PCMCIA_CD,4,2   ## @GPIO84_VPAC270_PCMCIA_CD
	.comm	_SOC_STAT_CD,8,3                ## @SOC_STAT_CD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PCMCIA CD"

	.comm	_GPIO35_VPAC270_PCMCIA_RDY,4,2  ## @GPIO35_VPAC270_PCMCIA_RDY
	.comm	_SOC_STAT_RDY,8,3               ## @SOC_STAT_RDY
L_.str.1:                               ## @.str.1
	.asciz	"PCMCIA Ready"

	.comm	_vpac270_cf_gpios,4,2           ## @vpac270_cf_gpios
	.comm	_GPIO17_VPAC270_CF_CD,4,2       ## @GPIO17_VPAC270_CF_CD
L_.str.2:                               ## @.str.2
	.asciz	"CF CD"

	.comm	_GPIO12_VPAC270_CF_RDY,4,2      ## @GPIO12_VPAC270_CF_RDY
L_.str.3:                               ## @.str.3
	.asciz	"CF Ready"

	.no_dead_strip	_vpac270_pcmcia_hw_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vpac270_pcmcia_hw_init
_vpac270_pcmcia_hw_init:                ; @vpac270_pcmcia_hw_init
	.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, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _vpac270_cf_gpios@GOTPAGE
Lloh1:
	ldr	x8, [x8, _vpac270_cf_gpios@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	mov	x0, x20
	bl	_ARRAY_SIZE
	mov	x1, x0
	mov	x0, x20
	bl	_gpio_request_array
Lloh3:
	adrp	x8, _GPIO17_VPAC270_CF_CD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GPIO17_VPAC270_CF_CD@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	x9, [x19, #8]
Lloh6:
	adrp	x10, _SOC_STAT_CD@GOTPAGE
Lloh7:
	ldr	x10, [x10, _SOC_STAT_CD@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	add	x10, x9, x10, lsl #4
	str	w8, [x10, #8]
Lloh9:
	adrp	x8, l_.str.2@PAGE
Lloh10:
	add	x8, x8, l_.str.2@PAGEOFF
	str	x8, [x10]
Lloh11:
	adrp	x8, _GPIO12_VPAC270_CF_RDY@GOTPAGE
Lloh12:
	ldr	x8, [x8, _GPIO12_VPAC270_CF_RDY@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	adrp	x10, _SOC_STAT_RDY@GOTPAGE
Lloh15:
	ldr	x10, [x10, _SOC_STAT_RDY@GOTPAGEOFF]
Lloh16:
	ldr	x10, [x10]
	add	x9, x9, x10, lsl #4
	str	w8, [x9, #8]
Lloh17:
	adrp	x8, l_.str.3@PAGE
Lloh18:
	add	x8, x8, l_.str.3@PAGEOFF
	b	LBB0_3
LBB0_2:
Lloh19:
	adrp	x8, _vpac270_pcmcia_gpios@GOTPAGE
Lloh20:
	ldr	x8, [x8, _vpac270_pcmcia_gpios@GOTPAGEOFF]
Lloh21:
	ldr	w20, [x8]
	mov	x0, x20
	bl	_ARRAY_SIZE
	mov	x1, x0
	mov	x0, x20
	bl	_gpio_request_array
Lloh22:
	adrp	x8, _GPIO84_VPAC270_PCMCIA_CD@GOTPAGE
Lloh23:
	ldr	x8, [x8, _GPIO84_VPAC270_PCMCIA_CD@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	ldr	x9, [x19, #8]
Lloh25:
	adrp	x10, _SOC_STAT_CD@GOTPAGE
Lloh26:
	ldr	x10, [x10, _SOC_STAT_CD@GOTPAGEOFF]
Lloh27:
	ldr	x10, [x10]
	add	x10, x9, x10, lsl #4
	str	w8, [x10, #8]
Lloh28:
	adrp	x8, l_.str@PAGE
Lloh29:
	add	x8, x8, l_.str@PAGEOFF
	str	x8, [x10]
Lloh30:
	adrp	x8, _GPIO35_VPAC270_PCMCIA_RDY@GOTPAGE
Lloh31:
	ldr	x8, [x8, _GPIO35_VPAC270_PCMCIA_RDY@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
Lloh33:
	adrp	x10, _SOC_STAT_RDY@GOTPAGE
Lloh34:
	ldr	x10, [x10, _SOC_STAT_RDY@GOTPAGEOFF]
Lloh35:
	ldr	x10, [x10]
	add	x9, x9, x10, lsl #4
	str	w8, [x9, #8]
Lloh36:
	adrp	x8, l_.str.1@PAGE
Lloh37:
	add	x8, x8, l_.str.1@PAGEOFF
LBB0_3:
	str	x8, [x9]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_vpac270_pcmcia_gpios,4,2       ; @vpac270_pcmcia_gpios
	.comm	_GPIO84_VPAC270_PCMCIA_CD,4,2   ; @GPIO84_VPAC270_PCMCIA_CD
	.comm	_SOC_STAT_CD,8,3                ; @SOC_STAT_CD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PCMCIA CD"

	.comm	_GPIO35_VPAC270_PCMCIA_RDY,4,2  ; @GPIO35_VPAC270_PCMCIA_RDY
	.comm	_SOC_STAT_RDY,8,3               ; @SOC_STAT_RDY
l_.str.1:                               ; @.str.1
	.asciz	"PCMCIA Ready"

	.comm	_vpac270_cf_gpios,4,2           ; @vpac270_cf_gpios
	.comm	_GPIO17_VPAC270_CF_CD,4,2       ; @GPIO17_VPAC270_CF_CD
l_.str.2:                               ; @.str.2
	.asciz	"CF CD"

	.comm	_GPIO12_VPAC270_CF_RDY,4,2      ; @GPIO12_VPAC270_CF_RDY
l_.str.3:                               ; @.str.3
	.asciz	"CF Ready"

	.no_dead_strip	_vpac270_pcmcia_hw_init
.subsections_via_symbols
