	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ir_raw_gen_pd                  ## -- Begin function ir_raw_gen_pd
	.p2align	4, 0x90
_ir_raw_gen_pd:                         ## @ir_raw_gen_pd
	.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	%r8d, %r12d
	movl	%ecx, %ebx
	movq	%rdx, %r15
	movq	%rdi, %r14
	movl	%esi, -44(%rbp)
	movq	48(%rdx), %rdx
	testq	%rdx, %rdx
	je	LBB0_2
## %bb.1:
	movl	(%r15), %ecx
	leaq	-44(%rbp), %rsi
	movq	%r14, %rdi
	callq	_ir_raw_gen_pulse_space
	testl	%eax, %eax
	jne	LBB0_11
LBB0_2:
	cmpq	$0, 40(%r15)
	je	LBB0_6
## %bb.3:
	decl	%ebx
	leaq	-44(%rbp), %r13
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	testl	%ebx, %ebx
	js	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	xorl	%eax, %eax
	btl	%ebx, %r12d
	setb	%al
	movq	8(%r15), %rcx
	movq	32(%r15), %rdx
	movl	(%rcx,%rax,4), %ecx
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_ir_raw_gen_pulse_space
	decl	%ebx
	testl	%eax, %eax
	je	LBB0_4
	jmp	LBB0_11
LBB0_6:
	testl	%ebx, %ebx
	je	LBB0_10
## %bb.7:
	leaq	-44(%rbp), %r13
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r12d, %eax
	andl	$1, %eax
	movq	8(%r15), %rcx
	movq	32(%r15), %rdx
	movl	(%rcx,%rax,4), %ecx
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_ir_raw_gen_pulse_space
	testl	%eax, %eax
	jne	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	sarl	%r12d
	decl	%ebx
	jne	LBB0_8
LBB0_10:
	movq	24(%r15), %rdx
	movl	16(%r15), %ecx
	leaq	-44(%rbp), %rsi
	movq	%r14, %rdi
	callq	_ir_raw_gen_pulse_space
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ir_raw_gen_pd                  ; -- Begin function ir_raw_gen_pd
	.p2align	2
_ir_raw_gen_pd:                         ; @ir_raw_gen_pd
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x4
	mov	x22, x3
	mov	x20, x2
	mov	x19, x0
	str	w1, [sp, #12]
	ldr	x2, [x2, #48]
	cbz	x2, LBB0_2
; %bb.1:
	ldr	w3, [x20]
	add	x1, sp, #12
	mov	x0, x19
	bl	_ir_raw_gen_pulse_space
	cbnz	w0, LBB0_10
LBB0_2:
	ldr	x8, [x20, #40]
	cbz	x8, LBB0_6
; %bb.3:
	sub	w22, w22, #1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	tbnz	w22, #31, LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x20, #8]
	lsr	w9, w21, w22
	and	w9, w9, #0x1
	ldr	w3, [x8, w9, uxtw #2]
	ldr	x2, [x20, #32]
	add	x1, sp, #12
	mov	x0, x19
	bl	_ir_raw_gen_pulse_space
	sub	w22, w22, #1
	cbz	w0, LBB0_4
	b	LBB0_10
LBB0_6:
	cbz	w22, LBB0_9
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	and	w9, w21, #0x1
	ldr	w3, [x8, w9, uxtw #2]
	ldr	x2, [x20, #32]
	add	x1, sp, #12
	mov	x0, x19
	bl	_ir_raw_gen_pulse_space
	cbnz	w0, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	asr	w21, w21, #1
	subs	w22, w22, #1
	b.ne	LBB0_7
LBB0_9:
	ldr	x2, [x20, #24]
	ldr	w3, [x20, #16]
	add	x1, sp, #12
	mov	x0, x19
	bl	_ir_raw_gen_pulse_space
LBB0_10:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
