	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function in_update_kc_async
_in_update_kc_async:                    ## @in_update_kc_async
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_plat_get_ticks_ms
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_in_dev_count@GOTPCREL(%rip), %r14
	movq	_in_devices@GOTPCREL(%rip), %r15
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	$10, %edi
	callq	_plat_sleep_ms
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
	movl	(%r14), %eax
	testl	%eax, %eax
	jle	LBB0_7
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	$8, %r13d
	xorl	%r12d, %r12d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=2
	incq	%r12
	movslq	%eax, %rcx
	addq	$12, %r13
	cmpq	%rcx, %r12
	jge	LBB0_7
LBB0_3:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r15), %rbx
	cmpl	$0, (%rbx,%r13)
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=2
	movl	-4(%rbx,%r13), %edi
	callq	_DRV
	movl	-8(%rbx,%r13), %edi
	leaq	-52(%rbp), %rsi
	callq	*%rax
	cmpl	$-1, %eax
	jne	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=2
	movl	(%r14), %eax
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
	testl	%ebx, %ebx
	js	LBB0_15
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_plat_get_ticks_ms
	subl	-44(%rbp), %eax                 ## 4-byte Folded Reload
	cmpl	%ebx, %eax
	jle	LBB0_15
## %bb.9:
	movl	$-1, %eax
	jmp	LBB0_14
LBB0_10:
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	testq	%rcx, %rcx
	je	LBB0_12
## %bb.11:
	movl	%r12d, (%rcx)
LBB0_12:
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	testq	%rdx, %rdx
	je	LBB0_14
## %bb.13:
	movl	-52(%rbp), %ecx
	movl	%ecx, (%rdx)
LBB0_14:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_in_dev_count,4,2               ## @in_dev_count
	.comm	_in_devices,8,3                 ## @in_devices
	.no_dead_strip	_in_update_kc_async
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function in_update_kc_async
_in_update_kc_async:                    ; @in_update_kc_async
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	bl	_plat_get_ticks_ms
	mov	x22, x0
Lloh0:
	adrp	x23, _in_dev_count@GOTPAGE
Lloh1:
	ldr	x23, [x23, _in_dev_count@GOTPAGEOFF]
Lloh2:
	adrp	x24, _in_devices@GOTPAGE
Lloh3:
	ldr	x24, [x24, _in_devices@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	w0, #10
	bl	_plat_sleep_ms
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x26, #0
	mov	x25, #0
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=2
	add	x25, x25, #1
	add	x26, x26, #12
	cmp	x25, w8, sxtw
	b.ge	LBB0_8
LBB0_5:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x9, [x24]
	add	x27, x9, x26
	ldr	w9, [x27, #8]
	cbz	w9, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=2
	ldr	w0, [x27, #4]
	bl	_DRV
	mov	x8, x0
	ldr	w0, [x27]
	add	x1, sp, #12
	blr	x8
	cmn	w0, #1
	b.ne	LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=2
	ldr	w8, [x23]
	b	LBB0_4
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	tbnz	w21, #31, LBB0_1
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
	bl	_plat_get_ticks_ms
	sub	w8, w0, w22
	cmp	w8, w21
	b.le	LBB0_1
; %bb.10:
	mov	w0, #-1
	b	LBB0_15
LBB0_11:
	cbz	x20, LBB0_13
; %bb.12:
	str	w25, [x20]
LBB0_13:
	cbz	x19, LBB0_15
; %bb.14:
	ldr	w8, [sp, #12]
	str	w8, [x19]
LBB0_15:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_in_dev_count,4,2               ; @in_dev_count
	.comm	_in_devices,8,3                 ; @in_devices
	.no_dead_strip	_in_update_kc_async
.subsections_via_symbols
