	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function img_ir_free_timing
_img_ir_free_timing:                    ## @img_ir_free_timing
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %eax
	movl	4(%rdi), %ecx
	movl	%eax, %edx
	andl	$-2, %edx
	cmpl	$30, %eax
	movl	$30, %r8d
	cmovll	%edx, %r8d
	leal	1(%rcx), %eax
	andl	$-2, %eax
	cmpl	$48, %ecx
	movl	$48, %r9d
	cmovll	%eax, %r9d
	imulq	8(%rdi), %rsi
	leaq	999999(%rsi), %rax
	movabsq	$4835703278458516699, %rcx      ## imm = 0x431BDE82D7B634DB
	mulq	%rcx
	shrq	$18, %rdx
	leal	7(%rdx), %eax
	movq	_IMG_IR_MAXLEN_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %r9d
	movq	_IMG_IR_MINLEN_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %r8d
	shrl	$3, %eax
	orl	%r9d, %r8d
	movq	_IMG_IR_FT_MIN_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	orl	%r8d, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IMG_IR_MAXLEN_SHIFT,4,2        ## @IMG_IR_MAXLEN_SHIFT
	.comm	_IMG_IR_MINLEN_SHIFT,4,2        ## @IMG_IR_MINLEN_SHIFT
	.comm	_IMG_IR_FT_MIN_SHIFT,4,2        ## @IMG_IR_FT_MIN_SHIFT
	.no_dead_strip	_img_ir_free_timing
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function img_ir_free_timing
_img_ir_free_timing:                    ; @img_ir_free_timing
	.cfi_startproc
; %bb.0:
	ldp	w8, w9, [x0]
	and	w10, w8, #0xfffffffe
	mov	w11, #30
	cmp	w8, #30
	csel	w8, w10, w11, lt
	add	w10, w9, #1
	and	w10, w10, #0xfffffffe
	mov	w11, #48
	cmp	w9, #48
	csel	w9, w10, w11, lt
	ldr	x10, [x0, #8]
	mov	w11, #16959
	movk	w11, #15, lsl #16
	madd	x10, x10, x1, x11
	add	x11, x11, #1
	udiv	x10, x10, x11
	add	w10, w10, #7
	lsr	w10, w10, #3
Lloh0:
	adrp	x11, _IMG_IR_MAXLEN_SHIFT@GOTPAGE
Lloh1:
	ldr	x11, [x11, _IMG_IR_MAXLEN_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	w11, [x11]
	lsl	w9, w9, w11
Lloh3:
	adrp	x11, _IMG_IR_MINLEN_SHIFT@GOTPAGE
Lloh4:
	ldr	x11, [x11, _IMG_IR_MINLEN_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	w11, [x11]
	lsl	w8, w8, w11
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _IMG_IR_FT_MIN_SHIFT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IMG_IR_FT_MIN_SHIFT@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	lsl	w9, w10, w9
	orr	w0, w8, w9
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IMG_IR_MAXLEN_SHIFT,4,2        ; @IMG_IR_MAXLEN_SHIFT
	.comm	_IMG_IR_MINLEN_SHIFT,4,2        ; @IMG_IR_MINLEN_SHIFT
	.comm	_IMG_IR_FT_MIN_SHIFT,4,2        ; @IMG_IR_FT_MIN_SHIFT
	.no_dead_strip	_img_ir_free_timing
.subsections_via_symbols
