	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_is_keyboard_id                 ## -- Begin function is_keyboard_id
	.p2align	4, 0x90
_is_keyboard_id:                        ## @is_keyboard_id
	.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_num@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	testl	%ecx, %ecx
	jle	LBB0_1
## %bb.2:
	movq	_kbd_id@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movl	$1, %eax
	cmpl	%edi, (%rdx)
	je	LBB0_7
## %bb.3:
	movl	$1, %eax
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rsi
	cmpq	%rax, %rcx
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	leaq	1(%rsi), %rax
	cmpl	%edi, (%rdx,%rsi,4)
	jne	LBB0_4
LBB0_6:
	xorl	%eax, %eax
	cmpq	%rcx, %rsi
	setb	%al
LBB0_7:
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_kbd_num,4,2                    ## @kbd_num
	.comm	_kbd_id,8,3                     ## @kbd_id
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_is_keyboard_id                 ; -- Begin function is_keyboard_id
	.p2align	2
_is_keyboard_id:                        ; @is_keyboard_id
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _kbd_num@GOTPAGE
Lloh1:
	ldr	x8, [x8, _kbd_num@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
Lloh3:
	adrp	x9, _kbd_id@GOTPAGE
Lloh4:
	ldr	x9, [x9, _kbd_id@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldr	w10, [x9]
	cmp	w10, w0
	b.ne	LBB0_4
; %bb.2:
	mov	w0, #1
	ret
LBB0_3:
	mov	w0, #0
	ret
LBB0_4:
	mov	w11, #1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x10, x11
	cmp	x8, x11
	b.eq	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w12, [x9, x10, lsl #2]
	add	x11, x10, #1
	cmp	w12, w0
	b.ne	LBB0_5
LBB0_7:
	cmp	x10, x8
	cset	w0, lo
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_kbd_num,4,2                    ; @kbd_num
	.comm	_kbd_id,8,3                     ; @kbd_id
.subsections_via_symbols
