	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wtp_get_config
_wtp_get_config:                        ## @wtp_get_config
	.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	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	(%rdi), %r15
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -48(%rbp)
	movaps	%xmm0, -64(%rbp)
	movq	_HIDPP_PAGE_TOUCHPAD_RAW_XY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	28(%r15), %r14
	leaq	-68(%rbp), %rcx
	movq	%r14, %rdx
	callq	_hidpp_root_get_feature
	testl	%eax, %eax
	jne	LBB0_4
## %bb.1:
	movl	(%r14), %esi
	leaq	-64(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_hidpp_touchpad_get_raw_info
	testl	%eax, %eax
	jne	LBB0_4
## %bb.2:
	movl	-40(%rbp), %eax
	movl	%eax, 24(%r15)
	movl	-44(%rbp), %eax
	movl	%eax, 20(%r15)
	movl	-48(%rbp), %eax
	movl	%eax, 16(%r15)
	movq	-64(%rbp), %rax
	movq	_TOUCHPAD_RAW_XY_ORIGIN_LOWER_LEFT@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpq	(%rcx), %rax
	sete	%dl
	movl	%edx, (%r15)
	movq	-56(%rbp), %rcx
	movq	%rcx, 8(%r15)
	xorl	%eax, %eax
	testq	%rcx, %rcx
	jne	LBB0_4
## %bb.3:
	movq	_WTP_MANUAL_RESOLUTION@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 8(%r15)
LBB0_4:
	addq	$56, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HIDPP_PAGE_TOUCHPAD_RAW_XY,4,2 ## @HIDPP_PAGE_TOUCHPAD_RAW_XY
	.comm	_TOUCHPAD_RAW_XY_ORIGIN_LOWER_LEFT,8,3 ## @TOUCHPAD_RAW_XY_ORIGIN_LOWER_LEFT
	.comm	_WTP_MANUAL_RESOLUTION,8,3      ## @WTP_MANUAL_RESOLUTION
	.no_dead_strip	_wtp_get_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wtp_get_config
_wtp_get_config:                        ; @wtp_get_config
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	ldr	x21, [x0]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp, #16]
Lloh0:
	adrp	x8, _HIDPP_PAGE_TOUCHPAD_RAW_XY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HIDPP_PAGE_TOUCHPAD_RAW_XY@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x20, x21, #28
	add	x3, sp, #12
	mov	x2, x20
	bl	_hidpp_root_get_feature
	cbnz	w0, LBB0_4
; %bb.1:
	ldr	w1, [x20]
	add	x2, sp, #16
	mov	x0, x19
	bl	_hidpp_touchpad_get_raw_info
	cbnz	w0, LBB0_4
; %bb.2:
	ldr	w8, [sp, #40]
	str	w8, [x21, #24]
	ldr	d0, [sp, #32]
	str	d0, [x21, #16]
	ldr	x8, [sp, #16]
Lloh3:
	adrp	x9, _TOUCHPAD_RAW_XY_ORIGIN_LOWER_LEFT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TOUCHPAD_RAW_XY_ORIGIN_LOWER_LEFT@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w8, eq
	str	w8, [x21]
	ldr	x8, [sp, #24]
	str	x8, [x21, #8]
	mov	w0, #0
	cbnz	x8, LBB0_4
; %bb.3:
Lloh6:
	adrp	x8, _WTP_MANUAL_RESOLUTION@GOTPAGE
Lloh7:
	ldr	x8, [x8, _WTP_MANUAL_RESOLUTION@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	str	x8, [x21, #8]
LBB0_4:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_HIDPP_PAGE_TOUCHPAD_RAW_XY,4,2 ; @HIDPP_PAGE_TOUCHPAD_RAW_XY
	.comm	_TOUCHPAD_RAW_XY_ORIGIN_LOWER_LEFT,8,3 ; @TOUCHPAD_RAW_XY_ORIGIN_LOWER_LEFT
	.comm	_WTP_MANUAL_RESOLUTION,8,3      ; @WTP_MANUAL_RESOLUTION
	.no_dead_strip	_wtp_get_config
.subsections_via_symbols
