	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function em28xx_get_key_pinnacle_usb_grey
_em28xx_get_key_pinnacle_usb_grey:      ## @em28xx_get_key_pinnacle_usb_grey
	.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	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	leaq	-19(%rbp), %rsi
	movl	$3, %edx
	callq	_i2c_master_recv
	cmpl	$3, %eax
	jne	LBB0_1
## %bb.2:
	xorl	%eax, %eax
	cmpb	$0, -19(%rbp)
	jne	LBB0_4
## %bb.3:
	movq	_RC_PROTO_UNKNOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movb	-17(%rbp), %al
	andb	$63, %al
	movb	%al, (%r14)
	movl	$1, %eax
	jmp	LBB0_4
LBB0_1:
	movq	_EIO@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_4:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EIO,4,2                        ## @EIO
	.comm	_RC_PROTO_UNKNOWN,4,2           ## @RC_PROTO_UNKNOWN
	.no_dead_strip	_em28xx_get_key_pinnacle_usb_grey
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function em28xx_get_key_pinnacle_usb_grey
_em28xx_get_key_pinnacle_usb_grey:      ; @em28xx_get_key_pinnacle_usb_grey
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	mov	x20, x1
	add	x1, sp, #13
	mov	w2, #3
	bl	_i2c_master_recv
	cmp	w0, #3
	b.ne	LBB0_3
; %bb.1:
	ldrb	w8, [sp, #13]
	cbz	w8, LBB0_4
; %bb.2:
	mov	w0, #0
	b	LBB0_5
LBB0_3:
Lloh0:
	adrp	x8, _EIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_5
LBB0_4:
Lloh3:
	adrp	x8, _RC_PROTO_UNKNOWN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RC_PROTO_UNKNOWN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x20]
	ldrb	w8, [sp, #15]
	and	w8, w8, #0x3f
	strb	w8, [x19]
	mov	w0, #1
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EIO,4,2                        ; @EIO
	.comm	_RC_PROTO_UNKNOWN,4,2           ; @RC_PROTO_UNKNOWN
	.no_dead_strip	_em28xx_get_key_pinnacle_usb_grey
.subsections_via_symbols
