	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function balloon3_pcmcia_configure_socket
_balloon3_pcmcia_configure_socket:      ## @balloon3_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
	movq	_BALLOON3_CF_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_BALLOON3_CF_CONTROL_REG@GOTPCREL(%rip), %rax
	movq	_SS_RESET@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	(%rsi), %ecx
	je	LBB0_2
## %bb.1:
	movq	_BALLOON3_FPGA_SETnCLR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_2:
	movslq	%ecx, %rsi
	addq	(%rax), %rsi
	callq	___raw_writew
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BALLOON3_CF_RESET,4,2          ## @BALLOON3_CF_RESET
	.comm	_BALLOON3_CF_CONTROL_REG,8,3    ## @BALLOON3_CF_CONTROL_REG
	.comm	_SS_RESET,4,2                   ## @SS_RESET
	.comm	_BALLOON3_FPGA_SETnCLR,4,2      ## @BALLOON3_FPGA_SETnCLR
	.no_dead_strip	_balloon3_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 balloon3_pcmcia_configure_socket
_balloon3_pcmcia_configure_socket:      ; @balloon3_pcmcia_configure_socket
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _BALLOON3_CF_RESET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BALLOON3_CF_RESET@GOTPAGEOFF]
Lloh2:
	adrp	x9, _BALLOON3_CF_CONTROL_REG@GOTPAGE
Lloh3:
	ldr	x9, [x9, _BALLOON3_CF_CONTROL_REG@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	ldr	x8, [x9]
	ldr	w9, [x1]
Lloh6:
	adrp	x10, _SS_RESET@GOTPAGE
Lloh7:
	ldr	x10, [x10, _SS_RESET@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
Lloh9:
	adrp	x11, _BALLOON3_FPGA_SETnCLR@GOTPAGE
Lloh10:
	ldr	x11, [x11, _BALLOON3_FPGA_SETnCLR@GOTPAGEOFF]
Lloh11:
	ldr	w11, [x11]
	tst	w10, w9
	csel	w9, wzr, w11, eq
	add	x1, x8, w9, sxtw
	bl	___raw_writew
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_BALLOON3_CF_RESET,4,2          ; @BALLOON3_CF_RESET
	.comm	_BALLOON3_CF_CONTROL_REG,8,3    ; @BALLOON3_CF_CONTROL_REG
	.comm	_SS_RESET,4,2                   ; @SS_RESET
	.comm	_BALLOON3_FPGA_SETnCLR,4,2      ; @BALLOON3_FPGA_SETnCLR
	.no_dead_strip	_balloon3_pcmcia_configure_socket
.subsections_via_symbols
