	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function default_polling_getkey
_default_polling_getkey:                ## @default_polling_getkey
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movq	(%rdi), %rdi
	movl	$0, -32(%rbp)
	movq	$0, -40(%rbp)
	movq	_EM28XX_R45_IR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%r14d, %r14d
	leaq	-40(%rbp), %rcx
	xorl	%esi, %esi
	movl	$12, %r8d
	callq	*(%rdi)
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movl	-40(%rbp), %eax
	movl	%eax, %ecx
	sarl	$7, %ecx
	movl	%ecx, (%rbx)
	andl	$127, %eax
	movl	%eax, 4(%rbx)
	movl	-36(%rbp), %eax
	movl	%eax, 8(%rbx)
	movl	-32(%rbp), %eax
	movq	16(%rbx), %rcx
	movl	%eax, (%rcx)
	jmp	LBB0_3
LBB0_1:
	movl	%eax, %r14d
LBB0_3:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-24(%rbp), %rax
	jne	LBB0_5
## %bb.4:
	movl	%r14d, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_EM28XX_R45_IR,4,2              ## @EM28XX_R45_IR
	.no_dead_strip	_default_polling_getkey
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function default_polling_getkey
_default_polling_getkey:                ; @default_polling_getkey
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	ldr	x0, [x0]
	str	wzr, [sp, #16]
	str	xzr, [sp, #8]
	ldr	x8, [x0]
Lloh3:
	adrp	x9, _EM28XX_R45_IR@GOTPAGE
Lloh4:
	ldr	x9, [x9, _EM28XX_R45_IR@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x9]
	add	x3, sp, #8
	mov	w1, #0
	mov	w4, #12
	blr	x8
	tbnz	w0, #31, LBB0_2
; %bb.1:
	mov	w0, #0
	ldp	w8, w9, [sp, #8]
	asr	w10, w8, #7
	and	w8, w8, #0x7f
	stp	w10, w8, [x19]
	str	w9, [x19, #8]
	ldr	w8, [sp, #16]
	ldr	x9, [x19, #16]
	str	w8, [x9]
LBB0_2:
	ldr	x8, [sp, #24]
Lloh6:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh7:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_EM28XX_R45_IR,4,2              ; @EM28XX_R45_IR
	.no_dead_strip	_default_polling_getkey
.subsections_via_symbols
