	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function switch_ctx_set_video_mode
_switch_ctx_set_video_mode:             ## @switch_ctx_set_video_mode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	leaq	4(%rdi), %rsi
	leaq	8(%rdi), %rdx
	callq	_switch_ctx_get_video_size
	movl	4(%rbx), %ecx
	movl	%ecx, 32(%rbx)
	movq	8(%rbx), %rax
	movq	%rax, 24(%rbx)
	movl	$60, (%rbx)
	movl	16(%rbx), %edi
	movl	$1080, %edx                     ## imm = 0x438
	subq	%rax, %rdx
	xorl	%esi, %esi
	movl	$1080, %r8d                     ## imm = 0x438
	callq	_nwindowSetCrop
	movl	$1, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_switch_ctx_set_video_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function switch_ctx_set_video_mode
_switch_ctx_set_video_mode:             ; @switch_ctx_set_video_mode
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	add	x1, x0, #4
	add	x2, x0, #8
	bl	_switch_ctx_get_video_size
	ldr	w3, [x19, #4]
	str	w3, [x19, #32]
	ldr	x8, [x19, #8]
	str	x8, [x19, #24]
	mov	w9, #60
	str	w9, [x19]
	ldr	w0, [x19, #16]
	mov	w9, #1080
	sub	x2, x9, x8
	mov	w1, #0
	mov	w4, #1080
	bl	_nwindowSetCrop
	mov	w0, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_switch_ctx_set_video_mode
.subsections_via_symbols
