	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adb_message_handler
_adb_message_handler:                   ## @adb_message_handler
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	leaq	-128(%rsi), %rax
	cmpq	$2, %rax
	jae	LBB0_1
## %bb.3:
	movq	_adbhid@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	8(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.4:
	movq	(%rcx), %rdi
	callq	_del_timer_sync
	movq	(%rbx), %rax
LBB0_5:
	movq	16(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_7
## %bb.6:
	movq	(%rcx), %rdi
	callq	_del_timer_sync
	movq	(%rbx), %rax
LBB0_7:
	movq	24(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_9
## %bb.8:
	movq	(%rcx), %rdi
	callq	_del_timer_sync
	movq	(%rbx), %rax
LBB0_9:
	movq	32(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_11
## %bb.10:
	movq	(%rcx), %rdi
	callq	_del_timer_sync
	movq	(%rbx), %rax
LBB0_11:
	movq	40(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_13
## %bb.12:
	movq	(%rcx), %rdi
	callq	_del_timer_sync
	movq	(%rbx), %rax
LBB0_13:
	movq	48(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_15
## %bb.14:
	movq	(%rcx), %rdi
	callq	_del_timer_sync
	movq	(%rbx), %rax
LBB0_15:
	movq	56(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_17
## %bb.16:
	movq	(%rcx), %rdi
	callq	_del_timer_sync
	movq	(%rbx), %rax
LBB0_17:
	movq	64(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_19
## %bb.18:
	movq	(%rcx), %rdi
	callq	_del_timer_sync
	movq	(%rbx), %rax
LBB0_19:
	movq	72(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_21
## %bb.20:
	movq	(%rcx), %rdi
	callq	_del_timer_sync
	movq	(%rbx), %rax
LBB0_21:
	movq	80(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_23
## %bb.22:
	movq	(%rcx), %rdi
	callq	_del_timer_sync
	movq	(%rbx), %rax
LBB0_23:
	movq	88(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_25
## %bb.24:
	movq	(%rcx), %rdi
	callq	_del_timer_sync
	movq	(%rbx), %rax
LBB0_25:
	movq	96(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_27
## %bb.26:
	movq	(%rcx), %rdi
	callq	_del_timer_sync
	movq	(%rbx), %rax
LBB0_27:
	movq	104(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_29
## %bb.28:
	movq	(%rcx), %rdi
	callq	_del_timer_sync
	movq	(%rbx), %rax
LBB0_29:
	movq	112(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_31
## %bb.30:
	movq	(%rcx), %rdi
	callq	_del_timer_sync
	movq	(%rbx), %rax
LBB0_31:
	movq	120(%rax), %rax
	testq	%rax, %rax
	je	LBB0_33
## %bb.32:
	movq	(%rax), %rdi
	callq	_del_timer_sync
LBB0_33:
	movq	_leds_req_pending@GOTPCREL(%rip), %rbx
	cmpl	$0, (%rbx)
	je	LBB0_36
	.p2align	4, 0x90
LBB0_34:                                ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_adb_poll
	cmpl	$0, (%rbx)
	jne	LBB0_34
LBB0_36:
	movq	_restore_capslock_events@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_38
## %bb.37:
	xorl	%eax, %eax
	callq	_adbhid_kbd_capslock_remember
	jmp	LBB0_38
LBB0_1:
	cmpq	$130, %rsi
	jne	LBB0_38
## %bb.2:
	xorl	%eax, %eax
	callq	_adbhid_probe
LBB0_38:
	movq	_NOTIFY_DONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_adbhid,8,3                     ## @adbhid
	.comm	_leds_req_pending,4,2           ## @leds_req_pending
	.comm	_restore_capslock_events,4,2    ## @restore_capslock_events
	.comm	_NOTIFY_DONE,4,2                ## @NOTIFY_DONE
	.no_dead_strip	_adb_message_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adb_message_handler
_adb_message_handler:                   ; @adb_message_handler
	.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	x8, x1, #128
	cmp	x8, #2
	b.hs	LBB0_35
; %bb.1:
Lloh0:
	adrp	x19, _adbhid@GOTPAGE
Lloh1:
	ldr	x19, [x19, _adbhid@GOTPAGEOFF]
	ldr	x8, [x19]
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_3
; %bb.2:
	ldr	x0, [x9]
	bl	_del_timer_sync
	ldr	x8, [x19]
LBB0_3:
	ldr	x9, [x8, #16]
	cbz	x9, LBB0_5
; %bb.4:
	ldr	x0, [x9]
	bl	_del_timer_sync
	ldr	x8, [x19]
LBB0_5:
	ldr	x9, [x8, #24]
	cbz	x9, LBB0_7
; %bb.6:
	ldr	x0, [x9]
	bl	_del_timer_sync
	ldr	x8, [x19]
LBB0_7:
	ldr	x9, [x8, #32]
	cbz	x9, LBB0_9
; %bb.8:
	ldr	x0, [x9]
	bl	_del_timer_sync
	ldr	x8, [x19]
LBB0_9:
	ldr	x9, [x8, #40]
	cbz	x9, LBB0_11
; %bb.10:
	ldr	x0, [x9]
	bl	_del_timer_sync
	ldr	x8, [x19]
LBB0_11:
	ldr	x9, [x8, #48]
	cbz	x9, LBB0_13
; %bb.12:
	ldr	x0, [x9]
	bl	_del_timer_sync
	ldr	x8, [x19]
LBB0_13:
	ldr	x9, [x8, #56]
	cbz	x9, LBB0_15
; %bb.14:
	ldr	x0, [x9]
	bl	_del_timer_sync
	ldr	x8, [x19]
LBB0_15:
	ldr	x9, [x8, #64]
	cbz	x9, LBB0_17
; %bb.16:
	ldr	x0, [x9]
	bl	_del_timer_sync
	ldr	x8, [x19]
LBB0_17:
	ldr	x9, [x8, #72]
	cbz	x9, LBB0_19
; %bb.18:
	ldr	x0, [x9]
	bl	_del_timer_sync
	ldr	x8, [x19]
LBB0_19:
	ldr	x9, [x8, #80]
	cbz	x9, LBB0_21
; %bb.20:
	ldr	x0, [x9]
	bl	_del_timer_sync
	ldr	x8, [x19]
LBB0_21:
	ldr	x9, [x8, #88]
	cbz	x9, LBB0_23
; %bb.22:
	ldr	x0, [x9]
	bl	_del_timer_sync
	ldr	x8, [x19]
LBB0_23:
	ldr	x9, [x8, #96]
	cbz	x9, LBB0_25
; %bb.24:
	ldr	x0, [x9]
	bl	_del_timer_sync
	ldr	x8, [x19]
LBB0_25:
	ldr	x9, [x8, #104]
	cbz	x9, LBB0_27
; %bb.26:
	ldr	x0, [x9]
	bl	_del_timer_sync
	ldr	x8, [x19]
LBB0_27:
	ldr	x9, [x8, #112]
	cbz	x9, LBB0_29
; %bb.28:
	ldr	x0, [x9]
	bl	_del_timer_sync
	ldr	x8, [x19]
LBB0_29:
	ldr	x8, [x8, #120]
	cbz	x8, LBB0_31
; %bb.30:
	ldr	x0, [x8]
	bl	_del_timer_sync
LBB0_31:
Lloh2:
	adrp	x19, _leds_req_pending@GOTPAGE
Lloh3:
	ldr	x19, [x19, _leds_req_pending@GOTPAGEOFF]
	ldr	w8, [x19]
	cbz	w8, LBB0_33
LBB0_32:                                ; =>This Inner Loop Header: Depth=1
	bl	_adb_poll
	ldr	w8, [x19]
	cbnz	w8, LBB0_32
LBB0_33:
Lloh4:
	adrp	x8, _restore_capslock_events@GOTPAGE
Lloh5:
	ldr	x8, [x8, _restore_capslock_events@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	cbz	w8, LBB0_37
; %bb.34:
	bl	_adbhid_kbd_capslock_remember
	b	LBB0_37
LBB0_35:
	cmp	x1, #130
	b.ne	LBB0_37
; %bb.36:
	bl	_adbhid_probe
LBB0_37:
Lloh7:
	adrp	x8, _NOTIFY_DONE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _NOTIFY_DONE@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_adbhid,8,3                     ; @adbhid
	.comm	_leds_req_pending,4,2           ; @leds_req_pending
	.comm	_restore_capslock_events,4,2    ; @restore_capslock_events
	.comm	_NOTIFY_DONE,4,2                ; @NOTIFY_DONE
	.no_dead_strip	_adb_message_handler
.subsections_via_symbols
