	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function check_key
LCPI0_0:
	.quad	0x404e000000000000              ## double 60
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_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
	pushq	%rbx
	subq	$1048, %rsp                     ## imm = 0x418
	.cfi_offset %rbx, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -16(%rbp)
	movq	_KEY_FILE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_open
	cmpl	$-1, %eax
	jne	LBB0_3
LBB0_1:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-16(%rbp), %rax
	jne	LBB0_7
## %bb.2:
	addq	$1048, %rsp                     ## imm = 0x418
	popq	%rbx
	popq	%rbp
	retq
LBB0_3:
	movl	%eax, %ebx
	leaq	-1040(%rbp), %rsi
	movl	%eax, %edi
	movl	$1023, %edx                     ## imm = 0x3FF
	callq	_read
	cmpl	$-1, %eax
	jne	LBB0_5
## %bb.4:
	callq	_check_key.cold.1
	jmp	LBB0_1
LBB0_5:
	cltq
	movb	$0, -1040(%rbp,%rax)
	movl	%ebx, %edi
	callq	_close
	leaq	L_str(%rip), %rdi
	callq	_puts
	leaq	L_.str.2(%rip), %rdi
	leaq	-1040(%rbp), %rsi
	callq	_time_print
	leaq	-1048(%rbp), %rdi
	xorl	%esi, %esi
	callq	_gettimeofday
	cmpl	$-1, %eax
	jne	LBB0_8
## %bb.6:
	callq	_check_key.cold.2
	jmp	LBB0_1
LBB0_7:
	callq	___stack_chk_fail
LBB0_8:
	cvtsi2sdq	-1048(%rbp), %xmm0
	movq	_real_start@GOTPCREL(%rip), %rax
	subsd	(%rax), %xmm0
	divsd	LCPI0_0(%rip), %xmm0
	leaq	L_.str.4(%rip), %rdi
	movb	$1, %al
	callq	_printf
	xorl	%edi, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function check_key.cold.1
_check_key.cold.1:                      ## @check_key.cold.1
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	leaq	L_.str(%rip), %rdi
	callq	_perror
	pushq	$1
	popq	%rdi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function check_key.cold.2
_check_key.cold.2:                      ## @check_key.cold.2
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	leaq	L_.str.3(%rip), %rdi
	callq	_perror
	pushq	$1
	popq	%rdi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_KEY_FILE,4,2                   ## @KEY_FILE
	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"read()"

L_.str.2:                               ## @.str.2
	.asciz	"KEY=(%s)\n"

L_.str.3:                               ## @.str.3
	.asciz	"gettimeofday()"

L_.str.4:                               ## @.str.4
	.asciz	"Owned in %.02f minutes\n"

	.comm	_real_start,8,3                 ## @real_start
L_str:                                  ## @str
	.asciz	"\n"

.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:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	sub	sp, sp, #1056
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, _KEY_FILE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _KEY_FILE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _O_RDONLY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _O_RDONLY@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_open
	cmn	w0, #1
	b.ne	LBB0_3
; %bb.1:
	ldur	x8, [x29, #-24]
Lloh9:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.2:
	add	sp, sp, #1056
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
	add	x19, sp, #24
	add	x1, sp, #24
	str	w0, [sp, #12]                   ; 4-byte Folded Spill
	mov	w2, #1023
	bl	_read
	cmn	w0, #1
	b.ne	LBB0_6
; %bb.4:
	bl	_check_key.cold.1
LBB0_5:
	bl	___stack_chk_fail
LBB0_6:
	strb	wzr, [x19, w0, sxtw]
	ldr	w0, [sp, #12]                   ; 4-byte Folded Reload
	bl	_close
Lloh12:
	adrp	x0, l_str@PAGE
Lloh13:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
Lloh14:
	adrp	x0, l_.str.2@PAGE
Lloh15:
	add	x0, x0, l_.str.2@PAGEOFF
	add	x1, sp, #24
	bl	_time_print
	add	x0, sp, #16
	mov	x1, #0
	bl	_gettimeofday
	cmn	w0, #1
	b.ne	LBB0_8
; %bb.7:
	bl	_check_key.cold.2
LBB0_8:
	ldr	d0, [sp, #16]
Lloh16:
	adrp	x8, _real_start@GOTPAGE
Lloh17:
	ldr	x8, [x8, _real_start@GOTPAGEOFF]
	scvtf	d0, d0
Lloh18:
	ldr	d1, [x8]
	fsub	d0, d0, d1
	mov	x8, #4633641066610819072
	fmov	d1, x8
	fdiv	d0, d0, d1
	str	d0, [sp]
Lloh19:
	adrp	x0, l_.str.4@PAGE
Lloh20:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_printf
	mov	w0, #0
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function check_key.cold.1
_check_key.cold.1:                      ; @check_key.cold.1
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh21:
	adrp	x0, l_.str@PAGE
Lloh22:
	add	x0, x0, l_.str@PAGEOFF
	bl	_perror
	mov	w0, #1
	bl	_exit
	.loh AdrpAdd	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function check_key.cold.2
_check_key.cold.2:                      ; @check_key.cold.2
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh23:
	adrp	x0, l_.str.3@PAGE
Lloh24:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_perror
	mov	w0, #1
	bl	_exit
	.loh AdrpAdd	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_KEY_FILE,4,2                   ; @KEY_FILE
	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"read()"

l_.str.2:                               ; @.str.2
	.asciz	"KEY=(%s)\n"

l_.str.3:                               ; @.str.3
	.asciz	"gettimeofday()"

l_.str.4:                               ; @.str.4
	.asciz	"Owned in %.02f minutes\n"

	.comm	_real_start,8,3                 ; @real_start
l_str:                                  ; @str
	.asciz	"\n"

.subsections_via_symbols
