	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function ghb_get_display_aspect_string
LCPI0_0:
	.quad	0x4022000000000000              ## double 9
LCPI0_1:
	.quad	0x4008000000000000              ## double 3
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_ghb_get_display_aspect_string
	.p2align	4, 0x90
_ghb_get_display_aspect_string:         ## @ghb_get_display_aspect_string
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movapd	%xmm1, %xmm2
	addsd	%xmm1, %xmm2
	ucomisd	%xmm2, %xmm0
	jbe	LBB0_2
## %bb.1:
	divsd	%xmm1, %xmm0
	cvttsd2si	%xmm0, %esi
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_4
LBB0_2:
	movsd	LCPI0_0(%rip), %xmm2            ## xmm2 = mem[0],zero
	mulsd	%xmm0, %xmm2
	divsd	%xmm1, %xmm2
	cvttsd2si	%xmm2, %esi
	leal	-15(%rsi), %eax
	cmpl	$1, %eax
	ja	LBB0_5
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	jmp	LBB0_4
LBB0_5:
	addl	$-11, %esi
	cmpl	$1, %esi
	ja	LBB0_7
## %bb.6:
	mulsd	LCPI0_1(%rip), %xmm0
	divsd	%xmm1, %xmm0
	cvttsd2si	%xmm0, %esi
	leaq	L_.str.2(%rip), %rdi
LBB0_4:
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbp
	jmp	_g_strdup_printf                ## TAILCALL
LBB0_7:
	leaq	-8(%rbp), %rdi
	leaq	-4(%rbp), %rsi
	callq	_hb_reduce
	movl	-8(%rbp), %esi
	movl	-4(%rbp), %edx
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_g_strdup_printf
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%.2f:1"

L_.str.1:                               ## @.str.1
	.asciz	"%.4g:9"

L_.str.2:                               ## @.str.2
	.asciz	"%.4g:3"

L_.str.3:                               ## @.str.3
	.asciz	"%d:%d"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ghb_get_display_aspect_string  ; -- Begin function ghb_get_display_aspect_string
	.p2align	2
_ghb_get_display_aspect_string:         ; @ghb_get_display_aspect_string
	.cfi_startproc
; %bb.0:
	fadd	d2, d1, d1
	fcmp	d2, d0
	b.pl	LBB0_2
; %bb.1:
	fdiv	d0, d0, d1
	fcvtzs	w1, d0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	b	_g_strdup_printf
LBB0_2:
	fmov	d2, #9.00000000
	fmul	d2, d0, d2
	fdiv	d2, d2, d1
	fcvtzs	w1, d2
	sub	w8, w1, #15
	cmp	w8, #1
	b.hi	LBB0_4
; %bb.3:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	b	_g_strdup_printf
LBB0_4:
	sub	w8, w1, #11
	cmp	w8, #1
	b.hi	LBB0_6
; %bb.5:
	fmov	d2, #3.00000000
	fmul	d0, d0, d2
	fdiv	d0, d0, d1
	fcvtzs	w1, d0
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	b	_g_strdup_printf
LBB0_6:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	sub	x0, x29, #4
	add	x1, sp, #8
	bl	_hb_reduce
	ldur	w1, [x29, #-4]
	ldr	w8, [sp, #8]
	str	x8, [sp]
Lloh6:
	adrp	x0, l_.str.3@PAGE
Lloh7:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_g_strdup_printf
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%.2f:1"

l_.str.1:                               ; @.str.1
	.asciz	"%.4g:9"

l_.str.2:                               ; @.str.2
	.asciz	"%.4g:3"

l_.str.3:                               ; @.str.3
	.asciz	"%d:%d"

.subsections_via_symbols
