	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function palmtc_pcmcia_hw_init
_palmtc_pcmcia_hw_init:                 ## @palmtc_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	_palmtc_pcmcia_gpios@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_ARRAY_SIZE
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_gpio_request_array
	movq	_GPIO_NR_PALMTC_PCMCIA_READY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	(%r14), %rdx
	movq	_SOC_STAT_RDY@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	shlq	$4, %rsi
	movl	%ecx, 8(%rdx,%rsi)
	leaq	L_.str(%rip), %rcx
	movq	%rcx, (%rdx,%rsi)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_palmtc_pcmcia_gpios,4,2        ## @palmtc_pcmcia_gpios
	.comm	_GPIO_NR_PALMTC_PCMCIA_READY,4,2 ## @GPIO_NR_PALMTC_PCMCIA_READY
	.comm	_SOC_STAT_RDY,8,3               ## @SOC_STAT_RDY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PCMCIA Ready"

	.no_dead_strip	_palmtc_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 palmtc_pcmcia_hw_init
_palmtc_pcmcia_hw_init:                 ; @palmtc_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
Lloh0:
	adrp	x8, _palmtc_pcmcia_gpios@GOTPAGE
Lloh1:
	ldr	x8, [x8, _palmtc_pcmcia_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, _GPIO_NR_PALMTC_PCMCIA_READY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GPIO_NR_PALMTC_PCMCIA_READY@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	x9, [x19]
Lloh6:
	adrp	x10, _SOC_STAT_RDY@GOTPAGE
Lloh7:
	ldr	x10, [x10, _SOC_STAT_RDY@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	add	x9, x9, x10, lsl #4
	str	w8, [x9, #8]
Lloh9:
	adrp	x8, l_.str@PAGE
Lloh10:
	add	x8, x8, l_.str@PAGEOFF
	str	x8, [x9]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_palmtc_pcmcia_gpios,4,2        ; @palmtc_pcmcia_gpios
	.comm	_GPIO_NR_PALMTC_PCMCIA_READY,4,2 ; @GPIO_NR_PALMTC_PCMCIA_READY
	.comm	_SOC_STAT_RDY,8,3               ; @SOC_STAT_RDY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PCMCIA Ready"

	.no_dead_strip	_palmtc_pcmcia_hw_init
.subsections_via_symbols
