	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function asus_kbd_init
LCPI0_0:
	.long	65                              ## 0x41
	.long	83                              ## 0x53
	.long	85                              ## 0x55
	.long	83                              ## 0x53
LCPI0_1:
	.long	32                              ## 0x20
	.long	84                              ## 0x54
	.long	101                             ## 0x65
	.long	99                              ## 0x63
LCPI0_2:
	.long	104                             ## 0x68
	.long	46                              ## 0x2e
	.long	73                              ## 0x49
	.long	110                             ## 0x6e
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_asus_kbd_init:                         ## @asus_kbd_init
	.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	$80, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movq	_FEATURE_KBD_REPORT_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -96(%rbp)
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [65,83,85,83]
	movups	%xmm0, -92(%rbp)
	movaps	LCPI0_1(%rip), %xmm0            ## xmm0 = [32,84,101,99]
	movups	%xmm0, -76(%rbp)
	movaps	LCPI0_2(%rip), %xmm0            ## xmm0 = [104,46,73,110]
	movups	%xmm0, -60(%rbp)
	movabsq	$197568495715, %rax             ## imm = 0x2E00000063
	movq	%rax, -44(%rbp)
	movl	$0, -36(%rbp)
	leaq	-96(%rbp), %rsi
	movl	$64, %edx
	callq	_asus_kbd_set_report
	movl	%eax, %ebx
	testl	%eax, %eax
	jns	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_hid_err
LBB0_2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-24(%rbp), %rax
	jne	LBB0_4
## %bb.3:
	movl	%ebx, %eax
	addq	$80, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_FEATURE_KBD_REPORT_ID,4,2      ## @FEATURE_KBD_REPORT_ID
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Asus failed to send init command: %d\n"

	.no_dead_strip	_asus_kbd_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function asus_kbd_init
lCPI0_0:
	.long	65                              ; 0x41
	.long	83                              ; 0x53
	.long	85                              ; 0x55
	.long	83                              ; 0x53
lCPI0_1:
	.long	32                              ; 0x20
	.long	84                              ; 0x54
	.long	101                             ; 0x65
	.long	99                              ; 0x63
lCPI0_2:
	.long	104                             ; 0x68
	.long	46                              ; 0x2e
	.long	73                              ; 0x49
	.long	110                             ; 0x6e
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
lCPI0_3:
	.long	99                              ; 0x63
	.long	46                              ; 0x2e
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_asus_kbd_init:                         ; @asus_kbd_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
Lloh3:
	adrp	x8, _FEATURE_KBD_REPORT_ID@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FEATURE_KBD_REPORT_ID@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [sp, #8]
Lloh6:
	adrp	x8, lCPI0_0@PAGE
Lloh7:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	stur	q0, [sp, #12]
Lloh8:
	adrp	x8, lCPI0_1@PAGE
Lloh9:
	ldr	q0, [x8, lCPI0_1@PAGEOFF]
	stur	q0, [sp, #28]
Lloh10:
	adrp	x8, lCPI0_2@PAGE
Lloh11:
	ldr	q0, [x8, lCPI0_2@PAGEOFF]
	stur	q0, [sp, #44]
Lloh12:
	adrp	x8, lCPI0_3@PAGE
Lloh13:
	ldr	d0, [x8, lCPI0_3@PAGEOFF]
	stur	d0, [sp, #60]
	str	wzr, [sp, #68]
	add	x1, sp, #8
	mov	w2, #64
	bl	_asus_kbd_set_report
	mov	x20, x0
	tbz	w0, #31, LBB0_2
; %bb.1:
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_hid_err
LBB0_2:
	ldur	x8, [x29, #-24]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpLdr	Lloh12, Lloh13
	.loh AdrpAdrp	Lloh10, Lloh12
	.loh AdrpLdr	Lloh10, Lloh11
	.loh AdrpAdrp	Lloh8, Lloh10
	.loh AdrpLdr	Lloh8, Lloh9
	.loh AdrpAdrp	Lloh6, Lloh8
	.loh AdrpLdr	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_FEATURE_KBD_REPORT_ID,4,2      ; @FEATURE_KBD_REPORT_ID
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Asus failed to send init command: %d\n"

	.no_dead_strip	_asus_kbd_init
.subsections_via_symbols
