	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ilk_pipe_pixel_rate
_ilk_pipe_pixel_rate:                   ## @ilk_pipe_pixel_rate
	.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	24(%rdi), %r14d
	cmpq	$0, 16(%rdi)
	je	LBB0_2
## %bb.1:
	movl	8(%rdi), %ebx
	movl	(%rdi), %r15d
	movl	4(%rdi), %r13d
	cmpl	$65536, %ebx                    ## imm = 0x10000
	setb	%al
	movl	%ebx, %r12d
	andl	$65535, %r12d                   ## imm = 0xFFFF
	sete	%cl
	orb	%al, %cl
	movzbl	%cl, %edi
	callq	_WARN_ON
	testq	%rax, %rax
	je	LBB0_3
LBB0_2:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	cmpl	%r12d, %r13d
	cmovlel	%r12d, %r13d
	shrl	$16, %ebx
	cmpl	%ebx, %r15d
	cmovlel	%ebx, %r15d
	imull	%r13d, %r15d
	movl	%r14d, %edi
	movl	%r15d, %esi
	callq	_mul_u32_u32
	imull	%r12d, %ebx
	movl	%eax, %edi
	movl	%ebx, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_div_u64                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ilk_pipe_pixel_rate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ilk_pipe_pixel_rate
_ilk_pipe_pixel_rate:                   ; @ilk_pipe_pixel_rate
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	ldr	w19, [x0, #24]
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_2
; %bb.1:
	ldp	w23, w22, [x0, #4]
	ldr	w21, [x0]
	cmp	w22, #16, lsl #12               ; =65536
	cset	w8, lo
	ands	w20, w22, #0xffff
	cset	w9, eq
	orr	w0, w8, w9
	bl	_WARN_ON
	cbz	x0, LBB0_3
LBB0_2:
	mov	x0, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_3:
	cmp	w23, w20
	csel	w8, w23, w20, gt
	lsr	w22, w22, #16
	cmp	w21, w22
	csel	w9, w21, w22, gt
	mul	w1, w8, w9
	mov	x0, x19
	bl	_mul_u32_u32
	mul	w1, w22, w20
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_div_u64
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ilk_pipe_pixel_rate
.subsections_via_symbols
