	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function gfx_ctx_wl_get_metrics
LCPI0_0:
	.long	0x41cb3333                      ## float 25.3999996
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_gfx_ctx_wl_get_metrics:                ## @gfx_ctx_wl_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
	xorl	%eax, %eax
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.1:
	movq	(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.2:
	movq	(%rdi), %rcx
	testq	%rcx, %rcx
	je	LBB0_13
## %bb.3:
	movq	8(%rdi), %r8
	testq	%r8, %r8
	je	LBB0_13
## %bb.4:
	cmpl	$130, %esi
	je	LBB0_10
## %bb.5:
	cmpl	$129, %esi
	je	LBB0_9
## %bb.6:
	cmpl	$128, %esi
	jne	LBB0_7
## %bb.8:
	cvtsi2ss	%rcx, %xmm0
	jmp	LBB0_11
LBB0_10:
	cvtsi2ssq	16(%rdi), %xmm0
	cvtsi2ss	%rcx, %xmm1
	mulss	LCPI0_0(%rip), %xmm0
	divss	%xmm1, %xmm0
	jmp	LBB0_11
LBB0_9:
	cvtsi2ss	%r8, %xmm0
LBB0_11:
	movl	$1, %eax
	jmp	LBB0_12
LBB0_7:
	xorl	%eax, %eax
	xorps	%xmm0, %xmm0
LBB0_12:
	movss	%xmm0, (%rdx)
LBB0_13:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_gfx_ctx_wl_get_metrics
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gfx_ctx_wl_get_metrics
_gfx_ctx_wl_get_metrics:                ; @gfx_ctx_wl_get_metrics
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_9
; %bb.1:
	ldr	x9, [x0]
	cbz	x9, LBB0_6
; %bb.2:
	ldr	x8, [x9]
	cbz	x8, LBB0_6
; %bb.3:
	ldr	x10, [x9, #8]
	cbz	x10, LBB0_6
; %bb.4:
	cmp	w1, #130
	b.eq	LBB0_7
; %bb.5:
	movi	d0, #0000000000000000
	scvtf	s1, x10
	mov	w9, #1
	scvtf	s2, x8
	mov	w8, #1
	cmp	w1, #128
	csel	w8, wzr, w8, ne
	fcsel	s0, s0, s2, ne
	cmp	w1, #129
	csel	w0, w9, w8, eq
	fcsel	s0, s1, s0, eq
	b	LBB0_8
LBB0_6:
	mov	w0, #0
	ret
LBB0_7:
	ldr	x9, [x9, #16]
	scvtf	s0, x9
	mov	w9, #13107
	movk	w9, #16843, lsl #16
	fmov	s1, w9
	fmul	s0, s0, s1
	scvtf	s1, x8
	fdiv	s0, s0, s1
	mov	w0, #1
LBB0_8:
	str	s0, [x2]
LBB0_9:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_gfx_ctx_wl_get_metrics
.subsections_via_symbols
