	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_check_key                      ## -- Begin function check_key
	.p2align	4, 0x90
_check_key:                             ## @check_key
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_key@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%edi, %rcx
	cmpq	$0, (%rax,%rcx,8)
	leaq	_check_key.lastbuf(%rip), %rdi
	movb	(%rcx,%rdi), %dl
	je	LBB0_1
## %bb.2:
	xorl	%eax, %eax
	testb	%dl, %dl
	je	LBB0_3
LBB0_5:
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	movl	$0, %esi
	cmpb	$1, %dl
	jne	LBB0_5
	jmp	LBB0_4
LBB0_3:
	movl	$1, %esi
	movb	$1, %al
LBB0_4:
	movb	%al, (%rcx,%rdi)
	movl	%esi, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_check_key.lastbuf,256,4 ## @check_key.lastbuf
	.comm	_key,8,3                        ## @key
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_check_key                      ; -- Begin function check_key
	.p2align	2
_check_key:                             ; @check_key
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w0 killed $w0 def $x0
Lloh0:
	adrp	x8, _key@GOTPAGE
Lloh1:
	ldr	x8, [x8, _key@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x8]
	sxtw	x8, w0
	ldr	x10, [x9, w0, sxtw #3]
Lloh3:
	adrp	x9, _check_key.lastbuf@PAGE
Lloh4:
	add	x9, x9, _check_key.lastbuf@PAGEOFF
	ldrb	w11, [x9, x8]
	cbz	x10, LBB0_3
; %bb.1:
	cbz	w11, LBB0_5
; %bb.2:
	mov	w0, #0
	ret
LBB0_3:
	mov	w0, #0
	cmp	w11, #1
	b.eq	LBB0_6
; %bb.4:
	ret
LBB0_5:
	mov	w10, #1
LBB0_6:
	strb	w10, [x9, x8]
	mov	x0, x10
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_check_key.lastbuf,256,0 ; @check_key.lastbuf
	.comm	_key,8,3                        ; @key
.subsections_via_symbols
