	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wistron_poll
_wistron_poll:                          ## @wistron_poll
	.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	%rdi, %rbx
	xorl	%edi, %edi
	callq	_poll_bios
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_jiffies_last_press@GOTPCREL(%rip), %rax
	movq	_HZ@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rsi
	addq	%rsi, %rsi
	addq	(%rax), %rsi
	callq	_time_before
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	movq	_POLL_INTERVAL_DEFAULT@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_POLL_INTERVAL_BURST@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_jiffies,4,2                    ## @jiffies
	.comm	_jiffies_last_press,8,3         ## @jiffies_last_press
	.comm	_HZ,4,2                         ## @HZ
	.comm	_POLL_INTERVAL_BURST,4,2        ## @POLL_INTERVAL_BURST
	.comm	_POLL_INTERVAL_DEFAULT,4,2      ## @POLL_INTERVAL_DEFAULT
	.no_dead_strip	_wistron_poll
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wistron_poll
_wistron_poll:                          ; @wistron_poll
	.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, x0
	mov	w0, #0
	bl	_poll_bios
Lloh0:
	adrp	x8, _jiffies@GOTPAGE
Lloh1:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh2:
	adrp	x9, _jiffies_last_press@GOTPAGE
Lloh3:
	ldr	x9, [x9, _jiffies_last_press@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	ldr	x8, [x9]
Lloh6:
	adrp	x9, _HZ@GOTPAGE
Lloh7:
	ldr	x9, [x9, _HZ@GOTPAGEOFF]
Lloh8:
	ldrsw	x9, [x9]
	add	x1, x8, x9, lsl #1
	bl	_time_before
Lloh9:
	adrp	x8, _POLL_INTERVAL_DEFAULT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _POLL_INTERVAL_DEFAULT@GOTPAGEOFF]
Lloh11:
	adrp	x9, _POLL_INTERVAL_BURST@GOTPAGE
Lloh12:
	ldr	x9, [x9, _POLL_INTERVAL_BURST@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x8, x9, eq
	ldr	w8, [x8]
	str	w8, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_jiffies,4,2                    ; @jiffies
	.comm	_jiffies_last_press,8,3         ; @jiffies_last_press
	.comm	_HZ,4,2                         ; @HZ
	.comm	_POLL_INTERVAL_BURST,4,2        ; @POLL_INTERVAL_BURST
	.comm	_POLL_INTERVAL_DEFAULT,4,2      ; @POLL_INTERVAL_DEFAULT
	.no_dead_strip	_wistron_poll
.subsections_via_symbols
