	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lis3lv02d_8b_configure
_lis3lv02d_8b_configure:                ## @lis3lv02d_8b_configure
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	(%rsi), %r15d
	movl	4(%rsi), %edx
	testl	%edx, %edx
	je	LBB0_3
## %bb.1:
	movq	_CLICK_CFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	*(%rbx)
	movq	_CLICK_TIMELIMIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%r14), %edx
	movq	%rbx, %rdi
	callq	*(%rbx)
	movq	_CLICK_LATENCY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	12(%r14), %edx
	movq	%rbx, %rdi
	callq	*(%rbx)
	movq	_CLICK_WINDOW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	16(%r14), %edx
	movq	%rbx, %rdi
	callq	*(%rbx)
	movq	_CLICK_THSZ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	20(%r14), %edx
	andl	$15, %edx
	movq	%rbx, %rdi
	callq	*(%rbx)
	movq	_CLICK_THSY_X@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	24(%r14), %eax
	movl	28(%r14), %edx
	andl	$15, %eax
	shll	$4, %edx
	orl	%eax, %edx
	movq	%rbx, %rdi
	callq	*(%rbx)
	movq	8(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	(%rax), %r12
	movq	_EV_KEY@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	_BTN_X@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_input_set_capability
	movl	(%r13), %esi
	movq	_BTN_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_input_set_capability
	movl	(%r13), %esi
	movq	_BTN_Z@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_input_set_capability
LBB0_3:
	movl	32(%r14), %edx
	testl	%edx, %edx
	je	LBB0_5
## %bb.4:
	movq	_FF_WU_CFG_1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	*(%rbx)
	movq	_FF_WU_THS_1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	36(%r14), %edx
	andl	$127, %edx
	movq	%rbx, %rdi
	callq	*(%rbx)
	movq	_FF_WU_DURATION_1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	40(%r14), %edx
	incl	%edx
	movq	%rbx, %rdi
	callq	*(%rbx)
	movq	_HP_FF_WU1@GOTPCREL(%rip), %rax
	xorl	(%rax), %r15d
LBB0_5:
	movl	44(%r14), %edx
	testl	%edx, %edx
	je	LBB0_7
## %bb.6:
	movq	_FF_WU_CFG_2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	*(%rbx)
	movq	_FF_WU_THS_2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	48(%r14), %edx
	andl	$127, %edx
	movq	%rbx, %rdi
	callq	*(%rbx)
	movq	_FF_WU_DURATION_2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	52(%r14), %edx
	incl	%edx
	movq	%rbx, %rdi
	callq	*(%rbx)
	movq	_HP_FF_WU2@GOTPCREL(%rip), %rax
	xorl	(%rax), %r15d
LBB0_7:
	movq	_CTRL_REG2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r15d, %edx
	callq	*(%rbx)
	movq	64(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.8:
	movq	_lis302dl_interrupt_thread2_8b@GOTPCREL(%rip), %rax
	movq	_IRQF_TRIGGER_RISING@GOTPCREL(%rip), %rcx
	movq	_IRQF_ONESHOT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	orl	(%rcx), %esi
	movq	_IRQF_TRIGGER_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	56(%r14), %ecx
	movl	(%rax), %edx
	orl	%esi, %ecx
	movq	_DRIVER_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%esi, %esi
	movq	%rbx, %r9
	callq	_request_threaded_irq
	testl	%eax, %eax
	js	LBB0_10
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	leaq	L_.str(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pr_err                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CLICK_CFG,4,2                  ## @CLICK_CFG
	.comm	_CLICK_TIMELIMIT,4,2            ## @CLICK_TIMELIMIT
	.comm	_CLICK_LATENCY,4,2              ## @CLICK_LATENCY
	.comm	_CLICK_WINDOW,4,2               ## @CLICK_WINDOW
	.comm	_CLICK_THSZ,4,2                 ## @CLICK_THSZ
	.comm	_CLICK_THSY_X,4,2               ## @CLICK_THSY_X
	.comm	_EV_KEY,4,2                     ## @EV_KEY
	.comm	_BTN_X,4,2                      ## @BTN_X
	.comm	_BTN_Y,4,2                      ## @BTN_Y
	.comm	_BTN_Z,4,2                      ## @BTN_Z
	.comm	_FF_WU_CFG_1,4,2                ## @FF_WU_CFG_1
	.comm	_FF_WU_THS_1,4,2                ## @FF_WU_THS_1
	.comm	_FF_WU_DURATION_1,4,2           ## @FF_WU_DURATION_1
	.comm	_HP_FF_WU1,4,2                  ## @HP_FF_WU1
	.comm	_FF_WU_CFG_2,4,2                ## @FF_WU_CFG_2
	.comm	_FF_WU_THS_2,4,2                ## @FF_WU_THS_2
	.comm	_FF_WU_DURATION_2,4,2           ## @FF_WU_DURATION_2
	.comm	_HP_FF_WU2,4,2                  ## @HP_FF_WU2
	.comm	_CTRL_REG2,4,2                  ## @CTRL_REG2
	.comm	_lis302dl_interrupt_thread2_8b,4,2 ## @lis302dl_interrupt_thread2_8b
	.comm	_IRQF_TRIGGER_RISING,4,2        ## @IRQF_TRIGGER_RISING
	.comm	_IRQF_ONESHOT,4,2               ## @IRQF_ONESHOT
	.comm	_IRQF_TRIGGER_MASK,4,2          ## @IRQF_TRIGGER_MASK
	.comm	_DRIVER_NAME,4,2                ## @DRIVER_NAME
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"No second IRQ. Limited functionality\n"

	.no_dead_strip	_lis3lv02d_8b_configure
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lis3lv02d_8b_configure
_lis3lv02d_8b_configure:                ; @lis3lv02d_8b_configure
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	mov	x19, x0
	ldp	w21, w2, [x1]
	cbz	w2, LBB0_3
; %bb.1:
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _CLICK_CFG@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CLICK_CFG@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
	mov	x0, x19
	blr	x8
	ldr	x8, [x19]
Lloh3:
	adrp	x9, _CLICK_TIMELIMIT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CLICK_TIMELIMIT@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x9]
	ldr	w2, [x20, #8]
	mov	x0, x19
	blr	x8
	ldr	x8, [x19]
Lloh6:
	adrp	x9, _CLICK_LATENCY@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CLICK_LATENCY@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x9]
	ldr	w2, [x20, #12]
	mov	x0, x19
	blr	x8
	ldr	x8, [x19]
Lloh9:
	adrp	x9, _CLICK_WINDOW@GOTPAGE
Lloh10:
	ldr	x9, [x9, _CLICK_WINDOW@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x9]
	ldr	w2, [x20, #16]
	mov	x0, x19
	blr	x8
	ldr	x8, [x19]
Lloh12:
	adrp	x9, _CLICK_THSZ@GOTPAGE
Lloh13:
	ldr	x9, [x9, _CLICK_THSZ@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x9]
	ldr	w9, [x20, #20]
	and	w2, w9, #0xf
	mov	x0, x19
	blr	x8
	ldr	x8, [x19]
Lloh15:
	adrp	x9, _CLICK_THSY_X@GOTPAGE
Lloh16:
	ldr	x9, [x9, _CLICK_THSY_X@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x9]
	ldp	w2, w9, [x20, #24]
	bfi	w2, w9, #4, #28
	mov	x0, x19
	blr	x8
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	x22, [x8]
Lloh18:
	adrp	x23, _EV_KEY@GOTPAGE
Lloh19:
	ldr	x23, [x23, _EV_KEY@GOTPAGEOFF]
	ldr	w1, [x23]
Lloh20:
	adrp	x8, _BTN_X@GOTPAGE
Lloh21:
	ldr	x8, [x8, _BTN_X@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
	mov	x0, x22
	bl	_input_set_capability
	ldr	w1, [x23]
Lloh23:
	adrp	x8, _BTN_Y@GOTPAGE
Lloh24:
	ldr	x8, [x8, _BTN_Y@GOTPAGEOFF]
Lloh25:
	ldr	w2, [x8]
	mov	x0, x22
	bl	_input_set_capability
	ldr	w1, [x23]
Lloh26:
	adrp	x8, _BTN_Z@GOTPAGE
Lloh27:
	ldr	x8, [x8, _BTN_Z@GOTPAGEOFF]
Lloh28:
	ldr	w2, [x8]
	mov	x0, x22
	bl	_input_set_capability
LBB0_3:
	ldr	w2, [x20, #32]
	cbz	w2, LBB0_5
; %bb.4:
	ldr	x8, [x19]
Lloh29:
	adrp	x9, _FF_WU_CFG_1@GOTPAGE
Lloh30:
	ldr	x9, [x9, _FF_WU_CFG_1@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x9]
	mov	x0, x19
	blr	x8
	ldr	x8, [x19]
Lloh32:
	adrp	x9, _FF_WU_THS_1@GOTPAGE
Lloh33:
	ldr	x9, [x9, _FF_WU_THS_1@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x9]
	ldr	w9, [x20, #36]
	and	w2, w9, #0x7f
	mov	x0, x19
	blr	x8
	ldr	x8, [x19]
Lloh35:
	adrp	x9, _FF_WU_DURATION_1@GOTPAGE
Lloh36:
	ldr	x9, [x9, _FF_WU_DURATION_1@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x9]
	ldr	w9, [x20, #40]
	add	w2, w9, #1
	mov	x0, x19
	blr	x8
Lloh38:
	adrp	x8, _HP_FF_WU1@GOTPAGE
Lloh39:
	ldr	x8, [x8, _HP_FF_WU1@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
	eor	w21, w8, w21
LBB0_5:
	ldr	w2, [x20, #44]
	cbz	w2, LBB0_7
; %bb.6:
	ldr	x8, [x19]
Lloh41:
	adrp	x9, _FF_WU_CFG_2@GOTPAGE
Lloh42:
	ldr	x9, [x9, _FF_WU_CFG_2@GOTPAGEOFF]
Lloh43:
	ldr	w1, [x9]
	mov	x0, x19
	blr	x8
	ldr	x8, [x19]
Lloh44:
	adrp	x9, _FF_WU_THS_2@GOTPAGE
Lloh45:
	ldr	x9, [x9, _FF_WU_THS_2@GOTPAGEOFF]
Lloh46:
	ldr	w1, [x9]
	ldr	w9, [x20, #48]
	and	w2, w9, #0x7f
	mov	x0, x19
	blr	x8
	ldr	x8, [x19]
Lloh47:
	adrp	x9, _FF_WU_DURATION_2@GOTPAGE
Lloh48:
	ldr	x9, [x9, _FF_WU_DURATION_2@GOTPAGEOFF]
Lloh49:
	ldr	w1, [x9]
	ldr	w9, [x20, #52]
	add	w2, w9, #1
	mov	x0, x19
	blr	x8
Lloh50:
	adrp	x8, _HP_FF_WU2@GOTPAGE
Lloh51:
	ldr	x8, [x8, _HP_FF_WU2@GOTPAGEOFF]
Lloh52:
	ldr	w8, [x8]
	eor	w21, w8, w21
LBB0_7:
	ldr	x8, [x19]
Lloh53:
	adrp	x9, _CTRL_REG2@GOTPAGE
Lloh54:
	ldr	x9, [x9, _CTRL_REG2@GOTPAGEOFF]
Lloh55:
	ldr	w1, [x9]
	mov	x0, x19
	mov	x2, x21
	blr	x8
	ldr	x0, [x20, #64]
	cbz	x0, LBB0_9
; %bb.8:
Lloh56:
	adrp	x8, _lis302dl_interrupt_thread2_8b@GOTPAGE
Lloh57:
	ldr	x8, [x8, _lis302dl_interrupt_thread2_8b@GOTPAGEOFF]
Lloh58:
	ldr	w2, [x8]
Lloh59:
	adrp	x8, _IRQF_TRIGGER_RISING@GOTPAGE
Lloh60:
	ldr	x8, [x8, _IRQF_TRIGGER_RISING@GOTPAGEOFF]
Lloh61:
	adrp	x9, _IRQF_ONESHOT@GOTPAGE
Lloh62:
	ldr	x9, [x9, _IRQF_ONESHOT@GOTPAGEOFF]
Lloh63:
	ldr	w8, [x8]
Lloh64:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x20, #56]
Lloh65:
	adrp	x10, _IRQF_TRIGGER_MASK@GOTPAGE
Lloh66:
	ldr	x10, [x10, _IRQF_TRIGGER_MASK@GOTPAGEOFF]
Lloh67:
	ldr	w10, [x10]
	and	w9, w10, w9
	orr	w3, w8, w9
Lloh68:
	adrp	x8, _DRIVER_NAME@GOTPAGE
Lloh69:
	ldr	x8, [x8, _DRIVER_NAME@GOTPAGEOFF]
Lloh70:
	ldr	w4, [x8]
	mov	x1, #0
	mov	x5, x19
	bl	_request_threaded_irq
	tbnz	w0, #31, LBB0_10
LBB0_9:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_10:
Lloh71:
	adrp	x0, l_.str@PAGE
Lloh72:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_pr_err
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh64
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh63
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpAdd	Lloh71, Lloh72
	.cfi_endproc
                                        ; -- End function
	.comm	_CLICK_CFG,4,2                  ; @CLICK_CFG
	.comm	_CLICK_TIMELIMIT,4,2            ; @CLICK_TIMELIMIT
	.comm	_CLICK_LATENCY,4,2              ; @CLICK_LATENCY
	.comm	_CLICK_WINDOW,4,2               ; @CLICK_WINDOW
	.comm	_CLICK_THSZ,4,2                 ; @CLICK_THSZ
	.comm	_CLICK_THSY_X,4,2               ; @CLICK_THSY_X
	.comm	_EV_KEY,4,2                     ; @EV_KEY
	.comm	_BTN_X,4,2                      ; @BTN_X
	.comm	_BTN_Y,4,2                      ; @BTN_Y
	.comm	_BTN_Z,4,2                      ; @BTN_Z
	.comm	_FF_WU_CFG_1,4,2                ; @FF_WU_CFG_1
	.comm	_FF_WU_THS_1,4,2                ; @FF_WU_THS_1
	.comm	_FF_WU_DURATION_1,4,2           ; @FF_WU_DURATION_1
	.comm	_HP_FF_WU1,4,2                  ; @HP_FF_WU1
	.comm	_FF_WU_CFG_2,4,2                ; @FF_WU_CFG_2
	.comm	_FF_WU_THS_2,4,2                ; @FF_WU_THS_2
	.comm	_FF_WU_DURATION_2,4,2           ; @FF_WU_DURATION_2
	.comm	_HP_FF_WU2,4,2                  ; @HP_FF_WU2
	.comm	_CTRL_REG2,4,2                  ; @CTRL_REG2
	.comm	_lis302dl_interrupt_thread2_8b,4,2 ; @lis302dl_interrupt_thread2_8b
	.comm	_IRQF_TRIGGER_RISING,4,2        ; @IRQF_TRIGGER_RISING
	.comm	_IRQF_ONESHOT,4,2               ; @IRQF_ONESHOT
	.comm	_IRQF_TRIGGER_MASK,4,2          ; @IRQF_TRIGGER_MASK
	.comm	_DRIVER_NAME,4,2                ; @DRIVER_NAME
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No second IRQ. Limited functionality\n"

	.no_dead_strip	_lis3lv02d_8b_configure
.subsections_via_symbols
