	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function steam_set_lizard_mode
_steam_set_lizard_mode:                 ## @steam_set_lizard_mode
	.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
	testl	%esi, %esi
	je	LBB0_2
## %bb.1:
	movq	_STEAM_CMD_DEFAULT_MAPPINGS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_steam_send_report_byte
	movq	_STEAM_CMD_DEFAULT_MOUSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_steam_send_report_byte
	movq	_STEAM_REG_RPAD_MARGIN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_steam_write_registers          ## TAILCALL
LBB0_2:
	movq	_STEAM_CMD_CLEAR_MAPPINGS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_steam_send_report_byte
	movq	_STEAM_REG_RPAD_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_STEAM_REG_RPAD_MARGIN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movl	$7, %edx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_steam_write_registers          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_STEAM_CMD_DEFAULT_MAPPINGS,4,2 ## @STEAM_CMD_DEFAULT_MAPPINGS
	.comm	_STEAM_CMD_DEFAULT_MOUSE,4,2    ## @STEAM_CMD_DEFAULT_MOUSE
	.comm	_STEAM_REG_RPAD_MARGIN,4,2      ## @STEAM_REG_RPAD_MARGIN
	.comm	_STEAM_CMD_CLEAR_MAPPINGS,4,2   ## @STEAM_CMD_CLEAR_MAPPINGS
	.comm	_STEAM_REG_RPAD_MODE,4,2        ## @STEAM_REG_RPAD_MODE
	.no_dead_strip	_steam_set_lizard_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function steam_set_lizard_mode
_steam_set_lizard_mode:                 ; @steam_set_lizard_mode
	.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, x0
	cbz	w1, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _STEAM_CMD_DEFAULT_MAPPINGS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STEAM_CMD_DEFAULT_MAPPINGS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_steam_send_report_byte
Lloh3:
	adrp	x8, _STEAM_CMD_DEFAULT_MOUSE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _STEAM_CMD_DEFAULT_MOUSE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_steam_send_report_byte
Lloh6:
	adrp	x8, _STEAM_REG_RPAD_MARGIN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _STEAM_REG_RPAD_MARGIN@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #1
	mov	w3, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_steam_write_registers
LBB0_2:
Lloh9:
	adrp	x8, _STEAM_CMD_CLEAR_MAPPINGS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _STEAM_CMD_CLEAR_MAPPINGS@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_steam_send_report_byte
Lloh12:
	adrp	x8, _STEAM_REG_RPAD_MODE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _STEAM_REG_RPAD_MODE@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x8, _STEAM_REG_RPAD_MARGIN@GOTPAGE
Lloh16:
	ldr	x8, [x8, _STEAM_REG_RPAD_MARGIN@GOTPAGEOFF]
Lloh17:
	ldr	w3, [x8]
	stp	xzr, xzr, [sp]
	mov	x0, x19
	mov	w2, #7
	bl	_steam_write_registers
	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	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_STEAM_CMD_DEFAULT_MAPPINGS,4,2 ; @STEAM_CMD_DEFAULT_MAPPINGS
	.comm	_STEAM_CMD_DEFAULT_MOUSE,4,2    ; @STEAM_CMD_DEFAULT_MOUSE
	.comm	_STEAM_REG_RPAD_MARGIN,4,2      ; @STEAM_REG_RPAD_MARGIN
	.comm	_STEAM_CMD_CLEAR_MAPPINGS,4,2   ; @STEAM_CMD_CLEAR_MAPPINGS
	.comm	_STEAM_REG_RPAD_MODE,4,2        ; @STEAM_REG_RPAD_MODE
	.no_dead_strip	_steam_set_lizard_mode
.subsections_via_symbols
