	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_presence_status
_get_presence_status:                   ## @get_presence_status
	.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
	movl	(%rsi), %ebx
	subl	(%rdi), %ebx
	movq	_INT_INPUT_CLEAR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	8(%rdi), %rax
	movq	%rax, %rdi
	callq	_readl
	notl	%eax
	movl	%eax, %ecx
	sarl	$23, %ecx
	sarl	$15, %eax
	orl	%ecx, %eax
	movl	%ebx, %ecx
	sarl	%cl, %eax
	andl	$2, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INT_INPUT_CLEAR,8,3            ## @INT_INPUT_CLEAR
	.no_dead_strip	_get_presence_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_presence_status
_get_presence_status:                   ; @get_presence_status
	.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
	ldr	w8, [x1]
	ldr	w9, [x0]
	sub	w19, w8, w9
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x9, _INT_INPUT_CLEAR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _INT_INPUT_CLEAR@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl
	mvn	w8, w0
	asr	w9, w8, #23
	orr	w8, w9, w8, asr #15
	asr	w8, w8, w19
	and	w0, w8, #0x2
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_INT_INPUT_CLEAR,8,3            ; @INT_INPUT_CLEAR
	.no_dead_strip	_get_presence_status
.subsections_via_symbols
