	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function colibri_pcmcia_configure_socket
_colibri_pcmcia_configure_socket:       ## @colibri_pcmcia_configure_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	_colibri_pcmcia_gpios@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	_PPEN@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edi
	movl	$1, %esi
	cmpl	$33, (%rbx)
	jne	LBB0_2
## %bb.1:
	xorl	%esi, %esi
	cmpl	$50, 4(%rbx)
	setge	%sil
LBB0_2:
	callq	_gpio_set_value
	movq	(%r14), %rax
	movq	_RESET@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edi
	movq	_SS_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	andl	8(%rbx), %esi
	callq	_gpio_set_value
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_colibri_pcmcia_gpios,8,3       ## @colibri_pcmcia_gpios
	.comm	_PPEN,8,3                       ## @PPEN
	.comm	_RESET,8,3                      ## @RESET
	.comm	_SS_RESET,4,2                   ## @SS_RESET
	.no_dead_strip	_colibri_pcmcia_configure_socket
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function colibri_pcmcia_configure_socket
_colibri_pcmcia_configure_socket:       ; @colibri_pcmcia_configure_socket
	.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
Lloh0:
	adrp	x20, _colibri_pcmcia_gpios@GOTPAGE
Lloh1:
	ldr	x20, [x20, _colibri_pcmcia_gpios@GOTPAGEOFF]
Lloh2:
	adrp	x8, _PPEN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PPEN@GOTPAGEOFF]
	ldr	x9, [x20]
Lloh4:
	ldr	x8, [x8]
	ldr	w0, [x9, x8, lsl #2]
	ldr	w8, [x1]
	cmp	w8, #33
	b.ne	LBB0_2
; %bb.1:
	ldr	w8, [x19, #4]
	cmp	w8, #49
	cset	w1, gt
	b	LBB0_3
LBB0_2:
	mov	w1, #1
LBB0_3:
	bl	_gpio_set_value
	ldr	x8, [x20]
Lloh5:
	adrp	x9, _RESET@GOTPAGE
Lloh6:
	ldr	x9, [x9, _RESET@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	ldr	w0, [x8, x9, lsl #2]
	ldr	w8, [x19, #8]
Lloh8:
	adrp	x9, _SS_RESET@GOTPAGE
Lloh9:
	ldr	x9, [x9, _SS_RESET@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	and	w1, w9, w8
	bl	_gpio_set_value
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_colibri_pcmcia_gpios,8,3       ; @colibri_pcmcia_gpios
	.comm	_PPEN,8,3                       ; @PPEN
	.comm	_RESET,8,3                      ; @RESET
	.comm	_SS_RESET,4,2                   ; @SS_RESET
	.no_dead_strip	_colibri_pcmcia_configure_socket
.subsections_via_symbols
