	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ite_decode_bytes
_ite_decode_bytes:                      ## @ite_decode_bytes
	.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
                                        ## kill: def $edx killed $edx def $rdx
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	testl	%edx, %edx
	je	LBB0_7
## %bb.1:
	movq	%rdi, %r15
	movl	4(%rdi), %r13d
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	leal	(,%rdx,8), %ebx
	movq	%rsi, %r12
	movq	%rsi, %rdi
	movl	%ebx, %esi
	xorl	%edx, %edx
	callq	_find_next_bit_le
	movl	%eax, %r14d
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movl	$1, -64(%rbp)
	movl	%r14d, %edi
	movl	%r13d, %esi
	callq	_ITE_BITS_TO_NS
	movq	%rax, -56(%rbp)
	movl	(%r15), %edi
	leaq	-64(%rbp), %rsi
	callq	_ir_raw_event_store_with_filter
LBB0_3:
	cmpl	%ebx, %r14d
	movq	%r12, %rax
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	movq	%r15, %r12
	jae	LBB0_6
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	leal	1(%r14), %edx
	movq	%rax, %r13
	movq	%rax, %rdi
	movl	%ebx, %esi
	callq	_find_next_zero_bit_le
	movl	%eax, %r15d
	movl	$0, -64(%rbp)
	movl	%eax, %edi
	subl	%r14d, %edi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_ITE_BITS_TO_NS
	movq	%rax, -56(%rbp)
	movl	(%r12), %edi
	leaq	-64(%rbp), %rsi
	callq	_ir_raw_event_store_with_filter
	cmpl	%ebx, %r15d
	jae	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	leal	1(%r15), %edx
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_find_next_bit_le
	movl	%eax, %r14d
	movl	$1, -64(%rbp)
	movl	%eax, %edi
	subl	%r15d, %edi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_ITE_BITS_TO_NS
	movq	%rax, -56(%rbp)
	movl	(%r12), %edi
	leaq	-64(%rbp), %rsi
	callq	_ir_raw_event_store_with_filter
	movq	%r13, %rax
	cmpl	%ebx, %r14d
	jb	LBB0_4
LBB0_6:
	movl	(%r12), %edi
	callq	_ir_raw_event_handle
	leaq	L_.str(%rip), %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_ite_dbg_verbose
LBB0_7:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"decoded %d bytes."

	.no_dead_strip	_ite_decode_bytes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ite_decode_bytes
_ite_decode_bytes:                      ; @ite_decode_bytes
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	stp	xzr, xzr, [sp]
	cbz	w2, LBB0_8
; %bb.1:
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	ldr	w22, [x0, #4]
	lsl	w23, w2, #3
	mov	x0, x1
	mov	x1, x23
	mov	w2, #0
	bl	_find_next_bit_le
	mov	x24, x0
	cbz	w0, LBB0_3
; %bb.2:
	mov	w8, #1
	str	w8, [sp]
	mov	x0, x24
	mov	x1, x22
	bl	_ITE_BITS_TO_NS
	str	x0, [sp, #8]
	ldr	w0, [x20]
	mov	x1, sp
	bl	_ir_raw_event_store_with_filter
LBB0_3:
	cmp	w24, w23
	b.hs	LBB0_7
; %bb.4:
	mov	w26, #1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	w2, w24, #1
	mov	x0, x21
	mov	x1, x23
	bl	_find_next_zero_bit_le
	mov	x25, x0
	str	wzr, [sp]
	sub	w0, w0, w24
	mov	x1, x22
	bl	_ITE_BITS_TO_NS
	str	x0, [sp, #8]
	ldr	w0, [x20]
	mov	x1, sp
	bl	_ir_raw_event_store_with_filter
	cmp	w25, w23
	b.hs	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	w2, w25, #1
	mov	x0, x21
	mov	x1, x23
	bl	_find_next_bit_le
	mov	x24, x0
	str	w26, [sp]
	sub	w0, w0, w25
	mov	x1, x22
	bl	_ITE_BITS_TO_NS
	str	x0, [sp, #8]
	ldr	w0, [x20]
	mov	x1, sp
	bl	_ir_raw_event_store_with_filter
	cmp	w24, w23
	b.lo	LBB0_5
LBB0_7:
	ldr	w0, [x20]
	bl	_ir_raw_event_handle
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_ite_dbg_verbose
LBB0_8:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"decoded %d bytes."

	.no_dead_strip	_ite_decode_bytes
.subsections_via_symbols
