	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function img_ir_decoder_preprocess
_img_ir_decoder_preprocess:             ## @img_ir_decoder_preprocess
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	(%rdi), %eax
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	shll	$7, %eax
	cltq
	imulq	$1374389535, %rax, %rax         ## imm = 0x51EB851F
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$37, %rax
	addl	%ecx, %eax
	jmp	LBB0_3
LBB0_1:
	movl	$12, %eax
LBB0_3:
	movl	%eax, (%rbx)
	leaq	4(%rbx), %r14
	movl	12(%rbx), %esi
	movq	%r14, %rdi
	callq	_img_ir_timings_preprocess
	cmpq	$0, 16(%rbx)
	je	LBB0_4
## %bb.5:
	movl	12(%rbx), %esi
	addq	$8, %rbx
	movq	%rbx, %rdi
	callq	_img_ir_timings_preprocess
	movq	%rbx, %rdi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_img_ir_timings_defaults        ## TAILCALL
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_img_ir_decoder_preprocess
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function img_ir_decoder_preprocess
_img_ir_decoder_preprocess:             ; @img_ir_decoder_preprocess
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x0
	ldr	w8, [x0]
	lsl	w9, w8, #7
	mov	w10, #34079
	movk	w10, #20971, lsl #16
	smull	x9, w9, w10
	lsr	x10, x9, #63
	asr	x9, x9, #37
	add	w9, w9, w10
	mov	w10, #12
	cmp	w8, #0
	csel	w8, w10, w9, eq
	str	w8, [x0]
	add	x20, x0, #4
	ldr	w1, [x0, #12]
	mov	x0, x20
	bl	_img_ir_timings_preprocess
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_2
; %bb.1:
	add	x21, x19, #8
	ldr	w1, [x19, #12]
	mov	x0, x21
	bl	_img_ir_timings_preprocess
	mov	x0, x21
	mov	x1, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_img_ir_timings_defaults
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_img_ir_decoder_preprocess
.subsections_via_symbols
