	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ir_rcmm_rawencoder
_ir_rcmm_rawencoder:                    ## @ir_rcmm_rawencoder
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movl	%edx, %ebx
	movq	%rdi, %r15
	movl	%esi, -44(%rbp)
	movq	_RCMM_PREFIX_PULSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_RCMM_PULSE_0@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-44(%rbp), %rsi
	callq	_ir_raw_gen_pulse_space
	testl	%eax, %eax
	jne	LBB0_5
## %bb.1:
	addl	$-2, %ebx
	movq	_RCMM_UNIT@GOTPCREL(%rip), %r13
	leaq	-44(%rbp), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	testl	%ebx, %ebx
	js	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%r14d, %eax
	movl	%ebx, %ecx
	sarl	%cl, %eax
	movq	_rcmmspace@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	andl	$3, %eax
	movl	(%rcx,%rax,4), %ecx
	movl	(%r13), %edx
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_ir_raw_gen_pulse_space
	addl	$-2, %ebx
	testl	%eax, %eax
	je	LBB0_2
	jmp	LBB0_5
LBB0_4:
	movl	(%r13), %edx
	movq	_RCMM_PULSE_3@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	addl	%ecx, %ecx
	leaq	-44(%rbp), %rsi
	movq	%r15, %rdi
	callq	_ir_raw_gen_pulse_space
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RCMM_PREFIX_PULSE,4,2          ## @RCMM_PREFIX_PULSE
	.comm	_RCMM_PULSE_0,4,2               ## @RCMM_PULSE_0
	.comm	_rcmmspace,8,3                  ## @rcmmspace
	.comm	_RCMM_UNIT,4,2                  ## @RCMM_UNIT
	.comm	_RCMM_PULSE_3,4,2               ## @RCMM_PULSE_3
	.no_dead_strip	_ir_rcmm_rawencoder
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ir_rcmm_rawencoder
_ir_rcmm_rawencoder:                    ; @ir_rcmm_rawencoder
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x3
	mov	x21, x2
	mov	x19, x0
	str	w1, [sp, #12]
Lloh0:
	adrp	x8, _RCMM_PREFIX_PULSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RCMM_PREFIX_PULSE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x8, _RCMM_PULSE_0@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RCMM_PULSE_0@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	add	x1, sp, #12
	bl	_ir_raw_gen_pulse_space
	cbnz	w0, LBB0_5
; %bb.1:
	sub	w21, w21, #2
Lloh6:
	adrp	x23, _rcmmspace@GOTPAGE
Lloh7:
	ldr	x23, [x23, _rcmmspace@GOTPAGEOFF]
Lloh8:
	adrp	x22, _RCMM_UNIT@GOTPAGE
Lloh9:
	ldr	x22, [x22, _RCMM_UNIT@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	tbnz	w21, #31, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x23]
	asr	w9, w20, w21
	and	w9, w9, #0x3
	ldr	w3, [x8, w9, uxtw #2]
	ldr	w2, [x22]
	add	x1, sp, #12
	mov	x0, x19
	bl	_ir_raw_gen_pulse_space
	sub	w21, w21, #2
	cbz	w0, LBB0_2
	b	LBB0_5
LBB0_4:
	ldr	w2, [x22]
Lloh10:
	adrp	x8, _RCMM_PULSE_3@GOTPAGE
Lloh11:
	ldr	x8, [x8, _RCMM_PULSE_3@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	lsl	w3, w8, #1
	add	x1, sp, #12
	mov	x0, x19
	bl	_ir_raw_gen_pulse_space
LBB0_5:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_RCMM_PREFIX_PULSE,4,2          ; @RCMM_PREFIX_PULSE
	.comm	_RCMM_PULSE_0,4,2               ; @RCMM_PULSE_0
	.comm	_rcmmspace,8,3                  ; @rcmmspace
	.comm	_RCMM_UNIT,4,2                  ; @RCMM_UNIT
	.comm	_RCMM_PULSE_3,4,2               ; @RCMM_PULSE_3
	.no_dead_strip	_ir_rcmm_rawencoder
.subsections_via_symbols
