	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function kbd_get_max_level
_kbd_get_max_level:                     ## @kbd_get_max_level
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_kbd_info@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_2:
	movq	_kbd_mode_levels_count@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	jle	LBB0_4
## %bb.3:
	decl	%eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_4:
	xorl	%eax, %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_kbd_info,8,3                   ## @kbd_info
	.comm	_kbd_mode_levels_count,8,3      ## @kbd_mode_levels_count
	.no_dead_strip	_kbd_get_max_level
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function kbd_get_max_level
_kbd_get_max_level:                     ; @kbd_get_max_level
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _kbd_info@GOTPAGE
Lloh1:
	ldr	x8, [x8, _kbd_info@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	cbz	x0, LBB0_2
; %bb.1:
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
LBB0_2:
Lloh3:
	adrp	x8, _kbd_mode_levels_count@GOTPAGE
Lloh4:
	ldr	x8, [x8, _kbd_mode_levels_count@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	sub	w9, w8, #1
	cmp	x8, #1
	csel	w0, wzr, w9, lt
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_kbd_info,8,3                   ; @kbd_info
	.comm	_kbd_mode_levels_count,8,3      ; @kbd_mode_levels_count
	.no_dead_strip	_kbd_get_max_level
.subsections_via_symbols
