	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function kbd_get_info
_kbd_get_info:                          ## @kbd_get_info
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	leaq	-32(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_dell_fill_request
	movq	_CLASS_KBD_BACKLIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SELECT_KBD_BACKLIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_dell_send_request
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_13
## %bb.1:
	movq	-32(%rbp), %rax
	movzwl	4(%rax), %ecx
	movl	%ecx, (%r15)
	movzbl	7(%rax), %ecx
	movl	%ecx, 4(%r15)
	movzbl	8(%rax), %ecx
	movl	%ecx, 8(%r15)
	movl	8(%rax), %eax
	movzbl	%ah, %ebx
	shrl	$16, %eax
	movzbl	%al, %eax
	movl	%eax, 12(%r15)
	movq	_quirks@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.2:
	cmpq	$0, (%rcx)
	je	LBB0_5
## %bb.3:
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	decl	%eax
	movl	%eax, 12(%r15)
LBB0_5:
	xorl	%edi, %edi
	callq	_BIT
	testl	%ebx, %eax
	je	LBB0_7
## %bb.6:
	movq	-32(%rbp), %rax
	movzbl	12(%rax), %eax
	movl	%eax, 16(%r15)
LBB0_7:
	movl	$1, %edi
	callq	_BIT
	testl	%ebx, %eax
	je	LBB0_9
## %bb.8:
	movq	-32(%rbp), %rax
	movzbl	13(%rax), %eax
	movl	%eax, 20(%r15)
LBB0_9:
	movl	$2, %edi
	callq	_BIT
	testl	%ebx, %eax
	je	LBB0_11
## %bb.10:
	movq	-32(%rbp), %rax
	movzbl	14(%rax), %eax
	movl	%eax, 24(%r15)
LBB0_11:
	movl	$3, %edi
	callq	_BIT
	testl	%ebx, %eax
	je	LBB0_13
## %bb.12:
	movq	-32(%rbp), %rax
	movzbl	15(%rax), %eax
	movl	%eax, 28(%r15)
LBB0_13:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CLASS_KBD_BACKLIGHT,4,2        ## @CLASS_KBD_BACKLIGHT
	.comm	_SELECT_KBD_BACKLIGHT,4,2       ## @SELECT_KBD_BACKLIGHT
	.comm	_quirks,8,3                     ## @quirks
	.no_dead_strip	_kbd_get_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function kbd_get_info
_kbd_get_info:                          ; @kbd_get_info
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #0
	mov	w3, #0
	mov	w4, #0
	bl	_dell_fill_request
Lloh0:
	adrp	x8, _CLASS_KBD_BACKLIGHT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CLASS_KBD_BACKLIGHT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _SELECT_KBD_BACKLIGHT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SELECT_KBD_BACKLIGHT@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	add	x0, sp, #8
	bl	_dell_send_request
	mov	x20, x0
	cbnz	w0, LBB0_12
; %bb.1:
	ldr	x8, [sp, #8]
	ldrh	w9, [x8, #4]
	str	w9, [x19]
	ldrb	w9, [x8, #7]
	str	w9, [x19, #4]
	ldrb	w9, [x8, #8]
	str	w9, [x19, #8]
	ldr	w8, [x8, #8]
	ubfx	w21, w8, #8, #8
	ubfx	w8, w8, #16, #8
	str	w8, [x19, #12]
Lloh6:
	adrp	x9, _quirks@GOTPAGE
Lloh7:
	ldr	x9, [x9, _quirks@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cbz	x9, LBB0_4
; %bb.2:
	ldr	x9, [x9]
	cmp	x9, #0
	ccmp	w8, #0, #4, ne
	b.eq	LBB0_4
; %bb.3:
	sub	w8, w8, #1
	str	w8, [x19, #12]
LBB0_4:
	mov	w0, #0
	bl	_BIT
	tst	w0, w21
	b.eq	LBB0_6
; %bb.5:
	ldr	x8, [sp, #8]
	ldrb	w8, [x8, #12]
	str	w8, [x19, #16]
LBB0_6:
	mov	w0, #1
	bl	_BIT
	tst	w0, w21
	b.eq	LBB0_8
; %bb.7:
	ldr	x8, [sp, #8]
	ldrb	w8, [x8, #13]
	str	w8, [x19, #20]
LBB0_8:
	mov	w0, #2
	bl	_BIT
	tst	w0, w21
	b.eq	LBB0_10
; %bb.9:
	ldr	x8, [sp, #8]
	ldrb	w8, [x8, #14]
	str	w8, [x19, #24]
LBB0_10:
	mov	w0, #3
	bl	_BIT
	tst	w0, w21
	b.eq	LBB0_12
; %bb.11:
	ldr	x8, [sp, #8]
	ldrb	w8, [x8, #15]
	str	w8, [x19, #28]
LBB0_12:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_CLASS_KBD_BACKLIGHT,4,2        ; @CLASS_KBD_BACKLIGHT
	.comm	_SELECT_KBD_BACKLIGHT,4,2       ; @SELECT_KBD_BACKLIGHT
	.comm	_quirks,8,3                     ; @quirks
	.no_dead_strip	_kbd_get_info
.subsections_via_symbols
