	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function imon_ir_data
_imon_ir_data:                          ## @imon_ir_data
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	$0, -48(%rbp)
	movl	12(%rdi), %edi
	callq	_be64_to_cpu
	movl	%eax, %ebx
	movzbl	%bl, %eax
	cmpl	$255, %eax
	je	LBB0_8
## %bb.1:
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	leaq	12(%r14), %rcx
	movl	8(%r14), %edi
	leaq	L_.str(%rip), %rsi
	movl	$8, %edx
	xorl	%eax, %eax
	callq	_dev_dbg
	sarl	$24, %ebx
	movl	%ebx, %eax
	notl	%eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	$40, %r15d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%r15d, %edi
	callq	_BIT_ULL
                                        ## kill: def $eax killed $eax def $rax
	leal	-1(%rax), %edi
	andl	-56(%rbp), %edi                 ## 4-byte Folded Reload
	callq	_fls64
	movl	%ebx, %r12d
	movl	%eax, %ebx
	movl	8(%r14), %edi
	subl	%eax, %r15d
	leaq	L_.str.2(%rip), %rsi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_dev_dbg
	movl	$0, -48(%rbp)
	movq	_BIT_DURATION@GOTPCREL(%rip), %rax
	imull	(%rax), %r15d
	movl	%r15d, -44(%rbp)
	movq	(%r14), %rdi
	leaq	-48(%rbp), %rsi
	callq	_ir_raw_event_store_with_filter
	movl	%ebx, %r15d
	testl	%ebx, %ebx
	movl	%r12d, %ebx
	jle	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r15d, %edi
	callq	_BIT_ULL
                                        ## kill: def $eax killed $eax def $rax
	leal	-1(%rax), %edi
	andl	%ebx, %edi
	callq	_fls64
	movl	%r15d, %r12d
	subl	%eax, %r12d
	jle	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %r13d
	movl	8(%r14), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_dev_dbg
	movl	$1, -48(%rbp)
	movq	_BIT_DURATION@GOTPCREL(%rip), %rax
	imull	(%rax), %r12d
	movl	%r12d, -44(%rbp)
	movq	(%r14), %rdi
	leaq	-48(%rbp), %rsi
	callq	_ir_raw_event_store_with_filter
	movl	%r13d, %r15d
	testl	%r13d, %r13d
	jne	LBB0_4
LBB0_5:
	cmpl	$10, -52(%rbp)                  ## 4-byte Folded Reload
	jne	LBB0_8
## %bb.6:
	movq	(%r14), %rdi
	cmpl	$0, (%rdi)
	jne	LBB0_8
## %bb.7:
	movl	$1, %esi
	callq	_ir_raw_event_set_idle
	movq	(%r14), %rdi
	callq	_ir_raw_event_handle
LBB0_8:
	addq	$24, %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	"data: %*ph"

L_.str.1:                               ## @.str.1
	.asciz	"pulse: %d bits"

	.comm	_BIT_DURATION,4,2               ## @BIT_DURATION
L_.str.2:                               ## @.str.2
	.asciz	"space: %d bits"

	.no_dead_strip	_imon_ir_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function imon_ir_data
_imon_ir_data:                          ; @imon_ir_data
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x19, x0
	str	xzr, [sp, #24]
	mov	x21, x0
	ldr	w0, [x21, #12]!
	bl	_be64_to_cpu
	and	w8, w0, #0xff
	cmp	w8, #255
	b.eq	LBB0_8
; %bb.1:
	mov	x20, x0
	str	w8, [sp, #20]                   ; 4-byte Folded Spill
	ldr	w0, [x19, #8]
	str	x21, [sp]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #8
	bl	_dev_dbg
	asr	w26, w20, #24
	mvn	w27, w26
Lloh2:
	adrp	x20, l_.str.1@PAGE
Lloh3:
	add	x20, x20, l_.str.1@PAGEOFF
	mov	w22, #40
	mov	w28, #1
Lloh4:
	adrp	x25, _BIT_DURATION@GOTPAGE
Lloh5:
	ldr	x25, [x25, _BIT_DURATION@GOTPAGEOFF]
Lloh6:
	adrp	x21, l_.str.2@PAGE
Lloh7:
	add	x21, x21, l_.str.2@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x22
	bl	_BIT_ULL
	sub	w8, w0, #1
	and	w0, w8, w27
	bl	_fls64
	mov	x23, x0
	ldr	w0, [x19, #8]
	sub	w22, w22, w23
	mov	x1, x21
	mov	x2, x22
	bl	_dev_dbg
	ldr	w8, [x25]
	mul	w8, w8, w22
	stp	wzr, w8, [sp, #24]
	ldr	x0, [x19]
	add	x1, sp, #24
	bl	_ir_raw_event_store_with_filter
	mov	x22, x23
	cmp	w23, #0
	b.le	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_BIT_ULL
	sub	w8, w0, #1
	and	w0, w8, w26
	bl	_fls64
	subs	w24, w22, w0
	b.le	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x23, x0
	ldr	w0, [x19, #8]
	mov	x1, x20
	mov	x2, x24
	bl	_dev_dbg
	ldr	w8, [x25]
	mul	w8, w8, w24
	stp	w28, w8, [sp, #24]
	ldr	x0, [x19]
	add	x1, sp, #24
	bl	_ir_raw_event_store_with_filter
	mov	x22, x23
	cbnz	w23, LBB0_2
LBB0_5:
	ldr	w8, [sp, #20]                   ; 4-byte Folded Reload
	cmp	w8, #10
	b.ne	LBB0_8
; %bb.6:
	ldr	x0, [x19]
	ldr	w8, [x0]
	cbnz	w8, LBB0_8
; %bb.7:
	mov	w1, #1
	bl	_ir_raw_event_set_idle
	ldr	x0, [x19]
	bl	_ir_raw_event_handle
LBB0_8:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"data: %*ph"

l_.str.1:                               ; @.str.1
	.asciz	"pulse: %d bits"

	.comm	_BIT_DURATION,4,2               ; @BIT_DURATION
l_.str.2:                               ; @.str.2
	.asciz	"space: %d bits"

	.no_dead_strip	_imon_ir_data
.subsections_via_symbols
