	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hostapd_check_lci_age
_hostapd_check_lci_age:                 ## @hostapd_check_lci_age
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$1, %r15d
	cmpl	$65535, %esi                    ## imm = 0xFFFF
	je	LBB0_6
## %bb.1:
	movq	%rdi, %rbx
	cmpq	$0, 8(%rdi)
	jne	LBB0_6
## %bb.2:
	movl	%esi, %r14d
	xorl	%r15d, %r15d
	testl	%esi, %esi
	je	LBB0_6
## %bb.3:
	leaq	-40(%rbp), %rdi
	callq	_os_get_time
	testq	%rax, %rax
	jne	LBB0_6
## %bb.4:
	leaq	-40(%rbp), %rdi
	leaq	-32(%rbp), %rdx
	movq	%rbx, %rsi
	callq	_os_time_sub
	movl	-32(%rbp), %eax
	cmpl	$65535, %eax                    ## imm = 0xFFFF
	jg	LBB0_6
## %bb.5:
	leal	(%rax,%rax,4), %eax
	movslq	-28(%rbp), %rcx
	imulq	$351843721, %rcx, %rcx          ## imm = 0x14F8B589
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$45, %rcx
	addl	%edx, %ecx
	leal	(%rcx,%rax,2), %eax
	xorl	%r15d, %r15d
	cmpl	%r14d, %eax
	setb	%r15b
LBB0_6:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_hostapd_check_lci_age
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hostapd_check_lci_age
_hostapd_check_lci_age:                 ; @hostapd_check_lci_age
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0, #8]
	mov	w9, #65535
	cmp	w1, w9
	ccmp	x8, #0, #0, ne
	b.eq	LBB0_2
; %bb.1:
	mov	w0, #1
	b	LBB0_6
LBB0_2:
	mov	x19, x1
	cbz	w1, LBB0_5
; %bb.3:
	mov	x20, x0
	add	x0, sp, #8
	bl	_os_get_time
	cbnz	x0, LBB0_5
; %bb.4:
	add	x0, sp, #8
	mov	x2, sp
	mov	x1, x20
	bl	_os_time_sub
	ldr	w8, [sp]
	cmp	w8, #16, lsl #12                ; =65536
	b.lt	LBB0_7
LBB0_5:
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_7:
	mov	w9, #10
	ldrsw	x10, [sp, #4]
	mov	w11, #46473
	movk	w11, #5368, lsl #16
	mul	x10, x10, x11
	lsr	x11, x10, #63
	asr	x10, x10, #45
	add	w10, w10, w11
	madd	w8, w8, w9, w10
	cmp	w8, w19
	cset	w0, lo
	b	LBB0_6
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_hostapd_check_lci_age
.subsections_via_symbols
