	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function get_thumbs_dimensions
LCPI0_0:
	.quad	0x3fdffffffeed1f41              ## double 0.49999999899999997
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_get_thumbs_dimensions:                 ## @get_thumbs_dimensions
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	%edx, %edi
	jne	LBB0_3
## %bb.1:
	cmpl	%ecx, %esi
	jne	LBB0_3
## %bb.2:
	movl	%edi, (%r8)
LBB0_11:
	movl	%esi, (%r9)
	movl	$1, %eax
	jmp	LBB0_12
LBB0_3:
	xorl	%eax, %eax
	testl	%edx, %edx
	jle	LBB0_12
## %bb.4:
	testl	%ecx, %ecx
	jle	LBB0_12
## %bb.5:
	movd	%edx, %xmm0
	pinsrd	$1, %ecx, %xmm0
	cvtdq2pd	%xmm0, %xmm1
	movd	%edi, %xmm0
	pinsrd	$1, %esi, %xmm0
	cvtdq2pd	%xmm0, %xmm0
	divpd	%xmm0, %xmm1
	movapd	%xmm1, %xmm2
	unpckhpd	%xmm1, %xmm2                    ## xmm2 = xmm2[1],xmm1[1]
	ucomisd	%xmm1, %xmm2
	jbe	LBB0_7
## %bb.6:
	movl	%edx, (%r8)
	unpckhpd	%xmm0, %xmm0                    ## xmm0 = xmm0[1,1]
	mulsd	%xmm1, %xmm0
	addsd	LCPI0_0(%rip), %xmm0
	cvttsd2si	%xmm0, %eax
	movl	%eax, (%r9)
	movl	(%r8), %eax
	testl	%eax, %eax
	jg	LBB0_10
	jmp	LBB0_9
LBB0_7:
	mulsd	%xmm0, %xmm2
	addsd	LCPI0_0(%rip), %xmm2
	movl	%ecx, (%r9)
	cvttsd2si	%xmm2, %eax
	movl	%eax, (%r8)
	testl	%eax, %eax
	jg	LBB0_10
LBB0_9:
	movl	$1, (%r8)
LBB0_10:
	movl	$1, %esi
	cmpl	$0, (%r9)
	movl	$1, %eax
	jle	LBB0_11
LBB0_12:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_get_thumbs_dimensions
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_thumbs_dimensions
_get_thumbs_dimensions:                 ; @get_thumbs_dimensions
	.cfi_startproc
; %bb.0:
	cmp	w0, w2
	b.ne	LBB0_4
; %bb.1:
	cmp	w1, w3
	b.ne	LBB0_4
; %bb.2:
	str	w0, [x4]
LBB0_3:
	str	w1, [x5]
	mov	w8, #1
	b	LBB0_11
LBB0_4:
	mov	w8, #0
	cmp	w2, #1
	b.lt	LBB0_11
; %bb.5:
	cmp	w3, #1
	b.lt	LBB0_11
; %bb.6:
	scvtf	d1, w2
	scvtf	d0, w0
	fdiv	d1, d1, d0
	scvtf	d3, w3
	scvtf	d2, w1
	fdiv	d3, d3, d2
	fcmp	d1, d3
	b.pl	LBB0_8
; %bb.7:
	str	w2, [x4]
	mov	x8, #-57535
	movk	x8, #65261, lsl #16
	movk	x8, #16351, lsl #48
	fmov	d0, x8
	fmadd	d0, d1, d2, d0
	fcvtzs	w8, d0
	str	w8, [x5]
	ldr	w8, [x4]
	cmp	w8, #0
	b.gt	LBB0_10
	b	LBB0_9
LBB0_8:
	str	w3, [x5]
	mov	x8, #-57535
	movk	x8, #65261, lsl #16
	movk	x8, #16351, lsl #48
	fmov	d1, x8
	fmadd	d0, d3, d0, d1
	fcvtzs	w8, d0
	str	w8, [x4]
	cmp	w8, #0
	b.gt	LBB0_10
LBB0_9:
	mov	w8, #1
	str	w8, [x4]
LBB0_10:
	ldr	w9, [x5]
	mov	w1, #1
	mov	w8, #1
	cmp	w9, #0
	b.le	LBB0_3
LBB0_11:
	mov	x0, x8
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_get_thumbs_dimensions
.subsections_via_symbols
