	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vulkan_update_display_mode
_vulkan_update_display_mode:            ## @vulkan_update_display_mode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdx), %r8d
	movl	4(%rdx), %r9d
	movq	8(%rcx), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	(%rcx), %rcx
	testq	%rcx, %rcx
	je	LBB0_2
## %bb.3:
	movl	%eax, %r10d
	subl	%r8d, %r10d
	movl	%ecx, %edx
	subl	%r9d, %edx
	subl	(%rdi), %eax
	subl	(%rsi), %ecx
	imull	%r10d, %r10d
	imull	%edx, %edx
	addl	%r10d, %edx
	imull	%eax, %eax
	imull	%ecx, %ecx
	addl	%eax, %ecx
	xorl	%eax, %eax
	cmpl	%ecx, %edx
	jb	LBB0_4
	jmp	LBB0_5
LBB0_2:
	movl	%r9d, %ecx
	imull	%r8d, %ecx
	movl	(%rsi), %edx
	imull	(%rdi), %edx
	xorl	%eax, %eax
	cmpl	%edx, %ecx
	jbe	LBB0_5
LBB0_4:
	movl	%r8d, (%rdi)
	movl	%r9d, (%rsi)
	movl	$1, %eax
LBB0_5:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_vulkan_update_display_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vulkan_update_display_mode
_vulkan_update_display_mode:            ; @vulkan_update_display_mode
	.cfi_startproc
; %bb.0:
	ldp	w8, w9, [x2]
	ldr	x10, [x3, #8]
	cbz	x10, LBB0_4
; %bb.1:
	ldr	x11, [x3]
	cbz	x11, LBB0_4
; %bb.2:
	sub	w12, w10, w8
	sub	w13, w11, w9
	ldr	w14, [x0]
	sub	w10, w10, w14
	ldr	w14, [x1]
	sub	w11, w11, w14
	mul	w12, w12, w12
	madd	w12, w13, w13, w12
	mul	w10, w10, w10
	madd	w10, w11, w11, w10
	cmp	w12, w10
	b.lo	LBB0_5
LBB0_3:
	mov	w0, #0
	ret
LBB0_4:
	mul	w10, w9, w8
	ldr	w11, [x0]
	ldr	w12, [x1]
	mul	w11, w12, w11
	cmp	w10, w11
	b.ls	LBB0_3
LBB0_5:
	str	w8, [x0]
	str	w9, [x1]
	mov	w0, #1
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_vulkan_update_display_mode
.subsections_via_symbols
