	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function resizeWindow
_resizeWindow:                          ## @resizeWindow
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	(%rdi), %r14d
	movl	56(%rdi), %edi
	movl	4(%rbx), %r15d
	imull	%r14d, %r15d
	movl	8(%rbx), %r12d
	imull	%r14d, %r12d
	movl	%r15d, %esi
	movl	%r12d, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_wl_egl_window_resize
	cmpl	$0, 52(%rbx)
	jne	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_setOpaqueRegion
LBB0_2:
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%r12d, %edx
	callq	__glfwInputFramebufferSize
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%r14d, %edx
	callq	__glfwInputWindowContentScale
	cmpl	$0, 44(%rbx)
	je	LBB0_3
## %bb.4:
	movl	4(%rbx), %esi
	movl	48(%rbx), %edi
	movq	__GLFW_DECORATION_TOP@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	callq	_wp_viewport_set_destination
	movl	44(%rbx), %edi
	callq	_wl_surface_commit
	movl	40(%rbx), %edi
	movq	__GLFW_DECORATION_WIDTH@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movl	(%r12), %edx
	addl	8(%rbx), %edx
	callq	_wp_viewport_set_destination
	movl	36(%rbx), %edi
	callq	_wl_surface_commit
	movl	4(%rbx), %esi
	movl	32(%rbx), %edi
	xorl	%r14d, %r14d
	xorl	%edx, %edx
	subl	(%r12), %edx
	callq	_wl_subsurface_set_position
	movl	28(%rbx), %edi
	movl	(%r15), %esi
	movl	(%r12), %edx
	addl	8(%rbx), %edx
	callq	_wp_viewport_set_destination
	movl	24(%rbx), %edi
	callq	_wl_surface_commit
	movl	8(%rbx), %edx
	movl	20(%rbx), %edi
	subl	(%r15), %r14d
	movl	%r14d, %esi
	callq	_wl_subsurface_set_position
	movl	16(%rbx), %edi
	movq	__GLFW_DECORATION_HORIZONTAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addl	4(%rbx), %esi
	movl	(%r15), %edx
	callq	_wp_viewport_set_destination
	movl	12(%rbx), %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wl_surface_commit              ## TAILCALL
LBB0_3:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__GLFW_DECORATION_TOP,4,2       ## @_GLFW_DECORATION_TOP
	.comm	__GLFW_DECORATION_WIDTH,4,2     ## @_GLFW_DECORATION_WIDTH
	.comm	__GLFW_DECORATION_HORIZONTAL,4,2 ## @_GLFW_DECORATION_HORIZONTAL
	.no_dead_strip	_resizeWindow
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function resizeWindow
_resizeWindow:                          ; @resizeWindow
	.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	x19, x0
	ldp	w20, w8, [x0]
	mul	w21, w8, w20
	ldr	w8, [x0, #8]
	mul	w22, w8, w20
	ldr	w0, [x0, #56]
	mov	x1, x21
	mov	x2, x22
	mov	w3, #0
	mov	w4, #0
	bl	_wl_egl_window_resize
	ldr	w8, [x19, #52]
	cbnz	w8, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_setOpaqueRegion
LBB0_2:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	bl	__glfwInputFramebufferSize
	mov	x0, x19
	mov	x1, x20
	mov	x2, x20
	bl	__glfwInputWindowContentScale
	ldr	w8, [x19, #44]
	cbz	w8, LBB0_4
; %bb.3:
	ldr	w0, [x19, #48]
	ldr	w1, [x19, #4]
Lloh0:
	adrp	x20, __GLFW_DECORATION_TOP@GOTPAGE
Lloh1:
	ldr	x20, [x20, __GLFW_DECORATION_TOP@GOTPAGEOFF]
	ldr	w2, [x20]
	bl	_wp_viewport_set_destination
	ldr	w0, [x19, #44]
	bl	_wl_surface_commit
	ldr	w0, [x19, #40]
Lloh2:
	adrp	x21, __GLFW_DECORATION_WIDTH@GOTPAGE
Lloh3:
	ldr	x21, [x21, __GLFW_DECORATION_WIDTH@GOTPAGEOFF]
	ldr	w1, [x21]
	ldr	w8, [x19, #8]
	ldr	w9, [x20]
	add	w2, w9, w8
	bl	_wp_viewport_set_destination
	ldr	w0, [x19, #36]
	bl	_wl_surface_commit
	ldr	w0, [x19, #32]
	ldr	w1, [x19, #4]
	ldr	w8, [x20]
	neg	w2, w8
	bl	_wl_subsurface_set_position
	ldr	w0, [x19, #28]
	ldr	w1, [x21]
	ldr	w8, [x19, #8]
	ldr	w9, [x20]
	add	w2, w9, w8
	bl	_wp_viewport_set_destination
	ldr	w0, [x19, #24]
	bl	_wl_surface_commit
	ldr	w0, [x19, #20]
	ldr	w8, [x21]
	neg	w1, w8
	ldr	w2, [x19, #8]
	bl	_wl_subsurface_set_position
	ldr	w0, [x19, #16]
	ldr	w8, [x19, #4]
Lloh4:
	adrp	x9, __GLFW_DECORATION_HORIZONTAL@GOTPAGE
Lloh5:
	ldr	x9, [x9, __GLFW_DECORATION_HORIZONTAL@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	add	w1, w9, w8
	ldr	w2, [x21]
	bl	_wp_viewport_set_destination
	ldr	w0, [x19, #12]
	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	_wl_surface_commit
LBB0_4:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	__GLFW_DECORATION_TOP,4,2       ; @_GLFW_DECORATION_TOP
	.comm	__GLFW_DECORATION_WIDTH,4,2     ; @_GLFW_DECORATION_WIDTH
	.comm	__GLFW_DECORATION_HORIZONTAL,4,2 ; @_GLFW_DECORATION_HORIZONTAL
	.no_dead_strip	_resizeWindow
.subsections_via_symbols
