	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function x11_get_metrics
LCPI0_0:
	.quad	0x4039666666666666              ## double 25.399999999999999
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_x11_get_metrics
	.p2align	4, 0x90
_x11_get_metrics:                       ## @x11_get_metrics
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movl	%esi, %ebx
	xorl	%r15d, %r15d
	xorl	%edi, %edi
	callq	_XOpenDisplay
	movq	%rax, %r12
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_DisplayWidth
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_DisplayHeight
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_DisplayWidthMM
	movl	%eax, %r14d
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_DisplayHeightMM
	movl	%eax, %r13d
	movq	%r12, %rdi
	callq	_XCloseDisplay
	xorps	%xmm0, %xmm0
	addl	$-128, %ebx
	cmpl	$5, %ebx
	ja	LBB0_8
## %bb.1:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rbx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_2:
	xorps	%xmm0, %xmm0
	cvtsi2ssl	-44(%rbp), %xmm0        ## 4-byte Folded Reload
	jmp	LBB0_7
LBB0_3:
	xorps	%xmm0, %xmm0
	cvtsi2ssl	-48(%rbp), %xmm0        ## 4-byte Folded Reload
	jmp	LBB0_7
LBB0_4:
	xorps	%xmm0, %xmm0
	cvtsi2ss	%r14d, %xmm0
	jmp	LBB0_7
LBB0_5:
	xorps	%xmm0, %xmm0
	cvtsi2ss	%r13d, %xmm0
	jmp	LBB0_7
LBB0_6:
	xorps	%xmm0, %xmm0
	cvtsi2ssl	-44(%rbp), %xmm0        ## 4-byte Folded Reload
	cvtss2sd	%xmm0, %xmm0
	mulsd	LCPI0_0(%rip), %xmm0
	cvtsi2ss	%r14d, %xmm1
	cvtss2sd	%xmm1, %xmm1
	divsd	%xmm1, %xmm0
	cvtsd2ss	%xmm0, %xmm0
LBB0_7:
	movl	$1, %r15d
LBB0_8:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movss	%xmm0, (%rax)
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_3
	.long	L0_0_set_8
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_6
	.end_data_region
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_x11_get_metrics                ; -- Begin function x11_get_metrics
	.p2align	2
_x11_get_metrics:                       ; @x11_get_metrics
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x2
	mov	x24, x1
	mov	x0, #0
	bl	_XOpenDisplay
	mov	x25, x0
	mov	w1, #0
	bl	_DisplayWidth
	mov	x20, x0
	mov	x0, x25
	mov	w1, #0
	bl	_DisplayHeight
	mov	x22, x0
	mov	x0, x25
	mov	w1, #0
	bl	_DisplayWidthMM
	mov	x21, x0
	mov	x0, x25
	mov	w1, #0
	bl	_DisplayHeightMM
	mov	x23, x0
	mov	x0, x25
	bl	_XCloseDisplay
	mov	w0, #0
	movi	d0, #0000000000000000
	sub	w8, w24, #128
	cmp	w8, #5
	b.hi	LBB0_8
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	scvtf	s0, w20
	b	LBB0_7
LBB0_3:
	scvtf	s0, w22
	b	LBB0_7
LBB0_4:
	scvtf	s0, w21
	b	LBB0_7
LBB0_5:
	scvtf	s0, w23
	b	LBB0_7
LBB0_6:
	scvtf	s0, w20
	fcvt	d0, s0
	mov	x8, #7378697629483820646
	movk	x8, #16441, lsl #48
	fmov	d1, x8
	fmul	d0, d0, d1
	scvtf	s1, w21
	fcvt	d1, s1
	fdiv	d0, d0, d1
	fcvt	s0, d0
LBB0_7:
	mov	w0, #1
LBB0_8:
	str	s0, [x19]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
                                        ; -- End function
.subsections_via_symbols
