	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function display_handle_mode
LCPI0_0:
	.quad	0x408f400000000000              ## double 1000
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_display_handle_mode:                   ## @display_handle_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	%r8d, %edx
	movl	%ecx, (%rdi)
	movl	%r8d, 4(%rdi)
	movl	%r9d, 8(%rdi)
	cvtsi2sd	%r9d, %xmm0
	cmpl	$1001, %r9d                     ## imm = 0x3E9
	jl	LBB0_2
## %bb.1:
	divsd	LCPI0_0(%rip), %xmm0
LBB0_2:
	cvttsd2si	%xmm0, %eax
	leaq	L_.str(%rip), %rdi
	movl	%ecx, %esi
	movl	%eax, %ecx
	popq	%rbp
	jmp	_RARCH_LOG                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[Wayland]: Video mode: %d x %d @ %.4f Hz.\n"

	.no_dead_strip	_display_handle_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function display_handle_mode
_display_handle_mode:                   ; @display_handle_mode
	.cfi_startproc
; %bb.0:
	mov	x2, x4
	mov	x1, x3
	stp	w3, w4, [x0]
	str	w5, [x0, #8]
	scvtf	d0, w5
	mov	x8, #70368744177664
	movk	x8, #16527, lsl #48
	fmov	d1, x8
	fdiv	d1, d0, d1
	cmp	w5, #1000
	fcsel	d0, d1, d0, gt
	fcvtzs	w3, d0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	b	_RARCH_LOG
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[Wayland]: Video mode: %d x %d @ %.4f Hz.\n"

	.no_dead_strip	_display_handle_mode
.subsections_via_symbols
