	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lis302dl_interrupt_thread1_8b
_lis302dl_interrupt_thread1_8b:         ## @lis302dl_interrupt_thread1_8b
	.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	%rsi, %rbx
	movq	_LIS3_IRQ1_MASK@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	andq	(%rsi), %rax
	movq	_LIS3_IRQ1_CLICK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_lis302dl_interrupt_handle_click
	jmp	LBB0_5
LBB0_2:
	movq	_LIS3_IRQ1_DATA_READY@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_IRQ_LINE0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_lis302dl_data_ready
	jmp	LBB0_5
LBB0_4:
	movl	8(%rbx), %edi
	callq	_lis3lv02d_joystick_poll
LBB0_5:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LIS3_IRQ1_MASK,8,3             ## @LIS3_IRQ1_MASK
	.comm	_LIS3_IRQ1_CLICK,8,3            ## @LIS3_IRQ1_CLICK
	.comm	_LIS3_IRQ1_DATA_READY,8,3       ## @LIS3_IRQ1_DATA_READY
	.comm	_IRQ_LINE0,4,2                  ## @IRQ_LINE0
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_lis302dl_interrupt_thread1_8b
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lis302dl_interrupt_thread1_8b
_lis302dl_interrupt_thread1_8b:         ; @lis302dl_interrupt_thread1_8b
	.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
	mov	x19, x1
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _LIS3_IRQ1_MASK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _LIS3_IRQ1_MASK@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	and	x8, x9, x8
Lloh3:
	adrp	x9, _LIS3_IRQ1_CLICK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _LIS3_IRQ1_CLICK@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_lis302dl_interrupt_handle_click
	b	LBB0_5
LBB0_2:
Lloh6:
	adrp	x9, _LIS3_IRQ1_DATA_READY@GOTPAGE
Lloh7:
	ldr	x9, [x9, _LIS3_IRQ1_DATA_READY@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_4
; %bb.3:
Lloh9:
	adrp	x8, _IRQ_LINE0@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IRQ_LINE0@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_lis302dl_data_ready
	b	LBB0_5
LBB0_4:
	ldr	w0, [x19, #8]
	bl	_lis3lv02d_joystick_poll
LBB0_5:
Lloh12:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_LIS3_IRQ1_MASK,8,3             ; @LIS3_IRQ1_MASK
	.comm	_LIS3_IRQ1_CLICK,8,3            ; @LIS3_IRQ1_CLICK
	.comm	_LIS3_IRQ1_DATA_READY,8,3       ; @LIS3_IRQ1_DATA_READY
	.comm	_IRQ_LINE0,4,2                  ; @IRQ_LINE0
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_lis302dl_interrupt_thread1_8b
.subsections_via_symbols
