	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pcmcia_nonstatic_validate_mem
_pcmcia_nonstatic_validate_mem:         ## @pcmcia_nonstatic_validate_mem
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_probe_mem@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpl	$0, (%rcx)
	je	LBB0_6
## %bb.1:
	movq	_SOCKET_PRESENT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rdi)
	je	LBB0_6
## %bb.2:
	movq	8(%rdi), %rbx
	movq	_SS_CAP_PAGE_REGS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	4(%rdi), %eax
	je	LBB0_3
## %bb.4:
	movq	_MEM_PROBE_HIGH@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_MEM_PROBE_LOW@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %esi
	callq	_validate_mem
	movl	%eax, %ecx
	xorl	%eax, %eax
	cmpq	%rbx, (%rbx)
	cmovel	%ecx, %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MEM_PROBE_LOW,4,2              ## @MEM_PROBE_LOW
	.comm	_probe_mem,4,2                  ## @probe_mem
	.comm	_SOCKET_PRESENT,4,2             ## @SOCKET_PRESENT
	.comm	_SS_CAP_PAGE_REGS,4,2           ## @SS_CAP_PAGE_REGS
	.comm	_MEM_PROBE_HIGH,4,2             ## @MEM_PROBE_HIGH
	.no_dead_strip	_pcmcia_nonstatic_validate_mem
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pcmcia_nonstatic_validate_mem
_pcmcia_nonstatic_validate_mem:         ; @pcmcia_nonstatic_validate_mem
	.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
Lloh0:
	adrp	x8, _probe_mem@GOTPAGE
Lloh1:
	ldr	x8, [x8, _probe_mem@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_3
; %bb.1:
	ldr	w8, [x0]
Lloh3:
	adrp	x9, _SOCKET_PRESENT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SOCKET_PRESENT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
	ldr	x19, [x0, #8]
Lloh6:
	adrp	x8, _MEM_PROBE_LOW@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MEM_PROBE_LOW@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	w9, [x0, #4]
Lloh9:
	adrp	x10, _SS_CAP_PAGE_REGS@GOTPAGE
Lloh10:
	ldr	x10, [x10, _SS_CAP_PAGE_REGS@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
Lloh12:
	adrp	x11, _MEM_PROBE_HIGH@GOTPAGE
Lloh13:
	ldr	x11, [x11, _MEM_PROBE_HIGH@GOTPAGEOFF]
Lloh14:
	ldr	w11, [x11]
	tst	w10, w9
	csel	w1, w8, w11, eq
	bl	_validate_mem
	ldr	x8, [x19]
	cmp	x8, x19
	csel	w0, w0, wzr, eq
	b	LBB0_4
LBB0_3:
	mov	w0, #0
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_MEM_PROBE_LOW,4,2              ; @MEM_PROBE_LOW
	.comm	_probe_mem,4,2                  ; @probe_mem
	.comm	_SOCKET_PRESENT,4,2             ; @SOCKET_PRESENT
	.comm	_SS_CAP_PAGE_REGS,4,2           ; @SS_CAP_PAGE_REGS
	.comm	_MEM_PROBE_HIGH,4,2             ; @MEM_PROBE_HIGH
	.no_dead_strip	_pcmcia_nonstatic_validate_mem
.subsections_via_symbols
