	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GetSelectedProcessId           ## -- Begin function GetSelectedProcessId
	.p2align	4, 0x90
_GetSelectedProcessId:                  ## @GetSelectedProcessId
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_hProcessPageListCtrl@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_ListView_GetSelectedCount
	xorl	%ebx, %ebx
	cmpl	$1, %eax
	jne	LBB0_3
## %bb.1:
	movl	(%r12), %edi
	callq	_ListView_GetSelectionMark
	movl	%eax, %r14d
	leaq	-56(%rbp), %r15
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	_LVIF_PARAM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -40(%rbp)
	movl	%r14d, -56(%rbp)
	movl	(%r12), %edi
	movq	%r15, %rsi
	callq	_ListView_GetItem
	movq	-48(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	(%rax), %ebx
LBB0_3:
	movl	%ebx, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_hProcessPageListCtrl,4,2       ## @hProcessPageListCtrl
	.comm	_LVIF_PARAM,4,2                 ## @LVIF_PARAM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GetSelectedProcessId           ; -- Begin function GetSelectedProcessId
	.p2align	2
_GetSelectedProcessId:                  ; @GetSelectedProcessId
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x20, _hProcessPageListCtrl@GOTPAGE
Lloh1:
	ldr	x20, [x20, _hProcessPageListCtrl@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_ListView_GetSelectedCount
	cmp	w0, #1
	b.ne	LBB0_3
; %bb.1:
	ldr	w0, [x20]
	bl	_ListView_GetSelectionMark
	mov	x19, x0
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #24
	bl	_memset
Lloh2:
	adrp	x8, _LVIF_PARAM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _LVIF_PARAM@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [sp, #24]
	str	w19, [sp, #8]
	ldr	w0, [x20]
	add	x1, sp, #8
	bl	_ListView_GetItem
	ldr	x8, [sp, #16]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	w0, [x8]
	b	LBB0_4
LBB0_3:
	mov	w0, #0
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_hProcessPageListCtrl,4,2       ; @hProcessPageListCtrl
	.comm	_LVIF_PARAM,4,2                 ; @LVIF_PARAM
.subsections_via_symbols
