	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function crt_screen_setup_aspect
_crt_screen_setup_aspect:               ## @crt_screen_setup_aspect
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movl	%edi, %r14d
	xorl	%eax, %eax
	callq	_switch_crt_hz
	cmpl	$4, %ebx
	jne	LBB0_2
## %bb.1:
	cmpl	$700, %r14d                     ## imm = 0x2BC
	movl	$320, %eax                      ## imm = 0x140
	cmovbl	%eax, %r14d
	movl	$240, %ebx
	movl	%r14d, %edi
	movl	$240, %esi
	callq	_crt_aspect_ratio_switch
	jmp	LBB0_6
LBB0_2:
	cmpl	$199, %ebx
	ja	LBB0_5
## %bb.3:
	cmpl	$144, %ebx
	je	LBB0_5
## %bb.4:
	movl	%r14d, %edi
	movl	%ebx, %esi
	callq	_crt_aspect_ratio_switch
	movl	$200, %ebx
	jmp	LBB0_21
LBB0_5:
	cmpl	$201, %ebx
	jb	LBB0_9
LBB0_6:
	movl	%r14d, %edi
	movl	%ebx, %esi
	callq	_crt_aspect_ratio_switch
LBB0_7:
	leal	-201(%rbx), %eax
	cmpl	$22, %eax
	ja	LBB0_12
## %bb.8:
	movl	%r14d, %edi
	movl	%ebx, %esi
	callq	_crt_aspect_ratio_switch
	movl	$224, %ebx
	jmp	LBB0_21
LBB0_12:
	leal	-225(%rbx), %eax
	movl	$240, %r15d
	cmpl	$15, %eax
	jb	LBB0_17
## %bb.13:
	leal	-241(%rbx), %eax
	movl	$254, %r15d
	cmpl	$14, %eax
	jae	LBB0_14
LBB0_17:
	movl	%r14d, %edi
	movl	%ebx, %esi
	callq	_crt_aspect_ratio_switch
	movl	%r15d, %ebx
LBB0_18:
	leal	-240(%rbx), %eax
	cmpl	$14, %eax
	ja	LBB0_21
## %bb.19:
	movq	_ra_set_core_hz@GOTPCREL(%rip), %rax
	cmpl	$55, (%rax)
	jne	LBB0_21
## %bb.20:
	movl	%r14d, %edi
	movl	%ebx, %esi
	callq	_crt_aspect_ratio_switch
	movl	$254, %ebx
	jmp	LBB0_21
LBB0_9:
	cmpl	$144, %ebx
	jne	LBB0_7
## %bb.10:
	movq	_ra_set_core_hz@GOTPCREL(%rip), %rax
	cmpl	$50, (%rax)
	jne	LBB0_7
## %bb.11:
	movl	$288, %ebx                      ## imm = 0x120
	movl	%r14d, %edi
	movl	$288, %esi                      ## imm = 0x120
	callq	_crt_aspect_ratio_switch
	jmp	LBB0_21
LBB0_14:
	cmpl	$528, %ebx                      ## imm = 0x210
	jne	LBB0_18
## %bb.15:
	movq	_ra_set_core_hz@GOTPCREL(%rip), %rax
	cmpl	$60, (%rax)
	jne	LBB0_18
## %bb.16:
	movl	%r14d, %edi
	movl	$528, %esi                      ## imm = 0x210
	callq	_crt_aspect_ratio_switch
	movl	$480, %ebx                      ## imm = 0x1E0
LBB0_21:
	movl	%r14d, %edi
	movl	%ebx, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_switch_res_crt                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ra_set_core_hz,4,2             ## @ra_set_core_hz
	.no_dead_strip	_crt_screen_setup_aspect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function crt_screen_setup_aspect
_crt_screen_setup_aspect:               ; @crt_screen_setup_aspect
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x19, x0
	bl	_switch_crt_hz
	cmp	w20, #4
	b.ne	LBB0_2
; %bb.1:
	mov	w8, #320
	cmp	w19, #700
	csel	w19, w8, w19, lo
	mov	w20, #240
	mov	x0, x19
	mov	w1, #240
	bl	_crt_aspect_ratio_switch
	b	LBB0_6
LBB0_2:
	cmp	w20, #199
	b.hi	LBB0_5
; %bb.3:
	cmp	w20, #144
	b.eq	LBB0_5
; %bb.4:
	mov	x0, x19
	mov	x1, x20
	bl	_crt_aspect_ratio_switch
	mov	w20, #200
	b	LBB0_23
LBB0_5:
	cmp	w20, #201
	b.lo	LBB0_17
LBB0_6:
	mov	x0, x19
	mov	x1, x20
	bl	_crt_aspect_ratio_switch
LBB0_7:
	sub	w8, w20, #201
	cmp	w8, #22
	b.hi	LBB0_9
; %bb.8:
	mov	x0, x19
	mov	x1, x20
	bl	_crt_aspect_ratio_switch
	mov	w20, #224
	b	LBB0_23
LBB0_9:
	sub	w8, w20, #225
	cmp	w8, #15
	b.hs	LBB0_11
; %bb.10:
	mov	w21, #240
	b	LBB0_13
LBB0_11:
	sub	w8, w20, #241
	cmp	w8, #14
	b.hs	LBB0_20
; %bb.12:
	mov	w21, #254
LBB0_13:
	mov	x0, x19
	mov	x1, x20
	bl	_crt_aspect_ratio_switch
	mov	x20, x21
LBB0_14:
	sub	w8, w20, #240
	cmp	w8, #14
	b.hi	LBB0_23
; %bb.15:
Lloh0:
	adrp	x8, _ra_set_core_hz@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ra_set_core_hz@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #55
	b.ne	LBB0_23
; %bb.16:
	mov	x0, x19
	mov	x1, x20
	bl	_crt_aspect_ratio_switch
	mov	w20, #254
	b	LBB0_23
LBB0_17:
	cmp	w20, #144
	b.ne	LBB0_7
; %bb.18:
Lloh3:
	adrp	x8, _ra_set_core_hz@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ra_set_core_hz@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, #50
	b.ne	LBB0_7
; %bb.19:
	mov	w20, #288
	mov	x0, x19
	mov	w1, #288
	bl	_crt_aspect_ratio_switch
	b	LBB0_23
LBB0_20:
	cmp	w20, #528
	b.ne	LBB0_14
; %bb.21:
Lloh6:
	adrp	x8, _ra_set_core_hz@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ra_set_core_hz@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w8, #60
	b.ne	LBB0_14
; %bb.22:
	mov	x0, x19
	mov	w1, #528
	bl	_crt_aspect_ratio_switch
	mov	w20, #480
LBB0_23:
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_switch_res_crt
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ra_set_core_hz,4,2             ; @ra_set_core_hz
	.no_dead_strip	_crt_screen_setup_aspect
.subsections_via_symbols
