	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function alps_decode_dolphin
_alps_decode_dolphin:                   ## @alps_decode_dolphin
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movzbl	(%rsi), %eax
	shrl	%eax
	andl	$1, %eax
	movl	%eax, (%rdi)
	movzbl	(%rsi), %eax
	shrl	$5, %eax
	andl	$1, %eax
	movl	%eax, 4(%rdi)
	movb	1(%rsi), %al
	movb	4(%rsi), %cl
	andb	$127, %al
	shlb	$7, %cl
	orb	%al, %cl
	movb	%cl, 8(%rdi)
	movb	2(%rsi), %al
	movb	4(%rsi), %cl
	andb	$127, %al
	shlb	$3, %cl
	andb	$-128, %cl
	orb	%al, %cl
	movb	%cl, 9(%rdi)
	testb	$4, (%rsi)
	jne	LBB0_1
## %bb.2:
	movb	5(%rsi), %al
	andb	$127, %al
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
LBB0_3:
	movb	%al, 10(%rdi)
	popq	%rbp
	jmp	_alps_decode_buttons_v3         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_alps_decode_dolphin
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function alps_decode_dolphin
_alps_decode_dolphin:                   ; @alps_decode_dolphin
	.cfi_startproc
; %bb.0:
	ldrb	w8, [x1]
	ubfx	w8, w8, #1, #1
	str	w8, [x0]
	ldrb	w8, [x1]
	ubfx	w8, w8, #5, #1
	str	w8, [x0, #4]
	ldrb	w8, [x1, #1]
	ldrb	w9, [x1, #4]
	bfi	w8, w9, #7, #25
	strb	w8, [x0, #8]
	ldrb	w8, [x1, #2]
	ldrb	w9, [x1, #4]
	lsr	w9, w9, #4
	bfi	w8, w9, #7, #1
	strb	w8, [x0, #9]
	ldrb	w8, [x1]
	tbnz	w8, #2, LBB0_2
; %bb.1:
	ldrb	w8, [x1, #5]
	and	w8, w8, #0x7f
	strb	w8, [x0, #10]
	b	_alps_decode_buttons_v3
LBB0_2:
	strb	wzr, [x0, #10]
	b	_alps_decode_buttons_v3
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_alps_decode_dolphin
.subsections_via_symbols
