	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function alps_update_btn_info_ss4_v2
_alps_update_btn_info_ss4_v2:           ## @alps_update_btn_info_ss4_v2
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	4(%rsi), %edi
	callq	_IS_SS4PLUS_DEV
	xorl	%ecx, %ecx
	testq	%rax, %rax
	sete	%cl
	movl	$8, %eax
	movl	$2, %edx
	cmovel	%eax, %edx
	testb	%dl, 4(%r14,%rcx)
	je	LBB0_2
## %bb.1:
	movq	_ALPS_BUTTONPAD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
LBB0_2:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ALPS_BUTTONPAD,4,2             ## @ALPS_BUTTONPAD
	.no_dead_strip	_alps_update_btn_info_ss4_v2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function alps_update_btn_info_ss4_v2
_alps_update_btn_info_ss4_v2:           ; @alps_update_btn_info_ss4_v2
	.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
	mov	x20, x0
	ldr	w0, [x1, #4]
	bl	_IS_SS4PLUS_DEV
	cmp	x0, #0
	cinc	x8, x20, eq
	ldrb	w8, [x8, #4]
	mov	w9, #2
	mov	w10, #8
	csel	w9, w10, w9, eq
	tst	w8, w9
	b.eq	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _ALPS_BUTTONPAD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ALPS_BUTTONPAD@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_2:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ALPS_BUTTONPAD,4,2             ; @ALPS_BUTTONPAD
	.no_dead_strip	_alps_update_btn_info_ss4_v2
.subsections_via_symbols
