	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_pch_panel_fitting        ## -- Begin function intel_pch_panel_fitting
	.p2align	4, 0x90
_intel_pch_panel_fitting:               ## @intel_pch_panel_fitting
	.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), %r8
	movq	(%rcx), %r10
	movq	(%rdx), %r11
	cmpq	%r11, %r10
	jne	LBB0_2
## %bb.1:
	movq	8(%rcx), %r14
	xorl	%edi, %edi
	movl	$0, %r9d
	movl	$0, %ebx
	movl	$0, %eax
	cmpq	8(%rdx), %r14
	je	LBB0_17
LBB0_2:
	cmpl	$130, %esi
	je	LBB0_5
## %bb.3:
	cmpl	$129, %esi
	jne	LBB0_15
## %bb.4:
	movq	8(%rdx), %r9
	movslq	%r11d, %rax
	subq	%rax, %r10
	leaq	1(%r10), %rax
	shrq	$63, %rax
	addq	%r10, %rax
	incq	%rax
	shrq	%rax
	movq	8(%rcx), %rcx
	movslq	%r9d, %rdx
	subq	%rdx, %rcx
	leaq	1(%rcx), %rdx
	shrq	$63, %rdx
	leaq	(%rcx,%rdx), %rbx
	incq	%rbx
	shrq	%rbx
	movl	%r11d, %edi
	jmp	LBB0_17
LBB0_5:
	movq	8(%rdx), %rsi
	movq	%rsi, %rax
	imulq	%r10, %rax
	movq	8(%rcx), %r9
	movq	%r9, %rcx
	imulq	%r11, %rcx
	cmpl	%ecx, %eax
	jle	LBB0_10
## %bb.6:
	movslq	%ecx, %rax
	movq	%rax, %rdx
	orq	%rsi, %rdx
	shrq	$32, %rdx
	je	LBB0_7
## %bb.8:
	cqto
	idivq	%rsi
	jmp	LBB0_9
LBB0_15:
	movl	8(%rcx), %r9d
LBB0_16:
	xorl	%ebx, %ebx
	movl	%r10d, %edi
	xorl	%eax, %eax
	jmp	LBB0_17
LBB0_10:
	jge	LBB0_16
## %bb.11:
	movslq	%eax, %rcx
	movq	%rcx, %rdx
	orq	%r11, %rdx
	shrq	$32, %rdx
	je	LBB0_12
## %bb.13:
	movq	%rcx, %rax
	cqto
	idivq	%r11
	jmp	LBB0_14
LBB0_7:
	movl	%ecx, %eax
	xorl	%edx, %edx
	divl	%esi
                                        ## kill: def $eax killed $eax def $rax
LBB0_9:
	movl	%eax, %edi
	andl	$1, %edi
	addl	%eax, %edi
	movslq	%edi, %rax
	subq	%rax, %r10
	leaq	1(%r10), %rax
	shrq	$63, %rax
	addq	%r10, %rax
	incq	%rax
	shrq	%rax
	xorl	%ebx, %ebx
	jmp	LBB0_17
LBB0_12:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%r11d
                                        ## kill: def $eax killed $eax def $rax
LBB0_14:
	movl	%eax, %ecx
	andl	$1, %ecx
	addl	%eax, %ecx
	movslq	%ecx, %rax
	subq	%rax, %r9
	leaq	1(%r9), %rax
	shrq	$63, %rax
	leaq	(%r9,%rax), %rbx
	incq	%rbx
	shrq	%rbx
	xorl	%eax, %eax
	movl	%r10d, %edi
	movl	%ecx, %r9d
LBB0_17:
	shll	$16, %eax
	orl	%ebx, %eax
	movl	%eax, (%r8)
	shll	$16, %edi
	orl	%r9d, %edi
	movl	%edi, 4(%r8)
	popq	%rbx
	popq	%r14
	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	_intel_pch_panel_fitting        ; -- Begin function intel_pch_panel_fitting
	.p2align	2
_intel_pch_panel_fitting:               ; @intel_pch_panel_fitting
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldr	x10, [x3]
	ldr	x9, [x2]
	cmp	x10, x9
	b.ne	LBB0_3
; %bb.1:
	ldr	x11, [x3, #8]
	ldr	x12, [x2, #8]
	cmp	x11, x12
	b.ne	LBB0_3
; %bb.2:
	mov	w9, #0
	mov	w11, #0
	mov	w13, #0
	mov	w12, #0
	b	LBB0_12
LBB0_3:
	cmp	w1, #130
	b.eq	LBB0_6
; %bb.4:
	cmp	w1, #129
	b.ne	LBB0_8
; %bb.5:
	ldr	x11, [x2, #8]
	sub	x10, x10, w9, sxtw
	add	x12, x10, #1
	add	x13, x10, #2
	cmp	x12, #0
	csinc	x10, x13, x10, lt
	lsr	x12, x10, #1
	ldr	x10, [x3, #8]
	sub	x10, x10, w11, sxtw
	add	x13, x10, #1
	add	x14, x10, #2
	cmp	x13, #0
	csinc	x10, x14, x10, lt
	lsr	x13, x10, #1
	b	LBB0_12
LBB0_6:
	ldr	x12, [x2, #8]
	mul	x11, x12, x10
	ldr	x14, [x3, #8]
	mul	x15, x14, x9
	cmp	w11, w15
	b.le	LBB0_9
; %bb.7:
	mov	w13, #0
	sxtw	x9, w15
	sdiv	x9, x9, x12
	and	w11, w9, #0x1
	add	w9, w11, w9
	sub	x10, x10, w9, sxtw
	add	x11, x10, #1
	add	x12, x10, #2
	cmp	x11, #0
	csinc	x10, x12, x10, lt
	lsr	x12, x10, #1
	mov	x11, x14
                                        ; kill: def $w12 killed $w12 killed $x12 def $x12
	b	LBB0_12
LBB0_8:
	mov	w13, #0
	mov	w12, #0
	ldr	w11, [x3, #8]
	mov	x9, x10
	b	LBB0_12
LBB0_9:
	b.ge	LBB0_11
; %bb.10:
	mov	w12, #0
	sxtw	x11, w11
	sdiv	x9, x11, x9
	and	w11, w9, #0x1
	add	w11, w11, w9
	sub	x9, x14, w11, sxtw
	add	x13, x9, #1
	add	x14, x9, #2
	cmp	x13, #0
	csinc	x9, x14, x9, lt
	lsr	x13, x9, #1
	mov	x9, x10
                                        ; kill: def $w13 killed $w13 killed $x13 def $x13
	b	LBB0_12
LBB0_11:
	mov	w13, #0
	mov	w12, #0
	mov	x9, x10
	mov	x11, x14
LBB0_12:
	orr	w10, w13, w12, lsl #16
	orr	w9, w11, w9, lsl #16
	stp	w10, w9, [x8]
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
